Skip to Content
avatar image
Former Member

Reg: Displaying all the items of main window in the same page itself.

All,

I am developing an SAp Script form which is using five windows. Out of which third window is the main window. In the main window i am displaying details of item sold. The form prints perfectly when the number of items is with in the limit of the main window height. When it exceeds the main window height a second page with the same format of the first page is displayed with the remaining items in main window. ie 1,2,4,5 window is repeated in both pages.

I want to display all the items of the main window in the first page itsel and if it exceeds first page show the remainng items in the next page and then display 4th and 5th window. IS it posiible using SAp script. Am i to do some configuration for this?

Note: I have assigned Next page to first page itself.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 26, 2007 at 11:44 AM

    Hi

    Remove the Uneanted Page WINDOWS( 1 and 2 ) which you don;t need in NEXT page from the NEXT Page

    or keep a condition that /: IF &PAGE& EQ 1....ENDIF. for those windows.

    then when the Main window overflows with more items then they go to second page and after wards they disply the 4 and 5 windows in the last.

    So just you have to adjust the windows on pages, where and how you need.

    <b>Reward points for useful Answers</b>

    Regards

    Anji

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      You can change the Position of the Main window in NEXT PAGE

      and keep the condition for 4th and 5th windows LINES like

      /: IF &PAGE& EQ &SAPSCRIPT-FORMPAGES&

      ...< WRITE THE 4TH WINDOW script lines>

      /: ENDIF

      for 5th window also write this and see

      this means they are printed only in the Last window

      and position these windows such that they come below the MAIN window in the NEXT PAGE

      <b>Reward points for useful Answers</b>

      Regards

      Anji