cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: How to add attachment while sending mail to sap inbox

Former Member
0 Kudos

Hello Experts,

Can you tell me how to add attachment in mail step . In my case data is present in the string format in the buisness object method. Can you please explain this step by step...?

Thanks and Regards

Mallikarjun

Accepted Solutions (1)

Accepted Solutions (1)

anjan_paul
Active Contributor
0 Kudos

HI,

    In the BO method of the task convert the string to Xstring format usin fm SCMS_STRING_TO_XSTRING. Then use fm SAP_WAPI_ADD_ATTACHMENT to add the attachment.

There are lot of documents in SCN, you will find how to attach attachment.

Answers (1)

Answers (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

  If your provlem solved,  close the thread