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

Sending attachment in a mail using SO_DOCUMENT_SEND_API1

abhiperiwal
Participant
0 Likes
380

Hi,

I am trying to send an attachment in a mail using the FM SO_DOCUMENT_SEND_API1.

The contents of the body and the attachement are same.

The contents of the body are coming in proper format but the attachements are not.

The body contents are in this way:

1000013559 0010004994 PBG BROOKF 1000013559 000100 010052000328667000 GA LQ CRE 20OZ 24CS FRT PUN 0.000 CS

1000013559 0010004994 PBG BROOKF 1000013559 000200 010052000328681000 GA LQ CRE 20OZ 24CS LL 0.000 CS

But the attachement contents are:

1000013559 0010004994 PBG BROOKF 1000013559 000100 010052000328667000 GA LQ CRE 20OZ 24CS FRT PUN

         ⸀        䌀匀ഀ਀                                                                                                         u2020

1000013559 0010004994 PBG BROOKF 1000013559 000200 010052000328681000 GA LQ CRE 20OZ 24CS LL

    ⸀        䌀匀ഀ਀                                                                                                              u2020

Also the last 2 fields which are quantity and unit fields, are not coming at all in the attachment.

Please help me solve this issue.

Thanks,

Abhishek

2 REPLIES 2
Read only

Former Member
0 Likes
354

what is the document type of attachment? is it excel?

Read only

0 Likes
354

I am sending it in RAW format.