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

BAPI exception

Former Member
0 Likes
344

Hi folks,

I have a question, currently I am using a BAPI which is called by a web application through .NET, when I run the BAPI on the SAP system by entering the pernr I am not getting any error, it is picking up the pay periods. it looks fine. However the BAPi has code to handle error.

But on the application side when many people are accessing the info, the BAPi is called continously at afaster rate, while debugging on the web application, is returning an error from this BAPI. The BAPI is throwing an exception, but I do not get that on the SAP side.

I checked the ST22 to see if there is any shortdump and there are no records there.

What might be the reason for this exception, how can I trace it?

Any thoughts would be really helpful.

Thanks,

SK

1 REPLY 1
Read only

Former Member
0 Likes
291

Most bapis do not have exception. INstead they have a RETURN table which will be populated in case of errors, Try to use that table to handle errors.