Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

condition for page in smartforms

How do we print cover page in smartforms based on some conditions. I have a smartform for which i need to include a new cover page as first page if some conditions are satisfied. If the condition is satisfied i need to print that cover page orelse i dont have to print the cover page. How do we give condition for a page. can anything be done at print pgm level.

Thanks in Advance

Kamal

Former Member
Former Member replied

hey,

Create two pages as per your requirement.

In the global defintion > initialization tab>

if w_page = 1.

control_parameters-startpage = '%PAGE1'.

else.

control_parameters-startpage = '%PAGE2'.

ENDIF.

Regards,

Midhun Abraham

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question