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
How many types of views are there? : abap data dictionary
What is the difference between native sql & open sql? : abap data dictionary
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?
Explain open dataset in sap abap?
Explain how data is stored in cluster table?
What are the different methods of passing data? : abap modularization
1/ How do u apprach if error occur in sending idocs ? 2/ where u assigned process code ?
Some Realtime Examples on Exits .
Final class
Can there be more than 1 main window in sap script?
What is an evaluation path? : sap abap hr
What is difference between check table and value table ?
What are the different types of data dictionary objects? : abap data dictionary
Explain read dataset in sap abap?
Define structure in abap data dictionary?