on 06-08-2015 3:52 PM
Hi
Could anyone tell me how to pass parameters of Function Module CONVERT_OTF_AND_ARCHIVE in order to store a Smartform print on an invoice (MIR4)?
I need information on the ARC_P and ARC_I parameters...
Hi Jakob,
CONVERT_OTF_AND_ARCHIVE is, to my knowledge, an internal FM of SAP. If you want to format a SmartForm and send it (as PDF) to Optical Archive (BC-SRV-ARL) you call the generated SF function module, and to specify that this is for output channel "Archive", you set field TDARMOD of the OUTPUT_OPTIONS input structure to value '2' (means, only archive, no print, see domain SYARMOD).
You also need to fill archive-related parameters ARCHIVE_INDEX, ARCHIVE_PARAMETERS (which have the same types as for the internal FM, because they go into archiving API ARCHIV_CREATE_OUTGOINGDOCUMENT) .
As for these parameters, maybe search SCN for the DDIC structure like ARC_PARAMS, you will find posts there, e.g. http://scn.sap.com/thread/726599
Regards,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.