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 we format the data before writing a statement in the report?
Explain what are standard layouts sets in the sap script?
What is processing class, where we do them and why? : sap abap hr
Rp_provide_from_last contains how many parameters ? : abap hr
What is a bsp application? : sap abap hr
How many types of data classes are there in sap abap? : abap data dictionary
What is a table pool?
What are the types of bdc s?
What are the difference between tables and structures? : abap data dictionary
Hat are the different types of mode (run code) in call transaction method?
What are logical databases? What are the advantages of logical databases?
How to set an Enhancement point for a custom report?
What are the techniques involved in using sap supplied programs?
wat is the default file name of BAPI trace?
Suppose there is check box along with the rows. The requirement is, select the require check boxes and press a used defined button to save all these checked row data to another table. How can you do it?