2007 May 14 3:13 PM
Hi!
Please let me know what could be the reason for the Function Module SO_NEW_DOCUMENT_ATT_SEND_API1 to raise an exception called
x_error = 6 (Internal error or database inconsistency) when an empty attachment is sent? Thanks in advance.
Thanks & Regards,
akanksha.
Hi!
Please let me know what could be the reason for the Function Module SO_NEW_DOCUMENT_ATT_SEND_API1 to raise an exception called
x_error = 6 (Internal error or database inconsistency) when an empty attachment is sent? Thanks in advance.
Thanks & Regards,
akanksha.
2007 May 14 3:23 PM
Hi,
It's difficult to say anything based on the info you provided. The best to debug and put a break-point at RAISE or MESSAGE statement.
I'd also suggest to double check your parameters based on this weblog:
/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface
Best regards,
Peter
2007 May 14 3:24 PM
hi ,
this FM SO_NEW_DOCUMENT_ATT_SEND_API1 uses internally 'SO_OBJECT_SEND' and if in this if exception raises OTHERS = 1000.
and which inturn raises x_error = 6.
so try to check the FM 'SO_OBJECT_SEND' setting a break point , and obviously if there is no object is send , the excetiopn OTHERS will be raised and hence x_error .
reward with points , if helpful.
Revert back if any issues.
Regards,
Naveen.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |