2007 Sep 21 8:15 AM
end user gives ranges of records to be displayed
i have to design a script form which has main window in which records are displayed.
how do i make main window extend dynamically into new pages with respect to the range given by end user.
please some one help
regards,
kc
Hi,
You can use PROTECT and ENDPROTECT command to dynamically extend the script pages.
All what you need to do is enter the display fields between protect and endprotect.
for eg:
-
PROTECT.
&W_VBELN&....
................
ENDPROTECT.
Hope this helps...
Regards,
Dilli
2007 Sep 21 8:30 AM
hi
good
go through this link,this might help you to solve your problem
http://wiki.ittoolbox.com/index.php/Sap_script
thanks
mrutyun^
2007 Sep 21 8:32 AM
Hi,
You can use PROTECT and ENDPROTECT command to dynamically extend the script pages.
All what you need to do is enter the display fields between protect and endprotect.
for eg:
-
PROTECT.
&W_VBELN&....
................
ENDPROTECT.
Hope this helps...
Regards,
Dilli
2007 Sep 21 10:29 AM
Sapscript will automatically do this - Have a FIRST page with relevant details and a MAIN window for first n records, then configure a NEXT page with less details and larger MAIN window for continuation of records. Can also configure a LAST page if you wish with extra details for end.
Then just need to link them - either in the sapscript page setup (ie NEXT follows FIRST, and NEXT follows NEXT also) or in a command in the main window to switch to LAST page.
A number of standard SAP forms ar set up this way.
Andrew
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |