03-01-2010 5:42 PM
Hi,
Iam using the following code
data : hot3 type c
data : BEGIN OF ESCAPE_TRICK,
X1(1) TYPE X,
END OF ESCAPE_TRICK.
Assigning field to strructure .
CALL METHOD cl_abap_container_utilities=>read_container_c
EXPORTING
im_container = HOT3
IMPORTING
ex_value = ESCAPE_TRICK
EXCEPTIONS
illegal_parameter_type = 1
others = 2
Iam getting error at
WRITE AT LPOS(2) ESCAPE_TRICK AS SYMBOL NO-GAP.
What is replacement for the above statement?
Could any one guide me.
Thanks
Krishna.
Edited by: Krishnama Raju Samunuri on Mar 1, 2010 6:51 PM
Edited by: Krishnama Raju Samunuri on Mar 1, 2010 6:52 PM
03-01-2010 5:56 PM
Write as below ...
WRITE AT LPOS(2) ESCAPE_TRICK-X1 AS SYMBOL NO-GAP.
03-01-2010 5:56 PM
Write as below ...
WRITE AT LPOS(2) ESCAPE_TRICK-X1 AS SYMBOL NO-GAP.
03-01-2010 7:58 PM
You cannot write it by giving the structure name directly , specify the fields of ESCAPE_TRICK