Application Development 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: 

TAB delimetted file

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

use the below declaretion:

data : Tab TYPE x VALUE '09'

data: Tab value cl_abap_char_utilities>HORIZONTAL_TAB

Regards,

Himanshu

3 REPLIES 3

Former Member
0 Kudos

Hi,

use the below declaretion:

data : Tab TYPE x VALUE '09'

data: Tab value cl_abap_char_utilities>HORIZONTAL_TAB

Regards,

Himanshu

0 Kudos

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

Former Member
0 Kudos

problem solved the transaction AL11 shows tab as junk..hence it was coming as junk