Application Development and Automation 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: 
Read only

Hexadecimal variable TRUNC - problem

Former Member
0 Likes
390

Hi experts,

Because of 4.6C to 6.0 upgrade some programs need to be reprogrammed.

I have got a problem with following code:


DATA: BEGIN OF itab OCCURS 0,
                 data(255) TYPE x,
            END OF itab.
DATA: wa_itab LIKE LINE OF itab.
DATA: n TYPE i.

n = 10.
APPEND wa_itab(n) TO itab.

Compiler said that there is no possibility to working with it in character like way ...

Any idea how to solv it ?

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
349

Maybe you can simply delte the "(n)" after the append.

It should work.

Read only

0 Likes
349

Solved by myself.