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 basic functions of database utility?
What is the use of f4if_shlp_exit_example function module ? : sap abap data dictionary
Which commands are used for interactive reports?
Define structure in abap data dictionary?
What are user exits? What is involved in writing them? What precations are needed?
What are local objects?
What is dialog module?
when are objects are passed from task to the change request?
A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary
Name a few data dictionary objects?
What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
What is the function of the transport system and workbench organiser?
Can we call reports and transactions from interactive reporting lists?
Can we define our own match code id's for sap matchcodes? : abap data dictionary
What are two methods of modifying sap standard tables? : abap data dictionary