Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
zhaoyo
Advisor
Advisor

Context


In SAP best practice “Integration of Sales with External Buyers” (scope item: 2EL), the outbound EDI message of sales order confirmation will be sent out when sales order is saved.


However, sometimes customer wants to trigger outbound EDI messages in certain circumstances, for example, customer wants to avoid sending out outbound EDI message for order confirmation if the sales order is incomplete on both sales order header and item. The order confirmation message shall only be processed if whole document is complete.


In S/4HANA CE, it is possible to configure output control to control whether EDI message can be processed or not. There is SAP predefined output control settings for sales order EDI messages. If customer wants to set special rule to control whether sales order EDI message can be triggered, and SAP content cannot fulfill customer’s requirement, key user should configure output control in S/4HANA cloud. This document describes steps to configure output control for sales order outbound EDI message order confirmation.


Configure Output Control


Prerequisite


Log onto Fiori Launchpad (FLP) of S/4HANA cloud with user who has business role of “SAP_BR_ADMINISTRATOR”.


Steps to Configure Output Parameter Determination


In the Fiori Launchpad (FLP), go to group “Output Control” and open the tile “Output Parameter Determination”.



In the application of “Output Parameter Determination”, select “Sales Document” to show output control rules and select “Output Relevance” for determination step.



Then you will see SAP predefined output control rules for sales document in the table content. By clicking button “Table Settings”, it is possible to see following fields are provided to control whether output can be triggered.



These output relevance fields are mapped to technical fields of sales document. The relationship shows below:






Output Control Condition




Technical Field Name




Description






OVERALLPURCHASECONFSTATUS




VBAK-COSTA




Confirmation status






HDRGENERALINCOMPLETIONSTATUS




VBAK-UVALL




Completion status in sales document header






TOTALCREDITCHECKSTATUS




VBAK-CMGST




Overall credit status






DELIVERYBLOCKREASON




VBAK-LIFSK




Delivery block reason code






HEADERBILLINGBLOCKREASON




VBAK-FAKSK




Billing block reason code







If SAP pre-delivered output control settings for output relevance is not sufficient to business usage, key user can add new field into output relevance decision table in “Table Settings”. Here are steps to add new column in the table content of output control:



  1. Click button “Edit” in the output parameter determination.

  2. Click button “Table Settings” in the table contents.

  3. In the “Table Settings”, press button “Insert Column->From Context Data Objects” to add new column in decision table.



  4. For example, you want to add incompletion status of sales order item into consideration to control whether EDI should be triggered, you can add field “Item Date” (highlighted below) to decision table.



    Then click button “OK” and back to the table settings view. New field is added in the output control for output relevance decision table.



    Press button “OK” to define rule with new added field to control output relevance.


    In the table content, provide value on new field “Item Date”. Then changes in business rule.



    Now system will consider completion status on both sales order header and item to control whether trigger outbound EDI message for output type “ORDER_CONFIRMATION”.




    3 Comments