cancel
Showing results for 
Search instead for 
Did you mean: 

dbt abt script

Former Member
0 Kudos

Hi Gurus,

I am printing header on each page by using write_form. It is priniting on terms and conditions page also. But I dont want on terms and conditions. Can anyone help on this issue ?

Code :

CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = 'PROD_ASSIST_INFO'

EXCEPTIONS OTHERS = 1.

CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = 'PROD_ASSIST_INFO'

type = 'TOP'

EXCEPTIONS

OTHERS = 01.

If I call like this in driver program heading is coming on terms and conditions pages. can anyone help on this issue ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nani,

To print terms and conditions on a particular page only, try to do it using text element.

If you proceed in this way, then it won't come on every page.

Regards,

Nidhi Kothiyal

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I guess, u r calling the HEADER window in Terms & Conditions page also. check it..

Rgds,

Pavan

Former Member
0 Kudos

Hi Vishnu,

I am using same window for heading , items and terms and conditions with different elements. Is der anyway to get it like this ?

Former Member
0 Kudos

Hi,

How are you printing the Header? are you calling any ELEMENT to print the Header?

If you dont use any element for Header, it will print in all the pages..

Rgds,

Pavan

former_member585865
Contributor
0 Kudos

Hi Nani,

For printing terms and conditions in last page call this in your script.

IF &PAGE& EQ &SAPSCRIPT-FORMPAGES(Z)&

code for terms and conditions

endif.