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

problem related to unicode

Former Member
0 Likes
671

for the following Source code

LOOP AT MTAB_PROGRAM_TEXTS.

MTAB_PROGRAM_FILE = MTAB_PROGRAM_TEXTS.

APPEND MTAB_PROGRAM_FILE.

ENDLOOP.

an error is coming like

"MTAB_PROGRAM_FILE" and "MTAB_PROGRAM_TEXTS" are not mutually

convertible. In Unicode programs, "MTAB_PROGRAM_FILE" must have the

same structure layout as "MTAB_PROGRAM_TEXTS", independent of the

length of a Unicode character.

Program ZGIRI_17

In "TEXT MODE" the "ENCODING" addition must be specified.

Program ZGIRI_17

In "TEXT MODE" the "ENCODING" addition must be specified.

Program ZGIRI_17

"FTAB_PROGRAM_TEXTS" and "FTAB_PROGRAM_FILE" are not mutually

convertible. In Unicode programs, "FTAB_PROGRAM_TEXTS" must have the

same structure layout as "FTAB_PROGRAM_FILE", independent of the length

of a Unicode character.

can u help me to trace out the error

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
572

hi,

Check if MTAB_PROGRAM_FILE & MTAB_PROGRAM_TEXTS are of same structure. else do this way ...


 LOOP AT MTAB_PROGRAM_TEXTS.
   move-corresponding  MTAB_PROGRAM_TEXTS to MTAB_PROGRAM_FILE.
   APPEND MTAB_PROGRAM_FILE.
ENDLOOP. 

Regards,

santosh

2 REPLIES 2
Read only

Former Member
0 Likes
573

hi,

Check if MTAB_PROGRAM_FILE & MTAB_PROGRAM_TEXTS are of same structure. else do this way ...


 LOOP AT MTAB_PROGRAM_TEXTS.
   move-corresponding  MTAB_PROGRAM_TEXTS to MTAB_PROGRAM_FILE.
   APPEND MTAB_PROGRAM_FILE.
ENDLOOP. 

Regards,

santosh

Read only

Former Member
0 Likes
572

Thank u Santosh