SAP Knowledge Base Article - Public

3485035 - How to use custom form template for manufacturing order output

Symptom

When you print a manufacturing order output (Order Data List, Pick List and Order Component List), the default form template may not meet your requirement. There might be a need to change the layout or add some extra information to the output. Under this circumstance, you need to maintain your own custom form template.
This article will give you a step-by-step guide on how to create a custom template and put it in use. 

*Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP S/4HANA Public Cloud

Resolution

We will take Order Data List as an example to go through the procedure. Here are the major steps:

1. Create the custom form template.
In Maintain form template app, find the default form template of Order Data List. Click on "Copy" button.

In the popup screen, enter the form template name and click "OK".

Now your custom form template has been created and you can see it in the Custom Templates section.

2. Prepare the extra data you want to display in the output.
If the data can be retrieved from a standard field, please refer to KBA3483228 - How to add a standard field on the manufacturing order output.
If the data is your custom content, please refer to KBA3484577 - How to add a custom field on the manufacturing order output.

3. Edit the custom form template in Adobe LiveCycle Designer.
Enter the form template and download it.

The zip file you've downloaded contains an XDP file and an XSD file. The XDP file contains the layout for the output form and is used to create your own custom form template. The XML schema file (XSD) contains the form interface with standard and custom fields. Open the XDP file in Adobe LiveCycle Designer.

If you've added or changed custom fields, your form interface (XDS file) has changed. Therefore, you get a pop-up message asking you to update the connection. Confirm with Yes. 

You can see that the extra fields created before are already available in the form template. YY1_ManufacturingOrderIte is the standard field, and YY1_OrderCustomField_ORD is the custom field. You can follow the steps in this Help Page to put them on the output.  Of course, you can also make other changes to the layout. Here we omit that.

After making the change, save the template to a local file with a new name.

Go back to the custom form template and upload the new XDP file you just saved.

You will get the message "Form template has been updated", which means the changes we just made in Adobe LiveCycle Designer have been applied to the custom form template.

4. Assign the custom form template to the output type.
Enter SSCUI 102313 - Assign Form Templates.

Click on "New entries", then create below record for the custom form template.

Save the change.

5. Replace the default form template with the custom one.
Go to Output Parameter Determination app, select rules for manufacturing order, determination step "Form Templates". Enter form template YY1_ORDER_DATA_LIST for output type ORDER_DATA_LIST.

Activate the change.

6. Now, custom form template YY1_ORDER_DATA_LIST should be used for Order Data List ouput with all the information you want to display. Let's verify this with a real production order in the system.
Open a production order in Change Production Order app and maintain the custom field value.

Generate the output items. Custom form template YY1_ORDER_DATA_LIST is successfully determined.

Preview the ORDER_DATA_LIST output, the custom field and the standard field are displayed correctly.




See Also

KBA3483228 - How to add a standard field on the manufacturing order output

KBA3484577 - How to add a custom field on the manufacturing order output

Adobe Form Extensibility: Manufacturing Order

Keywords

Order Data List, Pick List, Order Component List, custom form template, Adobe LiveCycle Designer, output type, production order, Output Parameter Determination , KBA , PP-SFC-EXE-PRINT-2CL , Order Printing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png