cancel
Showing results for 
Search instead for 
Did you mean: 

Add Terms and Condition in the Quotation

Former Member
0 Kudos

Hi Experts,

I wanna add Terms and Conditions in the quotation as last page. but my problem of course is its just a plain next.

i  don't need the main window in this page.

Any suggestion on how can i make it.

Many thanks

Aashta

Accepted Solutions (1)

Accepted Solutions (1)

former_member200345
Contributor
0 Kudos

Hi, My question is why can't the terms & conditions be called in the main window?

I understand your problem here. After processing all the line items, I mean after LOOP & ENDLOOP for printing line items in the MAIN window, trigger an explicit PAGE-BREAK command in your program by using the function module CONTROL_FORM and call the responsible ELEMENT for terms & conditions in the MAIN window.

Hope this helps.

Former Member
0 Kudos

Hi All,

Thanks for your replies,  I managed to answer my query.

To share with..

I added the terms and condition text at SO10

then at sapscript form i just add,

/:NEW-PAGE TERM           

/:INCLUDE &ZTERMS AND CONDITIONS&

Note:

*TERM as the name of the page

*ZTERMS AND CONDITIONS as text name

Cheers!

Thanks,

Aashta

Answers (3)

Answers (3)

former_member209818
Active Contributor
0 Kudos

HI Aastha,

You can do this. Maintain your Terms and conditons in a Standard Text (SO10) object. I assume that there are no dynamic values in these terms and conditions. And you can all this Text directly in the Footer of your main window. Do not forget to check checkbox "Only After end of Main Window" on the conditions tab

Former Member
0 Kudos

hi Harshad,

Terms and condition is too long, it can populate the entire page. im afraid footer is not enough

thanks

former_member209818
Active Contributor
0 Kudos

Aastha,

Its doesn't matter.. It will take the print to next page if its not getting fit in one page

former_member213851
Active Contributor
0 Kudos

Hi Astha,

WE CAN CREATE WINDOW AND A TABLELINE OUTSIDE THE MAIN WINDOW. IN TABLELINE WE HAVE A MAIN AREA WHERE WE CAN  GIVE ALL OUR DATA OVER THERE.

So you can put your hardcoded plain text there.

To determine whether page is last or not  use condition SFSY-FORMPAGES NE SFSY-PAGE on the window without main page and inside that windoe add Text node with your plain next.

SFSY-FORMPAGES : total no of pages in smartform

SFSY-PAGE : current page number

Former Member
0 Kudos

Hi Sachic,

Im using a sapscript.

naresh_bammidi
Contributor
0 Kudos

Hi,

If you are developing a script,write entire main window code in between the if condition as below

IF &NEXT-PAGE& ne 0.

write your code to populate main window.

ENDIF..

in footer window

IF &NEXT-PAGE& ne 0.

terms and conditions.

endif.

so whenever next page is 0,main window logic would not get executed.

Thanks

Naresh