How are exceptions handles in bapi's ?
Answer / 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 |
Give an example of interface from your project explaining why you used it?
What is the difference between free and refresh?
In Scripts How to maintain value like 1234- instead of -1234?
What are internal tables? How do you get the number of lines in an internal table?
where can u use secondary index in program please tell me? is there any tool to test in development client?is there any performance tool is thre pleaseeee tell me?
What is inheritance and multi-level inheritance? Explain with example ?
How to process the session dynamically?
differences between version 4.7 and ecc 5.0
Can we create internal table in smart forms or scripts?if yes where and how?
In data element how many domains were defined
What are vale table check table? What's the difference between the two? Explain with simple example taking table.
what is the purpose of RDBMOIND RPOGRAM?