Skip to Content

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

Reg. usage of FM "SO_NEW_DOCUMENT_ATT_SEND_API1" in background

Dear Experts,

I am using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1" to send the PDF attachment data via Outlook Mail. Here i need to pass "Commit work" = 'X'. It is working fine when i execute in Dialog mode / Foreground.

But when i execute in Background / Batch Mode, i get a short Dump as "Pre-commit Check required".

When i am not setting the parameter "Commit work" = 'X', i get the following message in Tcode SOST "Still no entry in queue".

Is there any other way i can solve the above issue? Kindly help me to resolve the above issue in background.

Any help would be appreciated.


Ramesh Manoharan

Former Member
Not what you were looking for? View more on this topic or Ask a question