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
Application Category?
How table control cn be generated using bdc? : abap bdc
Explain get cursor field?
Can we create field without data element? If yes, how?
wat is the difference between A-gate & W-gate?where are they used?
hi I am in training of functional module, i am unable to understand what exactly use of IDOC,BAPI,DIM and BIM. As LSMW and BDC methods are used for data conversion from legacy to sap. Might be it is silly question. please explain me
Does the call transaction method allow multiple transactions to be processed by sap?
Different types of locks?
What are the different modules of sap? : sap abap hr
What is going life actually? What is the role of a functional consultant in it? : sap abap hr
What is the Process to transfer IDOC from Outbound System to Inbound system.
Can we reuse a userexit?
How to write a code for multiple transactions? : abap bdc
What is an Open Item in SAP? How will you find an Open Item in SAP?
How do you save data in bdc tables? : abap bdc