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

Hide page in Sapscript

Hi,

I have a form which contains 2 pages and I want to hide the second page if a condition is true.

Eg. IF company_code = 'XXX'

then the second page should not appear on the form.

I know how I can control inside in the form for a window but not for a page.

How can I hide the page runtime?

Thanks,

Gabor

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2009 at 11:46 AM

    Hi,

    New-page is an abap command which is used at sapscript side.

    You just write;

    /: New-page

    if the condition is false...

    : IF <condition>

    /: &NEXTPAGE& = 'FIRST'

    /: ELSE

    /: &NEXTPAGE& = 'NEXT'

    /: ENDIF

    /: NEW-PAGE

    Thanks,

    Omkaram.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2009 at 12:08 PM

    Thanks, but I want to do it from ABAP code. It is possible?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 08:39 AM

    Ok ,finally i have found a new-page in the sap-script

    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.