Very dynamic field-symbols

Referring to data from calling program in an SAP customer function.

In a SAP customer function you sometimes want to refer to data from the calling program (if this data is not part...

of the function interface). A function group has its own global data area.


Using the following syntax for field-symbols it is possible to do just this. 
=> calling program is SAPMV45A
=> Field we want to refer to is YVBAK-BSTNK

This same logic also works for external subroutines but of course not for SUBMIT.   
		
		Code: FIELDNAME = 
'(SAPMV45A)YVBAK-BSTNK'.  
ASSIGN (FIELDNAME) TO 
 
  .       
 
This was last published in June 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