‎2010 Jul 19 8:50 AM
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.
‎2010 Jul 19 9:08 AM
hi,
you can loop at internal table n then call the smartfom.
it will print all the POs in the internal table.
‎2010 Jul 19 9:08 AM
hi,
you can loop at internal table n then call the smartfom.
it will print all the POs in the internal table.
‎2010 Jul 20 8:04 AM
what i have to made changes in the form to get multiple pages?
‎2010 Jul 20 8:24 AM
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.
‎2010 Jul 20 9:04 AM
i have used the functioin module ssf_open and proceed further.
‎2010 Jul 20 9:30 AM
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.