Skip to Content
0
Former Member
Apr 07, 2010 at 07:29 AM

Reg. usage of FM "SO_NEW_DOCUMENT_ATT_SEND_API1" in background

237 Views

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.

Regards,

Ramesh Manoharan