Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dynamically extending the script form pages

Former Member
0 Likes
495

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

3 REPLIES 3
Read only

Former Member
0 Likes
452

hi

good

go through this link,this might help you to solve your problem

http://wiki.ittoolbox.com/index.php/Sap_script

thanks

mrutyun^

Read only

Former Member
0 Likes
452

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

Read only

Former Member
0 Likes
452

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