Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
I like that SYSTEM_CALLSTACK idea. The thing I love most about this forum is that I learn new stuff all the time! Cheers, Terry
| | | ---------------Original Message--------------- From: USER_2491202 Sent: Friday, October 07, 2011 1:27 PM Subject: Standard Program Enhancement An alternative to import/export you could try to read the calling stack to check for the calling programs. I've used this in a pricing requirement. data: lt_callstack type sys_callst. field-symbols: <ls_cs> like line of lt_callstack. refresh lt_callstack. call function 'SYSTEM_CALLSTACK' importing et_callstack = lt_callstack. loop at lt_callstack assigning <ls_cs> where progname = 'pgmtocheckfor'. "<do something like set a flag> exit. endloop. Regards, Margaret Schumacher Sr. Programmer Analyst - SAP | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | TerryB SAP ABAP Enthusiast
Contributed 100 posts in a group to earn a Bronze Achievement Popular White Papers In the Spotlight _.____.__ |