07-30-2015 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
08-05-2015 2:58 PM
Resolved.
Convert the OTF to PDF. Use FM ARCHIV_CREATE_OUTGOINGDOCUMENT and pass PDF data and archive parameters to this FM.
07-30-2015 9:34 PM
07-31-2015 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
07-31-2015 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
08-05-2015 2:58 PM
Resolved.
Convert the OTF to PDF. Use FM ARCHIV_CREATE_OUTGOINGDOCUMENT and pass PDF data and archive parameters to this FM.