2006 Oct 11 6:44 PM
Hello every body,
i want to create a run time data type CHAR_10
IS THERE ANY WAAY like
create data dataref type ('C').
this statement creates a data reference of type C
but can i specify CHAR_10
create data dataref type ('CHAR_10')??????
2006 Oct 11 6:53 PM
2006 Oct 11 6:53 PM
2006 Oct 12 2:13 PM
Hi
thank you very much but problem is that i am getting data element or data type like 'CHAR_10' AND I want to create a run time data type sometihng like the below but it does not execute.
create data dataref type 'CHAR_10'.
waht i do if at run time i am getting the data type in character string.
2006 Oct 11 6:56 PM
Hi,
Try using the field-symbols..
FIELD-SYMBOLS: <FS> TYPE ANY.
DATA: V_CHAR(10) VALUE 'TEST'.
ASSIGN V_CHAR TO <FS>.
WRITE: / <FS>.
Thanks,
Naren
Thanks,
Naren