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
Explain buffering
What is a view? : abap data dictionary
How do you document abap/4 programs? Do you use program documentation menu option?
What is an update type with reference to a match code id?
Explain the disadvantages of different types of bdc's?
what is difference between (internal table types)standard table and sorted table in sap abap....
How to Raise a Particular Ticket in Realtime ?
Abstract class and interface, multiple inheritance, live example
What are lock objects?
What is a currency factoring technique?
If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?
Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?
What are the different types of abap reports in sap?
What are the attributes of the data? : abap data dictionary
Explain the differences between se01, se09 and se10?