Answer Posted / pranab
create a parameter named Return for every BAPI. This
parameter returns exception messages or success messages to
the calling program.
The export parameter Return can be implemented as follows:
As a structure, whereby it must be defined in the function
module as an export parameter, as well as in the method in
the BOR.
As a table, whereby it must be defined in the function
module as a table parameter, as well as in the method in
the BOR as an export parameter.
Before filling the Return parameter you should either
initialize the structure with CLEAR or the table with
REFRESH and CLEAR.
The Return parameter may be based on the following
reference structures:
BAPIRET2
You must use this reference structure when developing new
BAPIS.
BAPIRET1, BAPIRETURN
These reference structures are still partly used in old
BAPIs.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the types of the software component being deployed in the sap?
hi,how to diable the popup window which is displayed afetr executing the SAP script program?
Explain how do you move on to the next screen in interactive reporting?
I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.
what is sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?
What are the different methods of passing data?
What are matchcodes?
What actually happens in real-time recruitment? : sap abap hr
What are the buffering options in abap?
Explain how to create any functions? How to go about it?
How will you define org structure in MM?
What are the main uses of the primary key?
What are the page headers for secondary lists?
What are the uses of table pool or table cluster.
What is the function of a data element?