on 11-11-2011 2:35 PM
Hy Gurus
I am printing a sales order using transaction VA03. I need to insert at the end of form the sales condtitions in new page or a new window .
In my sapscript there are two pages FIRST and NEXT (NEXT calls like next page always NEXT ).
Is possible to insert a new page or window after the next ? and how can i do? in program from SE38 there is an istruction that i could use the instruction is
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'SUPPLEMENT_TEXT'
EXCEPTIONS
element = 1
window = 2.
Can you help me? i am new about sapscript.
Thanks in advance
Edited by: Paolo9999 on Nov 11, 2011 3:36 PM
Edited by: Paolo9999 on Nov 11, 2011 3:36 PM
Hi,
Here you debug and find the last text element of main window
Follow below steps:
1) Create a new page at end name it as some TERMS AND CONDITIONS or depends on your requirement.
2) Find out the last text element in the form using debugging
3) Pages should be linked as
First --> Next --> Next
4) In the last text element identified
Write the following code
/: NEW-PAGE <YOUR LAST PAGE NAME>
Hope this helps.
Regards,
-Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paolo,
Wheather it is solved or not i don't know, If it is not solved create one more SAPScript for only Terms and conditions. Call this form after the main form by using FMs OPEN_FORM, CLOSE_FORM, START_FORM & END_FORM.
Regards,
Surya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.