on 05-05-2008 8:02 PM
Hi folks,
I am taking a SAP script Invoice, converting it to a PDF, and sending as an email attachment.
My program works great when I use output dispatch time of "1 send with periodically scheduled job" and using program RSNAST00, but when I execute using "4 Send immediatley (when saving the application)" it fails with error COMMIT_IN_POSTING.
Any idea why? How do I fix it?
Thanks,
Clint
Hi Smith ,
I'm also facing the same problem .
In the smartform after configuring the message type with '4 SZend Immediately' and saving it ...generates a error message the update is terminated and shows error COMMIT_IN_POSTING.
Can u please tell me how to overcome this .
Thanks in advance
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well through trial and error for the most part...
I was missing CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'.
Everything seems to be working now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I don't pass parameter
commit_work = 'X' to function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
I don't get the error but there is no data in the invoice attachment. If I use RSNAST00 it has the data.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.