Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from jenkee on Apr 17 at 11:51 AM Perhaps you can check the values in sy-cprog (calling program)
| | | ---------------Original Message--------------- From: kishoressksap Sent: Friday, April 17, 2015 8:31 AM Subject: How to Know if a User Exit is Called from BAPI Or TCODE Is there any possibility to know if a User exit is triggered from BAPI or TCODE? I need to trigger a user exit when I click on save in SU01. I call the function module BAPI_USER_CREATE1 from webdynpro application and I see that user exit is triggered. Can anyone suggest any technique which differentiates BAPI call and TCODE call? NOTE: I have tried 'CALL_BAPI' variable, but I get an error variable call_bapi is not defined. I validated sy-tcode but sy-tcode shows SU01 for both TCODE call and also BAPI call. Thanks in advance, SSK | | Reply to this email to post your response. __.____._ | _.____.__ |