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 are BAPI different from Normal function modules ?
hi experts,,, what is meant by documentation? test casr preparation? documentation and preparation and Tcode for this? quality and releasing? test case scenario?
What are the two levels in defining a match code? : abap data dictionary
What is bdc? : abap bdc
What are the abap/4 commands that link to a layout set?
How to specify a client for database table processing?
What is meant by write lock? : sap abap data dictionary
When is the top-of-page event triggered? : abap data dictionary
What is tcode se16. For what is it used. Explain briefly?
What is the difference between the function module and a normal abap/4 subroutine? : abap modularization
What are field symbols?
what is difference between (internal table types)standard table and sorted table in sap abap....
Does the bdc-insert function allow multiple transactions to be processed by sap? : abap bdc
What is a table attribute?
Explain different types of locks?