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
Example of table cluster and cluster tables.
What is the difference between semi-monthly and Bi-weekly payroll area
Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary
How to do find it?
What is difference between inner join and outer join?
Performance tuning techniques
What are the basic components of dialog program?
Exception handling and how does it transfer from called method to calling method?
BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul
if u take one worst program,in this program user write the logic is session method.in that program user can get some errors ,that errors we will see in call transaction method,how it is possible.?
What is the differences between structure and table in the data dictionary in abap?
Is sap xi intended to replace ale?
What data is contained in data dictionary? : abap data dictionary
How to create a button in selection screen ?
What primary key and foreign key relationship