Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all 8332 articles
Browse latest View live

HOW Does SAP programm the message "Error"

$
0
0

Hi  Guys

please could you tell me  how I can find how SAP programms it.

My purpose it is to see how sap has programmed  " the message for the field Structure" in order to use the logic  in my own programm.

 

THX


Thumbnails in DMS

$
0
0

Hi,

 

When we use thumbnails view in CV04N, only the thumbnail of the first attachment in DIR is shown. I want to display thumbnails for all the attachments in the DIR. All of the attachments in the DIR are JPG or GIF.

 

Please suggest how this can be achieved.

Module pool program error in abap

$
0
0

Hi everyone,

I have an requirement that in modulepool I have. Created one screen, in that 6fields are there. I gave 3fields as required field. Remaining 3 fields are thr. But I need to populate depending on 1 field remaing two field would come. But while populating the depending fields it is not populating,after fill in required entries only it is populating and validatng other.can any one tel how to resolve this.

 

Regards

Ravi.

Closing dialogue screen after SUBMIT report statement

$
0
0

Hi,

 

We are implementing a functionality where in upon pressing F4 on a field if no values are found , we call a custom report via SUBMIT report statement. The report throws another screen as output.

 

but the problem is : the calling screen ( which is F4 help screen) remains there , so we have two screens one over another - one being F4 help screen another one being the one thrown by SUBMIT report statement .

 

is there any way I could close/hide the F4 help screen window through code ?

 

Any help would be appreciated!

 

Regards,

AM

 

 

(Two screens seen above- the one in the background thrown by SUBMIT statement)

Getting error in FM RS_VARIANT_CONTENTS

$
0
0

Hi,

 

I am taking the value from VARID table and using FM RS_VARIANT_CONTENTS to get the variant details.

It's running for all custome program.

 

But when I execute the report for all standard programs, it's giving error "Internal code error 8" in developement system. In quality it's giving error INCLUDE report "/1BCDWB/IQ000000000174DA.

 

I checked the forum and used SYNTAX CHECK command in my report, but that's not giving any output. For every program it's saying "program is not unicode compatible".

 

This is happening after EHP5 upgrade.

 

Please reply if anyone has any idea about this.

 

Thanks.

Shamma

How to call Documented Goods Movements for a Production Order

$
0
0

Hello,   In tx CO03 you can type in a production order, press enter to go into the header and then click  on GoTo->Documented Goods Movements and it brings up a very nice report with all of the goods movements for that production order.

 

