cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript 'terms and conditions'

Former Member
0 Kudos

Hi experts,

In SAPSCRIPT i want print 'terms and conditions' at the last page of my quotation form.

I have 2 pages: First and next: First (call)----> Next

Next (call)---> Next

and i want print 'terms and conditions' at last in new page

how will i do?

Thanks for your answers.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

This message was moderated.

former_member187457
Active Contributor
0 Kudos

create a new page as term_page.....

create a non-main window.....and write the terms....

in next page main window ..write.....

/: IF &NEXTPAGE& EQ 0

/: NEW-PAGE term_page

/: ENDIF

Former Member
0 Kudos

When i do that, error system: "Output is continuous or contains too many pages (>4)"

Former Member
0 Kudos

When i delete this: " CALL FUNCTION 'CONTROL_FORM'

EXPORTING'

COMMAND = 'NEW-PAGE' ",

System put error: " the control_form is invalid, start_form is missing"

i am stuck, how can i do?

:(((((((

former_member187457
Active Contributor
0 Kudos

Hi SIMO

u can write.....

/: IF &NEXTPAGE& EQ 0

.......

......terms & conditions

......

....

ENDIF

thnx

rohit

Former Member
0 Kudos

No, i want edit terms in new page. What this the equivalent to &NEXTPAGE& in program?

Thanks

Former Member
0 Kudos

Hi,

if next-page = 0.

print this terms and conditions.

there is an option for printmode in pages tab.

if u want to print this page in printmode is there

in that we have S, it is for single sided of a new page

D, it is for duplex print at the back side of a page

T it is for tumble duplex in that new page only.

please check it once/

please reward points, if it is useful.

regards,

satish.

former_member196280
Active Contributor
0 Kudos

Try this

IN THE PRINT PROGRAM...

CALL FUNCTION 'CONTROL_FORM'

EXPORTING'

COMMAND = 'NEW-PAGE' .

Regards,

SaiRam

Former Member
0 Kudos

and in sapscript forms, how will i do?

Thanks for your answer

former_member196280
Active Contributor
0 Kudos

In Layout try this...

Create you pages like this FIRST PAGE, SECOND PAGE, TERM PAGE

In next page attribute of first page give as SECOND and in next page attribute of second as SECOND

In your program call terms page if it is the last record in main window.

/: NEW-PAGE TERM

Regards,

Sairam

Former Member
0 Kudos

Ok Say. I am trying this '/: NEW-PAGE TERM' with 'function CONTROL_FORM: NEW_PAGE' in program but the program edit new page 'NEXT' to the end not page 'TERM'. My page 'TERM' is not edited