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

Concatenate internal table fields

former_member925838
Participant
0 Likes
582

Hello Experts,

I have an internal table with 38 columns and n no of rows depending upon result.

now i want to concatenate each row of that internal table into string separated by ','.

i have checked this FM: C147_WORKAREA_TO_CHARFIELD

but nothing happened.

i can not use direct concatenate lines of it_final, because i want to concatenate rows not columns.

Actual requirement is i have to download that comma separated internal table to .txt file.

i have checked SAP_CONVERT_TO_CSV_FORMAT also with ; separator,

I copied it to z and made separator as comma but it is not downloading into csv file. I might be using FM wrongly..

but is there any other solution to this??

can any body tell how to do it?

thanks,

Amar

1 REPLY 1
Read only

former_member925838
Participant
0 Likes
436

Solved.

using FM

SAP_CONVERT_TO_TEX_FORMAT

Regards,

Amar