on 02-15-2011 10:18 AM
Hello Masters,
I am new in SAP ABAP , i need your help , i am creating a Smartform for Appointment letter, there are 3 pages in the smartforms , each of the 3 pages has 3 main windows(main windows are empty) work has been done on other secondary windows, by right clicking windows and inside that in attributes i have given page 1 -> page 2 and very happily i am getting both the 2 pages in my output , bu the problem arises when i create the page 3 ,in the page 2 i have again given the attributes inside the command go to next page and selected page 3 in the page 2 window but i am not getting the third page , i dont understand when i have applied the same logic with page 1 --> page 2 , why i am not getting page 2 --> page 3, why its not going on to the page 3.in page 3 i have given it to page 1 and also tried page 3 itself but nothing is working for me , i need a big time help from u masters .
Regrads
Nishant
Hi,
Why are using the COMMAND Element to call the Next Page, Instead you can specify the next page in the PAGE->General Attributes->Next Page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was using it in general pages also as well as in command attributes also , thats how i was able to reach from page 1 -> page 2 , earlier i was using a general page move only and it was not working , when i created command in main windows and there i selected pages movement in attributes then only i was able to C page 1 -> page 2 , i tried everything with page 2 - page 3 but i can C only page 1 and page 2 in my output but not page 3
There is data in all the 3 pages in there secondary window respectively , i have not put any data in any of the main windows in all the 3 pages but only i have created command . in there i have check on "go to new page" and next page number , i have also done the same thing in general description of the pages bcoz of this only i was able to see my second page included with the first in the output but when i applied the same logic with page 2 -> page 3 , i cant c my 3rd page.
Hi Nishant,
Its not enough to have data in secondary windows.
The page break command will triger explicitely if there is data to be written in main window.
You have done it from page1 to page 2 using command.
but in page 2 no main winow is triggerd so next command is not trigeerd and page 3 is not trggerd.
hope you are getting what i mean to say.
So you have to follow the logic i given in earlier thread.
hope this will help.
dhiraj,
After Struggling for two days i finally reached my solution, what i did is in my 1st page i use a command inside my main window(main window is empty, data is in other secondary windows) in which i have given a command (inside flow logic) , where i have given in attributes Go to new page "second page" , and in my other 2 pages where i was giving same command in the other 2 page's main windows , i removed those main windows from those 2 pages and simply in general attributes of the page i linked page 2 to page 3 , but when i tested it to remove the command from page 1 main window it was showing only page 1 , so i guess we need command only once for the 1st page and for the rest of the pages you dont need any commands , thankyou every one for helping me with issue specially Dhiraj !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.