2015 Jul 30 6:52 PM
Hello Experts,
I am using FM SO_DOCUMENT_SEND_AP1 function module to send email from output type after Invoice is saved. (Output type is script based). As this is custom functionality to send email, standard SAP does not archive the output. Is there any way to Archive this output?
Thanks,
Shravan
2015 Aug 05 2:58 PM
Resolved.
Convert the OTF to PDF. Use FM ARCHIV_CREATE_OUTGOINGDOCUMENT and pass PDF data and archive parameters to this FM.
2015 Jul 30 9:34 PM
2015 Jul 31 10:16 AM
Hi,
ive done the same. unfortunately i forgot the fm/prog name.
you can debug Prog RSNAST00 and call the relevant sub-Programmroutine
LG
Stefan Seeburger
2015 Jul 31 11:00 AM
Hi Shravan,
Archiving is nothing, but SELECT, DELETE, UPDATE operations on DB, each operation mapping to a REPORT. You need define your own archive object in AOBJ.
And you could refer reprots from other standard archive objects to write you code.
regards,
Archer
2015 Aug 05 2:58 PM
Resolved.
Convert the OTF to PDF. Use FM ARCHIV_CREATE_OUTGOINGDOCUMENT and pass PDF data and archive parameters to this FM.