Skip to Content
0
Former Member
Apr 14, 2008 at 11:31 AM

Offset and length not equal

22 Views

Hi

I am doing an upgrade and i have a program which have a text element TEXT-001 = -


this text element has 132 length

my programm have a sysntax error at the 2 line below

MOVE TEXT-001 (18) to ITAB-TEXT.

ZDEFINE TEXT-001(43). "

Note: ZDEFINE is a define .. enddefine

i have correct it by modification below

DATA: W_TEXT(132) TYPE C.

MOVE text-001 TO W_text.

MOVE W_text(18) to ITAB-TEXT.

ZDEFINE W_text(43). "

i have use the variable declare instead of text element directly