2006 Aug 11 6:34 AM
Hi Friends,
(1) I am new to ABAP.I have created a purchase order using sapscript form. In the main window of the first page i want to display only 5-6 lines, after that remaining lines should be display in the subsequent page.
(2) If the purchase order contains only 5-6 item numbers, then all the data's should be displayed in the main window of the first page and below the main window i have created a window for "terms and conditions".So here both "main" and "terms and condition" windows should be displayed in the first page itself.
If Purchase order contains more than 6 lines then the remaining rows in the main window should be displayed in the next page and "terms and condition" window should not display in the first page, it should be displayed in the second page after the completion of data in the Main window.
Plz do the needful.
Thanks in Advance.
2006 Aug 11 7:17 AM
HI,
you should set the size of the main window as that it should have the area to display onlu 5-6 items so it will automatically go to next page after displaying 5-6 items.
for terms and condition to display in last page only.
you can write IF ENDIF in your sapscript like this.
IF &NEXTPAGE& EQ ''
*write your terms and comments.
ENDIF
Regards,
HRA
Hi Friends,
(1) I am new to ABAP.I have created a purchase order using sapscript form. In the main window of the first page i want to display only 5-6 lines, after that remaining lines should be display in the subsequent page.
(2) If the purchase order contains only 5-6 item numbers, then all the data's should be displayed in the main window of the first page and below the main window i have created a window for "terms and conditions".So here both "main" and "terms and condition" windows should be displayed in the first page itself.
If Purchase order contains more than 6 lines then the remaining rows in the main window should be displayed in the next page and "terms and condition" window should not display in the first page, it should be displayed in the second page after the completion of data in the Main window.
Plz do the needful.
Thanks in Advance.
2006 Aug 11 7:17 AM
HI,
you should set the size of the main window as that it should have the area to display onlu 5-6 items so it will automatically go to next page after displaying 5-6 items.
for terms and condition to display in last page only.
you can write IF ENDIF in your sapscript like this.
IF &NEXTPAGE& EQ ''
*write your terms and comments.
ENDIF
Regards,
HRA
2006 Aug 11 7:43 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |