cancel
Showing results for 
Search instead for 
Did you mean: 

Archive Smartform from BSP

Former Member
0 Kudos

Hello

In our scenario we are entering data into a BSP and want to call a smartform and archive the smartform output as PDF on the click of a button. The displaying of the PDF file in the browser works fine. What I cannot get working is for the smartform to automatically archive the output using archive_index and archive_parameters. In ABAP this works fine but I cannot find why the same call in the BSP displays the form but does not archive the displayed data.

Does anybody have any ideas?

Thanks

Harry

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Some standard Fm available for converting PDF.

PDF conversion: CONVERT_OTF

Regards:

parbu

Former Member
0 Kudos

Hello Prabu

Thanks for your answer. I thought in my question I clearly stated that converting the OTF and displaying the PDF was not the problem. Sorry if it was not clear enough.

In any case I have found a solution to the problem myself. After receiving the OTF data I copy it into an identical structure of the same type and use one to archive with FM CONVERT_OTF_AND_ARCHIVE and the other is used to display the PDF file in the browser. Surely not "state of the art" but it solves my problem.

Thanks to all

Harry