Get the App
SLTechnology News&Howtos  ›  Servers  › 

Why S/4HANA sales order creation triggers production order creation

Shulou Source: shulou.com Published: 2022-05-31 14:53:08 10月04日 Update

This article mainly explains why the creation of S/4HANA sales orders triggers the creation of production orders. Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn why the creation of S/4HANA sales orders triggers the creation of production orders.

When the S/4HANA sales order creation function SD_SALES_DOCU_MAINTAIN is called to create a sales order, the production order creation is triggered.

Each line item of a sales order corresponds to a separate production order. SD_SALES_DOCU_MAINTAIN is equivalent to CRM_ORDER_MAINTAIN in CRM, and each line item is processed in LOOP:

Looking at the call stack inside this function, we found a subroutine EIGENFERTIGUNG_BEARBEITEN.:

EIGENFERTIGUNG means Own production:

BEARBEITEN means TO EDIT:

In this enhancement, the logic for creating production order through Production order maintain's function CO_61_ORDER_EDIT is hard-coded:

At this point, I believe you have a deeper understanding of "why the creation of S/4HANA sales orders trigger the creation of production orders". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Order sales production function content meaning project learning practical deeper interest practical practical easy to operate method more friends coding website logic Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Huawei vpn Shulou Tech Info Docker