cancel
Showing results for 
Search instead for 
Did you mean: 

Hide page in Sapscript

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

You can try with CONTROL_FORM from ABAP program.

I believe you may nt control Script's pages from ABAP.

Sripal