全部博文(90)
分类:
2009-09-30 16:20:35
一:
When calling the function module generated by smart form , save it as a PDF format
export certain parameters to the generated function module.
a) Control_Parameters:“Getotf” =‟X‟.
b) Output_options: To print settings. For this we have to pass tddest = 'LP01‟.
c) JOB_Ouput_Info: To import the table in the OTF format.
Now we can convert the OTF table into PDF format using function module 'Convert_OTF' and save it using 'GUI_DOWNLOAD'. 4
二:
combine multiple Smartforms
1 OTFDATA type ITCOO . ITCOO has two fields TDPRINTCOM。
2 For every Smartform output in its OTF equivalent, TDPRINTCOM begins and ends with „//‟. only one pair of „ //‟ to mark the beginning and end of the table. TDPRINTCOM value for end-of-page will be “EP‟.
3. the beginning and end markers (“//‟) for subsequent smartforms should be removed and appended after "EP‟ command in the OTF table.
Similarly we can combine multiple smart forms by removing "//‟ and append them using "EP‟ and convert from OTF format to PDF using Convert_OTF and save as PDF file using GUI_DOWNLOAD.