on 05-25-2009 5:36 PM
Hi @ll,
I`ve created a loop over an internal table in which I have insert a command to go to next page. The command is being called correctly but I don`t get data on the next page. I would expext that the loop goes on with the next record. Currently have just one page - could that be the problem?
What I`m doing wrong?
Ragards,
Flo
Hi,
Remove the command. In the page-->general attribute tab, mention ur next page(if u r having one page mention same page).
Regards,
Ramesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian,
Follow this Wiki example https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/pageBreakin+SMARTFORMS
Regards,
Marcin
Hi,
In the internal table add one more field called flag and in the driver program populate the value of flag = 'X' at the end of every PERNR using Control break statements.
In the loop and the command give the condition as Flag = 'X'.
So the Page break will be triggered when ever the PERNR value will be changed.
Hope this will help you.
Regards,
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hay,
write that command in the main window at the last of all in that main windowand not in between .
rgds,
Madhuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is only one page in your smartform.So you are calling the same page over and over again.You want to print each record on the new page.
Use the following:
1) in the Next page attributes as the First page.
2) Adjust the Main Window Size So that only one records fits or create Templete in the main windows.
3) Remove the command.
4) After each record Next page will be automatically triggered..
Regards,
Gurpreet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you explain in more detail what is your requirement? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.