We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] How to Know if a User Exit is Called from BAPI Or TCODE

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2015 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
jenkee  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language