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

How are BAPI different from Normal function modules ?

2136


hi experts,,, what is meant by documentation? test casr preparation? documentation and preparation and Tcode for this? quality and releasing? test case scenario?

2191


What are the two levels in defining a match code? : abap data dictionary

1117


What is bdc? : abap bdc

1019


What are the abap/4 commands that link to a layout set?

1364


How to specify a client for database table processing?

1153


What is meant by write lock? : sap abap data dictionary

1048


When is the top-of-page event triggered? : abap data dictionary

1245


What is tcode se16. For what is it used. Explain briefly?

1066


What is the difference between the function module and a normal abap/4 subroutine? : abap modularization

1170


What are field symbols?

1144


what is difference between (internal table types)standard table and sorted table in sap abap....

2412


Does the bdc-insert function allow multiple transactions to be processed by sap? : abap bdc

1160


What is a table attribute?

1061


Explain different types of locks?

1064