Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SO_DOCUMENT_SEND_API1 - Text File attachment data in Different formate

Hi Experts,

SO_DOCUMENT_SEND_API1 Fm is used to send mail with text file attachment,

E-MAil message body is coming perfect, but the content in text file is displaying different formate .

PFB the content in Text file.

IM7330003226161208RIBA20

140000001 200904210700

200000001Wella Italia Labocos SrlVia

I need to display the content as shown in below.

IM7330003226161208RIBA20

140000001 200904210700

200000001Wella Italia Labocos SrlVia

Please help.

Former Member
Former Member replied
t_packing_list-doc_type = 'RAW'.
....
----
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
      document_data                    = w_doc_data
*     PUT_IN_OUTBOX                    = ' '
     commit_work                      = 'X'
   IMPORTING
     sent_to_all                      = lv_flag
*     NEW_OBJECT_ID                    =
    TABLES
      packing_list                     = t_packing_list
0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question