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 we format the data before writing a statement in the report?

950


Explain what are standard layouts sets in the sap script?

1531


What is processing class, where we do them and why? : sap abap hr

1177


Rp_provide_from_last contains how many parameters ? : abap hr

1555


What is a bsp application? : sap abap hr

1185


How many types of data classes are there in sap abap? : abap data dictionary

1150


What is a table pool?

1219


What are the types of bdc s?

1226


What are the difference between tables and structures? : abap data dictionary

1212


Hat are the different types of mode (run code) in call transaction method?

1165


What are logical databases? What are the advantages of logical databases?

1000


How to set an Enhancement point for a custom report?

1658


What are the techniques involved in using sap supplied programs?

1081


wat is the default file name of BAPI trace?

2303


Suppose there is check box along with the rows. The requirement is, select the require check boxes and press a used defined button to save all these checked row data to another table. How can you do it?

2101