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 printing multiple PO using Smart forms

Former Member
0 Likes
903

Hi Abap Gurus,

i have to print the multiple purchase order in smart form such that first purchase order number details in first page. second purchase order in second page. how can i acheive this solution. i searched in sdn but not found a proper solution.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
725

hi,

you can loop at internal table n then call the smartfom.

it will print all the POs in the internal table.

5 REPLIES 5
Read only

Former Member
0 Likes
726

hi,

you can loop at internal table n then call the smartfom.

it will print all the POs in the internal table.

Read only

Former Member
0 Likes
725

what i have to made changes in the form to get multiple pages?

Read only

0 Likes
725

hi,

no make these changes in the driver program.

loop at internal table and in the loop call the function module used to open the smartform.

Read only

Former Member
0 Likes
725

i have used the functioin module ssf_open and proceed further.

Read only

0 Likes
725

hi,

use this function module

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'ZTEST_SMARTFORM'

IMPORTING

fm_name = fm_name.

it passes the function module name generated....

then call that function module..

CALL FUNCTION FM_NAME

EXPORTING

control_parameters = wa_control_par

output_options = wa_output_options

IMPORTING

job_output_info = it_otf_data

TABLES

it_nfal = it_nfal_final.