Skip to Content
0
Former Member
Oct 06, 2005 at 06:50 AM

Dynamic assign

16 Views

Hi,

what do you think about this topic, and about this code:

FIELD-SYMBOLS: <fs_buptab> TYPE ANY TABLE.
DATA: varname(20) TYPE c VALUE '(SAPMF05A)BUPTAB[]'.

* table from program SAPMF05A is here and ready to change,
* read.....
ASSIGN (varname) TO <fs_buptab>.
IF sy-subrc NE 0.
  MESSAGE e999(zdevel) WITH 'FIELD SYMBOL ASSIGNMENT ERROR'.
ENDIF.

I have heard, that SAP will not support this in the future?

thx

Mario