Skip to Content
0
Former Member
Oct 18, 2006 at 04:09 PM

SAPScript Page break

138 Views

Hi All,

I am working on the TO Collective Form.

In the form there is a page break based on the storage type.

I want to delete the page break.

Here is the code.

/: IF &LTAP-VLBER& EQ '001'

/: IF &PAGE& NE 1

/: IF &W_VLTYP& NE &LTAP-VLTYP&

/: NEW-PAGE

/: DEFINE &W_VLTYP& := &LTAP-VLTYP&

/: ENDIF

/: ENDIF

/: ELSE

/: IF &PAGE& NE 1

/: IF &W_VLTYP& NE &LTAP-VLBER&

/: NEW-PAGE

/: DEFINE &W_VLTYP& := &LTAP-VLBER&

/: ENDIF

/: ENDIF

/: ENDIF

I tried removing the NEW-PAGE and activated and excuted. But still it takes page break.

Urgent