cancel
Showing results for 
Search instead for 
Did you mean: 

Archiving Parameters in SMARTFORM

Former Member
0 Kudos

Hi,

I am working on archiving in SMARTFORM. I am seeing the parameters related to this in SMARTFORM interface. However, I am unable to understand the significance of these parameters and how to fill these parameters?

Please suggest.

Thanks,

Sandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

DavidLY
Advisor
Advisor
0 Kudos

Hello,

The Smartforms composer is programmed in a way that it always

archives each single document separately. While the spool system

offers the possibility to put two documents into the same

spool request, this possibility is missing in the archive.

If you need this function, you must program it yourself.

One way is that you tell the Smartforms composer that it shall

not print and archive the forms itself, but that it shall return

the OTF data. After this your program can do the archiving itself.

To see to it that the OTF data contain all forms as one document,

you must set CONTROL_PARAMETERS-NO_OPEN = ' ' and

CONTROL_PARAMETERS-NO_CLOSE = 'X' for the first form and

CONTROL_PARAMETERS-NO_OPEN = 'X' and CONTROL_PARAMETERS-NO_CLOSE = ' '

for the second form.

That you get the OTF data in an internal table, you must set

CONTROL_PARAMETERS-GETOTF = 'X'. The OTF data are returned

in table job_output_info-OTFDATA.

To print the OTF data function module PRINT_OTF can be used.

To archive the OTF data function module CONVERT_OTF_AND_ARCHIVE

can be used.

I hope these information can help you.

Regards,

David