Creating custom page format for SAP Script / Smart Form

By Ansumesh, IBM India

You can print any size of output from SAP, it all depends on what page format is defined and configured in your SAP system. Most of the standard page format is already defined in SAP but often you come across the situation where the required output doesn’t even come close to any of this predefined page format. Printing cheque, remittance Label & receipts are some common example of company specific requirement. Defining and configuring Page format is multi-step process and often is printer specific.  

It’s very important to understand how this page format works in SAP. The process starts with defining the Page Format, but you need few more setting to actually print this page size on printer. Page format just define the size of page for forms, next step is to define Format type which defines 'Type of format' and what orientation are allowed with this page format. Page Format and Format type should have same name. If you can not print with this page size on printer ,to allow printer to use this new page format you need to add this page format to device type of printer. This step will enable you to print the output but correct page size information will not be passed to printer. You need to actually put printer specific code to set desire page size on printer.  

Now let us go through each step with screen shot. You need to have access to transaction SPAD with full admin rights. Execute transaction SPAD. You need to click on 'Full administration' to get the desire tab.

Go to 'Device Types' tabs and hit 'Display' button next to Page Formats.

On next screen hit 'change' button then you will button to create new Page format, now press new button.



Fill in the required input, below is an example.


You just created a new page format.

At this stage you can use this page format in form, which is available in form attributes; however you can not print that SAP script. This information of page dimension is just for SAP script. You will get warning message while adding page format to SAP script 'There is no form for page format XYZ' and error message while printing 'Device type ABC does not support page format XYZ'.  

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image