Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

regarding separate page for seperate employee number

have an assignment like this,i need to develop an smartforms in which

employees details will come page wise means for first employee the details will come

in the first page for second employee the details will come in the second page

like this i need the outptut ,here i need to use templates plz let me know how will

i proceed in smartforms as well as in the driver programs....

if possible plz send ur codes as i m new to smartforms.

FOR THIS i already post the maater and got this answer,

write the driver program in se38 ......with taking an internal table with the details of all

employees for your selection.......

in the driver program itself call ssf_function_module ........and pass the internl atable to

this FM .......sort the table by employee number

now create a smartform ......with one page...desgin the page as per your requirement.....

in the mail window create a loop (assgin the tAable ....to it which has been passed from driver program....)

inside the loop create at new (down you will see ) and put the employee number field.....

next inside the loop create a command ...and put a new page(call) ...

new page will trigger automatically for each employeee.

and i did as per the answer but i m not getting here in my smartforms i m using

table under this i have sorted pernr in the data tab and under this event i m

putting command in this command i m using go to new page,as per this scenario

i m getting my output but one blank page is also coming in the output ,

how to remove this page plz help me i also tried in the condition not on first page but it is not coming.

Former Member
Not what you were looking for? View more on this topic or Ask a question