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
Proxy Programming with ABAP - How to develop the Proxy identification through programming
What are the personnel administration related infotypes? : abap hr
What are indexes? : sap abap data dictionary
What is an Unpack command?
What are advantages and disadvantages of logical data base
What is size category?
Why do we use types statement in abap programming?
What will be your approach towards optimizing legacy code? Will you suggest change in technology? Does OO ABAP bring any performance benefits? How will you deal with queries in a loop? How will you optimize nested loops?
Have you processed BDCs ?
What are control tables? : abap data dictionary
Which function modules can be used to transfer the data using bdc programming? : abap bdc
can anyone do BDC or BAPI for F-02 and F-04 transactions.If it LSMW also.Kindly let me know.
How to know if the value entered contains records or not?
Can there be more than 1 main window in sap script?
What are the parameters in bdc_insert? : abap bdc