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

Application Category?

1376


How table control cn be generated using bdc? : abap bdc

1010


Explain get cursor field?

1185


Can we create field without data element? If yes, how?

1130


wat is the difference between A-gate & W-gate?where are they used?

1952


hi I am in training of functional module, i am unable to understand what exactly use of IDOC,BAPI,DIM and BIM. As LSMW and BDC methods are used for data conversion from legacy to sap. Might be it is silly question. please explain me

2193


Does the call transaction method allow multiple transactions to be processed by sap?

990


Different types of locks?

1026


What are the different modules of sap? : sap abap hr

1018


What is going life actually? What is the role of a functional consultant in it? : sap abap hr

1022


What is the Process to transfer IDOC from Outbound System to Inbound system.

2142


Can we reuse a userexit?

1465


How to write a code for multiple transactions? : abap bdc

999


What is an Open Item in SAP? How will you find an Open Item in SAP?

1061


How do you save data in bdc tables? : abap bdc

1073