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

CSV attachment

Former Member
0 Likes
374

In 4.6c CSV attachment was working fine but after upgrade to 6.0 its givving trouble . We get all the data in to single column . Please help and reward points are assured .

3 REPLIES 3
Read only

Former Member
0 Likes
353

Hi Sourabh,

Instead of CSV attachment try for TAB seperated attachment.

try out and tell me.

Regards,

Bharat.

      • Reward points if useful.

Read only

0 Likes
353

I have tried making it tab limited but still problem exits... Actualy with tab delimited the file opems properly but before opening the excel shows an error stating format of the file is not correct... Can there be any customising problem in SapConnect...

Read only

0 Likes
353

I also have this problem since going from R/3 4.7 to ECC6. the following code works fine in R/3 but in ECC6, all the data goes into the first row.

CALL METHOD document->add_attachment

EXPORTING

i_attachment_type = 'CSV'

i_attachment_subject = 'Staffing Budget Information Report'

  • i_attachment_size = '12'

  • I_ATTACHMENT_LANGUAGE = SPACE

i_att_content_text = li_excel_rows.

  • i_att_content_hex = hex_file

  • I_ATTACHMENT_HEADER =

Can anyone help ?