Hi Mounika,
I am not using any COMMIT WORK after the FM. But after executing my Zreport, I will run the program RSCONN01 with INT and X. Will this make any difference.
I am getting sy-subrc = 2 which means "DOCUMENT_NOT_SENT". Any idea why the document is not sent.
It is working in development system. I am facing the dump in quality system.
This is a lower version of SAP 4.0B.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = l_doc_data
put_in_outbox = 'X'
tables
packing_list = it_packing_list
contents_hex = lit_record
receivers = it_receivers.
clear: t_output_form[], t_cocode[].
Thanks,
Haritha