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

Pipe Download format

Former Member
0 Likes
720

Hi All,

I need to download a file in the Pipe delimited format in a text

file . Don't have any idea what's Pipe downloading...

Can u help me with this...Points will be awarded for useful

answer.

Thanks,

Sumit.

Hi All,

I need to download a file in the Pipe delimited format in a text

file . Don't have any idea what's Pipe downloading...

Can u help me with this...Points will be awarded for useful

answer.

Thanks,

Sumit.

2 REPLIES 2
Read only

Former Member
0 Likes
577

Hi,

You can use the F.M.

CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'

EXPORTING

I_FIELD_SEPERATOR = C_FIELD_SEPARATOR

I_LINE_HEADER = I_LINE_HEADER

I_FILENAME = I_FILENAME

TABLES

I_TAB_SAP_DATA = I_TAB_SAP_DATA

CHANGING

I_TAB_CONVERTED_DATA = I_TAB_CONVERTED_DATA.

Here collect the coverted data in I_TAB_CONVERTED_DATA with pipe delimiter.

Then u can download using gui_download F.M.

Regards,

Raj.

Read only

Former Member
0 Likes
577

Hi Sumit,

Pipe delimited Format is nothing but fields seperated by ' | ' (SHIFT + \).

' | ' ---> Pipe. Like this

000123 | abcd | m-101 | zzzz

It is nothing but downloading file but with ' | ' separator between the fields.

Before Downloading u just concatenate all the fields seperated by the symbol ' | ' .

regards,

raam