on 10-16-2009 3:31 PM
Hi,
I need to create a new page for the sapscript of Purchase Orden.
the first page goes to the first page (FIRST).
The new page is called SECOND and it contains just text, such as Terms & conditions.
The problem is that i couldnt be able to use the statement :
/: NEW-PAGE SECOND
It doesnt go to the second page.
I added it at the end of the MAIN windows of the FIRST page.
I also added it at the end of the TOTAL windows of the FIRST page, because that windows is the last one.
What am i doing wrong? I think that it should be worked.
Please some help.
Hi,
If, in a NEW-PAGE command, you specify a page not contained in the form, the specification is ignored.
Please check for typing errors.
Rgds,
Suzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys
the SECOND page is created and it contains texts, just texts. In addition, that page is contained in the sapscript.
What i was able to do until now, was create a smartform and called it from the sapscript. It is working well.
But i wanna know why my sentence doesnt work in the sapscript.
In everywhere says that using that command should be work, but it doesnt.
Regards
Hi
Your MAIN should be:
/E NEW_PAGE
/: NEW-PAGE SECOND
So your driver program should call the fm WRITE_FORM:
CALL FUNCTION 'WRITE_FORM'
EXPORTING
WINDOW = 'MAIN'
ELEMENT = 'NEW_PAGE'.
Or u can also use the fm CONTROL_FORM instead of the code above:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING COMMAND = 'NEW-PAGE SECOND'
EXCEPTIONS UNSTARTED = 1
UNOPENED = 1.
Max
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.