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 first published in June 2001
This Content Component encountered an error

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close