08-05-2009 12:58 PM
hi i am using below concatenate statement in ecc 6.0
to output in b
tab delimited file but gettign 9 character afere each field in the output file pls suggest i think some class needs to be used
please suggest the code for the same
CONCATENATE
WA_VAL_VKDFS-VKORG
WA_VAL_VKDFS-VTWEG
WA_VAL_VKDFS-SPART
WA_VAL_VKDFS-KUNNR
WA_VAL_VKDFS-/LIG/HCTHCODE
INTO gt_file_text SEPARATED BY tab.
APPEND gt_file_text.
where tab is declared as beloe
data : Tab TYPE string VALUE '09'.
pls suggest how to rectify the error
regards
Arora
08-05-2009 1:09 PM
Hi,
use the below declaretion:
data : Tab TYPE x VALUE '09'
data: Tab value cl_abap_char_utilities>HORIZONTAL_TAB
Regards,
Himanshu
08-05-2009 1:09 PM
Hi,
use the below declaretion:
data : Tab TYPE x VALUE '09'
data: Tab value cl_abap_char_utilities>HORIZONTAL_TAB
Regards,
Himanshu
08-05-2009 1:18 PM
hi
i have declared instead of data: tab type x value '09'.
i have changed to as told
data : tab value cl_abap_char_utilities>HORIZONTAL_TAB.
but now in between the junk characters are coming the junk character is hash (could not find sign for the same in key board hence written in words)
pls suggest
regards
arora
08-05-2009 2:55 PM
problem solved the transaction AL11 shows tab as junk..hence it was coming as junk