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

Smartforms

Former Member
0 Likes
419

Hi,

I am calling the smartform FM into the loop of itab.

then outer the loop the smartforms are converted into the pdf format by fm but the output of the pdf shows the only last smartform of the itab i.e last present in the list of itab,

so i want to download all the smartforms created for the pernrs in the selection screen.

Thank you,

Regards,

Jagrut Bharatkumar Shukla,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
392

Hi,

When you print the smartform, automatically a spool would be created.

You can check the spool using transaction SP01 or in table TSP01.

Refer following program for spool generation & PDF:

http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

Best regards,

Prashant

3 REPLIES 3
Read only

Former Member
0 Likes
392

HI,

Actually you should pass the ITAB to SMartform & should not call the smartform in loop of itab. This will create only one SPool.

& then you can convert it into PDF.

Please refer following link:

http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

Best regards,

Prashant

Read only

Former Member
0 Likes
392

HI thank you for you valuable information,

another question can you tell me how to create spool request of smartforms.

thank you,

Regards,

Jagrut Bharatkumar Shukla

Read only

Former Member
0 Likes
393

Hi,

When you print the smartform, automatically a spool would be created.

You can check the spool using transaction SP01 or in table TSP01.

Refer following program for spool generation & PDF:

http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

Best regards,

Prashant