Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CONVERT_OTF

Former Member
0 Likes
502

Hi All,

I have a problem in display the output after covert into PDF.for the same vendor i have a multiple records, so when run currently i can able to get multiple PDF forms for the same vendor,But my requirments is to get the all the records of the vendor in same PDF with multiple pages.

Can anyone can help to solve this issues.

Thanks,

Deesanth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
455

for this u can to give a custom tcode(czreport), where which can have selection screen to provide vendor number, u can select ur required record and do send the fetched data to your PDF..

either converting SF to PDF or directly creating a PDF form...

i guess this can be one soln to ur issue.

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
455

Close your smartform "job" (function module SSF_CLOSE) only once, after having processed all records (and don't forget : when calling your smartform function module for each record, you must pass control_parameter-no_close = 'X').

While closing, retrieve the OTF which contains all records, and use CONVERT_OTF. There will be only one PDF containing all records.

Read only

Former Member
0 Likes
456

for this u can to give a custom tcode(czreport), where which can have selection screen to provide vendor number, u can select ur required record and do send the fetched data to your PDF..

either converting SF to PDF or directly creating a PDF form...

i guess this can be one soln to ur issue.