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

Reg.mail Attachment

Former Member
0 Likes
460

Hi Experts,

I face a problem with the alignment fo the attached file send through a mail.

I use the fubction module SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mail.

The problem i face is if i send the attchment as a text file or as an imp file, the first row of data is coming correctly where as from the second row all rows are coming with one tab space in the begining.

i have declared the internal table with the same type as the CONTENTS_HEX in the fn.module.

.in the internal table dat is populated correctly.

Please advice me to how to correct the issue.

Thanks in Advance.

Prajitha

Hi Experts,

I face a problem with the alignment fo the attached file send through a mail.

I use the fubction module SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mail.

The problem i face is if i send the attchment as a text file or as an imp file, the first row of data is coming correctly where as from the second row all rows are coming with one tab space in the begining.

i have declared the internal table with the same type as the CONTENTS_HEX in the fn.module.

.in the internal table dat is populated correctly.

Please advice me to how to correct the issue.

Thanks in Advance.

Prajitha

2 REPLIES 2
Read only

Former Member
0 Likes
416

declare the object, BIN and pack list of foloowing type and try again.

t_objbin TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE

t_objpack TYPE STANDARD TABLE OF sopcklsti1 WITH HEADER LINE,

t_objtxt TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,

t_reclist TYPE STANDARD TABLE OF somlreci1 WITH HEADER LINE.

reward if ansered

Read only

Former Member
0 Likes
416

u have to give values at CONTENTS_TXT parameter instead of hex values