Beruflich Dokumente
Kultur Dokumente
function module.
How to do it...
Feedback
For generating PDF output without showing the
Smart Form on the screen, follow these steps:
1
First, we de ne two structures
cont_parameters and myoutput
respectively.
https://www.packtpub.com/mapt/book/big_data_and_business_intelligence/9781849684880/7/ch07lvl1sec52/converting-smart-forms-to-pdf-output 1/4
3/19/2018 Converting Smart Forms to PDF output - SAP ABAP Advanced Cookbook
2
Then, we assign 'X' to the setotf
3
The dynamic call of the Smart Form
function module is then carried out.
4
Appropriate variables are then de ned.
The most important is the internal table
pdf_content used for storing the
converted PDF output of the form. The
Feedback
filesize and doc_archive tables
are necessary for calling the function
module CONVERT_OTF_2_PDF .
5
The function module
CONVERT_OTF_2_PDF is then called. The
OTF parameter passes the value of the
eld otfdata of the myoutput
structure.
https://www.packtpub.com/mapt/book/big_data_and_business_intelligence/9781849684880/7/ch07lvl1sec52/converting-smart-forms-to-pdf-output 2/4
3/19/2018 Converting Smart Forms to PDF output - SAP ABAP Advanced Cookbook
How it works...
The control...
Access every
Packt eBook and Video for
FREE today!
Feedback
Assess your skill set with
assessments
Learn more effectively with
curated Skill Plans and Projects
1 Free eBook/Video to keep every
month
o/free-trial-14-days/)
oduct=2c92a0fd5fe284cd015fe42d83f0492d&freeTrial)
https://www.packtpub.com/mapt/book/big_data_and_business_intelligence/9781849684880/7/ch07lvl1sec52/converting-smart-forms-to-pdf-output 3/4
3/19/2018 Converting Smart Forms to PDF output - SAP ABAP Advanced Cookbook
Feedback
https://www.packtpub.com/mapt/book/big_data_and_business_intelligence/9781849684880/7/ch07lvl1sec52/converting-smart-forms-to-pdf-output 4/4