Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Access to local variables in calling procedure

$
0
0

Hi there,

 

i know there is a trick to access at least global variables of the main program, without knowing them in the current context. This can be done via field symbols as this (actually I am in a BadI within stock determination in EWM):

 

  field-symbols: <fs> type any.

  ASSIGN ('(nameofprogram)variable') to <fs>

 

I would like to know, if there is a similar possibility to access also local variables from the calling routines. In my case, if I am in the debugging mode and select the calling routine/function module in the ABAP stack, I have access to it. Thus I believe it somehow must be possible.

 

Any ideas?

 

Volker Bock


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>