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 |
is it possible to insert records into structure? if yes means how many records can be inserted?
How to create a link between modified form and modified print program?
how to fill the select options from an internal table dynamically ie can i use the loop in the initialization
ALV's?
I am having an internal table with field name 'type' which consists of values 'a' 'b' 'c' 'a' 'a'.Now i used 'at new fieldname' control statement on this field so what could be the output
How we format the data before writing a statement in the report?
what will happen if called program is not executable ?
Why do we need to code a loop statement in both the pbo and pai events for each table in the screen?
Can we use transfer dataset to transfer data in internal table ?
how do you transport lsmw data from one system to another?
What are the organizational related infotypes? : abap hr
Can you delete data element, which is being used by table fields. : abap data dictionary