Symptom
The standard template SD_SLS_QUOTATION is initially set to landscape mode. When switched to portrait mode, it does not fit the paper properly.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the "Manage Sales Quotations" app.
- Select an existing quotation or create a new one.
- If creating a new quotation, fill in all the required details and save it.
- Click on "Header Output Preview".
- Click on "Display Document".
- Once the document is displayed, click on the printer icon.
Find that the document is set to landscape mode by default. Even when changed to portrait mode, the content does not fit properly on the page.
Cause
The modified template's fragment name is still maintained as "Landscape".
Resolution
Select Landscape_Factsheet and change the fragment name to 'FormMaster_Portrait_A4_OutboundLetter' in the Adobe LiveCycle Designer. Then, save the template and upload it into the "Maintain Form Templates" app.
Keywords
SAP S/4HANA Cloud Public Edition, SD_SLS_QUOTATION, Sales quotation, Form, Print, Landscape, Portrait, Landscape_Factsheet, Fragment, FormMaster_Portrait_A4_OutboundLetter , KBA , SD-SLS-QUT-2CL , Inquiries / Quotations (Public Cloud) , Problem
SAP Knowledge Base Article - Public