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

External assign

In user-exits, memory fields from the calling program are not available.

In user-exits, memory fields from the calling program are not available. With an external assign you can access...

any field of any calling program. This is also valid for field-exits, call functions, etc. You can even change the value of the field (at your own risk!)


DATA : zzname(30) VALUE '(SAPMV45A)VBAK-LIFSK'.

FIELD-SYMBOLS : < fs_lifsk&rt; TYPE ANY.

* Access main memory from program SAPMV45A field VBAK-LIFSK
ASSIGN (zzname) TO < fs_lifsk&rt;.
IF sy-subrc = 0.< br> IF < fs_lifsk&rt; = ...
...
ENDIF.
ENDIF.

This was last published in March 2002

Dig Deeper on SAP Basis administration and NetWeaver administration

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

This is a great post.. Thank you so much.
Cancel

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close