Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How are exceptions handles in bapi's ?

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


Please Help Members By Posting Answers For Below Questions

Proxy Programming with ABAP - How to develop the Proxy identification through programming

2291


What are the personnel administration related infotypes? : abap hr

1001


What are indexes? : sap abap data dictionary

1036


What is an Unpack command?

1086


What are advantages and disadvantages of logical data base

2179


What is size category?

962


Why do we use types statement in abap programming?

1092


What will be your approach towards optimizing legacy code? Will you suggest change in technology? Does OO ABAP bring any performance benefits? How will you deal with queries in a loop? How will you optimize nested loops?

1305


Have you processed BDCs ?

1019


What are control tables? : abap data dictionary

963


Which function modules can be used to transfer the data using bdc programming? : abap bdc

1090


can anyone do BDC or BAPI for F-02 and F-04 transactions.If it LSMW also.Kindly let me know.

3662


How to know if the value entered contains records or not?

968


Can there be more than 1 main window in sap script?

1048


What are the parameters in bdc_insert? : abap bdc

1253