I have a requirement to write an ABAP where this report is automatically called for a Production Order (i.e.,  user types in the Production order # and it automatically takes them to this report for this production order).

 

Does anyone know how I can do this?  I have already tried to  debug this SAP code and it isn't simple ... from what I can see yet.  I am hoping someone has a simple answer for me.  thx!

Is it possible? (RFC PDF Table)

$
0
0

Hello,

 

My request is to send several PDF Invoices to another application, through an RFC. Normally I use the FPCONTENT data type for a single pdf output, this sends a rawstring.

 

But if I try to use this in a structure field, I cannot activate the RFC:

 

ScreenHunter_56 Feb. 24 18.03.jpg

 

Is there any way of sending several PDF files in a RFC? Maybe in another format?

 

Thank you.

BAPI to upload characteristic values in IE02 Tcode

$
0
0

Hello Friends,

 

Kindly suggest me any FM or BAPI to upload characteristic values. I dont want to create characteristic only upload values in given characteristic.since i am facing error while recording in BDC.

 

 

Regards,

Sathish


SM13 Error while executing T-code IW32

$
0
0

Hi All,

I am getting one dump while executing T-code IW32.

I checked in SM13 and found below error:

ss3.png

If i opened this dump in ST22,I got below details:

ss1.png

Source code:

ss2.png

Please give me suggestions how to resolve this issue.

 

Thanks,

Sridhar.

SD_SALESDOCUMENT_CREATE with Pricing Condition

$
0
0

I try to use the function 'SD_SALESDOCUMENT_CREATE' to create a sales order. However, I encouter a problem in maintaining the pricing condition. When I maintain fields in the input table 'SALES_CONDITIONS_IN' and 'SALES_CONDITIONS_INX', the new conditions are added but not update the old values.

 

Have anyone ever used this function and can maintain the pricing condition? Help me please!!!!

For All Entries Problem

$
0
0

Hello Experts,

 

I am using For All entries with 4 tables as below my code attach , can i another way this code use.

please help me.

program to do packing from a shipment

$
0
0

hi,

 

i am working on automation of COPAWA i.e. in the first screen user enters order number and container number(HU ID) and when he presses enter automatically assignment should happen for the correpodning HU id and Material data.

I tried to look for a BAPI/Function module for doing this, but unable to find any suitable F.M. did anyone come across this scenario or throw some light on the F.M/BAPI available?

Unable to get the message "Storage Bin XXXX is currently being processed by XXXX" in  FM L_TO_CREATE_MOVE_SU

$
0
0

Unable to get the message "Storage Bin XXXX is currently being processed by XXXX"  FM L_TO_CREATE_MOVE_SU.

 

We have a scenario wherein before the FM L_TO_CREATE_MOVE_SU is executed the Storage Bin is on change mode.

But the problem is, the program does not proceed on the next code and the error message is not properly capture by the exceptions neither sy-subrc.

 

Are there any way to capture the error message?

 

Appreciate any response from you guys!

Dunning letter with Adobe Form

$
0
0

Dear all, We changed our dunning letters from Smartforms to Adobe Forms ... I changed everything in FIBF en F150, but when I try to start a dunning layout I always get an error "CALL_FUNCTION_PARM_MISSING" ... When I take a closer look via ST22, I see that the error occurs in function PRINT_DUNNING_NOTICE_PDF which is default SAP ... Within this function I see that the code to call the layout is still referring to the old layout (smartforms) ... Because of that there are too much parameters that are passed to the function that calls the layout ... Must there something be generated to change the call of the function ? Greetz, Kurt.

Calling /$sync in abap program

$
0
0

Hello SCN,

 

i'm trying to find a FM that has the same effect as /$SYNC. The question has been posted sometimes but there were no good answer.

 

i tried some sbuf* fonction module but that not have the same effect as /$sync.

 

i'm out of idea... Did someone has ever done something like that?

 

Thanks,

 

Alain


User-Exit or Badi in TMS before Transport Import ???

$
0
0

Hi friends,

 

Is there any user-exit or badi before import transport in Transport Managament System.

I need to check some conditions before import and block import if conditions are not ok.

 

 

thanks

ibrahim

How to create audit question list using BAPI_BUS20310_CREATE

$
0
0

Hi All,

 

    I am working with BAPI's first time. I got a requirement to create audit question list through flat file , what are all the mandatory parameters i need to pass to BAPI and can any one give me some example how to use BAPI_BUS20310_CREATE?

 

Thanks & Regards,

Jayasree.

Job only on no-working day

$
0
0

Hi all.

We provide to users a custom calendar in order to define by themselves the working days for particular purpuses (entering forecast on APO-DP). Now we need to perform a job that runs exactly on no working days of that calendar.

 

Is there a way to avoid the creation of a parallel calendar? We would like to be able to schedule the job on no-working days of the calendar maintained by users.

 

Thank you.

F4 Search help value depends on two other fild values

$
0
0

Hello all,

 

I am having a requirement that, in the selection screen, sales organisation, distribution channel and division are given. Sales organisation (VKORG) is a mandatory field. Now in the search help for distribution channel (VTWEG), only those values will appear that are in correspondent to the given sales organisation, means the distribution channel values will depend on the sales organisation. And the division field (SPART) search help will contain values depending on the values of both sales organisation and distribution channel.

 

For the first search help for distribution channel, function module F4UT_PARAMETER_REQUIRED is used.But the problem is despite giving the value in selection screen, it needs to be put again in the search help dialog box.


Please help in this regard. Any suggestion is welcome.

 

 

 

Regards,

Debapriya

How to open a office document(.doc) in a custom container?

$
0
0


Hi,

 

I don't know how to open a office document (.doc) in a custom container.

 

Anybody already do this?

 

 

Thanks,

Rogério Falkowiski

Viewing all 8332 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>