Application Development 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: 

Checking BAPI process

Former Member
0 Kudos

Hello,

I activate a Badi for MM02 and MM01 and I need to bypass the code if

a BAPI has been launched.

Is there a way to check if I'm in a BAPI processs ?

Thank you all!

1 REPLY 1

Former Member
0 Kudos

Hi

kep a flag before the BAPI call.

say v_flag = 'X'.

then before the BADI code use this flag so that if it is BApi that BADI code doesn't work

Regards

Anji