https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SD-(Sales-and-Distribution)-blog-posts.xml SAP Community - SD (Sales and Distribution) 2024-05-20T11:14:10.465859+00:00 python-feedgen SD (Sales and Distribution) blog posts in SAP Community https://community.sap.com/t5/financial-management-blogs-by-members/sap-brim-subscription-order-management-som/ba-p/13574660 SAP BRIM Subscription Order Management (SOM) 2023-11-07T20:25:15+01:00 VivekGhulaxe https://community.sap.com/t5/user/viewprofilepage/user-id/159846 <STRONG>SAP BRIM Subscription Order Management (SOM):</STRONG><BR /> <BR /> SAP Billing and Revenue Innovation Management (SAP BRIM) Subscription Order Management (SOM) is designed to help businesses efficiently to manage the complete lifecycle of subscription-based services. It plays an important role in managing all aspects of subscription orders, from initial creation of subscription order to billing and then revenue recognition.<BR /> <BR /> SAP BRIM Subscription Order Management is a solution that streamlines subscription management, improves billing accuracy, and supports revenue optimization through effective pricing, discount management, and revenue recognition.<BR /> <BR /> SAP BRIM SOM is typically used in industries such as telecommunications, utilities, and media.<BR /> <BR /> <STRONG>SAP Subscription Order Management (SOM) Configuration Steps:</STRONG><BR /> <BR /> SAP BRIM Subscription Order Management (SOM) involves the following configuration steps to set up subscription order process. Some of the configuration steps may vary depending on the business requirements, here is a general information of the key configuration steps:<BR /> <BR /> <STRONG>Master Data:</STRONG><BR /> <OL><BR /> <LI><STRONG>Business Partner:</STRONG></LI><BR /> </OL><BR /> The following role assignments are suggested:<BR /> <UL><BR /> <LI>Customer Role FLCU01 - For business partners to be used as contract partners in subscription order processing.</LI><BR /> <LI>FI Customer Role FLCU00 - For business partners to be a part of sales processes carried out within SAP S/4 HANA.</LI><BR /> <LI>Contract Partner Role MKK - For business partners involved in provider contracts within SAP Contract Accounts Receivables and Payable (FI-CA).</LI><BR /> </UL><BR /> <OL start="2"><BR /> <LI><STRONG>Create Product:</STRONG></LI><BR /> </OL><BR /> In SAP BRIM Subscription Order Management (SOM), product types are defined based on subscription-based products or services. &nbsp;These product types help to define the attributes, pricing, and billing rules specific to each type of product or service.<BR /> <BR /> The following are the different product types:<BR /> <BR /> <STRONG>Standard Product SUBS</STRONG> - SUBS is a Standard Products that are offered to customers as part of the standard service catalog. It is including predefined features, pricing, and billing terms.<BR /> <BR /> <STRONG>Partner Agreement Product</STRONG> <STRONG>SUBP</STRONG> – SUBP is a Partner Agreement Products that are associated with partner agreements or partnerships.<BR /> <BR /> <STRONG>Sharing Product</STRONG> <STRONG>SUBC</STRONG> - SUBC is a Sharing Products that involve sharing or collaboration between customers or entities for example shared subscriptions, shared access, or any offerings that involve multiple users or entities sharing the same product or service.<BR /> <BR /> The following are the different Product Item Category Groups.<BR /> <BR /> These item categories help to categorize and manage different types of charges and line items within subscription orders.<BR /> <BR /> <STRONG>Subscription Usage Product</STRONG> <STRONG>PRRP</STRONG> – This Product Item Category Groups used for subscription services such as data usage, call minutes, or other consumption-based charges.<BR /> <BR /> <STRONG>Subscription Recurring Product</STRONG> <STRONG>PRSR</STRONG> - This Product Item Category Groups used for Subscription Recurring Products such as monthly subscription fees, service charges, or any other regularly occurring charges used for subscription service.<BR /> <BR /> <STRONG>Subscription Fee</STRONG> <STRONG>PRSV</STRONG> - This Product Item Category Groups used for fixed fees, periodic charges, or other flat-rate costs associated with the subscription service.<BR /> <OL start="3"><BR /> <LI><STRONG>Subscription order Item Categories: </STRONG></LI><BR /> </OL><BR /> In SAP BRIM Subscription Order Management (SOM), item categories are PROR, PROP, PROF and PROS which are used to identify different types of line items or charges within subscription orders. These item categories determine the different types of charges and line items associated with subscription orders.<BR /> <BR /> Here is a brief overview of these item categories:<BR /> <BR /> <STRONG>Recurring PROR</STRONG> – The item category PROR is used for recurring charge within a subscription order such as monthly subscription fees, service charges, or fixed periodic charges.<BR /> <BR /> <STRONG>Usage PROP</STRONG> - The item category PROP is used for usage-based charges such as data usage charges, call minutes, or data overage charges.<BR /> <BR /> <STRONG>One-off PROF</STRONG> - The item category PROF is used for one-time charges or fees that are not part of the recurring subscription costs such as setup fees, activation charges, installation fees, or any other one-time costs.<BR /> <BR /> <STRONG>Sales Item PROS</STRONG> - The item category PROS is used for sales-related items which are not the core subscription charges such as accessories, add-ons, or complementary items.<BR /> <OL start="4"><BR /> <LI><STRONG>Create Contract Account: </STRONG></LI><BR /> </OL><BR /> In SAP BRIM Subscription Order Management (SOM) contract is used to set up agreements or terms between the service provider and the subscriber for the delivery of subscription services. These contracts specified with the specific conditions, pricing, and other details related to the subscription. Standard transaction code /nCAA1 is used to create contract.<BR /> <OL start="5"><BR /> <LI><STRONG>Subscription Transaction (Order) Types: </STRONG></LI><BR /> </OL><BR /> In SAP BRIM Subscription Order Management (SOM), different order types are used for various types of subscription orders and transactions.<BR /> <BR /> <STRONG>Subscription Order PRVO</STRONG> – The order type PRVO is used for subscription services, and it is involving the creation or modification of subscription agreements. These orders specify the terms and conditions of the subscription such as start date, end date, pricing, and services.<BR /> <BR /> <STRONG>Pattern Agreement Order</STRONG> <STRONG>PRPO</STRONG> - The order type PRPO is used for managing pattern agreements and it is recurring contractual agreements with customers. These agreements include regular deliveries, services, or other recurring transactions.<BR /> <BR /> <STRONG>Solution Quotation SRVP</STRONG> - The order type SRVP is used to provide quotations to customers for solutions or services. This order type is frequently associated with sales and quoting process, their associated costs, and terms to potential customers.<BR /> <BR /> <STRONG>Subscription Contract PRVC</STRONG> - The order type PRVC is used for subscription contracts which is used to decide and manage agreements between a service provider and a customer for subscription-based services. These contracts describe the terms and conditions of the subscription, such as pricing, duration, service levels, and any additional details relevant to the subscription.<BR /> <OL start="6"><BR /> <LI><STRONG>Subscription Contract: </STRONG>Subscription contract is used to manage subscription-based services. Subscription contracts help service providers and customers to define their mutual obligations and ensure that services are delivered and billed accurately. Standard transaction code /nFP_VT3 is used for Subscription Contract.</LI><BR /> </OL><BR /> <OL start="7"><BR /> <LI><STRONG>Copy Control for Transaction Types and Item Categories: </STRONG></LI><BR /> </OL><BR /> Review copy control setting for the subscription order Transaction Types and Item Categories in Implementation Guide (IMG) &nbsp;– Service.<STRONG>&nbsp;</STRONG><BR /> <OL start="8"><BR /> <LI><STRONG>Integration with SAP Convergent Invoicing (CI):</STRONG></LI><BR /> </OL><BR /> <STRONG>Discount and Charges – </STRONG><BR /> <BR /> Contractual discounts are the discounts agreed upon in contracts with specific customers or groups of customers. They are usually based on negotiated terms and conditions. It can be discount on Master Agreement or Provider Contract.<BR /> <BR /> Charges in SAP BRIM SOM include various types of fees and costs associated with subscription.<BR /> <BR /> <STRONG>Billing Plan - </STRONG><BR /> <BR /> When creating the provider contract, we determine the right billing plan type based on the transaction type and item category of the subscription contract item, which in turn helps identify the assigned billing plan and item type.<BR /> <BR /> You can set up the following configuration in the Implementation Guide (IMG) for the billing plan.<BR /> <UL><BR /> <LI>Define the billing plan.</LI><BR /> <LI>Define the billing plan item type.</LI><BR /> <LI>Maintain the settings for the Billing Cycle.</LI><BR /> <LI>Maintain the settings for Recurring Fees.</LI><BR /> <LI>Assign Billing Plan Types and Billing Plan Item Types to Transaction Types and Item Categories</LI><BR /> </UL><BR /> <OL start="9"><BR /> <LI><STRONG>Implementation Guide (IMG): </STRONG></LI><BR /> </OL><BR /> Refer Implementation Guide (IMG) for the details of Subscription Order (SOM) configuration.<BR /> <BR /> SOM Subscription Order - SPRO → Service →<BR /> <BR /> CI Billing Plan - SPRO → Financial Accounting → Contract Accounts Receivable and Payable → Convergent Invoicing<BR /> <BR /> Thank you for taking the time to read this article. 2023-11-07T20:25:15+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/encryption-masking-in-sap-key-points/ba-p/13581296 Encryption & Masking in SAP - key points 2023-11-16T09:33:56+01:00 sumanthg https://community.sap.com/t5/user/viewprofilepage/user-id/663913 <STRONG>Introduction</STRONG> :<BR /> <BR /> As many posts/blogs are extensively available online for the above subject, the purpose of this post is to highlight a few key points, differences &amp;&nbsp; relv. SAP Notes consolidated.- on a high level.<BR /> <BR /> The basic point to be kept in mind is that, STD SAP does NOT permit the flow/default of Payment Card # from the CMR into an SO. They have to be entered manually by an user at SO level.<BR /> <BR /> The above is applicable for S/4 HANA systems too.<BR /> <BR /> For copying the payment card # automatically from the CMR into the SO, a custom code is to be implemented at <STRONG>USEREXIT_MOVE_FIELD_TO_VBAK</STRONG> ( Include: MV45AFZZ)<BR /> <TABLE width="460"><BR /> <TBODY><BR /> <TR><BR /> <TD width="244">Encryption</TD><BR /> <TD width="216">Masking</TD><BR /> </TR><BR /> <TR><BR /> <TD width="244">For unstructured data like files, videos, images, etc</TD><BR /> <TD width="216">For structured data like Payment Cards,SSNs,etc</TD><BR /> </TR><BR /> <TR><BR /> <TD>Focuses on data being secured</TD><BR /> <TD>Focuses on data being functional</TD><BR /> </TR><BR /> <TR><BR /> <TD>Reversible</TD><BR /> <TD>Irreversible</TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Encryption.png" /></P><BR /> &nbsp;<BR /> <BR /> &nbsp;<BR /> <TABLE width="471"><BR /> <TBODY><BR /> <TR><BR /> <TD width="267">SAP STD Program</TD><BR /> <TD width="204">Purpose</TD><BR /> </TR><BR /> <TR><BR /> <TD>CCARDEC_TRANSFORM_SD</TD><BR /> <TD>To check &amp; encrypt values in SD</TD><BR /> </TR><BR /> <TR><BR /> <TD>CCARC_CHECK</TD><BR /> <TD>To check the encryption</TD><BR /> </TR><BR /> <TR><BR /> <TD>CCARDEC_CHECK</TD><BR /> <TD width="204">To ensure that the encryption tool is working correctly</TD><BR /> </TR><BR /> <TR><BR /> <TD width="267">CCARDEC_TRANSFORM_VCKUN_VCNUM</TD><BR /> <TD width="204">for the retrospective encryption of the card data in the CMR</TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> &nbsp;<BR /> <TABLE width="394"><BR /> <TBODY><BR /> <TR><BR /> <TD width="296">Desc</TD><BR /> <TD width="98">SAP Notes #</TD><BR /> </TR><BR /> <TR><BR /> <TD>FAQs : Credit Card encryption in R/3 systems</TD><BR /> <TD>766703</TD><BR /> </TR><BR /> <TR><BR /> <TD>FAQs : Credit Card encryption &amp; master data</TD><BR /> <TD>836079</TD><BR /> </TR><BR /> <TR><BR /> <TD>Encrypting&nbsp; Credit card data</TD><BR /> <TD>633462</TD><BR /> </TR><BR /> <TR><BR /> <TD width="296">FAQs/Collective note for Payment Cards ( Consulting/modif)</TD><BR /> <TD>914603</TD><BR /> </TR><BR /> <TR><BR /> <TD>Payment Card # all digits masked</TD><BR /> <TD>1820234 ( KBA)</TD><BR /> </TR><BR /> <TR><BR /> <TD>Security when displaying credit card no:s</TD><BR /> <TD>1105524</TD><BR /> </TR><BR /> <TR><BR /> <TD>FAQs : Credit card encryption in CRM</TD><BR /> <TD>1034482</TD><BR /> </TR><BR /> <TR><BR /> <TD>SSF Encryption using the SAPCryptolib</TD><BR /> <TD>662340</TD><BR /> </TR><BR /> <TR><BR /> <TD>Payment card not masked in SO</TD><BR /> <TD>1947100</TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> &nbsp;<BR /> <BR /> Feedback/suggestions are improvement are welcome.<BR /> <BR /> Thank you for your time.<BR /> <BR /> Sumanth Gururaj 2023-11-16T09:33:56+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/odn-official-document-number-configuration-settings-for-india-sd-mm-fi-for/ba-p/13573861 ODN (Official Document Number) configuration settings for India (SD/MM/FI) for GST 2023-11-24T12:12:06+01:00 sumanthg https://community.sap.com/t5/user/viewprofilepage/user-id/663913 ODN is used for documents that are, issued to customers &amp; received from Vendors – to be submitted to the tax authorities.<BR /> <BR /> ODNs must be consecutive, w/o any gaps.<BR /> <BR /> We can also use a 2-digit prefix, for any specific identity in SAP.<BR /> <BR /> <STRONG>Below notes should be implemented fully and correctly</STRONG><BR /> <TABLE width="547"><BR /> <TBODY><BR /> <TR><BR /> <TD width="448"><STRONG>Desc</STRONG></TD><BR /> <TD width="99"><STRONG>SAP Notes #</STRONG></TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: Data Dictionary Activities for Official Document Numbering</TD><BR /> <TD width="99">2487589</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: Official Document Numbering</TD><BR /> <TD width="99">2472623</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: Official Document Numbering</TD><BR /> <TD width="99">2489866</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: Corrections to Official Document Numbering Solution</TD><BR /> <TD width="99">2490434</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST IN: Invoice and ODN numbers are skipped while saving billing document in transaction VF01</TD><BR /> <TD width="99">2487781</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: ODN Corrections to note 2490434</TD><BR /> <TD width="99">2496105</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: Customer exit to enable ODN for payment vouchers &amp; other relevant transactions</TD><BR /> <TD width="99">2496588</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: ODN Corrections to populate fiscal year for billing documents</TD><BR /> <TD width="99">2497855</TD><BR /> </TR><BR /> <TR><BR /> <TD width="448">GST India: ODN Corrections to enable BAPI_ACC_DOCUMENT_POST &amp; additional functionality</TD><BR /> <TD width="99">2497727</TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> &nbsp;<BR /> <BR /> <STRONG>The steps are broadly classified as below:</STRONG><BR /> <UL><BR /> <LI>Maintain Document Classes</LI><BR /> <LI>Assign Document types to Document Classes</LI><BR /> <LI>Maintain Groups</LI><BR /> <LI>Maintain Number ranges for Official Document</LI><BR /> <LI>Assign Number ranges to Business Places</LI><BR /> </UL><BR /> &nbsp;<BR /> <UL><BR /> <LI><STRONG>Maintain Document Classes</STRONG></LI><BR /> </UL><BR /> Execute the <STRONG>Tcode:</STRONG> SM30<BR /> <BR /> Enter the Table/View - <STRONG>V_DOCCLS</STRONG> &amp;click on “Edit” button<BR /> <BR /> Enter the country key as ‘IN’<BR /> <BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P1-4.png" /></P><BR /> &nbsp;<BR /> <BR /> Click on “Enter” button. Then, click on “New entries” button in the next screen.<BR /> <BR /> Document classes are to be maintained as per Business requirements.<BR /> <BR /> Reference entries are illustrated below:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P2-4.png" /></P><BR /> &nbsp;<BR /> <UL><BR /> <LI><STRONG>Assign Document Types to Document Classes</STRONG></LI><BR /> </UL><BR /> Execute the <STRONG>Tcode</STRONG>: &nbsp;SM30.<BR /> <BR /> Enter the Table/View - <STRONG>J_1IG_V_T003_I</STRONG> &amp; click on “Edit” button.<BR /> <BR /> Click on “New Entries” button.<BR /> <BR /> Maintain the entries as per your business needs.<BR /> <BR /> Reference entries are illustrated below:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P3-4.png" /></P><BR /> &nbsp;<BR /> <BR /> &nbsp;<BR /> <BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P4-3.png" /></P><BR /> &nbsp;<BR /> <BR /> <STRONG>PS:</STRONG> &nbsp;It is recommended to maintain the ODN control as ‘C’ which is w/o Date Control for country ‘India’.<BR /> <BR /> &nbsp;<BR /> <UL><BR /> <LI><STRONG>Maintain Number Groups</STRONG></LI><BR /> </UL><BR /> Execute the <STRONG>Tcode</STRONG>: SM30.<BR /> <BR /> Enter the Table/View - <STRONG>J_1IG_V_NUMGRP</STRONG> &amp; click on “Edit” button.<BR /> <BR /> Click on “New Entries” button.<BR /> <BR /> Maintain the number groups.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P5-3.png" /></P><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P6-3.png" /></P><BR /> &nbsp;<BR /> <UL><BR /> <LI><STRONG>Maintain Number ranges for Official document </STRONG></LI><BR /> </UL><BR /> Execute the Tcode <STRONG>SNRO.</STRONG><BR /> <BR /> Give object name as ‘<STRONG>J_1IG_ODN’</STRONG> &amp; click on “Intervals” on the tool bar<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P6-6.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P7-3.png" /></P><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P8-3.png" /></P><BR /> &nbsp;<BR /> <BR /> To be maintained for the corresponding Number Groups: (Sample Illustration, below)<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P9-3.png" /></P><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P10-2.png" /></P><BR /> &nbsp;<BR /> <UL><BR /> <LI><STRONG>Assign Number ranges to Business Places:</STRONG></LI><BR /> </UL><BR /> Execute the <STRONG>Tcode:</STRONG> SM30.<BR /> <BR /> Enter the following Table/View - <STRONG>J_1IG_V_OFNUM</STRONG> &amp; click on “Edit” button.<BR /> <BR /> Click on “New Entries” button.<BR /> <BR /> Assign the number group to the <U>combination of Company code, Business Place &amp; Official Document Class. </U><BR /> <BR /> Pls find below the sample illustration:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P11-2.png" /></P><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P12-3.png" /></P><BR /> &nbsp;<BR /> <BR /> <EM><STRONG>The following (highlighted in yellow) is the reflection of the ODN set – at the front-end</STRONG>:</EM><BR /> <BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P13-2.png" /></P><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/P14-2.png" /></P><BR /> &nbsp;<BR /> <BR /> Hope, the above is helpful.<BR /> <BR /> Suggestions for improvement are welcome.<BR /> <BR /> Thank you for your time.<BR /> <BR /> Sumanth Gururaj 2023-11-24T12:12:06+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-sales-for-public-cloud-complete-guide/ba-p/13572190 Flexible Workflow for Sales for Public Cloud - Complete Guide 2023-12-01T12:21:40+01:00 Elkhawanky https://community.sap.com/t5/user/viewprofilepage/user-id/135158 <H1 class="ds-heading ds-heading--m ds-blog-post__title" style="text-align: left" id="toc-hId-834810971">Sales Flexible Workflow in SAP S/4HANA Public Cloud - Complete Guide.</H1><BR /> &nbsp;<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/Blog-Header.gif" /></P><BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /><BR /> <H1 id="toc-hId-638297466"><STRONG>Introduction</STRONG></H1><BR /> In this blog, we'll discuss the step-by-step implementation of S/4HANA Public Cloud Flexible Workflow for Sales, including scenarios.<BR /> <BR /> It's a highly requested feature in SAP S/4HANA Public Cloud, allowing for simplified workflow setup without complex development. Flexible Workflow, part of SAP Business Workflow, covers various lines of business like Finance, Procurement, HR, Manufacturing, and Sales. This blog is your complete guide to Flexible Workflow for Sales in the Public Cloud.<BR /> <BR /> This blog is your complete guide to Flexible Workflow for Sales in the Public Cloud.<BR /> I hope you enjoy the Journey.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /></P><BR /> <BR /> <H3 id="toc-hId-699949399">Blog Agenda:</H3><BR /> <UL><BR /> <LI><BR /> <H3 id="toc-hId-503435894"><STRONG>Flexible Workflow for Sales:</STRONG></H3><BR /> </LI><BR /> </UL><BR /> <OL><BR /> <LI>Sales Flexible Workflow Introduction for Public Cloud</LI><BR /> <LI>Environment Setup For Public Cloud</LI><BR /> <LI>User and Role Authorization</LI><BR /> <LI>Cloud BAdI Overview for Manage Sales Document Workflows</LI><BR /> <LI>Create Workflow for Sales</LI><BR /> <LI>Testing Scenarios.</LI><BR /> <LI>Useful Apps</LI><BR /> <LI>Issues and Solution</LI><BR /> <LI>Conclusion</LI><BR /> </OL><BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /><BR /> <H2 id="toc-hId-177839670">1- Sales Flexible Workflow Introduction for Public Cloud:</H2><BR /> In certain cases, it can make sense to make sure that a sales document is first approved by a sales manager and C-Level Manager before the internal sales representative or returns and refund clerk can process it further, If everything is fine, the document could be approved and proceed, Our Blog today will show a case of Sales Order Workflow.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /></P><BR /> <BR /> <H2 id="toc-hId--18673835">2- Environment Setup For Public Cloud:</H2><BR /> Before we configure the Workflow, there are a few steps that need to be done by the Key User / System Admin / SAP Public Cloud Business Consultant with Access to CBC, to make sure our process works smoothly.<BR /> <OL><BR /> <LI><EM>Create Approval Request Reasons via Configuration Activity <STRONG>[Node ID:102751]</STRONG> <STRONG>(Role: SAP_BR_BPC_EXPERT)</STRONG></EM></LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/01-10.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Define reasons that are displayed in sales documents or preliminary billing documents to let the business user know why these documents need to be approved.</P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/03-8.png" height="134" width="616" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">You must define at least one reason for approval requests to set up the approval workflow for sales documents.</P><BR /> <BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> <OL><BR /> <LI><EM>Assign Approval Request Reasons via Configuration Activity <STRONG>[Node ID:102752]</STRONG> <STRONG>(Role: SAP_BR_BPC_EXPERT)</STRONG></EM></LI><BR /> </OL><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: SAPRegular, 'Helvetica Neue', Arial, sans-serif;overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/02-11.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Assign the approval request reasons that you have defined to document categories.</P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: SAPRegular, 'Helvetica Neue', Arial, sans-serif;overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/04-6.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Once you have defined approval request reasons, you specify which documents these reasons are valid for by assigning them to one or more document categories.</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /></P><BR /> <BR /> <H2 id="toc-hId--215187340">3- User and Role Authorization:</H2><BR /> There are Two Ways to Assign the User to Workflow One Is By User and the Second By Teams, We Will Explain One by One.<BR /> <BR /> &nbsp;<BR /> <BR /> <STRONG>Workflow by User:&nbsp;</STRONG><BR /> <OL><BR /> <LI>User needs the role: <STRONG>SAP_BR_SALES_MANAGER</STRONG> (This makes sure that the user is available in the value help of the user assignment in the manage sales document workflow app)</LI><BR /> <LI>The user also has access to the <STRONG>My Inbox</STRONG> app to see the approval tasks</LI><BR /> <LI>The user has an Employee Role from the <STRONG>Manage Workforce App&nbsp;</STRONG></LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/5-18.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Once you have created the role in the User from the Manage Workforce App, it will be shown in the Maintain Business Partner App with the Personnel Number.</P><BR /> <BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> <STRONG>Workflow by Teams:&nbsp;</STRONG><BR /> <OL><BR /> <LI>The user needs the role: <STRONG>SAP_BR_BPC_EXPERT</STRONG></LI><BR /> <LI>Launch application Teams and Responsibilities</LI><BR /> <LI>Choose Category Sales</LI><BR /> <LI>Define a new team and assign team members</LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/06-7.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">A very nice video to watch:&nbsp;<A href="https://cdnapisec.kaltura.com/html5/html5lib/v2.101/mwEmbedFrame.php/p/1921661/uiconf_id/37285991/entry_id/1_gup0ywrb?wid=_1921661&amp;iframeembed=true&amp;playerId=kaltura_player&amp;entry_id=1_gup0ywrb" target="_blank" rel="nofollow noopener noreferrer">Learn about Responsibility Management.</A></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /></P><BR /> <BR /> <H2 id="toc-hId--411700845">4- Cloud BAdI Overview for Manage Sales Document Workflows:</H2><BR /> In this step, we will activate the BAdI which is responsible for activating the Workflow for Sales, this step is done by the SAP Business Consultant / System Admin.<BR /> <OL><BR /> <LI>The user needs the role: <STRONG>SAP_BR_ADMINISTRATOR</STRONG></LI><BR /> <LI>Understand the Logic of the BAdI Code</LI><BR /> <LI>Understand the Logic of the Business Need from the Workflow</LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/07-4.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">The above figure provides an overview of the approval workflow, starting with the creation of a sales document.</P><BR /> <BR /> <OL><BR /> <LI style="list-style-type: none"><BR /> <OL><BR /> <LI>Go to Custom Logic App.</LI><BR /> <LI>Create a BAdI copied from the pre-defined (<STRONG>SD_APM_SET_APPROVAL_REASON).</STRONG></LI><BR /> <LI>Add your custom logic in the BAdI (check the example code below).</LI><BR /> <LI>Save and Publish your newly created BAdI.</LI><BR /> </OL><BR /> </LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/08-4.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">The above screenshot provides an overview of the BAdI, Check this SAP Help</P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif"><A href="https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/7b24a64d9d0941bda1afa753263d9e39/8f9394bad4f946fca8fd3f1b46ed60e7.html" target="_blank" rel="noopener noreferrer">Setup Example: Approval Workflows in Your System</A>.</P><BR /> <STRONG>Business Logic:&nbsp;</STRONG><BR /> <BR /> If document category = C (Order Category)<BR /> And Document Type Internal Key = TA (Sales Order Type = OR)<BR /> And Sales Organization = 5910<BR /> And Approval Reason = ZOR1 (Approval Reason we've created)<BR /> =<BR /> Starts Sales Workflow<BR /> <BR /> <STRONG>Example Code 1:</STRONG><BR /> <PRE class="language-abap"><CODE>*trigger a workflow by setting approval request reason ZOR1.<BR /> <BR /> if salesdocument-sddocumentcategory = 'C' and "Sales Order document category is "C"; Beware Sales Order without charge is "I"<BR /> salesdocument-salesdocumenttype = 'TA' and "Internal Key values are available in the Badi (TA and not OR)<BR /> salesdocument-salesorganization = '5910'.<BR /> salesdocapprovalreason = 'ZOR1'.<BR /> return.<BR /> endif.<BR /> <BR /> </CODE></PRE><BR /> <STRONG>Example of Order Category&nbsp;:</STRONG><BR /> <TABLE style="border-collapse: collapse;width: 100%" border="1"><BR /> <TBODY><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px"><STRONG>Order Category&nbsp;</STRONG></TD><BR /> <TD style="width: 50%;height: 14px"><STRONG>Order Category Code</STRONG></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px">Sales Quotation</TD><BR /> <TD style="width: 50%;height: 14px"><KBD class="ph userinput">B</KBD></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px">Sales Contract</TD><BR /> <TD style="width: 50%;height: 14px"><KBD class="ph userinput">G</KBD></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px">Sales Order</TD><BR /> <TD style="width: 50%;height: 14px"><KBD class="ph userinput">C</KBD></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px">Sales Order Without Charge</TD><BR /> <TD style="width: 50%;height: 14px"><KBD class="ph userinput">I</KBD></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px">Customer Return</TD><BR /> <TD style="width: 50%;height: 14px"><KBD class="ph userinput">H</KBD></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px">Credit Memo Request</TD><BR /> <TD style="width: 50%;height: 14px"><KBD class="ph userinput">K</KBD></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 50%;height: 14px">Debit Memo Request</TD><BR /> <TD style="width: 50%;height: 14px"><KBD class="ph userinput">L</KBD></TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> <STRONG>Example of Internal Key:</STRONG><BR /> <TABLE style="border-collapse: collapse;width: 100%" border="1"><BR /> <TBODY><BR /> <TR style="height: 14px"><BR /> <TD style="width: 23.9693%;height: 14px"><STRONG>Sales Document Type</STRONG></TD><BR /> <TD style="width: 13.5204%;height: 14px"><STRONG>Internal Key</STRONG></TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 23.9693%;height: 14px">QT (Quotation)</TD><BR /> <TD style="width: 13.5204%;height: 14px">AG</TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 23.9693%;height: 14px">CR (Credit Memo Request)</TD><BR /> <TD style="width: 13.5204%;height: 14px">G2</TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 23.9693%;height: 14px">DR (Debit Memo Request)</TD><BR /> <TD style="width: 13.5204%;height: 14px">L2</TD><BR /> </TR><BR /> <TR style="height: 14px"><BR /> <TD style="width: 23.9693%;height: 14px">OR (Standard Sales Order)</TD><BR /> <TD style="width: 13.5204%;height: 14px">TA</TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> <H4 id="toc-hId--350048912">More Examples:</H4><BR /> Example Code 2 for Quotation:<BR /> <PRE class="language-abap"><CODE>** Example 2: All sales quotations containing a customer with a specific customer abc classification<BR /> ** shall trigger a workflow by setting approval request reason ZQT1.<BR /> *<BR /> * data lv_customerabcclassification type if_cmd_validate_customer=&gt;ty_bp_sales-customerabcclassification.<BR /> * if salesdocument-sddocumentcategory = 'B'. "Sales quotations<BR /> ** As the customer abc classification is not availble directly in the importing parameter we need to<BR /> ** select the customer classification from released CDS view I_CustomerSalesArea<BR /> * select single customerabcclassification from i_customersalesarea into @lv_customerabcclassification<BR /> * where customer = @salesdocument-soldtoparty and<BR /> * salesorganization = @salesdocument-salesorganization and<BR /> * distributionchannel = @salesdocument-distributionchannel and<BR /> * division = @salesdocument-organizationdivision.<BR /> * if lv_customerabcclassification = 'A'.<BR /> * salesdocapprovalreason = 'ZQT1'.<BR /> * return.<BR /> * endif.<BR /> * endif.</CODE></PRE><BR /> Example Code 3 for Sales Order with Payment Terms:<BR /> <PRE class="language-abap"><CODE>** Example 3: All sales orders with order type “Standard Order”, for which the terms of payment have been changed<BR /> ** from a non-initial value shall trigger a workflow by setting approval request reason ZOR2.<BR /> ** As you already see here the Example 1 and Example 3 could intersect in conditions.Kindly take care<BR /> ** of this in the real implementation.<BR /> *<BR /> * data lv_customerpaymentterms type dzterm.<BR /> *<BR /> * if salesdocument-sddocumentcategory = 'C'. "Sales Orders<BR /> * select single customerpaymentterms from i_salesorder into @lv_customerpaymentterms where salesorder = @salesdocument-salesdocument.<BR /> * if lv_customerpaymentterms is not initial and "Check for non-initial<BR /> * lv_customerpaymentterms ne salesdocument-customerpaymentterms. "Check for value change<BR /> * salesdocapprovalreason = 'ZOR2'.<BR /> * return.<BR /> * endif.<BR /> * endif.</CODE></PRE><BR /> Example Code 4 for Credit Memo Request:<BR /> <PRE class="language-abap"><CODE>** Example 4: All sales documents of type credit memo request independent of the credit memo request data<BR /> ** like credit memo request type, sold-to party, order reason, etc. shall trigger a workflow by setting<BR /> ** approval request reason ZCR1.<BR /> *if salesdocument-sddocumentcategory = 'K'. "Credit Memo request<BR /> * salesdocapprovalreason = 'ZCR1'.<BR /> * return.<BR /> *endif.</CODE></PRE><BR /> Example Code 5 for Sales Quotation with Net Value:<BR /> <PRE class="language-abap"><CODE>** Example 5: A sales quotation which is status "not relevant" could be approval relevance because of some changes;<BR /> ** like the net amount is decreased signficiantly and the sales manager needs to be made aware of the change.<BR /> ** Here we have approval process for 2 scenarios. Either incase the sales quotation net amount is greater than<BR /> ** 10000 EUR or 12000 USD (assuming business is done only in these currencies) or incase the the net value<BR /> ** reduces by 50%. These cases shall trigger a workflow by setting approval request reason ZQT2 (NetValue related approval)<BR /> *<BR /> * data lv_totalnetamount like salesdocument-totalnetamount.<BR /> * if salesdocument-sddocumentcategory = 'B'. "Sales quotations<BR /> * select single totalnetamount from i_salesquotation into @lv_totalnetamount where salesquotation = @salesdocument-salesdocument.<BR /> * if sy-subrc = 0.<BR /> * if lv_totalnetamount &gt; 0.<BR /> * if ( ( lv_totalnetamount - salesdocument-totalnetamount ) / lv_totalnetamount ) * 100 &gt; 50. " Reduced greater than 50%<BR /> * salesdocapprovalreason = 'ZQT2'.<BR /> * return.<BR /> * endif.<BR /> * endif.<BR /> * else. " New Quotation.<BR /> * if ( salesdocument-totalnetamount &gt; 10000 and salesdocument-transactioncurrency = 'EUR' ) or<BR /> * ( salesdocument-totalnetamount &gt; 12000 and salesdocument-transactioncurrency = 'USD' ).<BR /> * salesdocapprovalreason = 'ZQT2'.<BR /> * return.<BR /> * endif.<BR /> * endif.<BR /> * endif.</CODE></PRE><BR /> <H6 id="toc-hId--288396979">Code Reference: Public Cloud 2308 BAdI. <BUTTON id="application-CustomLogic-develop-component---AFT_Editor--developView--codeViewDevelop--showSampleCodeButton" class="sapMBtnBase sapMBtn sapMBarChild" data-sap-ui="application-CustomLogic-develop-component---AFT_Editor--developView--codeViewDevelop--showSampleCodeButton" data-sap-ui-render="" data-ui5-accesskey="s" aria-labelledby="application-CustomLogic-develop-component---AFT_Editor--developView--codeViewDevelop--showSampleCodeButton-content"><SPAN id="application-CustomLogic-develop-component---AFT_Editor--developView--codeViewDevelop--showSampleCodeButton-inner" class="sapMBtnInner sapMBtnHoverable sapMFocusable sapMBtnText sapMBtnTransparent"><SPAN id="application-CustomLogic-develop-component---AFT_Editor--developView--codeViewDevelop--showSampleCodeButton-content" class="sapMBtnContent">Show Sample Code&nbsp;</SPAN></SPAN></BUTTON></H6><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /></P><BR /> <BR /> <H2 id="toc-hId--653987003">5- Setup Flexible Workflow for Sales:</H2><BR /> After we finished the configuration of BAdI and made sure the user was already maintained, it's time to finish the last step, which is the Flexible Workflow for Sales.<BR /> <BR /> Steps to Follow:<BR /> <OL><BR /> <LI style="list-style-type: none"><BR /> <OL><BR /> <LI>Go to Manage Sales Document Workflow</LI><BR /> <LI>Select Workflow for Sales Order from the Drop-Down List.</LI><BR /> <LI>Click Create Button</LI><BR /> <LI>Add Workflow Name, Description, Validity of Workflow, And Define Conditions.<BR /> <DIV></DIV></LI><BR /> <LI>Add Recipients (Teams or Users) and Rework Cases</LI><BR /> <LI>Create and Activate the Workflow</LI><BR /> </OL><BR /> </LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/10-10.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">The above screenshot provides an overview of the creation of Sales Order Workflow such as Name and Conditions and Description.</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/11-7.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: SAPRegular, 'Helvetica Neue', Arial, sans-serif;overflow: hidden;margin-bottom: 0px">The above screenshot provides an overview of the creation of Step One of the User Assignment.</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/12-5.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">The above screenshot provides an overview of the Define Action Result for Workflow when the Approver Requests a Rework of the Sales Order.</P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: SAPRegular, 'Helvetica Neue', Arial, sans-serif;overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/13-4.png" />The above screenshot provides the last step of the Workflow Creation and Activation.</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /></P><BR /> <BR /> <H2 id="toc-hId--850500508">6- Testing Scenarios:</H2><BR /> <STRONG>Test Case Scenario:</STRONG><BR /> *Sales Order Creator: CB9980000013<BR /> *Level One Approver: CB9980000015<BR /> *Responsible of the Rework: CB9980000013<BR /> <BR /> <STRONG>*White Theme = Creator = <SPAN style="color: #008000">CB9980000013</SPAN></STRONG><BR /> <STRONG>*Black Theme = Level One Approver = <SPAN style="color: #ff0000">CB9980000015</SPAN></STRONG><BR /> <BR /> Case 1: Creation of Sales Order.<BR /> Case 2: Changing the Sales Order.<BR /> Case 3: Checking Notification and Request Rework.<BR /> Case 4: Reject the Workflow.<BR /> Case 5: Approve the Workflow.<BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> <UL><BR /> <LI><STRONG>Case 1</STRONG>: Creation of the Sales Order Using the Manage Sales Order Version 2 App</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/14-5.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Creation of the Sales Order, After Activating the Workflow.</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/15-3.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Once the Sales Order (<STRONG>6</STRONG>) is Saved, the Approval Reason will Appear means the Workflow is Started.</P><BR /> <BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> <UL><BR /> <LI><STRONG>Case 2:</STRONG> Changing the Sales Order from Creator Using: Manage Sales Orders Versions 2 App and from Approver Level One Using: GUI App VA02.</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/16-2.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Once the Workflow is Started, No Changes are Allowed.</P><BR /> <BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> <UL><BR /> <LI><STRONG>Case 3:</STRONG> Checking the Notification on the Fiori Home, Check the Sales Order from My Inbox App, Request Rework with Comments Added.</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/18-2.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Request Rework for this Workflow Task.</P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/19-2.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Rework will Trigger the Creator of the Sales Order, with Comments Shown to User, and the Edit Option will be Allowed.</P><BR /> <BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> <UL><BR /> <LI><STRONG>Case 4:</STRONG> The Impact of Rejecting a Sales Order.</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/20-2.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Rejecting a Sales Order will Reject all Items with Rejection Reason: <STRONG>Rejected by Approver (77)</STRONG>.</P><BR /> <BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> <UL><BR /> <LI><STRONG>Case 5:</STRONG> Approving the Sales Order.</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/21-2.png" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic;font-family: 'SAPRegular', 'Helvetica Neue', Arial, sans-serif">Approved Sales Order Status.</P><BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /><BR /> <H2 id="toc-hId--1047014013">7- Useful Apps:</H2><BR /> While I was creating the workflow for Public Cloud, I had to use it to track the process and issues,<BR /> This is My Most Useful App I Used for the Workflow.<BR /> <BR /> App 1: <SPAN style="color: #0000ff"><A style="color: #0000ff" href="https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F5343')/S31" target="_blank" rel="nofollow noopener noreferrer"><STRONG>Flexible Workflow Administrator </STRONG></A></SPAN><BR /> <STRONG>Benefits of this app:</STRONG><BR /> <UL><BR /> <LI>Display a list of all flexible workflow instances.</LI><BR /> <LI>Filter and sort the displayed flexible workflow instances.</LI><BR /> <LI>Cancel one or several selected flexible workflow instances in one go.</LI><BR /> <LI>Resume one or several selected flexible workflow instances in one go.</LI><BR /> <LI>Forward Workflow to a Secleted CB User.</LI><BR /> <LI>Display detailed information about the flexible workflow instance.</LI><BR /> <LI>Check Step Log.</LI><BR /> <LI>Check the Workflow Log.</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/22-3.png" /></P><BR /> &nbsp;<BR /> <BR /> <HR /><BR /> <BR /> <BR /> <BR /> <HR /><BR /> <BR /> App 2: <SPAN style="color: #0000ff"><STRONG>Workflow Administrator GUI (t.code: SWIA)</STRONG></SPAN><BR /> <STRONG>Benefits of this app:</STRONG><BR /> <UL><BR /> <LI>Restart a workflow instance.</LI><BR /> <LI>Cancel a workflow instance.</LI><BR /> <LI>Resume stuck workflows.</LI><BR /> <LI>Find invalid user assignments.</LI><BR /> <LI>Forward dialog work items.</LI><BR /> <LI>Configure a substitute for an absent user.</LI><BR /> <LI>Trigger a new determination of the potential processors of a task.</LI><BR /> </UL><BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/23-1-1.png" /><BR /> <BR /> &nbsp;<BR /> <BR /> <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /><BR /> <H2 id="toc-hId--1243527518">8- Issue &amp; Solution:</H2><BR /> <P style="overflow: hidden;margin-bottom: 0px"><STRONG>Issue 1:</STRONG><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Issue.png" /></P><BR /> <STRONG>Issue 2:&nbsp;</STRONG><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Issue-2.png" /><BR /> <STRONG>Issue 3:</STRONG><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Issue-3.png" /><BR /> <STRONG>Solution:</STRONG> Workflow Trigger Issue Solution: <A href="https://me.sap.com/notes/3087801/E" target="_blank" rel="noopener noreferrer">SAP Note</A><BR /> <P style="text-align: center"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/11/Line-Break-2-2.png" /></P><BR /> <BR /> <H2 id="toc-hId--1440041023">9- Conclusion</H2><BR /> Flexible workflows in SAP S/4HANA Public Cloud can be customized through the scenarios that can be created and made suitable according to the needs thanks to the BAdI of your processes without hard-coding development. Also, key users can make changes and edit these scenarios without needing developers.<BR /> <BR /> Reference Blog: <A href="https://blogs.sap.com/2020/07/17/flexible-workflow-in-sales-documents/" target="_blank" rel="noopener noreferrer">Flexible Workflow in Sales Documents</A><BR /> <BR /> Thank you for reaching the end of this journey<BR /> I really appreciate your lovely feedback.<BR /> <BR /> - Mohamed El Khawanky 2023-12-01T12:21:40+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/how-to-hide-sub-items-of-bom-items-in-sales-document-output/ba-p/13580889 How to Hide Sub-items of BoM Items in Sales Document Output 2023-12-21T09:36:35+01:00 emilyshi https://community.sap.com/t5/user/viewprofilepage/user-id/809418 <H1 id="toc-hId-835681615">Background</H1><BR /> A BoM item usually contains a head item and several sub items. In the output form of<SPAN style="color: #ff0000"> <STRONG>sales document</STRONG></SPAN>, both the head item and subitems will be displayed. For some suppliers, they prefer not to show the subitem information to their buyers. Therefore, they want to hide the subitems in the final output form. With the solution we provided, <STRONG>you can customize your output form to hide the BoM subitems that have no price.&nbsp;</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/Standard-Output.png" height="369" width="286" /></P><BR /> <P class="image_caption" style="text-align: center;font-style: italic">Standard Output</P><BR /> <BR /> <H1 id="toc-hId-639168110">Prerequisite</H1><BR /> <UL><BR /> <LI><SPAN style="color: #333333">A business role that contains the following business catalogs is assigned to your user:</SPAN><BR /> <UL class="ul"><BR /> <LI class="li"><BR /> <P class="p"><EM><SPAN class="ph sap-technical-name sap-technical-name">SAP_CORE_BC_OM</SPAN>&nbsp;</EM>(<SPAN class="ph uicontrol">Output Management</SPAN>)</P><BR /> </LI><BR /> <LI class="li"><BR /> <P class="p"><EM><SPAN class="ph sap-technical-name sap-technical-name">SAP_CA_BC_IC_LND</SPAN></EM>&nbsp;(<SPAN class="ph uicontrol">End to End Implementation Experience - Implementation Cockpit</SPAN>)</P><BR /> </LI><BR /> <LI class="li"><BR /> <P class="p"><EM><SPAN class="ph sap-technical-name sap-technical-name">SAP_CA_BC_OC_PC</SPAN>&nbsp;</EM>(<SPAN class="ph uicontrol">Output Management - Output Control</SPAN>)</P><BR /> </LI><BR /> </UL><BR /> </LI><BR /> <LI>You have installed the <STRONG>Adobe LiveCycle Designer</STRONG>&nbsp;app.</LI><BR /> </UL><BR /> <H1 id="toc-hId-442654605">Procedure</H1><BR /> <OL><BR /> <LI>Logon to the<STRONG> Fiori Launchpad</STRONG> as a key user (extensibility specialist)</LI><BR /> <LI>Search and enter the <STRONG>Maintain Form Template</STRONG> app.<BR /> <UL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-14_10-37-58.png" /></LI><BR /> </UL><BR /> </LI><BR /> <LI>Choose the <STRONG>Predelivered Templates </STRONG>tab.</LI><BR /> <LI>Search for the output form template you are using, for example, <EM>SD_SLS_ORDER_CONFIRM</EM> (sales order confirmation), and open it<BR /> <UL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-14_10-37-22.png" /></LI><BR /> </UL><BR /> </LI><BR /> <LI>Download the form template.<BR /> <UL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-14_10-40-15.png" /></LI><BR /> </UL><BR /> </LI><BR /> <LI>Drag the .xdp file to the <STRONG>Adobe LiveCycle Designer</STRONG> app to open it.<BR /> <UL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-14_10-44-2.png" height="284" width="239" /></LI><BR /> </UL><BR /> </LI><BR /> <LI>Open the <STRONG>Hierarchy </STRONG>window and the <STRONG>Script Editor </STRONG>window from the menu and find the item node named "<STRONG>rowItem</STRONG>"<BR /> <UL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_10-36-55-1.png" height="460" width="404" /><SPAN style="font-size: 1rem"><STRONG>*Note: There are two nodes called "rowItem". Be sure you chose the second one.</STRONG></SPAN></LI><BR /> <LI><BR /> <PRE class="language-abap"><CODE>if( ( frmHiddenItem.txtHigherLevelItem.rawValue ne "000000" ) and ( frmHiddenItem.decNetValue == "0.00" ) ) then<BR /> this.presence = "inactive";<BR /> endif;<BR /> // hide subitems with net value 0.00<BR /> </CODE></PRE><BR /> <SPAN style="font-size: 1rem">&nbsp;</SPAN></LI><BR /> </UL><BR /> </LI><BR /> <LI><SPAN style="font-size: 1rem">In the </SPAN><STRONG style="font-size: 1rem">Script Editor, </STRONG><SPAN style="font-size: 1rem">write the following code to hide the sub-items whose item </SPAN><U style="font-size: 1rem">net value is zero.</U></LI><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_10-44-13.png" height="278" width="446" /><SPAN style="font-size: 1rem">Save the form.</SPAN></LI><BR /> <LI>In the <STRONG>Maintain Form Template</STRONG> app, create a custom form template.<BR /> <OL><BR /> <LI class="li"><BR /> <P class="p">For the form template file, choose the file that you adapted earlier.</P><BR /> </LI><BR /> <LI class="li"><BR /> <P class="p">Choose the correct data source (for example,&nbsp;<EM><SPAN class="ph sap-technical-name sap-technical-name">FDP_V1_ORDER_CONFIRM_SRV</SPAN></EM>&nbsp;for sales order confirmation).</P><BR /> </LI><BR /> <LI class="li"><BR /> <P class="p">Choose the <STRONG>Content</STRONG> form type.</P><BR /> <BR /> <UL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_11-17-2.png" /></LI><BR /> </UL><BR /> </LI><BR /> </OL><BR /> </LI><BR /> <LI>Assign your custom for template.<BR /> <OL><BR /> <LI class="li"><BR /> <P class="p">In your configuration environment, open the configuration activity&nbsp;<STRONG><SPAN class="ph uicontrol">Assign Form Templates</SPAN></STRONG>.</P><BR /> </LI><BR /> <LI class="li"><BR /> <P class="p">Create a new entry. Use, for example,&nbsp;<EM><SPAN class="ph sap-technical-name sap-technical-name">SALES_DOCUMENT</SPAN></EM>&nbsp;as the application object type and&nbsp;<EM><SPAN class="ph sap-technical-name sap-technical-name">ORDER_CONFIRMATION</SPAN></EM> as the output type. For the form template ID, use the one of the custom form template that you created earlier.</P><BR /> <BR /> <UL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_11-23-34-1.png" /></LI><BR /> </UL><BR /> </LI><BR /> </OL><BR /> </LI><BR /> <LI>Define business rules for custom form template<BR /> <OL><BR /> <LI class="li"><BR /> <P class="p">In the&nbsp;<STRONG><SPAN class="ph uicontrol">Output Parameter Determination</SPAN></STRONG>&nbsp;app, show the rules for the sales document and the determination step for form templates.</P><BR /> </LI><BR /> <LI class="li"><BR /> <P class="p">Select the relevant rule (for example, for order confirmations), and edit it.</P><BR /> <P class="p">Note that alternatively, you can also create a new rule.</P><BR /> </LI><BR /> <LI class="li">Change the form template name to the one of the custom form template that you created earlier.<BR /> <UL><BR /> <LI class="li"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_11-35-37-1.png" /></LI><BR /> </UL><BR /> </LI><BR /> </OL><BR /> </LI><BR /> <LI class="li">Now you can create a sales order with BoM items and check the output form:<BR /> <OL><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_11-55-14.png" height="269" width="476" /></LI><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_11-49-25.png" height="184" width="509" /></LI><BR /> <LI><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2023/12/image-2023-12-20_11-53-1.png" height="596" width="428" /></LI><BR /> </OL><BR /> </LI><BR /> </OL><BR /> <H1 id="toc-hId-246141100">Related Links</H1><BR /> <A href="https://help.sap.com/docs/SAP_S4HANA_CLOUD/a376cd9ea00d476b96f18dea1247e6a5/a2b387872d4743989769c432a482008d.html" target="_blank" rel="noopener noreferrer">How to Create and Use a Custom Form Template</A><BR /> <P id="topic-title"><A href="https://help.sap.com/docs/SAP_S4HANA_CLOUD/a376cd9ea00d476b96f18dea1247e6a5/d9cc17d1aa404aee9bf2d10599c9a8d1.html" target="_blank" rel="noopener noreferrer">Output Management for Sales Documents and Billing Documents</A></P> 2023-12-21T09:36:35+01:00 https://community.sap.com/t5/technology-blogs-by-sap/post-m-a-considerations-including-shared-services-enterprise-business/ba-p/13573587 Post M&A considerations, including shared services (Enterprise Business Services). 2024-01-04T01:27:34+01:00 dmitry_melnik https://community.sap.com/t5/user/viewprofilepage/user-id/284346 <STRONG>Post M&amp;A considerations, including shared services (Enterprise Business Services)</STRONG>.<BR /> <BR /> <EM>Carroll Oglesby III, Randy Garrison, Dmitry Melnik, SAP</EM><BR /> <P style="text-align: center">*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *</P><BR /> This blog is based on SAP customers who underwent Mergers and Acquisitions or Divestitures (M&amp;A/D). While we sanitized the names and used only public information, this material reflects <EM>actual</EM> post-merger integration (PMI) considerations, priorities, and PMI <EM>execution experiences</EM> of SAP customers. &nbsp;As such, this content will be helpful to any CIO team members facing similar challenges amidst business combinations.&nbsp; Moreover, to help you, our reader, we incorporate the first-hand perspective of an imaginary person, <EM>John</EM>, who serves as the Chief Information Officer of a company in the middle of an M&amp;A deal.&nbsp; Think of this as Harvard Business Review type case.<BR /> <BR /> &nbsp;<BR /> <BR /> <U>Prologue</U><BR /> <BR /> <STRONG>John put the phone down and sat back in his chair. The evening was settling in but John, the Chief Information Officer, felt like his day was only starting. &nbsp;The CEO on the phone a minute ago was very clear: since the Board had just approved the hotly debated M&amp;A deal, in two days John must present to the Directors a detailed IT plan of the post-merger integration. &nbsp;His company was merging with a similar size competitor and the combined company was expected to compete fiercely in the rapidly changing fashion retail market. &nbsp;In his IT career, John had gone through a few M&amp;A deals and understood the risks very well. &nbsp;The situation was further complicated by the fact that the combined company had to realize some $100m in synergies within the first year of operations. &nbsp;And the Board was looking for fast answers.&nbsp; Which PMI actions would be the most urgent? Most impactful? How would the architecture evolve? John had to address these and myriad other topics very fast.</STRONG><BR /> <BR /> &nbsp;<BR /> <BR /> <U>Situation: M&amp;A as a risky move</U><BR /> <BR /> Much research has been done on the topic of M&amp;A. Some numbers, though, tend to stand out amidst all the data and analyses: how quickly value can be destroyed in mergers and acquisitions. Some researchers found that while a typical “full control” premium paid by the acquiror can reach 30% of the acquired entity’s value, the returns to the <EM>buying</EM> shareholders are far from certain and exhibit an almost 60 percentage points range, from “negative thirties” to “positive thirties”. Examine the chart below: business combinations pose substantial risks in terms of the shareholder returns.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture1-MA-returns.png" /></P><BR /> <STRONG>John typed his company’s stock ticker and stared at the screen. Yes, his company was paying an even higher full control premium, over 50% of the target’s recent stock price. &nbsp;So predictably, the market reacted negatively on the M&amp;A news: John’s company lost 20% of its value in just one day. The stock performance chart (please see below) was quite telling…</STRONG><BR /> <BR /> [sanitized depiction of an actual situation]<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture2-drop-in-share-price.png" /></P><BR /> What is the <STRONG>programmatic way to reduce the risks</STRONG> which are so well reflected in the market sentiment?<BR /> <BR /> The experiences of our customers reveal three major milestones in the post-M&amp;A, or PMI, effort:<BR /> <OL><BR /> <LI>Harmonize and Unify, -</LI><BR /> <LI>Integrate and Operate, –</LI><BR /> <LI>Evolve and Grow.</LI><BR /> </OL><BR /> While somewhat of an oversimplification, these milestones <U>provide a solid framework for your PMI actions</U>, from immediate to long-term.<BR /> <BR /> The <STRONG>Harmonize &amp; Unify</STRONG> phase focuses on the data. How can the combined entity report its results to the shareholders?&nbsp; What nomenclature should it use going forward: SKU definitions, Business Partners, people (employees and contractors), operating units (business segments) vs. legal entities, and many other similar considerations form the basis of the data unification. This phase is usually urgent due to the reporting needs but also lays the foundation for the long-term growth.<BR /> <BR /> The second phase, <STRONG>Integrate and Operate</STRONG>, focuses on synergies. For example, for a deal to be valuable to the shareholders, it needs to be accretive.&nbsp; Combined company net income expressed as net margin (Net Income / Revenue) must be higher than the net margin of the acquiring entity. &nbsp;Synergies are the costs which “sit in the middle” and should be taken out.&nbsp; Other types of synergies relate to revenue and include the ability to cross-sell and cultivate each company’s customers for a higher share of wallet. &nbsp;This is where the two short- and mid-term phases graduate into the thirds one, <STRONG>Evolve and Grow</STRONG>.<BR /> <BR /> The chart below reflects this simple framework.&nbsp; On the right-hand side you can see the market shares of the key players in this market.&nbsp; We sanitized the names, but the numbers represent actual estimates by the Wall Street Journal; John’s company would become a larger player after this deal, capable to compete more successfully in the long run.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture3-PMI-exzperiences-framework.png" /></P><BR /> <STRONG>John re-examined the 3-phase PMI framework which had proven helpful in the past and contemplated the first few months post-closing of the deal.&nbsp; Yes, problems always pop up and multiply. &nbsp;He recalled the example of an acquisitive SAP customer in fashion and jewelry design where the business and IT colleagues had to solve various PMI issues.</STRONG><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture4-customer-experience-sanitized.png" /></P><BR /> Then another thought occurred to John as he started typing an email to his DBA team lead: <STRONG>reporting</STRONG>.&nbsp; Clearly, there will be no shortage of topics to address and problems to solve, but reporting would quickly become the highest priority to address with the CFO as well as colleagues from the acquired entity: the first quarterly report… John sighed and dialed the CFO.&nbsp; Night was young…<BR /> <BR /> SAP customers utilize various means to report their combined operational and financial results. &nbsp;As integration deepens, the CFO and other executives get more details and insights.&nbsp; But here we emphasize the <EM>initial reporting</EM> needs and <EM>the process</EM> to build a solid long-term foundation. &nbsp;This brings up one of the options, SAP S/4HANA Group Reporting.<BR /> <BR /> The below chart summarizes the workflow and distinguishes between fully automated and manual steps. On the left-hand side of the chart, you can see four different ways to bring in the data for group reporting, from completely manual data collection on the bottom to a fully automated and integrated approach on the top. &nbsp;Clearly, the actual world is more nuanced, but our takeaway is simple: the more integration effort channeled at the data unification upfront, the easier group reporting will become.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture5-reporting.png" /></P><BR /> Combined company reporting is one of the many processes dependent on the unified and harmonized data.&nbsp; However, many other processes can be standardized across the two entities which after the deal operate as one. &nbsp;These processes often reside within the shared services or, as we call it nowadays, <STRONG>Enterprise Business Services</STRONG> (EBS).<BR /> <BR /> Customers often prioritize the EBS standardization between two entities in the following way: start with the processes which are identical and do not touch the essence of the business, i.e., which are “undifferentiated” in the marketplace.&nbsp; For example, for John’s company invoices between the company and its 3PL (logistics) vendors are hidden from the end consumer, therefore we can call them “undifferentiated”.&nbsp; On the other hand, the product returns and exchanges constitute a major part of the consumer experience and therefore are “differentiated”, i.e., they separate the company from its competitors.&nbsp; Once you move the undifferentiated processes to the combined EBS, the next wave covers the processes which do differentiate the company and can be automated.&nbsp; For example, product delivery for online orders is one of those differentiated processes for John’s company. &nbsp;Finally, address the processes which can “make your smart people smarter”.&nbsp; These may include a wide range of processes in analytics, budgeting, even product GTM planning, and so on.&nbsp; And this is where you can extend the integration and automation from the headquarters (HQ) to the business unit (BU) level.<BR /> <BR /> Chart below summarizes such prioritization and lists a few SAP customers who have achieved improvements in their respective process areas, from expense reports processing to direct customer service and product innovation. &nbsp;Please do follow the links and examine, for example, the case of the <A href="https://www.sap.com/bin/sapdxc/proxy.inmsl.attachment.12294.pitch-deck.pdf" target="_blank" rel="noopener noreferrer">Huabao Group</A> which utilizes SAP Intelligent Technologies to create consumer-specific custom-tailored fragrances.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture6-EBS-prioritization-framework.png" /></P><BR /> <STRONG>John made a few notes to cover the EBS topics during his tomorrow’s team call to action. &nbsp;In his mind, the picture was emerging clearly: start with the data harmonization, proceed to the immediate and long-term reporting needs, extend the integration effort to other shared service (EBS) processes to help the combined company operate more efficiently.&nbsp; He smiled satisfactorily: this effort will also aide his team in pursuit of the synergies.</STRONG><BR /> <BR /> &nbsp;<BR /> <BR /> <U>Complication: publicly announced synergies</U><BR /> <BR /> Synergies, both on the revenue and the cost sides, are one of the reasons for business combinations.&nbsp; In the end, these synergies ensure the “2 + 2 = 5” value creation. &nbsp;However, the imperative to realize synergies quickly puts pressure on the PMI activities and can present a significant challenge to all Lines of Business (LOB), including IT.&nbsp; John’s company - while announcing the offer to buy shares of its former competitor and future business unit - stated that some $100 million of synergies will result from the combination in the first year.&nbsp; This expectation often goes under a magnifying glass of the shareholders and analysts so that the combined company ends up <EM>periodically reporting on the progress of such synergies</EM>.<BR /> <BR /> A business combination (M&amp;A/D) provides an opportunity to reflect on the business evolution and reassess various improvement options. Here is one of the many examples and case in point.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture7-synergies-example-Shiseido.png" /></P><BR /> <STRONG>John quickly made some calculations and paused, pondering each phrase of his report to the Board. &nbsp;Some de-duplication of systems and other items of the IT budget were clear, but they would not come even close to the required $100 million synergy target. &nbsp;John recalled the previous M&amp;A/D and formulated his request to the Board: Directors’ guidance would be critical.&nbsp; He would ask the Board about the business direction before committing to a specific course of action in IT.</STRONG><BR /> <BR /> Consider a typical profit and loss statement (P&amp;L) specific to this market (chart below).&nbsp; Start with the revenue on the left-hand side and move to the right.&nbsp; This is an actual SAP customer and the numbers come from their annual report. &nbsp;Costs of Sales, or COS, include direct procurement, inbound logistics, warehousing and other directly attributable costs. &nbsp;Will synergies come from here?&nbsp; Then organizational capabilities around centralized procurement and inbound logistics will most likely have to evolve, and this will present a specific set of IT implications. &nbsp;On the other hand, marketing and selling costs such as real estate (shops), sales commissions, distribution costs (outbound and last mile delivery) may provide another source of synergies; then the IT implications may be very different.<BR /> <BR /> In both cases, customers often differentiate between <STRONG>process de-duplication</STRONG> and <STRONG>process evolution</STRONG>.&nbsp; The former is relatively straightforward, but its optimization impact is usually one-time.&nbsp; The latter requires more change management but may result in long-term (repeatable) efficiency gains.<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture8-synergies-framework.png" /></P><BR /> We can summarize this based on the discussion we have had to this point:<BR /> <UL><BR /> <LI><STRONG>Enterprise Business Services of the combined company will generally take care of the process de-duplication</STRONG>, especially for the processes which span across all business units (finance, logistics, procurement, etc.) Of course, processes “below”, i.e., specific to each BU, need to be addressed carefully, one by one.</LI><BR /> <LI>In parallel, various <STRONG>Intelligent Technologies can evolve the combined company processes</STRONG>, in some cases creating completely new processes and abilities which did not exist before.</LI><BR /> </UL><BR /> But at any rate, business picture including the clear map of the synergies <EM>will drive the respective organizational capabilities development and, as a result, the underlying IT architecture</EM>. “Tell me what the business wants – we will formulate how to get there.”<BR /> <BR /> &nbsp;<BR /> <BR /> <U>Resolution</U><BR /> <BR /> <STRONG>In the morning the sun looked warmer… John finished his coffee and pressed the send button.&nbsp; His tomorrow’s Board presentation was ready and just went on to the CFO and CEO for preview. &nbsp;Once he formulated the “must do” topics as well as “need your guidance” ones, the entire picture made sense, at least as the immediate action plan for the combined company’s IT function. &nbsp;Much work was ahead but the path was clear. &nbsp;Half a day after the M&amp;A news and the CEO directive John was ready and eager to start his team meeting.</STRONG><BR /> <BR /> Let us recap the discussion so far.<BR /> <UL><BR /> <LI><STRONG>Data</STRONG> is easily the most urgent topic for the PMI activities.</LI><BR /> <LI>Combined company <STRONG>reporting</STRONG> becomes the critical capability which balances both the compliance needs (“must have”) and executive insight imperatives – and stands on the solid data foundation.</LI><BR /> <LI>As the companies start operating as one, shared services, or <STRONG>Enterprise Business Services</STRONG> (EBS) become the “common denominator” which can glue the companies together; reporting is just one of such EBS but the list of shared services is much larger.</LI><BR /> <LI>As the Board is “on the hook” for reportable synergies, <STRONG>business should define key source areas and IT should devise the roadmap to realization</STRONG>, taking into consideration the evolution of the architecture and new technologies available to turn this vision into reality.</LI><BR /> </UL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture9-PMI-roadmap.png" /></P><BR /> Does this roadmap tell the full picture?&nbsp; Of course, not. &nbsp;This is merely a summary of key actions and focus areas during a <EM>typical</EM> PMI. &nbsp;Each company situation is unique and may differ based on the “pre” architecture, industry and market dynamics, urgency, constraints, and a multitude of other factors.&nbsp; In other words, <EM>your specific situation - and therefore roadmap - may differ</EM>.&nbsp; But we hope that this discussion may help you to <EM>frame your roadmap process</EM> based on the experiences of many SAP customers.<BR /> <BR /> One question arises in relation to this picture: what lies ahead in the longer term?&nbsp; In other words, what is to the right of this graph?&nbsp; We cannot answer this question in simplistic terms: the further away we look into the future, the more the paths diverge. &nbsp;However, let us finish this discussion with one customer example.&nbsp; This organization went through a series of significant M&amp;A/D transactions aimed both at creating more muscle and tuning it up (making it leaner, if you will).&nbsp; This is how they formulate their next horizon goals in terms of revenue and growth, direct-to-consumer business, Free Cash Flow and so on:<BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Picture10-Evolve-Grow-example.png" /></P><BR /> <U>Epilogue</U><BR /> <BR /> <STRONG>Party was in full swing. First anniversary as a combined company was indeed a great achievement. John glanced at his combined team and recalled the start of this merger. &nbsp;Much changed since then, and his team members – located across the globe and rooted in both companies – came a long way since a year ago when they barely knew and trusted each other. He smiled and raised a toast to all who turned a vision of the successful integration into reality.</STRONG><BR /> <BR /> &nbsp; 2024-01-04T01:27:34+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/role-based-access-to-price-elements-in-sap-s-4h-2023/ba-p/13574699 Role-Based Access to Price Elements in SAP S/4H 2023 2024-01-10T09:28:10+01:00 sreenivasgowla https://community.sap.com/t5/user/viewprofilepage/user-id/747134 Hi Friends ,<BR /> <BR /> In this Blog, we will discuss about how to control business users' access to price elements in specific SD document.<BR /> <BR /> <STRONG>Business Requirement</STRONG> : Is it possibly to hide a price element/condition types (such as the Profit Margin and Internal Cost) from some business users in specific sales documents or customer invoices<BR /> <P style="margin: 0in;font-family: Calibri;font-size: 11.0pt"><STRONG>Solution</STRONG><SPAN style="font-weight: bold"> :</SPAN> In S/4H 2023 , SAP has enabled the new feature&nbsp; i.e. <B>Role- based Access to Price Elements</B>&nbsp; with this we can hide a price element (such as the&nbsp; Profit margin and Internal cost ) from some business users in specific sales documents or customer invoices. With this feature, the system to automatically control the type of access (no access, display access, change access) that business users have to price elements of an SD document on header or item level.&nbsp; With this , we can also prevent some business users from editing specific price elements in sales orders. We can use this function to control &nbsp;business users' access to price elements in sales orders, returns orders, credit memo requests, and debit memo request</P><BR /> &nbsp;<BR /> <P style="margin: 0in"><SPAN style="font-size: 12pt;color: #333333">Define Access Levels for Price Elements</SPAN><SPAN style="font-family: Calibri;font-size: 11.0pt">&nbsp;Customizing activity.</SPAN></P><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Screeshot1.png" /></P><BR /> <P style="overflow: hidden;margin-bottom: 0px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Screenshot2.png" /></P><BR /> &nbsp;<SPAN style="font-weight: bold">Assign Access Levels in Pricing Procedure : </SPAN>New field is introduced in pricing procedure i.e. Access Level .Here the Business experts can determine which access level is assigned to which Pricing condition /Pricing Elements .<IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/screeshot3.png" /><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/screenshot4.png" /></P><BR /> <STRONG>Authorization Roles setting</STRONG><BR /> <BR /> The access level can be assigned as per requirement . In the example below<BR /> <OL><BR /> <LI>The logistic expert can only view/display the pricing elements assigned to the access level 1000.</LI><BR /> <LI>The Internal Sales Representative can view all pricing elements as he/she is given a display of both access level(1000-8000)</LI><BR /> <LI>The sales Manager has the ability to change and display all pricing elements as he /she has both access level and change the access((1000-8000) .</LI><BR /> </OL><BR /> <P style="overflow: hidden;margin-bottom: 0px"><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/blog_attachments/2024/01/Screenshot5.png" /></P><BR /> <P style="margin: 0in"><SPAN style="font-family: Monaco;font-size: 12.0pt;color: #333333">PRCG_ACC</SPAN><SPAN style="font-family: Calibri;font-size: 11.0pt">&nbsp;authorization object as follows</SPAN></P><BR /> <BR /> <DIV><BR /> <TABLE style="direction: ltr;border-collapse: collapse;border: 1pt solid #A3A3A3" title="" border="1" summary="" cellspacing="0" cellpadding="0"><BR /> <TBODY><BR /> <TR><BR /> <TD style="background-color: #eeeeee;vertical-align: top;width: 2.1944in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333"><SPAN style="font-weight: bold">Field</SPAN></P><BR /> </TD><BR /> <TD style="background-color: #eeeeee;vertical-align: top;width: 2.1583in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333"><SPAN style="font-weight: bold">Change Access</SPAN></P><BR /> </TD><BR /> <TD style="background-color: #eeeeee;vertical-align: top;width: 1.9625in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333"><SPAN style="font-weight: bold">Display Access</SPAN></P><BR /> </TD><BR /> </TR><BR /> <TR><BR /> <TD style="vertical-align: top;width: 2.1944in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-size: 11.25pt;color: #333333"><SPAN style="font-family: Monaco">KAPPL</SPAN><SPAN style="font-family: 72">&nbsp;(Application)</SPAN></P><BR /> </TD><BR /> <TD style="vertical-align: top;width: 2.1583in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">V (Sales/Distribution)</P><BR /> </TD><BR /> <TD style="vertical-align: top;width: 1.9909in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">V (Sales/Distribution)</P><BR /> </TD><BR /> </TR><BR /> <TR><BR /> <TD style="vertical-align: top;width: 2.2138in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-size: 11.25pt;color: #333333"><SPAN style="font-family: Monaco">PRCG_SOT</SPAN><SPAN style="font-family: 72">&nbsp;(SAP Object Type)</SPAN></P><BR /> </TD><BR /> <TD style="vertical-align: top;width: 2.1777in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Sales Order</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Billing Document</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Preliminary Billing Document</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Billing Document Request</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Invoice List</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Credit Memo Request</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Debit Memo Request</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Customer Return</P><BR /> </TD><BR /> <TD style="vertical-align: top;width: 2.0944in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Sales Order</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Billing Document</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Preliminary Billing Document</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Billing Document Request</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Invoice List</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Credit Memo Request</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Debit Memo Request</P><BR /> <P style="margin: 0in;font-family: 72;font-size: 11.25pt;color: #333333">Customer Return</P><BR /> </TD><BR /> </TR><BR /> <TR><BR /> <TD style="vertical-align: top;width: 2.1944in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in"><SPAN style="font-family: Monaco;font-size: 11.25pt;color: #333333">ACTVT</SPAN><SPAN style="font-family: Calibri;font-size: 11.0pt">&nbsp;(Activity)</SPAN></P><BR /> <CITE style="margin: 0in;font-family: Calibri;font-size: 9.0pt;color: #595959">&nbsp;</CITE><BR /> <P style="margin: 0in;font-family: Calibri;font-size: 11.0pt"></P><BR /> </TD><BR /> <TD style="vertical-align: top;width: 2.1583in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: Calibri;font-size: 11.0pt">02 (Change), 03 (Display)</P><BR /> <CITE style="margin: 0in;font-family: Calibri;font-size: 9.0pt;color: #595959">&nbsp;</CITE><BR /> <P style="margin: 0in;font-family: Calibri;font-size: 11.0pt"></P><BR /> </TD><BR /> <TD style="vertical-align: top;width: 1.9625in;padding: 4pt 4pt 4pt 4pt;border: 1pt solid #A3A3A3"><BR /> <P style="margin: 0in;font-family: Calibri;font-size: 11.0pt">03 (Display)</P><BR /> <CITE style="margin: 0in;font-family: Calibri;font-size: 9.0pt;color: #595959">&nbsp;</CITE><BR /> <P style="margin: 0in;font-family: Calibri;font-size: 11.0pt"></P><BR /> </TD><BR /> </TR><BR /> </TBODY><BR /> </TABLE><BR /> </DIV><BR /> I hope this will helps you.<BR /> <BR /> Thanks,<BR /> <BR /> Sreenivasulu.<BR /> <BR /> &nbsp;<BR /> <DIV></DIV> 2024-01-10T09:28:10+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/insights-on-columnar-store-for-sap-functional-consultants/ba-p/13606936 Insights on Columnar store for SAP Functional Consultants 2024-02-16T08:29:30.650000+01:00 desigan_duraisamy https://community.sap.com/t5/user/viewprofilepage/user-id/875106 <P><STRONG>Introduction:</STRONG></P><P>I hope its not a surprise for any one reading this Article that SAP S/4HANA uses HANA DB and HANA DB uses&nbsp;Columnar Data Storage for most of its critical table. There is boat load of Articles around why&nbsp;Columnar Data Storage is good for the world and its blazing speed. My initial thoughts when I learnt how Columnar Daomta Storage works is, it is "less intuitive" than Row Data Storage. Row Data Storage <EM>(the old way that we had in ECC)</EM> was always nice and simple like "filter MKPF for the Posting date, collect all the Material docs, pass on the same to MSEG and voila you have all the item level details for a given posting date". You can play around these table joins more intuitively to create any report. Why would some one try to mess up with this familiarity?</P><P>There is a real good reason. Columnar Data Storage is REAL REAL fast, its not 1x or 2x fast. In my observation it is 100x or 1000x faster in some of the queries that we regularly use for the Business. For instance for one of the query which we used run on the weekends for a procurement report which used to take 6 hours or so in ECC, when we moved to S/4HANA <EM>(and little tweaking of the query)</EM> it took us only few seconds. It was too good to be true. Upon validation, we were surprised that it is "too good and true".&nbsp; &nbsp;</P><P>That led to my curiosity on how the&nbsp;Columnar Data Storage&nbsp; works. Being a tech dummy I had to research for sometime to get the details, I have tried to explain the same in a "Functional Consultant friendly" manner. Please note I could have over simplified the data and examples to make it more understandable.&nbsp;&nbsp;</P><P><STRONG>The Classic Row Data Storage, how it looks like in DB:</STRONG></P><P>Lets consider the following data of Material Document (simplified the no. of columns). The first column here is the Row No.</P><P>Fig 1:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_1-1708015793629.png" style="width: 532px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66090i494414A26872DDF4/image-dimensions/532x160?v=v2" width="532" height="160" role="button" title="desigan_duraisamy_1-1708015793629.png" alt="desigan_duraisamy_1-1708015793629.png" /></span></P><P>When this data gets stored in our classic Row Data Storage, it would be something like the below:</P><P>Fig 2:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_1-1708016381881.png" style="width: 530px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66098i0994C66463E24CD2/image-dimensions/530x163?v=v2" width="530" height="163" role="button" title="desigan_duraisamy_1-1708016381881.png" alt="desigan_duraisamy_1-1708016381881.png" /></span></P><P>In a Row stores, its plain and simple, the data is stored one row after another. For simplicity I have made 1 row of Material document details in 1 "Block" in Database, but in reality 1 DB Block would be much bigger (few KBs or even MBs) and would be storing several rows of Material documents continuously.<BR />Lets not bother too much on what a Block is. Its a Database concept, you can consider this as chunk of Data that gets pulled for every IO (Input/Output) operation. So when my program requires data on say Material doc no.&nbsp;5000000001, it pull all the data in Block 1. If my program&nbsp;requires data on&nbsp;Material doc no.&nbsp;5000000003, then it still starts from Block 1, since its unable to find, it will discard the Block 1 and move to Block 2 to find, and continues this search till it finds the Block n where the data is.</P><P>Lets take a functional requirement to sum up all the "Amount" values of consignment items, this means wherever there is a Special stock K, accumulate the Amount value.</P><P>&nbsp;Lets see how the Row store handles this and how many “Blocks” it has to read before coming up with a value. As you can see below with the Row store the system reads all the Blocks from the DB before it calculates the final "Amount" value, like shown in the below fig.&nbsp;</P><P>Fig 3:&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_0-1708022647705.png" style="width: 513px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66147i3090F5376C3EB193/image-dimensions/513x173?v=v2" width="513" height="173" role="button" title="desigan_duraisamy_0-1708022647705.png" alt="desigan_duraisamy_0-1708022647705.png" /></span></P><P>&nbsp;</P><P>To explain it a bit, it goes to the first row, goes to the field Special Stock type and checks for “K”, if not, goes to the next row and repeats the cycle. When it finds a “K”, it sums up the “Amount”.</P><P>Although this method is simple <EM>(at least to explain)</EM>, this scans the entire table, which could be in Billions. For one of the Retail clients that we were working, the projected Material Documents growth is 9.46 Billion/year, so you can imagine, how such a query would work in real time.</P><P><STRONG>This is how Column Data Storage stores the data:</STRONG></P><P>Fig 1 again:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_1-1708015793629.png" style="width: 522px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66090i494414A26872DDF4/image-dimensions/522x158?v=v2" width="522" height="158" role="button" title="desigan_duraisamy_1-1708015793629.png" alt="desigan_duraisamy_1-1708015793629.png" /></span></P><P>With the same raw data example that we started with, the column store would look like the below:</P><P>Fig 4:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_4-1708017313725.png" style="width: 528px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66116i8E2ABCDE3BB37BEC/image-dimensions/528x161?v=v2" width="528" height="161" role="button" title="desigan_duraisamy_4-1708017313725.png" alt="desigan_duraisamy_4-1708017313725.png" /></span></P><P>The above fig is more for your visualization that the Blocks in the DB are filled column wise, a more realistic fig would be the below, which is just a transpose of the Fig4.&nbsp;</P><P>Fig 5:&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_0-1708025018440.png" style="width: 595px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66154iE46EABDF3A0F4135/image-dimensions/595x186?v=v2" width="595" height="186" role="button" title="desigan_duraisamy_0-1708025018440.png" alt="desigan_duraisamy_0-1708025018440.png" /></span></P><P>Lets take it a bit slow, as I mentioned column store is not very intuitive. Few note worthy points:</P><UL><LI>Columnar Data Storage fills the DB bocks column wise. When a new Material Document say 5000000007 comes next, the Doc no. would go to Block 1, the Posting Date would go to Block 2...Plant would go to Block 6 etc.</LI><LI>The row nos. will still be tagged to each of the field value <EM>(represented the row nos in Red in the above table and in other tables as well)</EM>. Note this is a very important concept, this tagging of row nos. to the field value connects them together although they are in different block.&nbsp;</LI><LI>Reiterating that the above is a simplified example for easier understanding, in real world we could have millions of Material doc Nos. and the contiguous blocks containing Material doc Nos. could be in 100s.&nbsp;</LI></UL><P><STRONG>Compression in&nbsp;Columnar Data Storage:</STRONG></P><P>This is where it gets interesting. As you can see in each of the Blocks in Fig 5, in each of the Blocks there are many duplicate field values. For instance Material document 5000000001 is repeated twice, 5000000002 is repeated thrice in Block 1, Plants are repeated even more in Block 6. This is where the compression kicks in and de-duplicates these field values.</P><P>Fig 6:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_1-1708025096386.png" style="width: 590px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66155i20AE7A9F820C0C25/image-dimensions/590x192?v=v2" width="590" height="192" role="button" title="desigan_duraisamy_1-1708025096386.png" alt="desigan_duraisamy_1-1708025096386.png" /></span></P><P>&nbsp;</P><P>Its very important to note here, the Row tagging are still on. For instance 5000000001 is still tagged to Row no. 1 and 2.&nbsp;</P><P>Its worth reminding ourselves, in SAP most of the transaction data field values are actually either a Master data (like Material no. in above example) or Configuration data (like Plant, S.Loc, UoM, Stock type etc in the above example). So the scope of of compression is very high since these Master data and Config data are very few in nos when compared to transaction data. This is the reason the "Data Foot Print" is less in S/4HANA, when compared to ECC. So when you migrate from ECC to S/4HANA you would require much lesser disk space.&nbsp;</P><P><STRONG>Final piece - How the queries are blazing fast:&nbsp;</STRONG></P><P>It took us sometime to understand how the&nbsp;Columnar Data Storage works, but I hope its worth it. Next comes Querying. Faster Querying is the other big advantage, rather the USP of Columnar Data Storage . Lets see with an example. Lets get back to our functional requirement of "sum up all the Amount values of consignment items" and see how the&nbsp;Columnar Data Storage method fares here.&nbsp;&nbsp;</P><P>Fig 7:&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desigan_duraisamy_0-1708020274236.png" style="width: 522px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/66130i7000324A067871EA/image-dimensions/522x169?v=v2" width="522" height="169" role="button" title="desigan_duraisamy_0-1708020274236.png" alt="desigan_duraisamy_0-1708020274236.png" /></span></P><P>Here the system directly goes to Block 8 where the special stocks there and checks for “K” and the Row nos tagged to K. It then goes to Block 12 and sums up all the “Amount” values tagged with those Row nos. Compare this with Fig 7 with Fig 3 <EM>(Row Based)</EM> where there were multiple read of Blocks from the DB which is very expensive from a performance stand point. Finally it made sense to me how a 6 hour query in SAP ECC could get executed in less than 10 sec in S/4HANA.&nbsp;</P><P><STRONG>The not so good about&nbsp;Columnar Data Storage:</STRONG></P><P>1. As you can see Write/new record inserts are not as good. While in a Row Data Storage a new record insert (like a new Material document creation) is much simpler and has to go and get updated in the next available Block in the DB, in&nbsp;Columnar Data Storage various field values have to get distributed across multiple Blocks. SAP HANA manages this through techniques like Delta Merge (refer:&nbsp;<A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/bd9ac728bb57101482b2ebfe243dcd7a.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/bd9ac728bb57101482b2ebfe243dcd7a.html</A>)&nbsp;</P><P>2. Thoughtful Querying required. Lets say when we write a statement like Select * (means all field values) data When Stock type = K, this will try to pull all the field values, and remember these field values are spread across multiple blocks so there would be too many DB reads which will slow down the system again. We have seen real life cases where some bad queries would make S/4HANA much slower than ECC.&nbsp; &nbsp; &nbsp;&nbsp;</P><P><STRONG>Conclusion:</STRONG></P><P>I hope this Blog provided you with a glimpse of what's under the hood for&nbsp;Columnar Data Storage. As most Organizations are moving from ECC to S/4HANA, I feel it is all the more crucial now to understand these intricacies to implement and run the business.&nbsp;</P><P><SPAN>Please share, Like and Comment anything else you want to share or add points.</SPAN></P><P>&nbsp;</P> 2024-02-16T08:29:30.650000+01:00 https://community.sap.com/t5/supply-chain-management-blogs-by-members/adding-a-standard-field-custom-field-to-the-standard-sd-migration-cockpit/ba-p/13620646 Adding a Standard field/ custom field to the standard SD Migration cockpit templates. 2024-02-27T18:29:23.747000+01:00 pradeepkumar_k https://community.sap.com/t5/user/viewprofilepage/user-id/888317 <P>In this blog, we will discuss the step-by-step process to add a Standard field/ custom field to the standard SD Migration cockpit templates. &nbsp;</P><P>Eg: While uploading the Open Sales orders Header currency field won’t be there, so to change the currency we can add the currency field to the template and upload. Along with the Currency field, we will add the below fields as well.</P><OL><LI>Header Data – Shipping type, Currency Key, Your reference.</LI><LI>Item Data - Sales Unit, Item Number of the Underlying PO, Storage Location</LI></OL><P>Procedure:</P><OL><LI>Create a Project (Migrate using Staging Tables) to upload Sales orders.</LI></OL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_7-1709028710691.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71776i82E915B2E59A997D/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_7-1709028710691.png" alt="pradeepkumar_k_7-1709028710691.png" /></span>&nbsp;</P><OL><LI>Input Project Name. Search and Select the Migration object SO- Sales order (Only open SO) to upload Sales orders and Save.</LI></OL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_8-1709028731315.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71777iFCF9D6546034C712/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_8-1709028731315.png" alt="pradeepkumar_k_8-1709028731315.png" /></span>&nbsp;</P><P>2.Goto LTMOM tcode, Select the project created and go to edit mode.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_9-1709028785773.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71778iEA298F10FD5856B4/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_9-1709028785773.png" alt="pradeepkumar_k_9-1709028785773.png" /></span></P><P>3. Select Source Structures and select Header data on the right screen. Click on highlighted Add Field to add the custom fields in the template.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_10-1709028803624.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71779i4F311C9862D11E6A/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_10-1709028803624.png" alt="pradeepkumar_k_10-1709028803624.png" /></span></P><P>4.Add the required fields like shown below.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_11-1709028823310.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71780iF532B7B822662F49/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_11-1709028823310.png" alt="pradeepkumar_k_11-1709028823310.png" /></span></P><P>5. Similarly, add other fields to corresponding source structures.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_12-1709028842543.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71781i4F4FC0830C88655F/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_12-1709028842543.png" alt="pradeepkumar_k_12-1709028842543.png" /></span></P><P>6.Once all the required fields are added, the field mapping is to be performed (The added fields are to be linked to the corresponding target structure fields (FM field)). Goto Field Mapping and on the right side the Target structures will be displayed. Drag the added field from the source structure and map the same to the corresponding field in Target Structure. Follow the same process and link all the added fields.</P><P><STRONG>Note: All the fields which we are adding should be available in the source structure. &nbsp;</STRONG></P><DIV class="">&nbsp;</DIV><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_13-1709028859768.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71783iFF96AB3F3F6D7E6C/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_13-1709028859768.png" alt="pradeepkumar_k_13-1709028859768.png" /></span></P><P>&nbsp;</P><P>Author&nbsp;</P><P>M Tharun Kumar</P><P>&nbsp;</P> 2024-02-27T18:29:23.747000+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/sap-erp-functionality-for-edi-processing-material-determination-for-inbound/ba-p/13626321 SAP ERP Functionality for EDI Processing: Material Determination for Inbound Orders 2024-03-06T08:54:28.061000+01:00 M_Kalyabin https://community.sap.com/t5/user/viewprofilepage/user-id/151459 <P><SPAN>Creating Sales orders based on EDIFACT ORDERS or X12 850 messages is considered a usual task for SAP SD implementation and support. However, both the SAP and EDI worlds are quite broad and varied, and there are plenty of requirements at the intersection of these worlds, as well as numerous options to meet them. Working as an SD consultant since 2013 and focusing on EDI tasks, I have encountered and implemented various techniques and am now eager to share my knowledge, based on my experience in Consumer Products and Wholesale Distribution areas. I aim to provide a comprehensive view of typical requirements and SAP-standard options, including benefits and drawbacks.</SPAN></P><P><SPAN>In this post, I want to explore one topic: how to determine the SAP material number based on customer order data during the creation of a sales order.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_0-1712691857154.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94158iED140C1E16E25F2F/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_0-1712691857154.png" alt="M_Kalyabin_0-1712691857154.png" /></span></P><P>The material number is essential information for creating a sales order, and during manual processing, a user can determine a number and enter it in the proper field. However, it's not as straightforward for automated sales order creation based on an EDI message. In most cases, customers do not know our material numbers. Let's see what they usually use (and the order will become clear later):</P><UL><LI><STRONG>Customer material number</STRONG><SPAN>&nbsp;</SPAN>(CMIR) - every customer has their own ERP system and therefore their own material number, as well as any other coding created by the customer.</LI><LI><STRONG>Vendor material number</STRONG><SPAN>&nbsp;</SPAN>- a customer may consider placing this number on the order. However, it might be related to some outdated, incorrect, or reference material.</LI><LI><STRONG>EAN/UPC</STRONG><SPAN>&nbsp;</SPAN>- a barcode and a number used internationally for marking products.</LI></UL><P><EM>The European Article Number (also known as International Article Number or EAN) is a standard numbering system used in global trade to identify a specific retail product type, in a specific packaging configuration, from a specific manufacturer. The most widely used variant is EAN-13 (13 digits, the last digit is the check digit). The Universal Product Code (UPC) is a standard numbering system mostly used in the USA and related markets. UPC (UPC-A) consists of 12 digits that are uniquely assigned to each trade item. The last digit is the check digit. With the addition of a leading 0, UPC is compatible with EAN.</EM></P><P>I can distinguish two approaches depending on industry and company types: Contracts and Catalogues.</P><UL><LI><P><STRONG>Contract</STRONG><SPAN>&nbsp;</SPAN>means a predefined ordering scope: customer and vendor approve a list of saleable items with identifiers for ordering. The most common way in this case is CMIR, mapping for a certain customer according to the contract. Also, Vendor numbers or EAN might be used, sometimes as additional information. This approach is preferred for FMCG and some DIY markets, for customers with a complicated listing procedure.</P></LI><LI><P><STRONG>Catalogue</STRONG><SPAN>&nbsp;</SPAN>means a more flexible approach: the vendor publishes a product catalogue with identifiers, and customers send orders using identifiers from the catalogue. Therefore, CMIR is not applicable here, and vendor internal or catalogue numbers or EAN/UPC are used in such cases. This approach is preferable for Trading platforms, Construction as well as some DIY and FMCG working with SMB Retail.</P></LI></UL><P><EM>A challenge that must be considered for EAN/UPC numbers: while this number clearly identifies a trading item for the customer, it might be related to several material numbers on the vendor side. E.g., a different SAP number might be used for items packed in 6 or in 12; with regular and seasonal label design; with some promotional co-packed free item or produced in different plants, however, the EAN will be the same, so a special selection/substitution technique must be anticipated.</EM></P><P>Let's imagine that our customer ordes an item with EAN 8427324815226, customer number ACME-1521 and vendor number 1521 and includes all this data to the message. Depending on EDI standard it might look like following:</P><P>EDIFACT ORDERS</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_1-1712691857149.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94157i16025B4E331AF9B2/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_1-1712691857149.png" alt="M_Kalyabin_1-1712691857149.png" /></span></P><P>&nbsp;</P><P>X12 850&nbsp;Purchase Order&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_2-1712691857133.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94156i9283280C23AEFB90/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_2-1712691857133.png" alt="M_Kalyabin_2-1712691857133.png" /></span></P><P>&nbsp;</P><P>an EDI-provider XML&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1712691857159.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94159i1DB17C970D5330A7/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1712691857159.png" alt="M_Kalyabin_3-1712691857159.png" /></span></P><P><SPAN>EDI interchange using the IDOC-based approach is still widely spread in the SAP world, even during the transition to new S/4 systems. SAP standard IDOC processing provides very useful ready-made solutions. There is a segment, E1EDP19 Document Item Object Identification, dedicated to material determination and qualifiers for identifiers in question:</SPAN></P><UL><LI>001 Material number used by customer</LI><LI>002 Material number used by vendor</LI><LI>003 International Article Number(EAN)</LI></UL><P>&nbsp;As result all three examples above are mapped in the same IDOC data as following:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1709500925714.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/74748i39FFB41B016DC724/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1709500925714.png" alt="M_Kalyabin_3-1709500925714.png" /></span></P><P><SPAN>If the SAP standard FM IDOC_INPUT_ORDERS is assigned for processing inbound orders, the sequence of determination steps will be as follows:</SPAN></P><OL><LI>SAP material number, Qualf = 002.&nbsp;If the value is wrong, IDOC fails regardles of other qualifiers</LI><LI>CMIR, Qualf = 001.&nbsp;If the value is wrong, the system tries EAN or fails if EAN isn’t provided</LI><LI>EAN, Qualf = 003.&nbsp;If the value is wrong, the IDOC fails</LI></OL><P>Let's examine this logic in more detail. The FM IDOC_INPUT_ORDERS processes IDOC data into a structure and then creates a sales order through batch processing. As a result, order creation is almost the same as manual entry. Based on this, it's easier to understand the opportunities and limitations of the processing.</P><P>First of all, the vendor number is considered. If the value with qualifier 002 exists in the message, the system tries to use this value for the Material field of the sales order. The value will be accepted in two cases: if it's a correct SAP material number or if a material substitution record is created for this value (t-codes VB11, VB12, VB13) and a correct SAP material is provided by the substitution. However, if a correct SAP number is not determined, sales order creation fails regardless of other material information in the IDOC.</P><P>At first glance, it looks great for the vendor that a customer sends an SAP number. However, it's my least favorite option, especially if the vendor doesn't use substitution. First of all, the existence of a vendor number blocks the use of CMIR, along with its flexibility and transparency. Moreover, a customer might send a wrong or outdated number, causing the IDOC to fail even if other material identifiers are correct. Additionally, a customer might use a catalog vendor number that corresponds to several SAP numbers on the vendor side. On top of that, it's a headache during the go-live of a new ERP. Coordinating the replacement of outdated vendor numbers with new ones is quite challenging, especially if new materials have been created a couple of weeks before go-live. To sum up, using vendor material numbers is the simplest but not flexible enough approach. To mitigate these drawbacks, I usually use the following methods:</P><UL><LI>Be prepared to use VB12 for error handling and understand the limitations for CMIR usage.</LI><LI>If the CMIR technique is the preferred approach, but some customers provide only the vendor number, it may be reasonable to map the vendor number to the CMIR segment and process it as CMIR.</LI><LI>If we have reliable CMIR or EAN, it may be reasonable to exclude the vendor number from the logic by changing the IDOC mapping. Vendor material might be stored in the sales text or as E1EDP19 with a custom qualifier to bypass the standard step.</LI><LI>Custom extension of IDOC processing to adjust system logic (though I consider this a last resort).</LI></UL><P>If the vendor number is not provided (fortunately, as you now understand), the next step is CMIR determination.</P><P>SAP standard CMIR determination is based on customer-material info record functionality (transaction codes VD51, VD52, VD53). In the manual sales order creation process, a user may fill in the customer material field, and the material field will be populated if a relevant record exists. Similarly, during IDOC processing, the customer material field is populated by the value from the E1EDP19 Qualf = 001 segment, and then the material might be determined. If no CMIR record is found, IDOC processing moves to the next step, EAN-based determination, which is a flexible and reliable approach.</P><P>Also, you can gain additional flexibility by combining the CMIR technique (VD52) with Material Substitution (VB12). Technically, CMIR replaces the customer material number with the so-called "material entered," which is subject to replacement by Material Substitution. So, just remember the correct sequence: VD51 is the first step, followed by VB12.</P><P>The CMIR technique is simple, clear, and robust, directly meeting widely spread customer requirements. However, it entails some trade-offs and limitations.</P><P>The main trade-off of this approach is the effort required for the maintenance of customer-material info records. However, this might also be an advantage if it reflects contractual conditions and provides the required control of ordered materials.</P><P>Another limitation is that validity dates functionality is not provided for CMIR. It's not possible to change material mapping in advance or use different mappings at the same time for different delivery dates. A partial solution to this limitation is combining CMIR with Material Substitution, which supports validity dates. It's possible to keep CMIR unchanged and add date-dependent logic to VB12.</P><P>Also, Unit of Measure (UoM) determination isn't supported by CMIR. If a customer sends orders with definite UoMs, it's not an issue, but sometimes more flexible logic is required. In any case, UoM determination is a pretty interesting topic and is worth a separate post.</P><P>If Vendor material and Customer material haven't been provided, or if CMIR hasn't been recognized, the third step is applied: EAN-based determination. This step is fairly simple; a value from segment E1EDP19 Qualf = 003 is used as entered material, and the related SAP material might be determined if a Material Substitution record (VB12) exists. Or if the EAN equals the SAP material number, but it's supposed that nobody uses EANs as system material numbers. The most important thing to know is that there is no connection with the Material Master. EANs are usually maintained in a related field of material master records, assigned to certain UoMs. But standard IDOC Orders processing doesn't use this information; only Material Substitution records are considered. There are two important consequences of this. Firstly, extra effort is needed to maintain and keep&nbsp; consistent EANs for order processing and master data EANs. And a more distant consequence is related to outbound messages, like ORDRSP (X12 85), DESADV (X12 856), and INVOIC (X12 810). While Order creation ignores material master data, outbound messages use EAN from the material master only. It may cause an issue if a customer needs the same EAN in ORDERS and in outbound messages.</P><P><SPAN>Let me provide you with some examples to clarify the description provided above. These examples are individual steps, and you can imagine how they work in combination, as previously described</SPAN></P><P><SPAN>1. Customer material info record</SPAN></P><P>Item 10: E1EDP19 QUALF = 001, IDTNR = ACME-1521&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_2-1709568716372.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75199i421A024E96D9581A/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_2-1709568716372.png" alt="M_Kalyabin_2-1709568716372.png" /></span></P><P>Customer-material info record exists,&nbsp;ACME-1521 is mapped to material number 1521 (VD52):</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_8-1709569008514.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75207iE3B36AF60DA074A3/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_8-1709569008514.png" alt="M_Kalyabin_8-1709569008514.png" /></span></P><P>In this case, material 1521 will be used for order creation.</P><P><SPAN>2. Customer material info record + Material substitution</SPAN></P><P>Item 20: E1EDP19 QUALF = 001, IDTNR = ACME-1531</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1709568762461.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75200i98702FA719DBCB26/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1709568762461.png" alt="M_Kalyabin_3-1709568762461.png" /></span></P><P>Customer-material info record exists,&nbsp;ACME-1531 is mapped to material number 1531 (VD52):</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_9-1709569029319.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75208i4C20B0BB07615A42/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_9-1709569029319.png" alt="M_Kalyabin_9-1709569029319.png" /></span></P><P>Also material substitution record exists and is valid for the delivery date (VB12): 1531 -&gt; 1561</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_10-1709569173630.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75209i4F5C2E81ECB3F40E/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_10-1709569173630.png" alt="M_Kalyabin_10-1709569173630.png" /></span></P><P>In this case, material 1561 will be used for order creation.</P><P><SPAN>3. Vendor material number</SPAN></P><P>Item 30: E1EDP19 QUALF = 002, IDTNR = 1521</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_4-1709568800382.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75201iBFF3AED6F7B5EF8B/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_4-1709568800382.png" alt="M_Kalyabin_4-1709568800382.png" /></span></P><P>In this case, material 1521 will be directly used for order creation.&nbsp;</P><P><SPAN>4. Reference vendor material number</SPAN></P><P>Item 40: E1EDP19 QUALF = 002, IDTNR = 1500-000</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_5-1709568837945.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75202iF992463682D1FC64/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_5-1709568837945.png" alt="M_Kalyabin_5-1709568837945.png" /></span></P><P>Material substitution record exists and is valid for the delivery date (VB12): 15000-000 -&gt; 1521</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_11-1709569228732.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75210i8B5EDCFF56B7299F/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_11-1709569228732.png" alt="M_Kalyabin_11-1709569228732.png" /></span></P><P>In this case, material 1521 will be used for order creation.</P><P><SPAN>5. EAN-based determination</SPAN></P><P>Item 50: E1EDP19 QUALF = 003, IDTNR = 8427324815219</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_6-1709568866661.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75203iD1D8BB5550D5C5B1/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_6-1709568866661.png" alt="M_Kalyabin_6-1709568866661.png" /></span></P><P>Material substitution record exists and is valid for the delivery date (VB12): 8427324815219 -&gt; 1521</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_12-1709569395038.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/75214iD73C43621E1C4FCA/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_12-1709569395038.png" alt="M_Kalyabin_12-1709569395038.png" /></span></P><P>In this case, material 1521 will be used for order creation.</P><P>In conclusion, I believe that consultants need a deep understanding of the outcomes and trade-offs of standard techniques. This often helps to meet customer requirements without any development or to reveal complicated scenarios at the early stage of a project.</P><P>I hope you find this material informative. Please share your comments and any other interesting techniques in the EDI area.</P><H2 id="toc-hId-988026106"><SPAN>Acknowledgements and System Overview</SPAN></H2><P><SPAN>Thanks to my colleagues at Capgemini and others who explored this topic with me across numerous projects. Also, thanks to Capgemini for providing me with a sandbox system, which was S4HANA ON PREMISE Release 2022 SP 01 (02/2023) FPS, SAP S/4HANA 2022.</SPAN></P><P><SPAN>&nbsp;</SPAN></P><P><SPAN>&nbsp;</SPAN></P><P>&nbsp;</P> 2024-03-06T08:54:28.061000+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/top-10-1-productivity-boosting-features-that-excite-the-business-users-of/ba-p/13631873 Top 10+1 productivity boosting features that excite the business users of SAP S/4 Hana Sales 2024-03-08T03:01:55.376000+01:00 prashant1021 https://community.sap.com/t5/user/viewprofilepage/user-id/477098 <P><STRONG>What this post is about?</STRONG></P><P>Nothing excites the time-crunched business users more than a productivity hack that has the potential and power to make their lives simple &amp; easy by saving them some time and effort. Knowing these features also gives them edge over others as it boosts their performance. Who doesn’t like a performance boost after all!</P><P>Having worked with a wide variety of sales business users, I have compiled the below 10+1 features of SAP S/4 Hana Sales, which I call the productivity boosters for business users. They have helped many business users outshine others and I am confident that these can help you as well. Some of these can be more obvious than others and their power is really manifested in practice.</P><P><STRONG>The Features!</STRONG></P><P>I have compiled these features in the form of a FAQ to make it more readable and intuitive.</P><P><STRONG>Q1:</STRONG>&nbsp;I need to create a new sales order with similar data as for an existing sales order. Can I create my new sales order from this existing sales order so that I don’t have to re-enter all the details again? What are the important things to know here?</P><P><STRONG>Ans:</STRONG> Well, it’s an absolute yes. You can create a brand-new sales order “with reference” to an existing sales order. When you create Sales Order “SO-0021” with reference to Sales Order “SO-0011”, the complete data from SO-0011 is copied over to SO-0021. Here are a few important things to know here:</P><UL><LI>A new sales order can also be created with reference to any of these documents – Enquiry, Quotation, Order, Contract, Scheduled Agreement, Billing Document.</LI><LI>It’s a best practice to create a sales order with reference to Billing Document for creating Return Orders</LI><LI>You can do "Copy" or "Item Selection" for creating the new order. Copy refers to copying all details from the source order. Item Selection allows us to choose the items and quantities into the new order from the source order.</LI><LI>Document flow is maintained for the reference orders.</LI><LI>Remember, while copying from one order to another, Customer Reference is NOT copied.</LI></UL><P><STRONG>Q2:</STRONG> I need to update Shipping Point for a bunch of line items in my sales order. Can I make updates on all or multiple line items in a sales order in one step? How? What other data can be updated?</P><P><STRONG>Ans:</STRONG> Yes, and more! You can make changes in one step for all or a set of line items in a sales order. Here is how it can be done:</P><UL><LI>Select the Items on which you want the change to apply.</LI><LI>Click on More -&gt; Edit -&gt; Fast Change of -&gt; Select here the parameter that want to change, shipping point in this case.</LI></UL><P>Here are some of the examples of the fields where this can be done:</P><UL><LI>Reason for Rejection</LI><LI>Delivery Block</LI><LI>Billing Block</LI><LI>Shipping Point</LI><LI>Delivery Date</LI><LI>Delivery Priority</LI><LI>Plant</LI><LI>Route</LI><LI>Cancellation Date</LI></UL><P><STRONG>Q3:</STRONG> I find myself toggling between screens looking into customer, material, and order details in separate screens while creating my sales order. Can I jump directly into Customer or Material record from within a Sales Order?</P><P><STRONG>Ans:</STRONG> Absolutely. Customer Master and Material Master are the two main building blocks of a sales order. And you can jump straight into these from within a sales order. Here is how:</P><UL><LI>Press F6 to jump straight into Customer Master Data</LI><LI>Press F8 to jump straight into Material Master Data</LI></UL><P>Quick, isn’t it?</P><P><STRONG>Q4:</STRONG> I have a bunch of sales orders and I need to update Plant field for all of them. Can I mass change a certain field in a bunch of sales order together?</P><P><STRONG>Ans:</STRONG> Yes. Transaction VA05 is the friend you need here. VA05 allows you to do a mass change on several orders together. It works for multiple fields like the ones below:</P><UL><LI>New Plant</LI><LI>New Material</LI><LI>New Price Determination</LI><LI>New Currency</LI><LI>Change Partner</LI></UL><P><STRONG>Q5:</STRONG> I created a sales order and I want it to be delivered as part of an existing delivery documents. Can I add my sales order into an existing delivery?</P><P><STRONG>Ans:</STRONG> Yes, that’s possible however, a new sales order can be added to a Delivery only if the Post Goods Issue is not yet done for the delivery.</P><P>Follow the path: Menu à Outbound Delivery à Deliver Sales Order</P><P><STRONG>Q6:</STRONG> I created a delivery and need to add a new line item into it. Can I add a new line item into a Delivery Document?</P><P><STRONG>Ans:</STRONG> Yes, that’s possible. This option can be particularly useful when adding packaging materials or material used during shipment in delivery as these materials may not be known in advance at the time of creating the sales order. What’s more, line items can also be deleted in the delivery. However, that’s not a best practice.</P><P><STRONG>Q7:</STRONG> I need to create an invoice out of a delivery however I want to pick a set of items and not all items on the delivery. Can I create an Invoice only for selected items of a delivery? How?</P><P><STRONG>Ans:</STRONG> Yes, use the button Select Lines for selecting the specific line items to be billed out of a delivery.</P><P><STRONG>Q8:</STRONG> Is it feasible to deliver or bill an order immediately? How?</P><P><STRONG>Ans:</STRONG> Yes. This is usually used in Credit/Debit memo processes. Here is how:</P><UL><LI>Immediate Delivery: Menu -&gt; Sales Document -&gt; Deliver</LI><LI>Immediate Billing: Menu -&gt; Sales Document -&gt; Billing</LI></UL><P><STRONG>Q9:</STRONG> For one of my delivery documents more than 1 billing docs have been generated which wasn’t expected. Can I run an analysis to understand why this split happened? How?</P><P><STRONG>Ans:</STRONG> Yes. This can be analyzed in VF02. Here is how:</P><UL><LI>Input one of the two billing docs</LI><LI>Go to Menu -&gt; Environment -&gt; Split Analysis</LI><LI>Enter the second invoice number and click continue.</LI></UL><P><STRONG>Q10:</STRONG> Can I also analyze a delivery split? How?</P><P><STRONG>Ans:</STRONG> Yes. Head to VL10A</P><UL><LI>Click on Collective Processing Logs</LI><LI>Analyze these logs for your delivery splits.</LI></UL><P><STRONG>Note:</STRONG> For the log to be saved, below two settings need to be maintained in advance:</P><UL><LI>User Parameter to be set. [Transaction SU03]</LI><LI>Field "Display Info" under Background Processing in Shipping Point Definition must be set/checked. [Transaction SPRO]</LI></UL><P><STRONG>Bonus Question:</STRONG> I need to verify the revenue account determined in my billing document. Can I analyze this? How?</P><P><STRONG>Ans:</STRONG> When you create a billing document, an accounting document is also created automatically based on the current accounting determination. Go to VF02, enter the billing document, and click on Account Determination to analyze this.</P><P>While these features are fairly simple, they are very powerful in practice and are really handy in day-to-day usage of the sales processes. And this is not all. There are many-many more useful and subtle features that can come into play while trying to improve the productivity of our business users. I will probably write a sequel to this post to capture a few more that I have known to be of much help to the business users. For now, I hope you enjoyed reading this post and that it enriched you in some way. I THANK YOU for your time to read this post and wish you the best!</P> 2024-03-08T03:01:55.376000+01:00 https://community.sap.com/t5/supply-chain-management-blogs-by-members/pod-amp-valuated-stock-in-transit-configuration/ba-p/13630839 POD & Valuated Stock in Transit Configuration 2024-03-08T13:43:37.939000+01:00 pradeepkumar_k https://community.sap.com/t5/user/viewprofilepage/user-id/888317 <P>The agenda of this blog is to enable the process of making the COGS (Cost of goods sold) hit at the later stage of delivery i.e once the stock is handed over to the customer.</P><P>&nbsp;</P><P>In order to execute this we are required to make use of concept called Valuated stock in transit where ‘Stock in transit’ refers to the goods that have left the physical plant, but the control of them isn’t transferred to the buyer at the same time. These goods are still in the control of the company that ships the goods and are still part of the valuated stock of that company.</P><P>&nbsp;</P><P>This process where the stock is been transferred to valuated stock in transit is then been used to hit COGS at the time of POD ( Proof of delivery ) by which invoicing can be carried out immediately right after the confirmation from customer on stock received where by invoicing and cogs can be made to hit right after each other.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_0-1709794683253.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/76992iDBB342C95296854A/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_0-1709794683253.png" alt="pradeepkumar_k_0-1709794683253.png" /></span></P><P>Change the movement type field in schedule line with ‘687’ from ‘601’ GM del to issue valuated stock in transit. This field helps in transferring the goods to valuated stock in transit instead of hitting the cogs.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_1-1709794712790.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/76993i945F582987996988/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_1-1709794712790.png" alt="pradeepkumar_k_1-1709794712790.png" /></span></P><P>Maintain Movement type issue valuated SiT with the movement type which hits COGS (601) so this accounting would be carried out at the time of POD.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_2-1709794734671.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/76994i82CA815F063B70D3/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_2-1709794734671.png" alt="pradeepkumar_k_2-1709794734671.png" /></span></P><P>While executing the transaction make sure you have activated the customer as POD relevant and maintained the necessary configuration for POD on item categories as well. When enabled POST GOODS ISSUE button at top would have been disabled at the time of creation of delivery where by we are required to go to change mode to post goods issue which creates an accounting document as mentioned below.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_3-1709794763044.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/76995i778C6DB773598FF4/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_3-1709794763044.png" alt="pradeepkumar_k_3-1709794763044.png" /></span></P><P>And after saving the POD document you can find the COGS been hit in following document which would have been created.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_4-1709794780941.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/76996iFE35C2BD27162A68/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_4-1709794780941.png" alt="pradeepkumar_k_4-1709794780941.png" /></span></P><P>And we can carry out invoicing as we do and document flow is given for reference.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkumar_k_5-1709794818393.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/76998i4A2E42FDCA333A71/image-size/medium?v=v2&amp;px=400" role="button" title="pradeepkumar_k_5-1709794818393.png" alt="pradeepkumar_k_5-1709794818393.png" /></span></P><P>&nbsp;</P> 2024-03-08T13:43:37.939000+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/mm-sd-schedule-agreement-integration/ba-p/13642468 MM-SD SCHEDULE AGREEMENT INTEGRATION 2024-03-19T10:30:40.073000+01:00 Mert_Atay https://community.sap.com/t5/user/viewprofilepage/user-id/1419475 <H1 id="toc-hId-860672357">MM-SD SCHEDULE AGREEMENT INTEGRATION</H1><P>A customer scheduling agreement is an outline agreement with the customer containing delivery quantities and dates. These are then entered as schedule lines in a delivery schedule. You can either create schedule lines when you create the scheduling agreement, or you can create them later.</P><P>You fulfill a scheduling agreement by creating the deliveries in the schedule as they become due. You process deliveries for a scheduling agreement in exactly the same way as you process a normal delivery. After you have completed the delivery, the system updates the&nbsp;<SPAN>Delivered</SPAN> <SPAN>quantity</SPAN>&nbsp;field in the scheduling agreement item with the delivery quantity.</P><P>In this blog, you can find EDI integration of purchasing and sales schedule agreements in the same or different system and the necessary adaptations to automate the process.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mert_Atay_1-1710920497889.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/83541iD56AFFB71596D9E9/image-size/medium?v=v2&amp;px=400" role="button" title="Mert_Atay_1-1710920497889.png" alt="Mert_Atay_1-1710920497889.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P><STRONG>Organization Information</STRONG></P><P>Receiver Company</P><UL><LI>Company Code: 1000</LI><LI>Purchase Organization: 1000</LI><LI>Supplier: 2000000000</LI><LI>Material Number: 10</LI></UL><P>Sales Company</P><UL><LI>Company Code: 1001</LI><LI>Sales Organization: ZPRO</LI><LI>Customer: 7000000001</LI><LI>Material Number: 9</LI></UL><H1 id="toc-hId-664158852">1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Customizing</H1><H2 id="toc-hId-596728066">1.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Define Unloading Point Partner Description is Plant</H2><P>The system determines relevant sold-to party number based on data in the delivery schedule sent in by customer with Electronic Data Interchange.</P><P>SPRO à Sales and Distribution à Sales à&nbsp; Sales Document à Sales Scheduling Agreements with Delivery Schedules à Control EDI Inbound Processing à Execute Sold-to Party Assignment for Release Orders</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.1..png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82839iB16B3671342F53F9/image-size/large?v=v2&amp;px=999" role="button" title="1.1..png" alt="1.1..png" /></span></P><P>&nbsp;</P><H2 id="toc-hId-400214561">1.2&nbsp; &nbsp; &nbsp; &nbsp;Define Special Features for Delivery Schedules</H2><P>You must define for each sold-to party or combination of sold-to party and unloading point how delivery schedules received through Electronic Data Interchange (EDI) are to be processed.</P><P><STRONG>Note</STRONG>: You must create a record for each sold-to party. The system checks this record for every incoming delivery schedule.</P><P>SPRO à Sales and Distribution à Sales à&nbsp; Sales Document à Sales Scheduling Agreements with Delivery Schedules à Control EDI Inbound Processing à Define Special Features for Delivery Schedules</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82840i59959C61F8B64829/image-size/large?v=v2&amp;px=999" role="button" title="1.2.png" alt="1.2.png" /></span></P><H2 id="toc-hId-203701056">1.3&nbsp; &nbsp; &nbsp; &nbsp;Assign Company Code</H2><P>For each&nbsp;<A href="https://saphtmlphtmlviewer.sap.com/SAPEVENT:DOCU_LINK/DS:GLOS.3526B578AFAB52B9E10000009B38F974" target="_blank" rel="noopener noreferrer">EDI</A>&nbsp;partner, you assign the company code (that contains the payable to be posted) to the name for the invoice recipient in the EDI invoice.</P><P>Financial Accounting à Accounts Receivable and Accounts Payable à Business Transactions à Incoming Invoices/Credit Memos à EDI à Assign Company Code for EDI Incoming Invoice</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.3.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82838i1AB032989846FBC1/image-size/large?v=v2&amp;px=999" role="button" title="1.3.png" alt="1.3.png" /></span></P><H2 id="toc-hId-7187551">1.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter Program Parameters</H2><P>For each EDI partner and invoice company code, you enter parameters for the content and the procedure, which determine how the EDI invoices are posted in the system.</P><P>Financial Accounting à Accounts Receivable and Accounts Payable à Business Transactions à Incoming Invoices/Credit Memos à EDIà Enter Program Parameters for EDI Incoming Invoice</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.4.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82841i87C6F0496535733F/image-size/large?v=v2&amp;px=999" role="button" title="1.4.png" alt="1.4.png" /></span></P><H2 id="toc-hId--189325954">1.5&nbsp; &nbsp; &nbsp; &nbsp;Assign Tax Codes</H2><P>For each&nbsp;<A href="https://saphtmlphtmlviewer.sap.com/SAPEVENT:DOCU_LINK/DS:GLOS.3526B578AFAB52B9E10000009B38F974" target="_blank" rel="noopener noreferrer">EDI</A>&nbsp;partner, you assign the&nbsp;<A href="https://saphtmlphtmlviewer.sap.com/SAPEVENT:DOCU_LINK/DS:GLOS.3526B84DAFAB52B9E10000009B38F974" target="_blank" rel="noopener noreferrer">tax code</A>&nbsp;defined in the SAP System to the tax type and the tax rate determined by that partner.</P><P>Financial Accountingà Accounts Receivable and Accounts Payable à Business Transactionsà Incoming Invoices/Credit Memos à EDIà Assign Tax Codes for EDI Procedures</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.5.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82842i0571A2EFAE08C463/image-size/large?v=v2&amp;px=999" role="button" title="1.5.png" alt="1.5.png" /></span></P><P>&nbsp;</P><H2 id="toc-hId--385839459">1.6&nbsp; &nbsp; &nbsp; &nbsp;EDI Configurations</H2><P>Transaction Code: WE20</P><H3 id="toc-hId--453270245">1.6.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Output Type LPET</H3><P>Outbound Configuration</P><P>Basic Type: DELFOR01</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.6.1.1.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82843i39A498D283D5DC9D/image-size/large?v=v2&amp;px=999" role="button" title="1.6.1.1.png" alt="1.6.1.1.png" /></span></P><P>Inbound Configuration</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.6.1.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82844i88F0E57B0F4C34D2/image-size/large?v=v2&amp;px=999" role="button" title="1.6.1.2.png" alt="1.6.1.2.png" /></span></P><H3 id="toc-hId--649783750">1.6.2&nbsp; &nbsp; &nbsp; Output Type LAVA</H3><P>Outbound Customizing</P><P>Basic Type: DESADV01</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.6.2.1.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82845i2B087ACD01CF5C21/image-size/large?v=v2&amp;px=999" role="button" title="1.6.2.1.png" alt="1.6.2.1.png" /></span></P><P>Inbound Customizing</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.6.2.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82846i59999421397336A1/image-size/large?v=v2&amp;px=999" role="button" title="1.6.2.2.png" alt="1.6.2.2.png" /></span></P><H3 id="toc-hId--921528624">1.6.3&nbsp; &nbsp; &nbsp; Output Type RD04</H3><P>Outbound Customizing</P><P>Basic Type: INVOIC01</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.6.3.1..png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82847iD7C2D671D540431E/image-size/large?v=v2&amp;px=999" role="button" title="1.6.3.1..png" alt="1.6.3.1..png" /></span></P><P>&nbsp;Inbound Customizing</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.6.3.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82848iB2CBFE9729854E86/image-size/large?v=v2&amp;px=999" role="button" title="1.6.3.2.png" alt="1.6.3.2.png" /></span></P><H1 id="toc-hId--531236115">2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Condition Records</H1><H2 id="toc-hId--1021152627">2.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create Customer-Material Info Record</H2><P>Transaction Code: VD51</P><P>Must 18 characters customer material number.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2.1.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82849i9B64DF6ED7D5EE47/image-size/large?v=v2&amp;px=999" role="button" title="2.1.png" alt="2.1.png" /></span></P><H2 id="toc-hId--1217666132">2.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create Output Condition Record for Purchase Schedule Agreement</H2><P>Transaction Code: MN10</P><P>Output Type: LPET</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2.2..png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82850i25164F11E77C9DC0/image-size/large?v=v2&amp;px=999" role="button" title="2.2..png" alt="2.2..png" /></span></P><H2 id="toc-hId--1414179637">2.3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create Output Condition Record for Outbound Delivery</H2><P>Transaction Code: VV21</P><P>Output Type: LAVA</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2.3.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82851i31FEB68D3CB8F334/image-size/large?v=v2&amp;px=999" role="button" title="2.3.png" alt="2.3.png" /></span></P><H2 id="toc-hId--1610693142">2.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create Output Condition Record for Billing Document</H2><P>Transaction Code: VV31</P><P>Output Type: RD04</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2.4.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82852iA79E3DCAAED8BE2D/image-size/large?v=v2&amp;px=999" role="button" title="2.4.png" alt="2.4.png" /></span></P><H2 id="toc-hId--1807206647">2.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Master Data</H2><P>Transaction Code: BP</P><P>You must enter Partner Description in step 1.1. purchase schedule agreement into Partner Description.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2.5.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82853iF5F7AE57EEFCBC80/image-size/large?v=v2&amp;px=999" role="button" title="2.5.png" alt="2.5.png" /></span></P><P><STRONG>Note:</STRONG> Must enter supplier number into <STRONG>Acct at cust.</STRONG> (KNVV-EIKTO) field.</P><H1 id="toc-hId--1710317145">3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Process Step</H1><H2 id="toc-hId-2094733639">3.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create Purchase Schedule Agreement</H2><P>Transaction Code: ME31L</P><P>Agreement Type: LP</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.1.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82854i6F6B06274FB680A8/image-size/large?v=v2&amp;px=999" role="button" title="3.1.png" alt="3.1.png" /></span></P><H2 id="toc-hId-1898220134">3.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create Sales Schedule Agreement</H2><P>Transaction Code: VA31</P><P>Agreement Type: LP</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82855i29514F65483FC798/image-size/large?v=v2&amp;px=999" role="button" title="3.2.png" alt="3.2.png" /></span></P><H2 id="toc-hId-1869890320">3.3&nbsp; &nbsp; &nbsp; &nbsp;Add new schedule line in Purchase Schedule Agreement</H2><P>Transaction Code: ME38</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.3.1.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82856iD3F633CC52B66BAA/image-size/large?v=v2&amp;px=999" role="button" title="3.3.1.png" alt="3.3.1.png" /></span></P><P>When add new schedule line, output which LPET is trigger automatically. After that IDOC which basic type is DELINS is created for output and input.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.3.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82857i13FAA53D8EBC125D/image-size/large?v=v2&amp;px=999" role="button" title="3.3.2.png" alt="3.3.2.png" /></span></P><P><STRONG>Note</STRONG>: The system checks M_VLPMA table for matching sales and purchase schedule agreement document.</P><P>After this step sales schedule agreement will be update automatically.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.3.4.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82859i3E9A911B44BC4568/image-size/large?v=v2&amp;px=999" role="button" title="3.3.4.png" alt="3.3.4.png" /></span></P><H2 id="toc-hId-1673376815">3.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create Outbound Delivery</H2><P>Transaction Code: VL01N</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.4.1.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82860i3F1C9AA0A214B8C5/image-size/large?v=v2&amp;px=999" role="button" title="3.4.1.png" alt="3.4.1.png" /></span></P><P>When delivery is posted goods issue, LAVA output triggered automatically.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.4.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82861iF65AF8155C7FDB9F/image-size/large?v=v2&amp;px=999" role="button" title="3.4.2.png" alt="3.4.2.png" /></span></P><P><SPAN>IDOC which is created automatically by the reference of outbound delivery, triggered inbound delivery in the system.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.4.3.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82862iF8D01C9079CF7243/image-size/large?v=v2&amp;px=999" role="button" title="3.4.3.png" alt="3.4.3.png" /></span></P><P>&nbsp;</P><H2 id="toc-hId-1476863310">3.5&nbsp; &nbsp; &nbsp; &nbsp;Create Billing Document</H2><P>Transaction Code: VF01</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.5.1.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82863i99A259B79DFB325E/image-size/large?v=v2&amp;px=999" role="button" title="3.5.1.png" alt="3.5.1.png" /></span></P><P>&nbsp;Finally, RD04 output is triggered automatically and MM invoice is created automatically screenshot is like below.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.5.2.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82864i59F748FB5817413E/image-size/large?v=v2&amp;px=999" role="button" title="3.5.2.png" alt="3.5.2.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.5.3.png" style="width: 907px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82865iDBF8FD69BB65EC31/image-size/large?v=v2&amp;px=999" role="button" title="3.5.3.png" alt="3.5.3.png" /></span></P><P>&nbsp;</P> 2024-03-19T10:30:40.073000+01:00 https://community.sap.com/t5/technology-blogs-by-members/backorder-processing-in-aatp-sap-s4-hana/ba-p/13642137 Backorder Processing in aATP - SAP S4 HANA 2024-03-21T15:17:09.837000+01:00 nipunr https://community.sap.com/t5/user/viewprofilepage/user-id/1394405 <P>Backorder Processing (BOP) involves the bulk handling of orders in batch mode, wherein adjustments to order confirmations are made to align with business priorities and respond to shifts in the demand/supply dynamics within your order fulfillment process.</P><P>In the context of aATP BOP, a novel notion of requirement classification is introduced, enabling the confirmation of orders based on predefined criteria. This system comprises five classifications (win, gain, redistribute, fill, and lose), each equipped with a distinct rule governing the prioritization of order confirmations. For instance, the winner and the gainer hold the utmost priorities and retain their confirmed quantities without any reduction, while the loser consistently forfeits all confirmed quantities to any other classification.</P><P>Let’s go through the each BOP segment to get a thorough understanding.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_0-1710816993497.png" style="width: 718px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82648iE7276E8E07672208/image-dimensions/718x399?v=v2" width="718" height="399" role="button" title="NipunRanasinghe_0-1710816993497.png" alt="NipunRanasinghe_0-1710816993497.png" /></span><EM>Different BOP segments and behavior</EM></P><P><EM>---------------------------------------------------------------------------------------------------------------------------------------------</EM></P><P>Example Scenario:</P><P><STRONG><EM>Assumption: The “Scope of check” only considers the on hand stock. Not future stocks.</EM></STRONG></P><P>Organization ABC is receiving some purchase order from different customers and they raise sales orders in the below sequence.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_1-1710817106991.png" style="width: 693px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82649i6AD151FBABD60B90/image-dimensions/693x439?v=v2" width="693" height="439" role="button" title="NipunRanasinghe_1-1710817106991.png" alt="NipunRanasinghe_1-1710817106991.png" /></span></P><P><EM>Sales Order creation sequence in the model scenario</EM></P><P>&nbsp;</P><P>In accordance with the aforementioned illustration, organization ABC is generating multiple sales orders for its clientele. The first order pertains to a customer with a delivery priority of 3, who is not classified as one of the premier clients of organization ABC.</P><P>The second order is attributed to a customer of neutral standing, characterized as a regular and recurrent purchaser. At the point of initiating the sales order, the available on-hand stock is documented at 4000 pieces, considering that 8000 pieces have already been confirmed for the preceding order out of the total inventory of 12000 pieces. Additionally, the complete requisition cannot be confirmed due to the specified quantity for order 2 amounting to 6000 pieces.</P><P>Concluding the sequence, the third sales order is allocated to a premium customer. Upon commencement of the sales order, the on-hand stock will be depleted to zero. This is where the back-order processing functionality within aATP comes into play. Subsequently, an examination of how BOP navigates and manages the aforementioned situation shall be conducted.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nipunr_0-1710822477544.gif" style="width: 747px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82664iC961A7AC8D488357/image-dimensions/747x420?v=v2" width="747" height="420" role="button" title="nipunr_0-1710822477544.gif" alt="nipunr_0-1710822477544.gif" /></span></P><P><EM>BOP variant simulation result for the model&nbsp;</EM><I>scenario.</I></P><P>&nbsp;</P><P>As depicted above, the BOP (Back Order Processing) variant initiates the process by revoking the entire confirmation attributed to customer 01. This action is prompted by the customer's adherence to the LOSE strategy, allowing the unconfirmed quantity to become available for utilization by the WIN, GAIN, and REDISTRIBUTE strategies. In this specific business scenario, customer 03 aligns with the WIN strategy. Consequently, the unconfirmed quantity originally associated with customer 01 is reallocated to customer 03.</P><P>Nevertheless, achieving full confirmation for customer 03 remains unattainable, given their requirement of 9000 pieces. The deficit of 1000 pieces can be offset by sourcing from customer 02, characterized by a delivery priority of 02 and an inclination towards the REDISTRIBUTE strategy.</P><P>The critical aspect lies in discerning the disparity between LOSE and REDISTRIBUTE strategies within this context. Following the complete un-confirmation of the prior commitment to customer 01, a shortfall of 1000 pieces persists for the fulfillment of customer 03's requirement. This shortfall is addressed through a partial confirmation extended to customer 02.</P><P>This elucidates how BOP adeptly manages and automates the resolution of issues arising from incongruities between requirements and demands, a process that traditionally necessitated human intervention.</P><P>In order to simplify the understanding process, i have simulated the same business scenario in my system environment and below is the BOP variant simulation result that could observe.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_3-1710817298875.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82651i9C8FA9DB20C267E7/image-size/large?v=v2&amp;px=999" role="button" title="NipunRanasinghe_3-1710817298875.png" alt="NipunRanasinghe_3-1710817298875.png" /></span></P><P><EM>WIN</EM></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_4-1710817338837.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82652iF5E21F363F926C1E/image-size/large?v=v2&amp;px=999" role="button" title="NipunRanasinghe_4-1710817338837.png" alt="NipunRanasinghe_4-1710817338837.png" /></span></P><P><EM>REDISTRIBUTE</EM></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_5-1710817377003.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82653i7309199D560087A1/image-size/large?v=v2&amp;px=999" role="button" title="NipunRanasinghe_5-1710817377003.png" alt="NipunRanasinghe_5-1710817377003.png" /></span></P><DIV class="">&nbsp;</DIV><P><EM>LOSE</EM></P><P>&nbsp;</P><P><EM>---------------------------------------------------------------------------------------------------------------------------------------------</EM></P><P>In SAP S/4HANA, the Enhanced Available-to-Promise (aATP) feature provides a range of SAP Fiori applications designed for the automated handling of backorders and the manual authorization of orders for delivery. These applications cater to various business document types, including sales orders and stock transport orders.</P><P>Each of the subsequent applications enables you to set up a particular step before initiating backorder processing or to oversee the outcomes of a concluded backorder processing operation:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_7-1710817468393.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82656i7AD8E04F3A1BCC95/image-size/medium?v=v2&amp;px=400" role="button" title="NipunRanasinghe_7-1710817468393.png" alt="NipunRanasinghe_7-1710817468393.png" /></span></P><P>&nbsp;</P><P><EM>Configure BOP Segment</EM></P><P>This application allows you to establish a set of criteria for selecting priorities in distributing supplies when the demand for materials in sales and stock transport orders surpasses the existing inventory or capacity. Through the utilization of selection and exclusion conditions, along with prioritizes, you can automate the rescheduling and redistribution processes in alignment with your company's strategy. Following this, the Configure BOP Variant application can be employed to create a variant, facilitating the direct execution of the corresponding backorder processing run within the app or through the Schedule BOP Run application. Access to this app is contingent upon the assignment of the Order Fulfillment Manager (R0226) business role to your user account.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_8-1710817468388.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82655iF818E599E5CA7803/image-size/medium?v=v2&amp;px=400" role="button" title="NipunRanasinghe_8-1710817468388.png" alt="NipunRanasinghe_8-1710817468388.png" /></span></P><P>&nbsp;</P><P><EM>Configure Bop Variant</EM></P><P>Utilizing this application, you have the capability to establish a variant for backorder processing (BOP), incorporating optional filters and prioritizers. This allows for the automated rescheduling and redistribution of materials in restricted supply. The outcomes of successive backorder processing runs can be viewed in the Monitor BOP Run application.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_9-1710817468389.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82657i4731C75BDCD348ED/image-size/medium?v=v2&amp;px=400" role="button" title="NipunRanasinghe_9-1710817468389.png" alt="NipunRanasinghe_9-1710817468389.png" /></span></P><P>&nbsp;</P><P><EM>Configure Custom BOP Sorting</EM></P><P>Using this application, you have the capability to generate sequences for prioritizing requirements originating from sales and stock transport documents based on attributes that are not amenable to straightforward alphanumeric sorting, such as customer or sold-to party. In this process, you establish a logical framework for prioritizing requirements, which is subsequently applied in the Configure BOP Segment application and in subsequent backorder processing runs initiated from either the Configure BOP Variant or Schedule BOP Run applications.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NipunRanasinghe_10-1710817468391.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/82658i01F40A9EA754745E/image-size/medium?v=v2&amp;px=400" role="button" title="NipunRanasinghe_10-1710817468391.png" alt="NipunRanasinghe_10-1710817468391.png" /></span></P><P>&nbsp;</P><P><EM>Schedule BOP Run &amp; Monitor BOP Run</EM></P><P>&nbsp;</P><P>Using these applications, you can set up and timetable tasks to execute backorder processing (BOP) runs. This involves specifying the technical parameters governing the selection criteria, operational characteristics of the run, and, if necessary, simulative and recurring runs, as well as subsequent update processes and logging. The outcomes of any scheduled run through this app can be monitored in the Monitor BOP Run application.</P><P>This concludes this article and the main object of writing this to give you all a high level understanding of Backorder Processing in aATP, SAP S4 HANA. Please do share all your insights.</P><P>In the next article, i will be discussing on complete E2E configuration steps for BOP in aATP. Thanks in advance for the time that you spent to read this article.</P> 2024-03-21T15:17:09.837000+01:00 https://community.sap.com/t5/product-lifecycle-management-blogs-by-members/why-missing-milestone-button/ba-p/13650106 Why missing milestone button 2024-03-26T15:48:49.905000+01:00 JoneZL https://community.sap.com/t5/user/viewprofilepage/user-id/61292 <P>As you can see that I missing the milestone button, could you help me check, thanks.</P><P>I can't find in my screen (missing milestone button) like bottom.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoneZL_0-1711464461828.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/86793i0764B99A04722FBD/image-size/medium?v=v2&amp;px=400" role="button" title="JoneZL_0-1711464461828.png" alt="JoneZL_0-1711464461828.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoneZL_1-1711464479742.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/86794i4FDDF2BF0EB2CEF9/image-size/medium?v=v2&amp;px=400" role="button" title="JoneZL_1-1711464479742.png" alt="JoneZL_1-1711464479742.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P> 2024-03-26T15:48:49.905000+01:00 https://community.sap.com/t5/supply-chain-management-blogs-by-members/lsp-scenario-in-transportation-freight-settlement-forwarding-settlement/ba-p/13656628 LSP Scenario in Transportation: Freight Settlement / Forwarding Settlement Document Posting errors 2024-04-03T10:47:20.608000+02:00 amar_medavarapu https://community.sap.com/t5/user/viewprofilepage/user-id/795172 <P>Some of the errors found during the setup &amp; respective solutions:</P><P>1. Cannot apply distribution level; cannot distribute costs</P><UL class="lia-list-style-type-circle"><LI>Forwarding order is completely independent and does not refer to an order-based transportation requirement (OTR) or delivery-based transportation requirement (DTR). hen you calculate charges, the system cannot distribute costs because there are no order or delivery items in the freight order.</LI></UL><UL><LI>Uncheck the “enable cost determination” in the FSD type(see image below).</LI></UL><P>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amar_medavarapu_0-1712111452499.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90178i0BED41CDA81640D5/image-size/medium?v=v2&amp;px=400" role="button" title="amar_medavarapu_0-1712111452499.png" alt="amar_medavarapu_0-1712111452499.png" /></span></P><UL><LI>Change the “distribution level” setting to “Forwarding Order” in the SPRO&gt;Define Cost Distribution profiles</LI></UL><P>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amar_medavarapu_1-1712111452506.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90180iE4462F209CBF7D2F/image-size/medium?v=v2&amp;px=400" role="button" title="amar_medavarapu_1-1712111452506.png" alt="amar_medavarapu_1-1712111452506.png" /></span></P><P>2. Agreement not found for organizational unit TM_SORG1 and party 17186002</P><UL class="lia-list-style-type-circle"><LI>Make sure Soldto/Shipto Party is extended to the TM SalesArea in the BP transaction.</LI></UL><P>3. Accruals posting failed as posting period is closed</P><UL class="lia-list-style-type-circle"><LI>Check &amp; close posting periods using MMPV &amp; MMRV</LI></UL><P>4. Unable to determine tax country for the billing document in SAP TM</P><P>&nbsp;</P><UL class="lia-list-style-type-circle"><LI>Maintain the country in the shipto/soldto address.</LI></UL><P>5. Sales area is not defined error</P><P>&nbsp;</P><UL class="lia-list-style-type-circle"><LI>Maintain the default distribution channel &amp; division in the SPRO&gt; “Define General Settings for TM “</LI></UL><P>6. ‘Billing document creation failed’ during FWSD posting.</P><P>&nbsp;</P><UL class="lia-list-style-type-circle"><LI>Under VOFM, use the appropriate copy routines in the copying requirements.</LI></UL><P>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amar_medavarapu_2-1712111452511.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90179i7CD9DE7BB885B1EA/image-size/medium?v=v2&amp;px=400" role="button" title="amar_medavarapu_2-1712111452511.png" alt="amar_medavarapu_2-1712111452511.png" /></span></P><P>&nbsp;</P><P>Finally, posted both the FSD &amp; FWSD to the S4 core system.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amar_medavarapu_3-1712111452526.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90181iA6CCFCBD01A1D597/image-size/medium?v=v2&amp;px=400" role="button" title="amar_medavarapu_3-1712111452526.png" alt="amar_medavarapu_3-1712111452526.png" /></span></P><P>&nbsp;</P><P>I hope this is helpful to the TM consultants &amp; I would like to receive any feedback or comment from you.</P><P>Thanks for reading.</P><P>_Amar_</P><P>&nbsp;</P><P><a href="https://community.sap.com/t5/c-khhcw49343/SD+%252528Sales+and+Distribution%252529/pd-p/209057551571413566377230676804921" class="lia-product-mention" data-product="1080-1">SD (Sales and Distribution)</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/MM+%252528Materials+Management%252529/pd-p/477297786799213261950044802925335" class="lia-product-mention" data-product="998-1">MM (Materials Management)</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+S%25252F4HANA+Finance/pd-p/67837800100800006927" class="lia-product-mention" data-product="800-1">SAP S/4HANA Finance</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/FIN+Controlling/pd-p/165905235116577077914579113243106" class="lia-product-mention" data-product="953-1">FIN Controlling</a>&nbsp;</P><P><a href="https://community.sap.com/t5/c-khhcw49343/SAP+Transportation+Management/pd-p/01200615320800000686" class="lia-product-mention" data-product="879-1">SAP Transportation Management</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+S%25252F4HANA/pd-p/73554900100800000266" class="lia-product-mention" data-product="799-1">SAP S/4HANA</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+Supply+Chain+Management/pd-p/01200615320800000492" class="lia-product-mention" data-product="862-1">SAP Supply Chain Management</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SD+Billing/pd-p/102045428488054002446664744695930" class="lia-product-mention" data-product="1081-1">SD Billing</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+Invoice+and+Goods+Receipt+Reconciliation/pd-p/67837800100800005970" class="lia-product-mention" data-product="668-1">SAP Invoice and Goods Receipt Reconciliation</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/MM+Invoice+Verification/pd-p/458360983784136828334119370605946" class="lia-product-mention" data-product="1000-1">MM Invoice Verification</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/MM+Purchasing/pd-p/507573428100543543566493124410813" class="lia-product-mention" data-product="1001-1">MM Purchasing</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/LE+%252528Logistics+Execution%252529/pd-p/264113000323749692806973999948926" class="lia-product-mention" data-product="989-1">LE (Logistics Execution)</a>&nbsp;</P> 2024-04-03T10:47:20.608000+02:00 https://community.sap.com/t5/technology-blogs-by-members/how-to-add-a-new-field-to-the-vl06o-vl06i-vl06g-screens/ba-p/13653699 How to add a new field to the VL06O,VL06I, VL06G… screens? 2024-04-03T10:55:12.936000+02:00 tugcezorlu https://community.sap.com/t5/user/viewprofilepage/user-id/893206 <P><EM>This article explains step by step what to do when adding a new field to vlo6*(VL06O, VL06I, VL06G, VL06P, VL06T, VL06F, VL06C, VL06IP, VL06IC, VL06IT, VL06IG, VL06IF) screens</EM></P><P><EM>you can check&nbsp;<A href="https://me.sap.com/notes/128150" target="_blank" rel="noopener noreferrer">https://me.sap.com/notes/128150</A></EM></P><P><FONT face="arial,helvetica,sans-serif" size="4">Scenario: let's add the definition of delivery type(VTEXT field)</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><SPAN>In transaction code CMOD, choose 'Utilities -&gt; SAP Enhancements</SPAN></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 882px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88604iE193042DF856A6C4/image-size/large?v=v2&amp;px=999" role="button" title="1.png" alt="1.png" /></span></SPAN></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><SPAN>Enter the name of the enhancement 'V50Q0001' and execute</SPAN></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 959px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88605i68EA32CF12285CAB/image-size/large?v=v2&amp;px=999" role="button" title="2.png" alt="2.png" /></span></SPAN></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">Double click on exit name to display function exits</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88607i45CC4F9664A79B41/image-size/large?v=v2&amp;px=999" role="button" title="3.png" alt="3.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88609i23C3A27F6B3DB718/image-size/large?v=v2&amp;px=999" role="button" title="4.png" alt="4.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">We have to check if the includes are active</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88610i3846EA61181B66CD/image-size/large?v=v2&amp;px=999" role="button" title="5.png" alt="5.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">If exits are active, when we click on CMOD components they should appear active as follows. If it does'nt appear active in this way, we can assign</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.png" style="width: 498px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88611i70EA0F14FC8F0F19/image-size/large?v=v2&amp;px=999" role="button" title="6.png" alt="6.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88613i6901113938A3B1C4/image-size/large?v=v2&amp;px=999" role="button" title="7.png" alt="7.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">Then we go to SE11 to LIPOV which is the structure where we will add the field</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">Give database table and in change mode.<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8.png" style="width: 979px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88614i941D93C8C4B1969A/image-size/large?v=v2&amp;px=999" role="button" title="8.png" alt="8.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">&nbsp;Click append structure and give new name.</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88615i48152787106FA9EA/image-size/large?v=v2&amp;px=999" role="button" title="9.png" alt="9.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">&nbsp;Double click the component type and add related fields to structure VTEXT</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88616i569415DE42857A37/image-size/large?v=v2&amp;px=999" role="button" title="10.png" alt="10.png" /></span>Check that the relevant field is active and saved in the append structure as follows</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11.png" style="width: 909px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88617i8CDE0E53FC8FA34E/image-size/large?v=v2&amp;px=999" role="button" title="11.png" alt="11.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">The field we added comes to VL06O empty</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88618i343612A417BF8174/image-size/large?v=v2&amp;px=999" role="button" title="12.png" alt="12.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">We write the following code block in exit for the definitions to come in<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88619i8139605A81FD5C05/image-size/large?v=v2&amp;px=999" role="button" title="13.png" alt="13.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="4">Delivery type definitions come like this<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88620i4179F59B62AFEB6B/image-size/large?v=v2&amp;px=999" role="button" title="14.png" alt="14.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif">I would be happy to read your thoughts and comments and if there are better ways to fulfil the requirement, please leave them in the comment section below.</FONT></P><P><FONT face="arial,helvetica,sans-serif">Thanks so much</FONT></P><P>&nbsp;</P> 2024-04-03T10:55:12.936000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/how-to-create-outbound-delivery-with-order-reference-in-sap-vl01n/ba-p/13659080 How to Create Outbound Delivery With order reference in SAP VL01N 2024-04-05T16:27:49.370000+02:00 MOHD_ANAS https://community.sap.com/t5/user/viewprofilepage/user-id/1429699 <P><STRONG>&nbsp; Outbound Delivery Replication in SAP - TCODE- VL01N&nbsp;</STRONG></P><P><STRONG>1. Introduction</STRONG></P><P>Outbound Delivery in SAP (Systems, Applications, and Products in Data Processing) refers to the process of fulfilling customer orders by shipping goods or products from a company's warehouse or production facility to the customer's specified location. This documentation provides a comprehensive guide to understanding and executing Outbound Delivery processes within SAP.</P><P><STRONG>2. Purpose</STRONG></P><P>The purpose of Outbound Delivery in SAP is to streamline the logistics and shipping operations of a company, ensuring accurate and timely delivery of products to customers. By efficiently managing outbound deliveries, businesses can enhance customer satisfaction, optimize inventory management, and improve overall operational efficiency.</P><P><STRONG>3. Key Features</STRONG></P><UL><LI>Creation of Outbound Delivery Orders (ODOs) based on sales orders or stock transport orders.</LI><LI>Packing of goods into delivery packages or handling units.</LI><LI>Generation of delivery documents such as delivery notes and shipping labels.</LI><LI>Integration with transportation management systems for route optimization and carrier selection.</LI><LI>Confirmation of goods issue to update inventory levels.</LI><LI>Monitoring and tracking of delivery status in real-time.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_13-1712147007990.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90490i017B881B1059C162/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_13-1712147007990.png" alt="MOHD_ANAS_13-1712147007990.png" /></span></P><P>&nbsp;</P><P><STRONG>4. Process Flow</STRONG></P><P>The typical process flow for Outbound Delivery in SAP involves the following steps:</P><OL><LI><STRONG>Sales Order Creation</STRONG>: Customer orders are received and entered into the SAP system as sales orders.</LI><LI><STRONG>Outbound Delivery Order Creation</STRONG>: Based on the sales orders, Outbound Delivery Orders (ODOs) are created in SAP. These ODOs contain information such as the items to be shipped, quantities, delivery dates, and customer shipping details.</LI><LI><STRONG>Packing</STRONG>: Goods are picked from the warehouse shelves or production lines and packed into delivery packages or handling units. The packing process involves assigning materials to specific delivery units and determining packaging materials.</LI><LI><STRONG>Goods Issue</STRONG>: Once the goods are packed and ready for shipment, a goods issue is posted in SAP to signify the removal of goods from inventory. This updates inventory levels and triggers the billing process.</LI><LI><STRONG>Delivery Document Printing</STRONG>: Delivery documents such as delivery notes and shipping labels are generated in SAP and printed for inclusion with the shipment.</LI><LI><STRONG>Shipment Execution</STRONG>: The goods are physically transported to the customer's location using selected carriers or transportation methods.</LI><LI><STRONG>Delivery Confirmation</STRONG>: Upon successful delivery, the delivery is confirmed in SAP to update the delivery status and trigger subsequent processes such as billing and customer invoicing.</LI></OL><P>T.code:-</P><UL><LI><STRONG>VL01N </STRONG><STRONG>– </STRONG>With / Without Reference to Sales Order.</LI><LI><STRONG>VL02N </STRONG><STRONG>– </STRONG>Single Document Change.</LI><LI><STRONG>Vl03N </STRONG><STRONG>– </STRONG>Display Delivery Document.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_14-1712147008004.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90489i07F7EF557F2B6FEF/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_14-1712147008004.png" alt="MOHD_ANAS_14-1712147008004.png" /></span></P><P>&nbsp;</P><UL><LI>In the initial Screen of Create Outbound Delivery Need to provide below information.</LI><LI>Shipping Point: Get the shipping point from the shipping tab of sales order line item.</LI><LI>Selection Date : It should be either the material availability date or the system copies the item into the delivery.</LI><LI>Sales Order Number: The sales order number against which the delivery document needs to be created.</LI><LI>From and to Item Number: Line item number of sales order against which needs to be created delivery, if a user does not specify any line item then the system will consider all line items of sales order for delivery creation.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_15-1712147008008.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90488iAA8ED0686BA6A89E/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_15-1712147008008.png" alt="MOHD_ANAS_15-1712147008008.png" /></span></P><P>&nbsp;</P><P>Create outbound delivery without order reference</P><P>&nbsp;</P><P>Then the system will land to the user on Create Delivery Overview screen like the below screenshot.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_16-1712147008024.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90493i7D4CB6771A475578/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_16-1712147008024.png" alt="MOHD_ANAS_16-1712147008024.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_17-1712147008057.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90492i0EA847DC5714720F/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_17-1712147008057.png" alt="MOHD_ANAS_17-1712147008057.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>Picking Tab display</P><UL><LI>Plant code: Delivery plant</LI><LI>Storage location</LI><LI>Delivery Quantity</LI><LI>UoM</LI><LI>Picked Quantity</LI></UL><P>The picked quantity is grey out mode that means we have to transfer the order to pick the material.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_18-1712147008076.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90491i380A3FF70E2C79E8/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_18-1712147008076.png" alt="MOHD_ANAS_18-1712147008076.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_19-1712147008097.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90495iC809607D884F7C84/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_19-1712147008097.png" alt="MOHD_ANAS_19-1712147008097.png" /></span></P><P>&nbsp;</P><P>Transport tab provide information</P><UL><LI>Transportation Planning date</LI><LI>Transportation Planning status.</LI><LI>Route</LI><LI>Gross weight</LI><LI>Volume</LI></UL><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_20-1712147008117.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90496iC59F66BA0610DD12/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_20-1712147008117.png" alt="MOHD_ANAS_20-1712147008117.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_21-1712147008128.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90494iEE74634F5EB8D2B0/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_21-1712147008128.png" alt="MOHD_ANAS_21-1712147008128.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>The goods movement tab provides information that which movement type is used for this delivery document.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_22-1712147008136.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90499iDA22BA0A3E286027/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_22-1712147008136.png" alt="MOHD_ANAS_22-1712147008136.png" /></span></P><P>&nbsp;</P><P>Select any one line item of the delivery document and click on the item Details button. It will display item data of that line item.</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_23-1712147008146.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90497i9FEE494DBB226AB6/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_23-1712147008146.png" alt="MOHD_ANAS_23-1712147008146.png" /></span></P><P>&nbsp;</P><P>The predecessor data tab provides information about</P><UL><LI>Reference Document number e.g. Sales order number.</LI><LI>Reference Item: line item number of Sales order number.</LI><LI>Reference Type: Document category.</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_24-1712147008160.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90498i09EC0A28D2B147D4/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_24-1712147008160.png" alt="MOHD_ANAS_24-1712147008160.png" /></span></P><P>&nbsp;</P><P>Click on SAVE button.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MOHD_ANAS_25-1712147008175.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/90500i0530B8C81B54E409/image-size/large?v=v2&amp;px=999" role="button" title="MOHD_ANAS_25-1712147008175.png" alt="MOHD_ANAS_25-1712147008175.png" /></span></P><P>&nbsp;</P><P><STRONG>Now, the delivery document has been saved with the delivery number.</STRONG></P><P><STRONG>5. Benefits</STRONG></P><UL><LI>Improved order fulfilment accuracy and speed.</LI><LI>Enhanced visibility and traceability of outbound shipments.</LI><LI>Reduction in shipping errors and delays.</LI><LI>Optimal utilization of warehouse resources.</LI><LI>Better customer service and satisfaction.</LI></UL><P><STRONG>6. Conclusion</STRONG></P><P>Outbound Delivery in SAP plays a critical role in ensuring the smooth and efficient execution of logistics and shipping operations. By leveraging SAP's robust functionality and integration capabilities, businesses can effectively manage outbound deliveries, meet customer expectations, and drive operational excellence.</P><P>&nbsp;</P> 2024-04-05T16:27:49.370000+02:00 https://community.sap.com/t5/technology-blogs-by-members/how-to-turn-off-the-delete-function-in-va02/ba-p/13653709 How to turn off the delete function in VA02? 2024-04-05T16:29:58.812000+02:00 tugcezorlu https://community.sap.com/t5/user/viewprofilepage/user-id/893206 <P><FONT face="arial,helvetica,sans-serif" size="3">Scenario: The delete function is active in VA02 for an empty order in the document flow. How can we disable this function for some users</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3">Go to Se38</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3">MV45AF0C</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="111.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88627iDF17FA36F41ADDC1/image-size/large?v=v2&amp;px=999" role="button" title="111.png" alt="111.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3"><SPAN>We will write in the following include </SPAN><SPAN>MV45AF0C_CUA_MODIFIZIEREN</SPAN></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3"><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="112.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88628iFE41452759708C20/image-size/large?v=v2&amp;px=999" role="button" title="112.png" alt="112.png" /></span></SPAN></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3">As below, we add exite by giving the user information of which user will not be active</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3"><SPAN><SPAN class="">IF SY</SPAN><SPAN class="">-</SPAN>UNAME&nbsp;<SPAN class="">EQ&nbsp;</SPAN><SPAN class="">'TZORLU'&nbsp;</SPAN><SPAN class="">and&nbsp;</SPAN>US_STATUS&nbsp;<SPAN class="">eq&nbsp;</SPAN><SPAN class="">'U'</SPAN><SPAN class="">.</SPAN><BR />&nbsp;&nbsp;&nbsp;&nbsp;<SPAN class="">READ&nbsp;</SPAN><SPAN class="">TABLE&nbsp;</SPAN>cua_exclude&nbsp;<SPAN class="">WITH&nbsp;</SPAN><SPAN class="">KEY&nbsp;</SPAN><SPAN class="">'LOES'&nbsp;</SPAN><SPAN class="">TRANSPORTING&nbsp;</SPAN><SPAN class="">NO&nbsp;</SPAN><SPAN class="">FIELDS</SPAN><SPAN class="">.</SPAN><BR />&nbsp;&nbsp;&nbsp;&nbsp;<SPAN class="">CHECK&nbsp;</SPAN>SY<SPAN class="">-</SPAN>subrc&nbsp;<SPAN class="">ne&nbsp;</SPAN><SPAN class="">0</SPAN><SPAN class="">.</SPAN><BR />&nbsp;&nbsp;&nbsp;&nbsp;<SPAN class="">append&nbsp;</SPAN><SPAN class="">'LOES'&nbsp;</SPAN><SPAN class="">to&nbsp;</SPAN>CUA_EXCLUDE<SPAN class="">.</SPAN><BR />&nbsp;&nbsp;<SPAN class="">ENDIF</SPAN><SPAN class="">.</SPAN></SPAN></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="113.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88629i5A962CE01CA2C6D0/image-size/large?v=v2&amp;px=999" role="button" title="113.png" alt="113.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3">User TZORLU is still unable to delete a delivery with empty document flow in VA02</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="114.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88630i6C49D564D3CEAC74/image-size/large?v=v2&amp;px=999" role="button" title="114.png" alt="114.png" /></span></FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3">Active on other user</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="116.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88631iD94312DB1D6749A0/image-size/large?v=v2&amp;px=999" role="button" title="116.png" alt="116.png" /></span></FONT></P><P>&nbsp;</P><P><FONT face="arial,helvetica,sans-serif" size="3">I would be happy to read your thoughts and comments and if there are better ways to fulfil the requirement, please leave them in the comment section below.</FONT></P><P><FONT face="arial,helvetica,sans-serif" size="3">Thanks so much</FONT></P> 2024-04-05T16:29:58.812000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/sap-erp-functionality-for-edi-processing-uoms-determination-for-inbound/ba-p/13634635 SAP ERP Functionality for EDI Processing: UoMs Determination for Inbound Orders 2024-04-10T08:45:50.213000+02:00 M_Kalyabin https://community.sap.com/t5/user/viewprofilepage/user-id/151459 <H2 id="toc-hId-988892963">Don't ignore Units of measures!</H2><P>In the previous article on&nbsp;<A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/sap-erp-functionality-for-edi-processing-material-determination-for-inbound/ba-p/13626321" target="_blank">Material determination</A>, I deliberately ignored the requirements and features related to units of measure (UoM). While this topic&nbsp;<SPAN>may seem simple for companies that only use "pieces" in sales orders,&nbsp;</SPAN>most distributors<SPAN>&nbsp;</SPAN><SPAN>require the flexibility to process at least pieces and boxes.&nbsp;</SPAN>And in some cases,&nbsp;<SPAN>they meet overwhelmingly complicated requirements, such as when "eaches" and "pieces" have different meanings, or when packages must be mapped to different UoMs depending on the customer and material.</SPAN></P><P><SPAN>It's also important to highlight the specific nature of UoM conversion. Whereas&nbsp;</SPAN>material determination data, as well as partner determination data, clearly relate to Master data, UoM mapping is not as<SPAN>&nbsp;</SPAN><SPAN>variable&nbsp;</SPAN>and is usually considered as settings. The main outcome of this is that an EDI provider (or EDI VAN in the US) might provide some mapping and processing, which is definitely not applicable for Master Data.&nbsp;</P><H2 id="toc-hId-792379458">UoMs in SAP Sales and Distribution</H2><H3 id="toc-hId-724948672">Basic UoM determination</H3><P><SPAN>The process of handling units of measure (UoM) during the creation of a sales order deserves</SPAN><SPAN>&nbsp;</SPAN>explanation.<SPAN>&nbsp;</SPAN><SPAN>Consider the simplest case illustrated below: an IDOC ORDERS containing two items, with quantities of 10 PCE (Piece) and 5 CT (Carton), as shown in the screenshot below (transaction code WE19). The UoM is stored in the field E1EDP01-MENEE.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_0-1712439021713.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92327i8AC74A99D9CC374F/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_0-1712439021713.png" alt="M_Kalyabin_0-1712439021713.png" /></span></P><P>In the sales order created by this IDOC you will see 10 PC and 5 CAR</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_1-1712439021744.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92328iB70A9082C38BAC91/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_1-1712439021744.png" alt="M_Kalyabin_1-1712439021744.png" /></span></P><P>And in the VBAP table you can also find ST and KAR as unconverted value for these UoMs.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_2-1712439021824.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92329i266C67EB3F2D3D4D/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_2-1712439021824.png" alt="M_Kalyabin_2-1712439021824.png" /></span></P><P>What's connection between these PCE, PC and ST?</P><P>The basic UoM setting are maintained by T-Code<SPAN>&nbsp;</SPAN><STRONG>CUNI Units of measure</STRONG>&nbsp;, also available in<SPAN>&nbsp;</SPAN><STRONG>IMG&nbsp;SPRO &gt; SAP NetWeaver &gt; General settings &gt; Check Units of Measurement</STRONG>. This data is stored in<SPAN>&nbsp;</SPAN><STRONG>T006&nbsp;Units of Measurement</STRONG><SPAN>&nbsp;</SPAN>table and some other related tables. As you can see below, unconverted system units KAR and ST are assigned to language-dependent codes CAR and PC, which are visible for user logged in English, as well as language-dependent descriptions.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1712439021767.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92331iC376BABBDB46C9D7/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1712439021767.png" alt="M_Kalyabin_3-1712439021767.png" /></span></P><P>And drilling down to the UoM record you will find CT and PCE, which were used in the IDOC.</P><P>Carton, CAR, KAR, assigned to CT</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_4-1712439021801.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92332i25CBB0DEAAC0164F/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_4-1712439021801.png" alt="M_Kalyabin_4-1712439021801.png" /></span></P><P>Piece, PC, ST, assigned to PCE</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_5-1712439021791.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92330i4CC1A0CFC459A137/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_5-1712439021791.png" alt="M_Kalyabin_5-1712439021791.png" /></span></P><P>To sum up, for inbound order processing customers use external codes, called ISO code by SAP, and during IDOC processing SAP internal UoM is determined based on CUNI settings and displayed to user with language-dependent code and description. This step is specific for IDOC ORDERS processing.</P><H3 id="toc-hId-528435167">Errors during basic UoM determination</H3><P><SPAN>Let's explore potential errors that might occur during this UoM determination step.</SPAN></P><P><SPAN>In the example below, there are KT (Kit) and CG (Card). These UoM codes are recognized by both ASC X12 and EDIFACT standards; however, in the standard installation of SAP ERP, CG isn't listed as an ISO code, and KT, while listed, isn't assigned to any UoM.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_0-1711391478190.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/86187iAA99989AA57059EE/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_0-1711391478190.png" alt="M_Kalyabin_0-1711391478190.png" /></span></P><P><SPAN>This discrepancy causes the IDOC to fail with the same error for both item lines: </SPAN><BR /><STRONG>"Message No. VG011 ISO unit of measure CG is not assigned (item )"</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_0-1711969446657.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89173iDA7ADFF07EADBBC6/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_0-1711969446657.png" alt="M_Kalyabin_0-1711969446657.png" /></span></P><P><SPAN>To resolve this error within the basic determination technique, an ISO code must be created and assigned to a UoM. This highlights a significant limitation of the basic technique: it's impossible to map multiple external codes to a single system UoM. For instance, if customers send EA and PCE while you only want to process PC, you can set up PCE as the ISO code for PC. However, you can't assign EA as an ISO code to the same PC because the field is already occupied by PCE. Below, I'll suggest several ways to handle such cases, using some tricks and advanced techniques to satisfy this common requirement.</SPAN>&nbsp;</P><H3 id="toc-hId-331921662">UoM check during Sales order creation</H3><P>For successful Order creation,<SPAN>&nbsp;it's also crucial that the UoM is determined for the material.</SPAN></P><P>The same as during manual sales order creation, a UoM can be applied to the material, if it's defined in <STRONG>MM03&nbsp;</STRONG><STRONG>Material master &gt; Additional data &gt; UoM</STRONG><EM>. </EM>In the example below, PCE and CAR&nbsp;<SPAN>are determined for the material, but EA is not.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_1-1711969740331.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89175i5AE60E9267A77276/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_1-1711969740331.png" alt="M_Kalyabin_1-1711969740331.png" /></span></P><P>As a result,&nbsp;<SPAN>this UoM isn't allowed during the creation of a sales order.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_2-1711970027452.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89176i455EC045A38EA223/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_2-1711970027452.png" alt="M_Kalyabin_2-1711970027452.png" /></span></P><P>As the creation of Sales order during IDOC ORDERS processing works as Batch processing, about the same as manual creation, the same error appears during IDOC processing.&nbsp;</P><H3 id="toc-hId-135408157">Errors during UoM check</H3><P>Let's <SPAN>examine the errors that occur during</SPAN> UoM determination. <SPAN>For instance, a customer sends EA (Each), which is converted to EA according to CUNI settings. However, EA is not determined for this material in the master record.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1711970368870.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89178i95D963A7DDDB610B/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1711970368870.png" alt="M_Kalyabin_3-1711970368870.png" /></span></P><P><SPAN>This discrepancy causes the IDOC to fail </SPAN>with the same error for manual creation:<BR /><STRONG>Message No. V1384 Sales unit EA is not defined for item 000010</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_4-1711971535123.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89179i9953AEC3DDEB5137/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_4-1711971535123.png" alt="M_Kalyabin_4-1711971535123.png" /></span></P><P><SPAN>To address this issue directly, the&nbsp;</SPAN>UoM must be determined for the material. However this solution leads to <SPAN>a challenging trade-off</SPAN>: <SPAN>maintaining several UoMs with the same meaning in the system just to meet customer requirements.</SPAN></P><P><STRONG>Trade-offs and Benefits of Standard UoM Determination</STRONG></P><P>Let me recup the basic technique and <SPAN>its subsequent trade-offs and</SPAN> benefits:</P><OL><LI>Customers orders goods in pieces using external codes PCE and EA.&nbsp;</LI><LI>By CUNI settings, PCE and EA are converted to PC and EA, accordingly. Within the basic technique, it's not possible to convert both PCE and EA to the internal PC.</LI><LI>Both EA and PC are determined for the material with the same meaning (1 PC = 1 EA)</LI><LI>Sales orders are created using PC for some customers and EA for others.&nbsp;</LI></OL><P>This approach has its benefits and drawbacks.</P><P><SPAN>The main and, I can say, only drawback is that a multi-UoMs approach must be accepted by the entire organisation. Sales, accounting, logistic execution - all departments must be prepared to handle situations when both PC and EA, both CT and BX, are applicable with the same meaning but for different customers.&nbsp;</SPAN></P><P><SPAN>However, there are some benefits:</SPAN></P><UL><LI><SPAN>First, it allows for simple and transparent UoM processing by SAP-standard technique</SPAN></LI><LI>Second, it meets customer requirements for both inbound and outbound transactions. Typically, if a customer sends EA in the sales order, they expect EA in subsequent outbound messages, such as ORDRSP, DESADV, and INVOICE (or, for X12, 855 Purchase Order Acknowledgment, 856 Ship Notice, and 810 Invoice). Sometimes, they also require their UoMs in paper documents and labels. Keeping the customer's UoMs in SAP documents allows direct use for outbound transactions, without special adjustments.</LI><LI>Furthermore, using several UoMs doesn't affect Material Management and Logistics execution processes. Regardless of the Sales UoM used for an order item, the basic UoM is always determined and then used for interchange with other SAP modules.</LI></UL><P>Unfortunately, even "multi-UoM" approach can't solve all possible cases. For example, customers might send the same UoM with different meaning, or one customer uses a UoM with different meaning. <SPAN>Fortunately,&nbsp;</SPAN>some alternatives and advanced techniques might be applied for such and other sophisticated requirements.&nbsp;</P><H2 id="toc-hId--190188067">UoM conversion by&nbsp;EDI Service Providers or Middleware Mapping Tool</H2><P>The first option to handle complicated requirements is located outside the SAP ERP core solution. <SPAN>Typically</SPAN>, all EDI messages are processed through&nbsp;EDI Service Providers, also known as EDI <SPAN>Value-Added Network (EDI&nbsp;</SPAN>VAN) in North America. Unlike SAP ERP, EDI providers actually focused on the message transmission and conversion and have convenient tools for mapping. UoMs can be considered as configuration with a fairly limited range of rules to implement, <SPAN>as opposed to master data like material and partner determination. Following the previous example, an EDI provider might implement a rule to convert inbound EA to PCE, resulting in SAP ERP receiving and processing only PCE. Also, an EDI provider might establish a customer-related rule to convert PCE to EA for outbounds. Another useful trick is to copy the customer UoM to the dedicated item sales text. The EDI provider adds such standard SAP text to IDOC ORDERS, then this text is stored in the sales order and copied through standard sales text techniques to subsequent documents. As SAP ERP includes all texts in outbound messages, this data is available for outbounds, and the EDI provider might use the stored value to send it to the customer.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>The advantage of this approach is that it keeps SAP ERP simple and clear. The disadvantage is that it usually takes time to implement a rule on the EDI provider's side, up to 2-6 weeks. And such specific mapping might be provided for free as part of the service contract, or it might require an extra cost for adjustment. However, it's usually cheaper than any development on the SAP ERP side.</SPAN></P><P><SPAN>Similar conversions can also be implemented on some middleware if it's used in a landscape, such as SAP PI/PO/XI, SAP Integration Suite, or one of the wide range of solutions available on the market. Typically, it's maintained by another team, so the advantages and disadvantages in this case are similar.</SPAN></P><H2 id="toc-hId--386701572">UoM determination by Material substitution technique (VB12)</H2><P><SPAN>The material substitution technique for EDI ORDERS processing, as detailed in my previous article on <A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/sap-erp-functionality-for-edi-processing-material-determination-for-inbound/ba-p/13626321" target="_blank">Material determination</A>&nbsp;, can also apply to UoM determination. If a material substitution rule is activated and the UoM is unspecified in the message, the UoM from the rule is applied.</SPAN></P><P>Let's see how this technique works based on the most valuable business case: EAN based material determination for goods with <SPAN>multiple </SPAN>retail packaging options.</P><P>In the example below material 1521 is linked to two EANs:&nbsp;8427324815219 for a single item and&nbsp;8427324815226 for a pack, which is a twinpack.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_2-1711982851687.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89244i97C6A78C743D3AF3/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_2-1711982851687.png" alt="M_Kalyabin_2-1711982851687.png" /></span></P><P><SPAN>In retail, these differing EANs enable the sale of both single items and twin packs. On the customer side, these are considered distinct products and counted in EA, leading to orders like:</SPAN></P><UL><LI>Item 10: 10 EA of EAN 8427324815219 - <SPAN>ordering </SPAN>10 single items</LI><LI>Item 20: 10 EA of EAN 8427324815226 - <SPAN>ordering </SPAN>10 twin packs&nbsp;</LI></UL><P>In order to process such order following technique might be applied:</P><P>Material substitution records for EANs must be created and PAC UoM is assigned to the relevant EAN.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_5-1711984322675.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89267i2FE25BE618339069/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_5-1711984322675.png" alt="M_Kalyabin_5-1711984322675.png" /></span></P><P>Then a customer UoM has to be excluded from the inbound IDOC, by an EDI provider, a middleware, or by IDOC ALE technique, which will be described in the next section.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1711983361403.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89252i391E0F69BFDCA411/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1711983361403.png" alt="M_Kalyabin_3-1711983361403.png" /></span></P><P>As result for the item 10 UoM PC is applied because this is Sales UoM determined in the material master record. And for the item 20, PAC is determined based on material substitution record.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_4-1711984095444.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89266i1A0A931D292177BB/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_4-1711984095444.png" alt="M_Kalyabin_4-1711984095444.png" /></span></P><P>In the example above determination is set based on material level. For more flexibility also customer/material and other reliable determination levels might be applied.</P><P>As you can see, this approach might be pretty valuable if it meets some business conditions. However there are some inconvenient limitations, e.g. ignorance of customer UoM.&nbsp;</P><H2 id="toc-hId--583215077">Converting Data Between Sender and Receiver by ALE for IDOCs</H2><P><EM>Special thanks to David Knight for introducing this technique to our current project. Prior to this, I addressed such requirements either through the EDI provider or with ABAP extensions.</EM></P><P>This <SPAN>feature </SPAN>is a part of&nbsp;IDoc Interface / Application Link Enabling (ALE) functionally which is available for SAP ERP, both ECC and S/4. This technique provides wide range of conversions and editing options for IDOCs and also suitable for EDI processing. <SPAN>Essentially,</SPAN> this technique allows to establish a rule to replace some value to another value for a certain field of IDOC from a specific sender.&nbsp;</P><P>The related settings might be find by following way:</P><UL><LI>t-code&nbsp;<STRONG>SALE &gt;&nbsp;Modelling and Implementing Business Processes&nbsp;&gt; Converting Data Between Sender and Receiver</STRONG></LI><LI>I<STRONG>MG SPRO &gt;&nbsp;ABAP Platform &gt;&nbsp;Application Server &gt;&nbsp;IDoc Interface / Application Link Enabling (ALE) &gt;&nbsp;Converting Data Between Sender and Receiver &gt; Converting Data Between Sender and Receiver</STRONG></LI><LI>Direct access using t-codes:&nbsp;<UL><LI><STRONG>BD62 - Define Segment Conversion Rule</STRONG></LI><LI><STRONG>BD79 - Maintain IDoc Conversion Rules&nbsp;</STRONG></LI><LI><STRONG>BD55 - Maintain IDoc Conversion&nbsp;</STRONG></LI></UL></LI></UL><P>Let's see how it works base on the following example:</P><P>A customer places an order using UoM BX (box, crate), which has to be converted to CAR (Carton), but this UoM is already assigned to ISO code CT.&nbsp;<SPAN>Without additional settings BX fails with an error&nbsp;&nbsp;<EM>ISO unit of measure BX is not assigned (item ).</EM></SPAN></P><P>By following configuration, the rule for conversion BX to CT might be added, as result BX will be processed as required.</P><P><STRONG>Create a new rule title: BD62 - Define Segment Conversion Rule</STRONG><BR />Create a name and short description of the rule and assign to related IDOC segment</P><UL><LI>Conversion rule: Z_UOM_CONVERSION_1</LI><LI>Description: UoM conversion for Inbound sales ORDER</LI><LI>IDOC segment name: E1EDP01&nbsp;</LI></UL><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_0-1711991640058.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89293i346758A3E27F6704/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_0-1711991640058.png" alt="M_Kalyabin_0-1711991640058.png" /></span></STRONG></P><P><STRONG>Define conversion: BD79 - Maintain IDoc Conversion Rules&nbsp;</STRONG></P><UL><LI>Chose Maintain for the conversion rule created above</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_1-1711992102138.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89295i08BCC9C15D148A2A/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_1-1711992102138.png" alt="M_Kalyabin_1-1711992102138.png" /></span></P><UL><LI>Select and drill-down to the field MENEE</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_2-1711992224552.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89296i7846E59D3C49B6B6/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_2-1711992224552.png" alt="M_Kalyabin_2-1711992224552.png" /></span></P><UL><LI>Select Convert sender fields radio button, add field MENEE to "Sender fld"</LI><LI>Drill down to Conditions, add a record to convert BX to CT (watch out, source value is in the right field, target is in the left field)</LI><LI>Set up defaults: select Copy sender field and define Sender field MENEE</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1711992472088.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89299i646BFC7D7BA93382/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1711992472088.png" alt="M_Kalyabin_3-1711992472088.png" /></span></P><P>As a result BX value will be converted to CT while all another values will keep unconverted.</P><P><STRONG>Assign created rule to required interchange: BD55 - Maintain IDoc Conversion&nbsp;</STRONG></P><UL><LI>Select required message type on the first screen.&nbsp;</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_4-1711992894002.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89300iF294AB8B6B8C9F08/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_4-1711992894002.png" alt="M_Kalyabin_4-1711992894002.png" /></span></P><UL><LI>Add a record for required interchange. Sender and receiver data are set according to converted IDOC data and assigned to the segment E1EDP01, and conversion rule Z_UOM_CONVERSION_1 created above.&nbsp;</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_5-1711993089705.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89301iF5C57FF52593047C/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_5-1711993089705.png" alt="M_Kalyabin_5-1711993089705.png" /></span></P><P>As a result, the conversion rule will be applied to every IDOC that meets conditions described. In this example, sender is set as an LS Logical system, w<SPAN>hich aligns with the strategy of creating a single LS partner for the EDI provider in WE20 Partner profiles. Consequently, all orders received through this provider will utilize this partner record, and the conversion rule will be applied to all relevant customers. Alternatively, if the</SPAN>&nbsp;KU Customer partner profile is established for every single customer, the created rule might be assigned to one or several customers, with other rules applied to different customers. The second option provides <SPAN>greater </SPAN>flexibility but requires more maintenance effort.</P><P>Let's discover conversion example:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_6-1711993984233.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89303i0A49C898422F4717/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_6-1711993984233.png" alt="M_Kalyabin_6-1711993984233.png" /></span></P><P>According to the conversion rule, BX is converted to CT at the preliminary step of IDOC processing and, as a result, CT is visible in the saved IDOC.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_7-1711994115213.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/89304i449170521DA7B8E1/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_7-1711994115213.png" alt="M_Kalyabin_7-1711994115213.png" /></span></P><P>Conversion <SPAN>using </SPAN>IDoc / ALE functionally is widely applicable and flexible, <SPAN>capable of incorporating complex rules and extensions.</SPAN>. However it's pretty far from well known business related transactions,<SPAN> requiring intricate maintenance and lacking transparency for key users.</SPAN></P><P>In conclusion, I need to admit that not all customer or business requirements can be addressed by the techniques mentioned above. I such cases, custom development becomes a necessary last resort. <SPAN>Nonetheless, I hope that a thorough understanding of SAP’s standard features can help minimize unnecessary development, which is often more complex and costly over the system’s lifecycle."</SPAN> &nbsp; &nbsp;</P><P>&nbsp;</P><H2 id="toc-hId--779728582">UoMs in Other SAP Modules&nbsp;</H2><P><SPAN>One might hope that SAP ERP utilizes a consistent logic for handling messages across all its applications. Ideally, such a holistic approach would simplify processes, but, unfortunately, this is not the case. The logic described earlier, where an external code in an IDOC is mapped to an internal code, applies specifically to Sales and Distribution applications. However, expecting the same behavior from other SAP modules could lead to misunderstandings. Let's delve deeper into this topic.</SPAN></P><P>IDOCs, widely used for external interchange, actually based on "ISO code" approach. For instance, basic types like ORDERS05 and INVOIC02 utilize the same segment type E1EDP01 with a <SPAN>single </SPAN>UoM field, MENEE. Similarly, basic types like DELVRY07 and&nbsp;SHPMNT06 use segment E1EDL24, fields VRKME and MEINS, and basic type DESADV01 use E1EDP09-VRKME. For inbound messages based on these types an ISO code, e.g. PCE, is required, and for outbound messages, the ISO-code is filled by the system.&nbsp; However let's learn a couple of examples with a different approach, <SPAN>more closely related to Warehouse Management System (WMS) or 3PL integration rather than traditional trading interchange.</SPAN></P><P><SPAN>One such example is </SPAN><STRONG>MBGMCR03</STRONG> Post Goods Movements with MB_CREATE_GOODS_MOVEMENT. This message aligns with the BAPI&nbsp;<SPAN>BAPI_GOODSMVT_CREATE, and contains two fields for UoM in the item segment E1BP2017_GM_ITEM_CREATE: </SPAN></P><UL><LI><SPAN>ENTRY_UOM for the system code, e.g., PC.</SPAN></LI><LI><SPAN>ENTRY_UOM_ISO for ISO code determined in CUNI, e.g. PCE</SPAN></LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_0-1712336972715.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92207iFED227DCEB45469C/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_0-1712336972715.png" alt="M_Kalyabin_0-1712336972715.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_1-1712337008844.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92208iB06BE2439BEDB30C/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_1-1712337008844.png" alt="M_Kalyabin_1-1712337008844.png" /></span></P><P><SPAN>Another case that initially caught me by surprise, and significantly drew my attention to this topic, involves <STRONG>WMMBID02</STRONG>. This IDOC type, used for stock movements from external systems, contains the segment E1MBXYI, which only has one field for the system code, ERFME (e.g., PC), without a corresponding ISO code field.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_3-1712337102207.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92210iCF3ABDFB88C7FF01/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_3-1712337102207.png" alt="M_Kalyabin_3-1712337102207.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M_Kalyabin_2-1712337054669.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92209i69A6CEBE4718711C/image-size/large?v=v2&amp;px=999" role="button" title="M_Kalyabin_2-1712337054669.png" alt="M_Kalyabin_2-1712337054669.png" /></span></P><P><SPAN>Within the SAP environment, this discrepancy typically doesn't cause issues, as both the sending and receiving functionalities are designed to process the required data format. It’s often overlooked that the nature of fields can differ; for example, if EA is assigned as both the system code and the ISO code, neither users nor counterparties may notice that SHPCON and WMMBXY use different data types. However, unexpected system behavior can sometimes lead to surprises.</SPAN></P><P><SPAN>This became apparent during one of my projects where we set up a series of messages for interchange with a Third-Party Logistics (3PL) provider. We meticulously prepared DESADV based on DELVRY06 and SHPCON based on DELVRY03, then implemented WMINVE, ACC_DOCUMENT, ORDERS, and WMMBXY. The primary UoM for interchange was BX (box), assigned as both the system code and the ISO code. In the rare situations where a box was broken down, the piece UoM was used and, for all messages, was described and tested as PCE. WMMBXY was one of the last messages tested, and the development team on the 3PL side, adjusting their non-SAP system, applied the same logic to WMMBXY. Smoke testing with BXs was successful. However, during User Acceptance Testing, a scenario failed because SAP sent PC in WMMBXY, while PCE was expected! Explaining to external developers why “our SAP” couldn’t use the same UoM for every message, and agreeing on a CR with project managers during the UAT phase, was not straightforward.</SPAN></P><H2 id="toc-hId--628987730"><SPAN>Acknowledgements and System Overview</SPAN></H2><P><SPAN>Thanks to my colleagues at Capgemini and others who explored this topic with me across numerous projects. Also, thanks to Capgemini for providing me with a sandbox system, which was used for investigations, creation of test examples, and preparing screenshots. The sandbox was <STRONG>SAP S/4HANA 2022</STRONG> (S4HANA ON PREMISE Release 2022 SP 01 (02/2023) FPS).</SPAN></P><P>&nbsp;</P><H2 id="toc-hId--825501235"><STRONG>Appendix: The Zoo of Units of Measure in EDI Projects</STRONG></H2><P><SPAN>In my EDI projects, I've encountered a wide variety of units of measure (UoMs), far exceeding the range preinstalled in SAP ERP settings. To fully grasp this diversity's origins and compare it with SAP's methodology, it's essential to understand the frameworks governing the EDI world.</SPAN></P><P>There are two main framework standards in EDI world for trading messages: the global UN EDIFACT and ASC X12, which is dominating in North America. <SPAN>Both standards include comprehensive code lists for UoMs.</SPAN></P><H3 id="toc-hId--1315417747"><STRONG>UN EDIFACT</STRONG></H3><P><STRONG>UN EDIFACT: </STRONG>this standard&nbsp;defines a QTY Quantity segment<SPAN>, containing the 6411 Measurement unit code <SPAN>element </SPAN>.&nbsp;<SPAN>Instead of providing its own UoM list, UN EDIFACT references <A title="UN/ECE Recommendation 20, Common code, Revision 17 (Annexes I to III)" href="https://unece.org/trade/documents/revision-17-annexes-i-iii" target="_blank" rel="noopener nofollow noreferrer">UN/ECE Recommendation 20, Codes for units of measurement used in International Trade</A></SPAN></SPAN><SPAN>&nbsp;,&nbsp;<SPAN>a global standard for units of measurement in international trade developed by</SPAN></SPAN><SPAN>&nbsp;</SPAN><A title="UN/ECE Code List Recommendations" href="https://unece.org/trade/uncefact/cl-recommendations" target="_blank" rel="noopener nofollow noreferrer">The United Nations Economic Commission for Europe.</A></P><P>Sales units defining quantity of goods belong to "Level 3 – informative units omitted from the normative annex, Annex I, but found in the informative annexes, Annex II and Annex III", and are listed in Annex II/III. Also some of them also relevant to&nbsp;<A title="UN/ECE Recommendation 21, Revision 12 - Annexes V and VI" href="https://unece.org/trade/documents/revision-12-annexes-v-and-vi" target="_blank" rel="noopener nofollow noreferrer">UN/ECE Recommendation 21,&nbsp;<SPAN>Codes for Passengers, Types of Cargo, Packages and Packaging Materials</SPAN></A>&nbsp;. For example, BX box, CT carton and PK pack are considered as a part of Recommendation 21, and included into Recommendation 20 as&nbsp;informative units. However as Sales units and type of packaging are different entities for SAP ERP data model, I suppose Recommendation 20 is more relevant for understanding of quantity UoMs. UoMs listed in Rec 20 might have length 2 or 3 characters, while all the listed in Rec 21 have length 2 characters. Also, based on my experience, I can conclude, that all the UoMs which are relevant for sales order quantity, are 2 characters long.&nbsp;</P><H3 id="toc-hId--1511931252"><STRONG>ASC X12</STRONG></H3><P><STRONG>The&nbsp;Accredited Standards Committee X12</STRONG><SPAN>&nbsp;(also known as&nbsp;</SPAN><STRONG>ASC X12</STRONG><SPAN>) is&nbsp;chartered by the&nbsp;American National Standards Institute&nbsp;(ANSI) and have&nbsp;developed and maintained the <STRONG>X12&nbsp;Electronic data interchange&nbsp;(EDI)</STRONG> standard.&nbsp;</SPAN><BR />This standard defines an element&nbsp;<A title="X12 Release 8050 Elements 355 Unit or Basis for Measurement Code" href="https://www.stedi.com/edi/x12-008050/element/355" target="_blank" rel="noopener nofollow noreferrer">355 Unit or Basis for Measurement Code</A> which is widely used within different messages. Starting form 325 UoMs according to the release 2010 published in 1987, the current&nbsp;8050 release (2024) enlists 927 UoMs. All the UoMs codes related to this element are 2-characters long.&nbsp;</P><H3 id="toc-hId--1708444757"><STRONG>SAP UoMs</STRONG></H3><P>As it was described above, there are two UoM coding entities in the SAP ERP.&nbsp; So called ISO code is a list of external codes which might be assigned to internal ones. Internal code is a list of UoMs which might be assigned to countable items, and this code is represented as an unconverted technical code, invisible for users and as language-dependent name.</P><P>Frankly speaking I haven't find what was a source of the SAP UoM code systems, please add your comment if you know this. In general, we need to consider that SAP codes sometimes match EDIFACT or X12, but might be unique.</P><P>I've collected some remarkable examples for you:</P><UL><LI><STRONG>EA</STRONG> means Each for X12, EDIFACT Rec 20, and for SAP ISO, SAP unconverted and converted to English</LI><LI><STRONG>BX</STRONG> means Box for&nbsp;X12, EDIFACT Rec 20 and Rec 21 and SAP ISO, although named Crate</LI><LI><STRONG>CT</STRONG> means&nbsp;Carton&nbsp;for&nbsp;X12, EDIFACT Rec 20 and Rec 21 and SAP ISO</LI><LI><STRONG>PC</STRONG> means Piece for X12 and SAP&nbsp;converted to English, however means Parcel for EDIFACT Rec 21 and not listed for Rec 200</LI><LI><STRONG>PCE</STRONG> means Piece for SAP ISO only, not listed in other standards</LI><LI><STRONG>KG</STRONG> means Kilogram for X12 and SAP&nbsp;unconverted and converted to English, while for&nbsp;EDIFACT Rec 20 and Rec 21 and SAP ISO it means Keg</LI><LI><STRONG>ST</STRONG> means Set for X12, Sheet for&nbsp; EDIFACT Rec 20 and Rec 21 and SAP ISO and Piece (Stuk) for&nbsp;SAP&nbsp;unconverted</LI></UL><P>&nbsp;</P> 2024-04-10T08:45:50.213000+02:00