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

terms and conditions in the last page of sapscript

Hi friends,

I have a problem is sapscripts.There are 2 normal pages of PO layout.Now the requirement is to get 2 pages of terms and conditions after the last page of PO.The pages tht i defined are-:

first,second and terms.

the next page of first is second and next page of second is second and the nextpage of terms is terms.second page and terms page both have the counter mode as increment .

I wrote the NEW-PAGE command in the last element of main e of window that is getting triggered.

Now the terms page is getting triggered at the right place but , the problem is only 1 page of terms is getting triggered whereas the remaining information of the terms page is not coming as the next page.

The terms page contains 3 windows : main,termsl,termsr.termsl has a stnd text and termsr has a stnd text in which the terms and condition infm is written.When the infm gets overflow from these windows i m supposed to get another page of terms in the output which i am not getting.Hope u understood my problem.

Please help me in this regard .

Thanks and Regards,

Sakshi

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2009 at 06:24 AM

    HI,

    Only MAIN window can trigger if the data in this window overflows, Varible window doesn;t have this property. You need to print the Terms and condition in Main window instead of Variable window.

    Instead of using the termsl,termsr You can use the Template in the MAIN window for sepearting right and left.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2009 at 08:09 AM

    HI,

    You have an option for this :

    create another form and call the form at the end of the of your form.

    Example:

    zscript1 is one form you have.

    create zscript terms and conditions.

    i.e. write the terms and conditions in the main window of the zscript terms and conditions form and call it by FM start form and end form in the driver program ,

    this is because you cannot have different main windows in scripts and you cannot trigger the new-page from the variable window.

    Finally you will have 2 scripts one is for data display and the other for terms and conditions.

    this will definitely work for you.

    thanks

    sarves

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2009 at 09:23 AM

    Hi sakshi,

    u need to create another form and make the page as a variable page and in the main form call the Forl containing the Last Page details using the code:

    code:

    CALL START-FORM.
                                 "Call the Last page within this code
    
    
    CALL WRITE-FORM.
    
    CALL END-FORM.

    thanks

    ravi

    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.