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

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

RE: RE:[sap-abap] Standard Program Enhancement

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

Posted by USER_2491202
on Oct 7 at 1:26 PM
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

---------------Original Message---------------
From: gk goh
Sent: Friday, October 07, 2011 11:32 AM
Subject: Standard Program Enhancement

Hi guys, thank you so much for your suggestions! I will try it out. You guys are great!

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
Popular White Papers

In the Spotlight
Toolbox.com Groups Discussions Support BBCode. Share Code Snippets with Peers

_.____.__

0 comments:

Post a Comment

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