Skip to Content
author's profile photo Former Member
Former Member

sap script doubt

hello everbody

goodmorning,

1. what is the max nos of pages can we have in a form?

2. how many max nos of MAIN window can we create?can we create or not?if yes then what is the max nos.?

3.if data while printing overflows then where it go?

how can we handle it?

plz give answer of all the above .

i need it.

thanks in advance for all ur efforts

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 05:44 AM

    hi Sanjeev,

    1. No limit

    2. it is possible to have only 1 MAIN window..

    3. that gets stored in the buffer/cache memory

    Regards,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi saurabh

      thanks for ur reply .

      if after 20 i have more 10 line items then what to do?

      whether i have to create one more page like page3

      as in ur prevoous answer u have mentioned to have 2 pages page1 & page2.

      if going in this way the how can i estmate that how many pages i need?

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 05:49 AM

    Hi Sanjeev,

    1. I don't think there is a limit to the maximum number of pages we can have in a form.

    2. We can have only one Main window per form

    3. Item data(data which would generally be displayed accross multiplt pages) is written in the Main window. The overflow is taken care of automatically by the Main window. No specific coding needs to be done for that.

    Hope this helps!

    Regards,

    Saurabh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 25, 2006 at 05:51 AM

    Hi,

    U can have 99 main window in a Sapscript.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 05:55 AM

    hi,

    1. there is no limit fopr pages.

    2. U can have one main wiondow

    3. If the query to retrive data is in Main window..it will automaticakly print the rest in second page.

    If it is in page window the create another page and use this page as the NEXT page of first pagge.

    otherwise use

    <Protect>

    Select statement...

    <EndProtect>

    it ill display everything in the same page.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 05:56 AM

    hi,

    1. there is no limit fopr pages.

    2. U can have one main wiondow

    3. If the query to retrive data is in Main window..it will automaticakly print the rest in second page.

    If it is in page window the create another page and use this page as the NEXT page of first pagge.

    otherwise use

    <Protect>

    Select statement...

    <EndProtect>

    it ill display everything in the same page.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 06:03 AM

    hi,

    1. what is the max nos of pages can we have in a form?

    ans: any number of pages .

    2. how many max nos of MAIN window can we create?can we create or not?if yes then what is the max nos.?

    ans: you have only one main window but the number of times u can use the main window in a page is 99.

    3.if data while printing overflows then where it go?

    how can we handle it?

    ans: for this u ll make use of Protect endprotect.

    Reward useful answers.

    Regards,

    Shrita.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 06:27 AM

    Hi Sanjeev,

    1. what is the max nos of pages can we have in a form?

    Ans:limit was there for number of pages.

    2. how many max nos of MAIN window can we create?can we create or not?if yes then what is the max nos.?

    Ans: we can create upto99 main windows, like MAIN01,

    MAIN02...etc

    3.if data while printing overflows then where it go?

    how can we handle it?

    Ans:if data overflows while printing it will go for next main window if you decleare more main windows.

    if you declare only one main window, it will go for next page mainwindow.

    you can handle this situation by using PROTECT-ENDPROTECT.

    thanks.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.