Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unicode Error in Write Statement

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Write as below ...

WRITE AT LPOS(2) ESCAPE_TRICK-X1 AS SYMBOL NO-GAP.

2 REPLIES 2

Former Member
0 Kudos

Write as below ...

WRITE AT LPOS(2) ESCAPE_TRICK-X1 AS SYMBOL NO-GAP.

kesavadas_thekkillath
Active Contributor
0 Kudos

You cannot write it by giving the structure name directly , specify the fields of ESCAPE_TRICK