I am new to smartforms. I am using a copy of standard form CRM_ORDER_CONFIRMATION_01 for quotation form printing in CRM. I need to restrict line items with status 'Rejected' from printing in the Quotation form. Since there is no driver program and only the class CL_DOC_PROCESSING_CRM_ORDER is used for printing the Quotation form, where should I write the logic to restrict the line items from displaying?
Should I write in smartform only? If yes, then in which section of the smartform should I write?
Thanks in advance!