2007 Jul 24 6:38 AM
REPORT Z_KA51151_TEST.
DATA: BEGIN OF gt_temse OCCURS 0,
line(100),
END OF gt_temse.
DATA: chr TYPE x VALUE '0A',
x_string(255) TYPE X,
last_chars(128),
blank(128) VALUE space.
LOOP AT gt_temse.
WRITE gt_temse TO x_string.
ENDLOOP.
The Error i/m getting is X_STRING must be a charectar type field (data type C,N,D or T)
my question is what is alternate to code the logic to have the same finctionality ?
2007 Jul 24 6:44 AM
Hi Avinash,
It is recommended you convert your fields in the CHAR format, also for TAB, End of line characters use the CL_ABAP_CHAR_UTILITIES.
Regards,
Atish
2007 Jul 24 6:44 AM
Hi Avinash,
It is recommended you convert your fields in the CHAR format, also for TAB, End of line characters use the CL_ABAP_CHAR_UTILITIES.
Regards,
Atish