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

Regarding Smartforms

Former Member
0 Likes
473

Hi Experts,

Im displaying simple list with check box for each row using report program.In that report the user selects the multiple rows and click on the print button,my smartform will trigger and generates the barcode is getting generated for each row.

But the problem is when the user clicks the print button,the print action takes place multiple times but for only one row.How can i solve this.

Regards,

Asmitha.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
458

Hi,

Please pass the parameter NEW_SPOOL = "X" in the smartform FM.

Best regards,

Prashant

3 REPLIES 3
Read only

Former Member
0 Likes
458

Hi Asmitha,

You need to handle the USER COMMAND of print button in your report program.

loop at itab into watab where check = 'X'.

pass watab to smartform FM.

Call SMartform FM.

clear watab.

endloop.

Above logic when added in User command will print 1 smartform for each selected row.

Best regards,

Prashant

Read only

0 Likes
458

Hi,

I written like that only,in print preview it looks fine,while printing only im facing the problem,it prints the same barcode again and again.

Read only

Former Member
0 Likes
459

Hi,

Please pass the parameter NEW_SPOOL = "X" in the smartform FM.

Best regards,

Prashant