Symptom
This document explains how to generate multiple output item in with two different form templates for the same Business Application document.
"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 Cloud Public Edition
Reproducing the Issue
- Open app "Business document App" to create a Business document.
- Go to menu "More -> Extras -> Output -> Header ->Edit" to see the outputs of the Business document
- Check the details of the output item. Only one form template is being determined.
Cause
For application contexts with single output type (any Business document will have a single output type) it is not supported by BRF+ logic to determine two different forms for a single output type. System will always determine the first matching rule and then stop (from top to bottom).
Resolution
To configure Output Parameter Determination for generating multiple output items with different form templates, follow these steps:
- Open the "Output Parameter Determination" app.
- Select the relevant business document type (e.g., Billing Document).
- Navigate to the "Receiver" determination step.
- Assign multiple roles (e.g., Role A and Role B) to the same output type.
- Save and activate the changes.
- Open the form template settings in determination step
- Add a new column for "Role" from the table settings.
- Insert a new column and assign values corresponding to the roles (e.g., Role RE and Role AG).
- Save and activate the template changes.
Finally, test the configuration:
-
- Open the relevant Business Document app (For example Change Billing documents)
- Create a new business document.
- Check the generated output items. Two output items should now be created, each assigned to a different form template based on the assigned roles.
See Also
Keywords
Output Determination, Form Templates, Distribution Channel, Invoice, Output Type, Roles, BILLING_DOCUMENT, Output Parameter Determination, multiple form template , KBA , SD-BIL-GF-OC-2CL , Output Control Billing (Public Cloud) , Problem