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 purpose of RDBMOIND RPOGRAM?
what is badi?
What is full form of bdc session? : abap bdc
what r the services have to implemented in SAP R/3?
What is the exact difference between RFC and BAPI ?
I have a table with 400 recs. among some are duplicate records. how can I remove the duplicate records from the table. pls help me out.
Recording -- Transaction code?
Can we have two reports running parallely and both the reports sharing the same internal table for processing the data?
BDC CALL TRANSACTION carry on synchronous processing and update the database both synchronously and asynchronously,where session method carry on asynchoronous processing and update the database synchrousnously.I want to know the meaning of synchronous and asynchronous processing and also the meaning of synchronous and asynchronous database update.
What is a view in sap? : abap data dictionary
Can I write AT SELECTION SCREEN & AT USER COMMAND event in single program?If yes how?and if no what error will it give??
What are the include programs?