Symptom
How to add new columns to certain decision tables in Output Parameter Determination?
"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
Resolution
Please follow below steps to add a new column to the decision table used for the determination of the output channel as an example. The below steps are based on a purchase order (PO) context for example purpose.
The shown principle applies to all decision tables.
- Open Output Parameter Determination.
- Select Purchase Order(example) from the Show Rules for dropdown list.
- Select Channel(example) from the Determination Step dropdown list.
- Switch to edit mode by choosing Edit.
- Choose Table Settings to open the table settings dialog.
- Under section Condition Columns, choose Insert Column.
- From the dropdown, choose From Context Data Objects.
Note - The option From Expression is technically not supported. Do not use it.
- A popup appears, listing all available data objects for this decision table.
- The application-specific fields (in this case from purchase order) are always listed under the structure Condition Parameters of Application. This set of parameters is always available for all determination steps from the same application. Other parameters (unstructured), for example, Output Type or Recipient, are added by the output control framework. They might vary for each determination step. The attributes under the result structure (in this case Result Structure of DEC_TAB_CHANNEL) cannot be used as input parameters, as the values are always empty.
- Select attribute Purchasing Org. and choose OK.
- The new attribute is now listed.
- You can decide to move it to another position or to mark it as mandatory. In this example, we leave it at the end as an optional parameter.
- Choose OK to apply the changes and to get back to the decision table.
- You can now start to maintain the business rules.
- Here we add a new rule for purchasing organization 1020 for which output shall always be done via EMAIL.
- Choose Activate to activate your changes.
You've successfully enhanced the business rules for output determination with a new parameter.
See Also
Keywords
OPD, Output Parameter Determination, how to, add, new column, column, recipient, missing column , KBA , CA-GTF-OC , SAP S/4HANA output management , How To
Product
Attachments
Pasted image.png |