Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ERROR Handling in BAPI

Former Member
0 Likes
1,011

Hi ,

I know that BAPI will retrun the errors in an internal table. These are useful, I need to know where these will be stored in the system. So that they will be accessed in the future if something goes wrong.

Thank you,

Surya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
697

They are not stored in any table.

You can only access them during run time.

5 REPLIES 5
Read only

Former Member
0 Likes
698

They are not stored in any table.

You can only access them during run time.

Read only

Former Member
0 Likes
697

Hi,

As mentioned, errors are only stored in the return table. If you really want to save this info, you could create an application log and enhance the BAPI to write all of the issues to this log.

BR,

Tony.

Read only

Former Member
0 Likes
697

HI

BAPI will return the errors in RUN time only...if you have a requirement to see the BAPI error log later, you can

format the output message using the FM FORMAT_MESSAGE and download the Error log file.

Regards

R

Read only

former_member404244
Active Contributor
0 Likes
697

Hi,

They won't be stored in any table ...u will get them during run time ..U can have all types of messsages 'E' 'S' and 'W' in the bapi return table..

Regards,

Nagaraj

Read only

Former Member
0 Likes
697

Hi,

If you want them to use in future, then create a Z table and insert the data in this table and use them where you want.