Problem solve Get help with specific problems with your technologies, process and projects.

Using values of calling Programs in ABAP

Sometimes you want to access data in your ABAP which are not known in the part of your program currently running .

Sometimes you want to access data in your ABAP which are not known in the part of your program currently running....

The R/3 debugger "knows" the value by writing the syntax (PROGRAM)Table-field. There is a way to use this syntax in ABAP!


*Define your field-symbols
field-symbols: 
 
    type any,
               
  
    TYPE ANY.
*Take the Program and table/field
assign '(SAPLMLSK)xeskn-nplnr' to 
   
    .
*Use the funny trick to get the value
assign (
    
     ) to 
     
      .
*Put the "foreing" value to your DATA.
my_own_value  = 
      
       .
*have fun!
		

      
     
    
   
  
 
This was last published in December 2001

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close