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 |
What is the role of ‘refresh’ in internal table?
What will exactly the hide statement do?
what is partner profiles?
How many windows can be maintained under one page?
What is the table & field to identify the no of items (bottles) stored in one case?
0 Answers iQuest, SAP Labs, Yash Technologies,
i can give default values in select-options also then what is use of INTIALIZATION event?
What are the various types of selection screen event?
in which event validation is done?
Hi, My question: Iam an ABAP Programmer with 3+yrs exp would like to learn ABAP CRM . Plz let me know the best institues(coaching centers) in HYd to learn the same.
What are the value tables?
Some Realtime Objects on Bdc.
7) What is the purpose of main window in SF n Script?