https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-ERP-blog-posts.xml SAP Community - SAP ERP 2024-05-20T20:00:53.047204+00:00 python-feedgen SAP ERP blog posts in SAP Community https://community.sap.com/t5/supply-chain-management-blogs-by-members/rem-manufacturing/ba-p/13646362 REM Manufacturing 2024-03-26T20:23:57.879000+01:00 HARIHARA https://community.sap.com/t5/user/viewprofilepage/user-id/1389967 <P>Repetitive manufacturing (REM) needs below mentioned mandatory master data for<BR />Repetitive manufacturing process.<BR />1. Material Master data<BR />2. Production Version<BR />3. BOM<BR />4. Rate routing.<BR />5. REM Profile<BR />6. Product Cost collector</P><P>Production version is combination of BOM and Rate routing. This maintained in<BR />MRP4 view of material master.<BR />REM Profile need to configure if need and maintain that in MRP4 of Material master.<BR />Finish Material and sub-assemblies should have BOM (Bill of material) and Rate Routing.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HARIHARA_0-1711089149723.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/84801i5634E034B3668B8A/image-size/medium?v=v2&amp;px=400" role="button" title="HARIHARA_0-1711089149723.png" alt="HARIHARA_0-1711089149723.png" /></span></P><P>Product cost collector is cost Object in REM manufacturing Process. Planned order is final receipt which will not convert to production order. All activity cost, material consumption cost will settle in product cost collector.</P><P>Finish material should have demand either customer or planned independent requirement (PIR). Based on those demand, MRP will generate Planned order with order type “PE” are also called as <STRONG>Run schedule</STRONG>.</P><P>If sub-assemblies are with Procurement type E, REM Profile and Production version, then MRP generate <STRONG>Run schedule</STRONG> for those also.</P><P>That run schedule creates dependent requirements for all BOM components which are production relevant.</P><P>Planning could run at Plant level through MD01 transaction. Planning could also run at material level through MD02.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HARIHARA_1-1711089226970.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/84803i8DB628A5CF83E669/image-size/medium?v=v2&amp;px=400" role="button" title="HARIHARA_1-1711089226970.png" alt="HARIHARA_1-1711089226970.png" /></span></P><P>Before Manufacturing confirmation, Cost of materials should estimate and released.</P><P>Cost of Product cost collector should also estimate.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HARIHARA_2-1711089257053.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/84804i48C224F6B7C89664/image-size/medium?v=v2&amp;px=400" role="button" title="HARIHARA_2-1711089257053.png" alt="HARIHARA_2-1711089257053.png" /></span></P><P><U>Manufacturing execution</U>:</P><P>Quantity and activity could confirm based on business process.</P><P>When quantity of Finish material/Sub-assemblies confirmed, this reduces planned order quantity of those materials and that of dependent material also.</P><P>During manufacturing confirmation, BOM could explode, and components could consume automatically based on setting in REM profile.</P><P>If materials are linked with Non-HU (Handling unit) storage location, then those could be confirmed through transaction MFBF.</P><P>If Finish Materials are linked with HU (Handling Unit) storage location, then production confirmation could happen with reference to Handling Unit in transaction MFHU.</P><P>Quantity linked to Handling unit will confirm.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HARIHARA_3-1711089320385.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/84805iDACD3F9056312649/image-size/medium?v=v2&amp;px=400" role="button" title="HARIHARA_3-1711089320385.png" alt="HARIHARA_3-1711089320385.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HARIHARA_4-1711089343588.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/84806i277784EDC639053F/image-size/medium?v=v2&amp;px=400" role="button" title="HARIHARA_4-1711089343588.png" alt="HARIHARA_4-1711089343588.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HARIHARA_5-1711089364965.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/84807i8F6EC56EB8C23B21/image-size/medium?v=v2&amp;px=400" role="button" title="HARIHARA_5-1711089364965.png" alt="HARIHARA_5-1711089364965.png" /></span></P><P>After manufacturing confirmation, Planned order qty reduced from 5 to 1.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HARIHARA_6-1711089393855.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/84808iF80FD09E623337EF/image-size/medium?v=v2&amp;px=400" role="button" title="HARIHARA_6-1711089393855.png" alt="HARIHARA_6-1711089393855.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-03-26T20:23:57.879000+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/updates-on-conhecimento-de-transporte-eletr%C3%B4nico-and-manifesto-eletr%C3%B4nico/ba-p/13651732 Updates on Conhecimento de Transporte Eletrônico and Manifesto Eletrônico de Documentos Fiscais 2024-03-27T20:15:42.857000+01:00 cezimbra https://community.sap.com/t5/user/viewprofilepage/user-id/41515 <P>Hi everyone,</P><P>The <STRONG>SAP Document and Reporting Compliance, inbound and outbound invoicing options for Brazil</STRONG> team has released updates on Conhecimento de Transporte Eletrônico (CT-e) and Manifesto Eletrônico de Documentos Fiscais (MDF-e). The update complies with SEFAZ <STRONG>CT-e Technical Note 2024.001 1.01 Version (Tax Benefit Inclusion)</STRONG> and <STRONG>MDF-e Technical Note 2024.001 1.01 Version (Closing Event)</STRONG>. The new version is planned to be in production on April 8, 2024, according to the tax authority.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Updates on CT-e and MDF-e Technical Note 2024.001 - Version 1.01" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/87662i284BF7BE285F7276/image-size/large?v=v2&amp;px=999" role="button" title="nt-2024.001-en.png" alt="Updates on CT-e and MDF-e Technical Note 2024.001 - Version 1.01" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Updates on CT-e and MDF-e Technical Note 2024.001 - Version 1.01</span></span></P><P><STRONG>Conhecimento de Transporte Eletrônico (CT-e):</STRONG></P><P>The new update on CT-e (model 57) and CT-e OS (model 67) allows you to include the new vICMSDeson (Exempt ICMS Tax) and cBenef (Fiscal Benefit Code) fields in the XML files. These fields will be included in the following ICMS groups: ICMS20, ICMS45, ICMS60, ICMS90, and ICMSOutraUF.</P><P>You can implement these updates by following the instructions on the SAP Notes:</P><UL><LI>SAP Note <A href="https://me.sap.com/notes/3444678" target="_self" rel="noopener noreferrer">3444678</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444679" target="_self" rel="noopener noreferrer">3444679</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444823" target="_self" rel="noopener noreferrer">3444823</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444824" target="_self" rel="noopener noreferrer">3444824</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3441171" target="_self" rel="noopener noreferrer">3441171</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3445374" target="_self" rel="noopener noreferrer">3445374</A></LI></UL><P>You can implement the changes for the SAP Electronic Invoicing for Brazil (SAP NFE) solution following the instructions on SAP Notes:</P><UL><LI>SAP Note <A href="https://me.sap.com/notes/3426934" target="_self" rel="noopener noreferrer">3426934</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444678" target="_self" rel="noopener noreferrer">3444678</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444679" target="_self" rel="noopener noreferrer">3444679</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444823" target="_self" rel="noopener noreferrer">3444823</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444824" target="_self" rel="noopener noreferrer">3444824</A></LI></UL><P>The SEFAZ CT-e Technical Note 2024.001 1.02 Version has been revised, and there will be no impact on the CT-e solution.</P><P>Check SAP&nbsp;Knowledge Base Article <A href="https://me.sap.com/notes/2807654" target="_self" rel="noopener noreferrer">2807654</A> for troubleshooting information and common issues.</P><P><STRONG>Manifesto Eletrônico de Documentos Fiscais (MDF-e):</STRONG></P><P>The update on MDF-e (model 58) allows you to include the indEncPorTerceiro field in the XML files, which has been introduced to the closing event (type 110112). To implement this update, follow the instructions on SAP Note <A href="https://me.sap.com/notes/3437854" target="_self" rel="noopener noreferrer">3437854</A>.</P><P>The SEFAZ MDF-e Technical Note 2024.001 1.02 Version has been revised. The XML schema has been updated in our service, and it is not necessary to implement other SAP Notes for this change.</P><P>You can implement the changes for the SAP Electronic Invoicing for Brazil (SAP NFE) solution by following the instructions on SAP Note <A href="https://me.sap.com/notes/3431096" target="_self" rel="noopener noreferrer">3431096</A>.</P><P><STRONG>Related blog posts:</STRONG></P><UL><LI><A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-technical-note-2023-004-v1-10-new-fields-added-to-nota-fiscal/ba-p/13625685" target="_self">NF-e Technical Note 2023.004 v1.10: New Fields Added to Nota Fiscal</A></LI><LI><A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-technical-note-2019-001-v1-62-new-fields-added-to-nota-fiscal/ba-p/13652946" target="_self">NF-e Technical Note 2019.001 v1.62: New Fields Added to Nota Fiscal</A></LI></UL><P>For a step-by-step guide on how to use the SAP Document and Reporting Compliance, inbound and outbound invoicing options for Brazil, refer to the following SAP Help Portal pages:</P><UL><LI><A href="https://help.sap.com/docs/DC_NFe/75478ef83fbe47b6836f33609268796b/ffaf0ea3291d4ddd9be5e5ba2c641e27.html" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance, inbound invoicing option for Brazil</A></LI><LI><A href="https://help.sap.com/docs/SLH_NFe/71b3b178e5cb4a50a88cf2985a14f17c/b2f5ad5578574616855dda8638e2ee92.html" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance, outbound invoicing option for Brazil</A></LI></UL><P>You can sign up for email alerts when new SAP Notes are released or updated in the components listed below; just follow the instructions in the SAP Knowledge Base Article <A href="https://me.sap.com/notes/2171560" target="_self" rel="noopener noreferrer">2171560</A>.</P><UL><LI>CA-GTF-CSC-EDO-BR</LI><LI>FI-LOC-NFE-BR-IN</LI><LI>FI-LOC-NFE-BR-OUT</LI><LI>LOD-LH-NFE</LI><LI>SLL-NFE</LI></UL><P>Use the <A href="https://app.main.regulatory-change-manager.cloud.sap/index.html" target="_self" rel="nofollow noopener noreferrer">regulatory change manager tool</A> to find out if a solution to a legal change is planned. Take a look at SAP Knowledge Base Article <A href="https://me.sap.com/notes/3421995" target="_self" rel="noopener noreferrer">3421995</A> and the <A href="https://help.sap.com/docs/REGULATORY_CHANGE_MANAGER" target="_self" rel="noopener noreferrer">regulatory change manager page</A> to understand how to use this tool.</P><P><SPAN>Have you found this blog post useful? If so, choose “Like” (Kudos), share it with your colleagues, and follow me for similar content.&nbsp;</SPAN></P><P>You are welcome to leave your questions and read similar blog posts on the <A href="https://community.sap.com/t5/c-khhcw49343/SAP+Document+and+Reporting+Compliance/pd-p/73554900100700003181" target="_self">SAP Document and Reporting Compliance SAP Community</A>. Don’t forget to follow the <A href="https://community.sap.com/t5/c-khhcw49343/SAP+Electronic+Invoicing+for+Brazil+%252528SAP+Nota+Fiscal+Eletronica%252529/pd-p/01200615320800000708" target="_self">SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletronica) tag</A>&nbsp;and the <A href="https://pages.community.sap.com/topics/document-reporting-compliance" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance Community</A> to keep up with the latest NF-e news.</P><P>Thank you, and until next time,<BR />Thiago</P><P><FONT size="3" color="#808080"><EM>Tags: electronic transportation document, nota técnica, v1.01, 2024/001, inclusão do benefício fiscal, tax benefit inclusion, tax benefit code, código de benefício fiscal, documento fiscal eletrônico, electronic fiscal document, electronic manifest of tax documents, brasil, einvoice, einvoicing, e-invoicing, electronic invoice, electronic invoicing, edocument, edoc, e-document, e-docs, e-doc, e-docs, drc, document compliance, nota fiscal eletrônica, electronic nota fiscal, ct-e outros serviços, ct-e other services.</EM></FONT></P> 2024-03-27T20:15:42.857000+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-technical-note-2019-001-v1-62-new-fields-added-to-nota-fiscal/ba-p/13652946 NF-e Technical Note 2019.001 v1.62: New Fields Added to Nota Fiscal 2024-03-28T21:27:28.599000+01:00 luize_boyen https://community.sap.com/t5/user/viewprofilepage/user-id/39112 <P>Hello, everybody</P><P>The Brazilian government has published technical note 2019.001 v1.62-SEFAZ, which provides for the inclusion of fields for presumed credit information and the addition of a fiscal benefit code for base reduction within CST 51 (Tax Situation Code 51), when there is accumulation with deferment, as well as the creation and updating of validation rules. Click <A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-nota-t%C3%A9cnica-2019-001-v1-62-novos-campos-adicionados-%C3%A0-nota-fiscal/ba-p/13652939" target="_self">here</A> for the Portuguese version.</P><P>In this blog post, we will cover the following topics available for SAP S/4HANA and SAP ERP:</P><OL><LI>Updates related to the new and changed fields.</LI><LI>Relevant SAP Notes for this legal requirement.</LI></OL><H2 id="toc-hId-990683338">New fields added to the system</H2><H3 id="toc-hId-923252552"><STRONG>New table and fields for presumed credit information</STRONG></H3><P>To meet this legal requirement, the new fields <STRONG>State Fiscal Benefit Code of Presumed Credit</STRONG> (C_CRED_PRESUMIDO), <STRONG>Presumed Credit Percentage</STRONG> (P_CRED_PRESUMIDO), and <STRONG>Presumed Credit Amount</STRONG> (V_CRED_PRESUMIDO) have been added to the new table <STRONG>Nota Fiscal Presumed Credit</STRONG> (J_1BNFPRSMD_CRDT).</P><P>The fields refer to the presumed credit benefit code defined by the UF of the nota fiscal issuer, the percentage of the presumed credit, and the presumed credit value related to the presumed credit tax benefit.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Presumed Credit.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88232i0160BD73789DCF18/image-size/large?v=v2&amp;px=999" role="button" title="Presumed Credit.png" alt="Presumed Credit.png" /></span></P><H3 id="toc-hId-726739047"><STRONG>New field for fiscal benefit code</STRONG></H3><P>The field <STRONG>State Fiscal Benefit Code ICMS Deferral with Base Reduction</STRONG> (CBENEF_RBC) has been added to the existing structure&nbsp;<STRONG>Nota Fiscal Additional Item Fields</STRONG> (J_1BNFLIN_ADD). This field specifies the code related to fiscal benefits (cBenefRBC) in case tax base reduction (RBC) accumulates with ICMS deferral (CST51), applied to each state according to the item inserted in your Electronic Nota Fiscal (NF-e).</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="benefit code.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88234iDF5AA03B0ACE8C55/image-size/large?v=v2&amp;px=999" role="button" title="benefit code.png" alt="benefit code.png" /></span></P><P>&nbsp;</P><P>The changes mentioned in this blog post are available in the following system objects for SAP ERP, SAP S/4HANA:</P><UL><LI><STRONG>Nota Fiscal Writer</STRONG> Transactions (J1B*N)<UL class="lia-list-style-type-circle"><LI><STRONG>Nota Fiscal Presumed Credit (J_1BNFPRSMD_CRDT), </STRONG>under the <STRONG>Taxes </STRONG>tab<STRONG>.</STRONG></LI><LI><STRONG>Nota Fiscal line items </STRONG>(J_1BNFLIN), under the <STRONG>Items </STRONG>tab</LI></UL></LI><LI><STRONG>Nota Fiscal System – Create Object from data</STRONG> (BAPI_J_1B_NF_CREATEFROMDATA) BAPI</LI><LI><STRONG>Nota Fiscal: List details of a Nota Fiscal </STRONG>(BAPI_J_1B_NF_READDATA) BAPI</LI><LI><STRONG>Additional Data for Nota Fiscal</STRONG> (J_1BNF_ADD_DATA) BAdI</LI></UL><P>In both BAPIs, the parameter for&nbsp;<STRONG>Nota Fiscal Presumed Credit</STRONG>&nbsp;is&nbsp;<STRONG>OBJ_PRESUMED_CREDIT</STRONG>. In the BAdI the parameter is <SPAN><STRONG>ET_PRSMD_CRDT</STRONG></SPAN><SPAN>.</SPAN></P><H2 id="toc-hId-401142823">Relevant SAP Notes for this legal requirement</H2><P>You can install the following SAP Notes to update your solution:</P><UL><LI><SPAN>SAP Note </SPAN><A href="https://me.sap.com/notes/3423951" target="_blank" rel="noopener noreferrer">3423951</A> – <STRONG>NF-e Technical Note 2019.001 v1.61: Prerequisite objects for SAP Note 3423952</STRONG></LI><LI><SPAN>SAP Note </SPAN><A href="https://me.sap.com/notes/3423952" target="_blank" rel="noopener noreferrer">3423952</A> – <STRONG>NF-e Technical Note 2019.001 v1.61: New Fields Added to Nota Fiscal for Presumed Credit and Fiscal Benefit Code</STRONG></LI></UL><DIV class="">You can implement these updates in the SAP Document and Reporting Compliance, outbound invoicing option for Brazil&nbsp;<SPAN>(LOD-LH-NFE component) and Nota Fiscal Eletrônica Outbound (FI-LOC-NFE-BR-OUT component) by following the instructions on the SAP Notes:</SPAN></DIV><UL class=""><LI>SAP Note <A href="https://me.sap.com/notes/3440649" target="_self" rel="noopener noreferrer">3440649</A>&nbsp;– <STRONG>Outbound NF-e: Prerequisite Objects of SAP Note 3447619</STRONG></LI><LI>SAP Note <A href="https://me.sap.com/notes/3447619" target="_self" rel="noopener noreferrer">3447619</A> – <STRONG>Outbound NF-e: NF-e Technical Note 2019.001 v1.62 and 2023.004 v1.11</STRONG></LI></UL><P>These SAP Notes deliver the new gCred group and the new cBenefRBC field on the ICMS51 group in the layout of the XML file. Additionally, the product information will now include three new fields (cCredPresumido, pCredPresumido, and vCredPresumido) for presumed credit.</P><P>You can also implement the changes for the SAP Electronic Invoicing for Brazil (SAP NFE) solution by following the instructions on SAP Note <A href="https://me.sap.com/notes/3426933" target="_self" rel="noopener noreferrer">3426933</A> – <STRONG>NF-e NT2019.001 &amp; NT2023.004</STRONG>.</P><P>Use the&nbsp;<STRONG>regulatory change manager</STRONG>&nbsp;tool to find out if a solution is planned for a legal change.&nbsp;For the NF-e Technical Note 2019.001 v1.61, check the URL <A href="https://app.main.regulatory-change-manager.cloud.sap/index.html#/detail/GSREQAMER-4806" target="_blank" rel="noopener nofollow noreferrer">NF-e Technical Note 2019.001 v1.61</A>.&nbsp;<SPAN>Take a look at the SAP Knowledge Base Article&nbsp;</SPAN><A href="https://me.sap.com/notes/3421995" target="_self" rel="noopener noreferrer">3421995</A><SPAN>&nbsp;and the&nbsp;</SPAN><A href="https://help.sap.com/docs/REGULATORY_CHANGE_MANAGER" target="_self" rel="noopener noreferrer">Regulatory Change Manager page</A><SPAN>&nbsp;to understand how to use this tool.</SPAN></P><P>For more information, check the&nbsp;SAP Knowledge Base Article&nbsp;<A href="https://userapps.support.sap.com/sap/support/knowledge/en/2955945" target="_blank" rel="noopener noreferrer">2955945</A> - <STRONG>NF-e Technical Note 2019.001 v1.61 Troubleshooting Guide</STRONG></P><P><SPAN><STRONG><SPAN class="">Update - 05 April, 2024</SPAN></STRONG></SPAN></P><P>Follow the steps on the SAP Notes below to implement the updates in the SAP Document and Reporting Compliance, inbound invoicing option for Brazil:</P><UL><LI>SAP Note<SPAN>&nbsp;</SPAN><A href="https://me.sap.com/notes/3444168" target="_self" rel="noopener noreferrer">3444168</A>&nbsp;–<SPAN>&nbsp;</SPAN><STRONG>Incoming NF-e: Technical Note 2019.001 v1.62 and 2023.004 v1.11</STRONG></LI><LI>SAP Note<SPAN>&nbsp;</SPAN><A href="https://me.sap.com/notes/3441355" target="_self" rel="noopener noreferrer">3441355</A>&nbsp;–<SPAN>&nbsp;</SPAN><STRONG>eDocument Brazil Inbound NF-e: Prerequisite Objects for SAP Note 3447713</STRONG></LI><LI>SAP Note<SPAN>&nbsp;</SPAN><A href="https://me.sap.com/notes/3447713" target="_self" rel="noopener noreferrer">3447713</A>&nbsp;–<SPAN>&nbsp;</SPAN><STRONG>eDocument Brazil Inbound NF-e: Technical Note 2019.001 v1.62 and 2023.004 v1.11</STRONG></LI></UL><P>Did you like this post? Give it a Like (kudo) and share the content with your colleagues. Feel free to leave feedback, comment, or question in the space below.&nbsp; And don’t forget to follow the <EM><A href="https://community.sap.com/t5/c-khhcw49343/SAP+S%25252F4HANA+Logistics+for+Brazil/pd-p/ad2381ac-617c-4639-ad63-251765718582" target="_self">SAP S/4HANA Logistics for Brazil</A>&nbsp;</EM> tag in the SAP Community to stay tuned for the latest news.&nbsp;</P><P>Regards,&nbsp;&nbsp;</P><P>Luize Boyen&nbsp;</P> 2024-03-28T21:27:28.599000+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-nota-t%C3%A9cnica-2019-001-v1-62-novos-campos-adicionados-%C3%A0-nota-fiscal/ba-p/13652939 NF-e Nota Técnica 2019.001 v1.62 novos campos adicionados à nota fiscal 2024-03-28T21:27:41.367000+01:00 luize_boyen https://community.sap.com/t5/user/viewprofilepage/user-id/39112 <P>Olá, pessoal</P><P>O governo brasileiro publicou a nota técnica 2019.001 v1.62-SEFAZ, que disponibiliza a inclusão de campos para as informações de crédito presumido e a adição do código de benefício fiscal para a redução da base de cálculo quando acumulada ao diferimento (CST 51 - Código de Situação Tributária 51), e criação e atualização de regras de validação. Clique <A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-technical-note-2019-001-v1-62-new-fields-added-to-nota-fiscal/ba-p/13652946" target="_self">aqui</A> para a versão em inglês.</P><P>Nesse blog post, abordaremos os seguintes tópicos disponíveis para SAP ERP e SAP S/4HANA:</P><OL><LI>Atualizações referentes aos novos campos adicionados.</LI><LI>SAP Notes relevantes para esse requisito legal.</LI></OL><H2 id="toc-hId-990683310">Novos campos adicionados ao sistema</H2><H3 id="toc-hId-923252524"><STRONG>Nova tabela e campos para informações de crédito presumido</STRONG></H3><P>Para atender esse requisito legal, os novos campos <STRONG>State Fiscal Benefit Code of Presumed Credit</STRONG> (C_CRED_PRESUMIDO), <STRONG>Presumed Credit Percentage </STRONG>(P_CRED_PRESUMIDO) e <STRONG>Presumed Credit Amount </STRONG>(V_CRED_PRESUMIDO) foram adicionados a nova tabela <STRONG>Nota Fiscal Presumed Credit </STRONG>(J_1BNFPRSMD_CRDT).</P><P>Os campos se referem ao código de benefício fiscal de crédito presumido definido pela UF do emissor da nota fiscal, o percentual do crédito presumido, e o valor do crédito presumido relativos ao benefício fiscal de crédito presumido.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Presumed Credit.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88223i284105E094E862C2/image-size/large?v=v2&amp;px=999" role="button" title="Presumed Credit.png" alt="Presumed Credit.png" /></span></P><H3 id="toc-hId-726739019">&nbsp;<STRONG>Novo campo para código de benefício fiscal</STRONG></H3><P>Já o campo <STRONG>State Fiscal Benefit Code ICMS Deferral with Base Reduction</STRONG> (CBENEF_RBC) foi adicionado a estrutura existente <STRONG>Nota Fiscal Additional Item</STRONG> <STRONG>Fields</STRONG> (J_1BNFLIN_ADD) e refere-se ao código de benefício fiscal utilizado pela UF do emissor da nota fiscal no caso de acumulação de redução de base de cálculo (RBC) com diferimento de ICMS (CST51), aplicado a cada estado de acordo com o item inserido na sua Nota Fiscal Eletrônica (NF-e).</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="benefit code.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88225iB9DE60196CC69D80/image-size/large?v=v2&amp;px=999" role="button" title="benefit code.png" alt="benefit code.png" /></span></P><P>As alterações mencionadas neste blog post estão disponíveis nos seguintes objetos do sistema para SAP ERP, SAP S/4HANA:</P><UL><LI>Transações da <STRONG>Nota Fiscal Writer</STRONG> (J1B*N)<BR /><UL class="lia-list-style-type-circle"><LI><STRONG>Nota Fiscal Presumed Credit </STRONG>(J_1BNFPRSMD_CRDT)<STRONG>,</STRONG>na aba<SPAN>&nbsp;</SPAN><STRONG>Taxes</STRONG></LI><LI><STRONG>Nota Fiscal line items<SPAN>&nbsp;</SPAN></STRONG>(J_1BNFLIN), na aba&nbsp;<STRONG>Items</STRONG></LI></UL></LI><LI><STRONG>Nota Fiscal System – Create Object from data</STRONG> (BAPI_J_1B_NF_CREATEFROMDATA) BAPI</LI><LI><STRONG>Nota Fiscal: List details of a Nota Fiscal </STRONG>(BAPI_J_1B_NF_READDATA) BAPI</LI><LI><STRONG>Additional Data for Nota Fiscal</STRONG> (J_1BNF_ADD_DATA) BAdI</LI></UL><P>Em ambas as BAPIs, o parâmetro para Nota Fiscal Presumed Credit é <STRONG>OBJ_PRESUMED_CREDIT</STRONG>. Na BAdI o parâmetro da nova tabela é <STRONG>ET_PRSMD_CRDT</STRONG>.</P><H2 id="toc-hId-401142795">SAP Notes relevantes para esse requisito legal</H2><P><SPAN>Você pode instalar as seguintes SAP Notes para atualizar a sua solução:</SPAN></P><UL><LI><SPAN>SAP Note </SPAN><A href="https://me.sap.com/notes/3423951" target="_blank" rel="noopener noreferrer">3423951</A> – <STRONG>NF-e Technical Note 2019.001 v1.62: Prerequisite objects for SAP Note 3423952</STRONG></LI><LI><SPAN>SAP Note </SPAN><A href="https://me.sap.com/notes/3423952" target="_blank" rel="noopener noreferrer">3423952</A> – <STRONG>NF-e Technical Note 2019.001 v1.62: New Fields Added to Nota Fiscal for Presumed Credit and Fiscal Benefit Code</STRONG></LI></UL><DIV class="">Você pode implementar essas atualizações no SAP Document and Reporting Compliance, opção de faturamento de saída para o Brasil (componente LOD-LH-NFE) e Nota Fiscal Eletrônica Outbound (componente FI-LOC-NFE-BR-OUT) seguindo as instruções nas SAP Notes:</DIV><UL class=""><LI>SAP Note <A href="https://me.sap.com/notes/3440649" target="_self" rel="noopener noreferrer">3440649</A>&nbsp;– <STRONG>Outbound NF-e: Prerequisite Objects of SAP Note 3447619</STRONG></LI><LI>SAP Note <A href="https://me.sap.com/notes/3447619" target="_self" rel="noopener noreferrer">3447619</A> – <STRONG>Outbound NF-e: NF-e Technical Note 2019.001 v1.62 and 2023.004 v1.11</STRONG></LI></UL><P><SPAN>No layout do arquivo XML, essas SAP Notes entregam o novo grupo gCred e o novo campo cBenefRBC no grupo ICMS51. As informações de produto contêm agora três novos campos (cCredPresumido, pCredPresumido and vCredPresumido) para crédito presumido.</SPAN></P><P><SPAN>Você também pode implementar as alterações na solução SAP Electronic Invoicing for Brazil (SAP NFE) seguindo as instruções da SAP Note&nbsp;<A href="https://me.sap.com/notes/3426933" target="_self" rel="noopener noreferrer">3426933</A>&nbsp;–&nbsp;<STRONG>NF-e NT2019.001 &amp; NT2023.004</STRONG>.</SPAN></P><P data-unlink="true">Use a ferramenta&nbsp;<STRONG>regulatory change manager</STRONG>&nbsp;para descobrir se uma solução está planejada.&nbsp;Para a Nota técnica da NF-e 2019.001 v1.62, consulte a URL <A href="https://app.main.regulatory-change-manager.cloud.sap/index.html#/detail/GSREQAMER-4806" target="_self" rel="nofollow noopener noreferrer">NF-e Technical Note 2019.001 v1.62</A>. P<SPAN>ara entender como usar essa ferramenta, c</SPAN><SPAN>onsulte o SAP Knowledge Base Article&nbsp;</SPAN><A href="https://me.sap.com/notes/3421995" target="_self" rel="noopener noreferrer">3421995</A><SPAN>&nbsp;e a <A href="https://help.sap.com/docs/REGULATORY_CHANGE_MANAGER" target="_self" rel="noopener noreferrer">página do&nbsp;</A></SPAN><A href="https://help.sap.com/docs/REGULATORY_CHANGE_MANAGER" target="_self" rel="noopener noreferrer">Regulatory Change Manager</A>.</P><P>Para mais informações, consulte o&nbsp;SAP Knowledge Base Article&nbsp;<A href="https://userapps.support.sap.com/sap/support/knowledge/en/2955945" target="_blank" rel="noopener noreferrer">2955945</A> - <STRONG>NF-e Technical Note 2019.001 v1.62 Troubleshooting Guide</STRONG></P><P><SPAN><STRONG><SPAN class="">Atualização - 05 de abril de 2024</SPAN></STRONG></SPAN></P><P>Para implementar as atualizações no SAP Document and Reporting Compliance, opção de emissão de fatura de entrada para o Brasil, siga as etapas nas SAP Notes abaixo:</P><UL><LI>SAP Note<SPAN>&nbsp;</SPAN><A href="https://me.sap.com/notes/3444168" target="_self" rel="noopener noreferrer">3444168</A>&nbsp;–<SPAN>&nbsp;</SPAN><STRONG>Incoming NF-e: Technical Note 2019.001 v1.62 and 2023.004 v1.11</STRONG></LI><LI>SAP Note<SPAN>&nbsp;</SPAN><A href="https://me.sap.com/notes/3441355" target="_self" rel="noopener noreferrer">3441355</A>&nbsp;–<SPAN>&nbsp;</SPAN><STRONG>eDocument Brazil Inbound NF-e: Prerequisite Objects for SAP Note 3447713</STRONG></LI><LI>SAP Note<SPAN>&nbsp;</SPAN><A href="https://me.sap.com/notes/3447713" target="_self" rel="noopener noreferrer">3447713</A>&nbsp;–<SPAN>&nbsp;</SPAN><STRONG>eDocument Brazil Inbound NF-e: Technical Note 2019.001 v1.62 and 2023.004 v1.11</STRONG></LI></UL><P>Gostou desse post? Dê um&nbsp;<EM>Like</EM>&nbsp;(kudo) e compartilhe o conteúdo com seus colegas. Fiquem à vontade para deixar um feedback, comentário ou pergunta no espaço abaixo.&nbsp;&nbsp;E não esqueça de seguir a&nbsp;tag &nbsp;<A href="https://community.sap.com/t5/c-khhcw49343/SAP+S%25252F4HANA+Logistics+for+Brazil/pd-p/ad2381ac-617c-4639-ad63-251765718582" target="_blank">SAP S/4HANA Logistics for Brazil</A>&nbsp;na SAP Community para ficar ligado nas últimas notícias.&nbsp;</P><P>Um abraço,&nbsp;</P><P>Luize Boyen&nbsp;</P> 2024-03-28T21:27:41.367000+01:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-nota-t%C3%A9cnica-2023-004-v1-10-novos-campos-adicionados-%C3%A0-nota-fiscal/ba-p/13640145 NF-e Nota Técnica 2023.004 v1.10: novos campos adicionados à nota fiscal (Cloud) 2024-04-01T16:06:44.569000+02:00 luize_boyen https://community.sap.com/t5/user/viewprofilepage/user-id/39112 <P>Olá, pessoal</P><P>O governo brasileiro publicou a nota técnica 2023.004 v1.10-SEFAZ, que disponibiliza a inclusão de campos e alteração de campos existentes e regras de validação para os grupos <EM>Documentos de Importação, ICMS </EM>e<EM> Informação de Pagamento</EM> para nota fiscal eletrônica (NF-e). Clique <A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-technical-note-2023-004-v1-10-new-fields-added-to-nota-fiscal-cloud/ba-p/13640101" target="_self">aqui</A> para versão em inglês.</P><P>Nesse blog post, abordaremos sobre atualizações referentes aos campos adicionados e alterados disponíveis para SAP S/4HANA Cloud:</P><H2 id="toc-hId-989692546">Novos campos adicionados ao sistema</H2><H4 id="toc-hId-1051344479"><STRONG>Grupo de Documentos de Importação</STRONG></H4><P>Foi adicionado o novo campo <STRONG>CPF Number </STRONG>à tabela <STRONG>Nota Fiscal Data for Import Documents.</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="CPF.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/81615i3B43EF4914B76EAF/image-size/large?v=v2&amp;px=999" role="button" title="CPF.png" alt="CPF.png" /></span></P><P>&nbsp;</P><H4 id="toc-hId-854830974"><STRONG>Grupo de ICMS</STRONG></H4><P>O novo campo <STRONG>Exempted ICMS value deduction from the nota fiscal total</STRONG> foi adicionado à tabela existente <STRONG>Nota Fiscal line items</STRONG>. Esse indica se o valor ICMS isento é deduzido.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Exempted ICMS.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/81616i23BCA1D9138880E0/image-size/large?v=v2&amp;px=999" role="button" title="Exempted ICMS.png" alt="Exempted ICMS.png" /></span></P><P>&nbsp;</P><P><STRONG>Grupo de Informações de Pagamento:</STRONG></P><P>Os novos campos <STRONG>Payment Recipient</STRONG> <STRONG>CNPJ</STRONG>, <STRONG>Payment terminal identifier</STRONG> , <STRONG>Payment Date</STRONG> , <STRONG>Payment Transactional CNPJ</STRONG> e <STRONG>Region of the establishment's CNPJ where the payment is made</STRONG> foram adicionados à tabela existente <STRONG>Payment Information</STRONG>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="payment information.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/81617i4351B67196B442AE/image-size/large?v=v2&amp;px=999" role="button" title="payment information.png" alt="payment information.png" /></span></P><P>&nbsp;</P><H2 id="toc-hId-400152031"><SPAN>Mudanças em campos já existentes no sistema</SPAN></H2><P>O campo <STRONG>Authorization Number</STRONG> na <STRONG>Payment Information table</STRONG> agora suporta até 128 caracteres.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="authorization number.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/81618i7099A6B29CCB2B99/image-size/large?v=v2&amp;px=999" role="button" title="authorization number.png" alt="authorization number.png" /></span></P><P>&nbsp;</P><P><SPAN>No grupo, foi adicionada a seguinte entrada no intervalo de valores do campo </SPAN><STRONG>Process Origin Indicator</STRONG><SPAN>:</SPAN></P><UL><LI>4-CONFAZ</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="CONFAZ.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/81619i70830F1DC308CC39/image-size/large?v=v2&amp;px=999" role="button" title="CONFAZ.png" alt="CONFAZ.png" /></span></P><P>&nbsp;</P><P><SPAN>Também foram adicionadas novas entradas ao intervalo de valores do campo </SPAN><STRONG>Type Of Concession Act</STRONG><SPAN>:</SPAN></P><UL><LI>14-SINIEF Adjustment</LI><LI>15-ICMS Agreement</LI></UL><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="14 SINEF 15 ICMS.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/81620iECFA462DE8AD4E9A/image-size/large?v=v2&amp;px=999" role="button" title="14 SINEF 15 ICMS.png" alt="14 SINEF 15 ICMS.png" /></span></P><P>&nbsp;</P><P><SPAN>As alterações mencionadas neste blog post estão disponíveis nos seguintes objetos do sistema para SAP S/4HANA Cloud:</SPAN></P><UL><LI><STRONG>Create Nota Fiscal</STRONG> app</LI><LI><STRONG>Change Nota Fiscal</STRONG> app</LI><LI><STRONG>Display Nota Fiscal</STRONG> app</LI><LI><STRONG>Additional Data for Nota Fiscal </STRONG>Cloud BAdI</LI></UL><P>Gostou desse post? Dê um&nbsp;<EM>Like</EM>&nbsp;e compartilhe o conteúdo com seus colegas. Fiquem à vontade para deixar um feedback, comentário ou pergunta no espaço abaixo.&nbsp;&nbsp;E não esqueça de seguir a tag&nbsp;<A href="https://blogs.sap.com/tags/01a44cc5-3c94-4909-b8ae-29d15f3f7e88/" target="_blank" rel="noopener noreferrer"><EM>SAP S/4HANA Cloud Logistics for Brazil</EM></A>&nbsp;na SAP Community para ficar ligado nas últimas notícias.&nbsp;</P><P>Um abraço,&nbsp;</P><P>Luize Boyen</P><P>&nbsp;</P> 2024-04-01T16:06:44.569000+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/technology-blogs-by-members/linear-programming-in-abap-simplex-method-find-optimised-bom/ba-p/13661302 Linear programming in ABAP. Simplex method. Find optimised BOM 2024-04-07T00:58:49.597000+02:00 aamelin1 https://community.sap.com/t5/user/viewprofilepage/user-id/157733 <P>This is a short post regarding linear programming (LP) and Simplex method in ABAP. I’ve tried to find some standard SAP functionality, but with no success (except a small demo program <STRONG>GENIOS_TEST_DEMO</STRONG>). Maybe I’m reinventing a wheel here, so, if somebody knows it – please let me know (maybe it could be part of PP, APO or IBP functionality).</P><P>Below you may find a simple basic description how some of LP problem can be solve via standard SAP class <STRONG>cl_genios_environment</STRONG>.</P><P>&nbsp;</P><H2 id="toc-hId-991571174">What is LP?</H2><P><STRONG>Linear programming</STRONG><SPAN>&nbsp;</SPAN>(<STRONG>LP</STRONG>), also called<SPAN>&nbsp;</SPAN><STRONG>linear optimization</STRONG>, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a<SPAN>&nbsp;</SPAN>mathematical model<SPAN>&nbsp;</SPAN>whose requirements and objective are represented by<SPAN>&nbsp;</SPAN>linear relationships. Linear programming is a special case of mathematical programming (also known as<SPAN>&nbsp;</SPAN>mathematical optimization).</P><P>Link to the WIKI <A href="https://en.wikipedia.org/wiki/Linear_programming" target="_blank" rel="noopener nofollow noreferrer">https://en.wikipedia.org/wiki/Linear_programming</A></P><P>&nbsp;</P><H1 id="toc-hId-665974950">Example of optimization task. Creating an optimal BOM with necessary characteristics</H1><P>As one of the optimisation task which can be solved by LP let’s take this one:</P><P>We need to create a some blend from raw materials with characteristics as shown below, with components percentage:</P><UL><LI>N &gt;=15%,</LI><LI>P &gt;=15%,</LI><LI>K &gt;=70%.</LI></UL><P>*N/P/K is a components of a material. These components also contain in a raw materials, but in a different components percentages.</P><TABLE><TBODY><TR><TD width="120"><P><STRONG>Raw material</STRONG></P></TD><TD width="120"><P><STRONG>N, %</STRONG></P></TD><TD width="120"><P><STRONG>P, %</STRONG></P></TD><TD width="120"><P><STRONG>K, %</STRONG></P></TD><TD width="120"><P><STRONG>Price per KG</STRONG></P></TD></TR><TR><TD width="120"><P><STRONG>Material 1 (x1)</STRONG></P></TD><TD width="120"><P>12</P></TD><TD width="120"><P>12</P></TD><TD width="120"><P>76</P></TD><TD width="120"><P>35 EUR</P></TD></TR><TR><TD width="120"><P><STRONG>Material 2 (x2)</STRONG></P></TD><TD width="120"><P>20</P></TD><TD width="120"><P>18</P></TD><TD width="120"><P>62</P></TD><TD width="120"><P>52 EUR</P></TD></TR><TR><TD width="120"><P><STRONG>Material 3 (x3)</STRONG></P></TD><TD width="120"><P>12</P></TD><TD width="120"><P>18</P></TD><TD width="120"><P>70</P></TD><TD width="120"><P>40 EUR</P></TD></TR><TR><TD width="120"><P><STRONG>Material 4 (x4)</STRONG></P></TD><TD width="120"><P>20</P></TD><TD width="120"><P>14</P></TD><TD width="120"><P>66</P></TD><TD width="120"><P>46 EUR</P></TD></TR></TBODY></TABLE><P>As an assumption – component percentage are mass based.</P><P><STRONG>Requirements:</STRONG>&nbsp;find optimal (with less total price) bill of material (BOM) to create 1KG of this blend.</P><P><STRONG>Let's create an economic-mathematical model of the problem:</STRONG></P><P><U>Define as:<BR /></U>x1&nbsp;– quantity of Material 1 in target blend, in kg<BR />x2&nbsp;– …Material 2, kg<BR />x3&nbsp;– …Material 3, kg<BR />x4&nbsp;– …Material 4, kg</P><P>&nbsp;</P><P><U>Restriction of components percentages can be formalized as system of linear inequations :<BR /></U>12*&lt;x1&gt; + 20*&lt;x2&gt; + 12*&lt;x3&gt; + 20*&lt;x4&gt; ≥ 15*(&lt;x1&gt; + &lt;x2&gt; + &lt;x3&gt; + &lt;x4&gt;)<BR />12*&lt;x1&gt; + 18*&lt;x2&gt; + 18*&lt;x3&gt; + 14*&lt;x4&gt; ≥ 15*(&lt;x1&gt; + &lt;x2&gt; + &lt;x3&gt; + &lt;x4&gt;)<BR />76*&lt;x1&gt; + 62*&lt;x2&gt; + 70*&lt;x3&gt; + 66*&lt;x4&gt; = 70*(&lt;x1&gt; + &lt;x2&gt; + &lt;x3&gt; + &lt;x4&gt;)</P><P>Left side: percentage of N/P/K in raw materials multiply by quantity of raw materials in final blend</P><P>Right side: Target blend N/P/K characteristics</P><P>&nbsp;</P><P><U>Restriction of total blend quantity should be equal to 1kg, let’s put it as an additional at the previous inequations<BR /></U>&lt;x1&gt; + &lt;x2&gt; + &lt;x3&gt; + &lt;x4&gt; = 1 (kg)</P><P><U>Final blend price function, which should be optimized is:<BR /></U>35*&lt;x1&gt; + 52*&lt;x2&gt; + 40*&lt;x3&gt; + 46*&lt;x4&gt; &nbsp;→ min</P><P>This is a sum of price multiply by quantity of each raw material in target blend.</P><P>&nbsp;</P><H2 id="toc-hId-598544164">How it can be solved in math way</H2><P>Let's solve the linear programming problem using the dual simplex method and simplex tables.</P><P><A href="https://en.wikipedia.org/wiki/Simplex_algorithm" target="_blank" rel="noopener nofollow noreferrer">https://en.wikipedia.org/wiki/Simplex_algorithm</A></P><P>Reduce the system of inequalities to a system of equations by introducing additional variables (x5 ,x6 ,x7):</P><P>12*x1+20*x2+12*x3+20*x4+x5&nbsp;= 15<BR />12*x1+18*x2+18*x3+14*x4+x6&nbsp;= 15<BR />76*x1+62*x2+70*x3+66*x4+x7&nbsp;= 70<BR />x1+x2+x3+x4&nbsp;= 1<BR /><BR /></P><P>Extended matrix of the system of equalities constraints will be:</P><TABLE><TBODY><TR><TD><P>12</P></TD><TD><P>20</P></TD><TD><P>12</P></TD><TD><P>20</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>15</P></TD></TR><TR><TD><P>12</P></TD><TD><P>18</P></TD><TD><P>18</P></TD><TD><P>14</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>15</P></TD></TR><TR><TD><P>76</P></TD><TD><P>62</P></TD><TD><P>70</P></TD><TD><P>66</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>70</P></TD></TR><TR><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR></TBODY></TABLE><P>And we can find an optimal values via <STRONG>simplex method</STRONG>.</P><div class="lia-spoiler-container"><a class="lia-spoiler-link" href="#" rel="nofollow noopener noreferrer">Spoiler</a><noscript> (Highlight to read)</noscript><div class="lia-spoiler-border"><div class="lia-spoiler-content"><UL><LI>Let's reduce matrix to the JCF<SPAN>&nbsp;</SPAN><A href="https://en.wikipedia.org/wiki/Jordan_normal_form" target="_blank" rel="noopener nofollow noreferrer">https://en.wikipedia.org/wiki/Jordan_normal_form</A> .</LI></UL><P>Base variable will be x4.</P><P>The line corresponding to the variable x4 is obtained by dividing all elements of the line x4 by the 1. In the remaining cells of the x4 column we write zeros.</P><P>Let's show the calculation of each element in the table below:</P><TABLE><TBODY><TR><TD><P>12-(1*20)<BR />/1</P></TD><TD><P>20-(1*20)<BR />/1</P></TD><TD><P>12-(1*20)<BR />/1</P></TD><TD><P>20-(1*20)<BR />/1</P></TD><TD><P>1-(0*20)<BR />/1</P></TD><TD><P>0-(0*20)<BR />/1</P></TD><TD><P>0-(0*20)<BR />/1</P></TD><TD><P>15-(1*20)<BR />/1</P></TD></TR><TR><TD><P>12-(1*14)<BR />/1</P></TD><TD><P>18-(1*14)<BR />/1</P></TD><TD><P>18-(1*14)<BR />/1</P></TD><TD><P>14-(1*14)<BR />/1</P></TD><TD><P>0-(0*14)<BR />/1</P></TD><TD><P>1-(0*14)<BR />/1</P></TD><TD><P>0-(0*14)<BR />/1</P></TD><TD><P>15-(1*14)<BR />/1</P></TD></TR><TR><TD><P>76-(1*66)<BR />/1</P></TD><TD><P>62-(1*66)<BR />/1</P></TD><TD><P>70-(1*66)<BR />/1</P></TD><TD><P>66-(1*66)<BR />/1</P></TD><TD><P>0-(0*66)<BR />/1</P></TD><TD><P>0-(0*66)<BR />/1</P></TD><TD><P>1-(0*66)<BR />/1</P></TD><TD><P>70-(1*66)<BR />/1</P></TD></TR><TR><TD><P>1 / 1</P></TD><TD><P>1 / 1</P></TD><TD><P>1 / 1</P></TD><TD><P>1 / 1</P></TD><TD><P>0 / 1</P></TD><TD><P>0 / 1</P></TD><TD><P>0 / 1</P></TD><TD><P>1 / 1</P></TD></TR></TBODY></TABLE><P><BR />New JCF matrix will be like:</P><TABLE><TBODY><TR><TD><P>-8</P></TD><TD><P>0</P></TD><TD><P>-8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>-5</P></TD></TR><TR><TD><P>-2</P></TD><TD><P>4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR><TR><TD><P>10</P></TD><TD><P>-4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>4</P></TD></TR><TR><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR></TBODY></TABLE><P>&nbsp;</P><UL><LI>Let’s take as a basic variables x5, x6, x7 and x4 and calculate the basic variables in terms of the other variables:</LI></UL><P>x5&nbsp;= 8*x1+8*x3-5<BR />x6&nbsp;= 2*x1-4*x2-4*x3+1<BR />x7&nbsp;= -10*x1+4*x2-4*x3+4<BR />x4&nbsp;= -x1-x2-x3+1<BR /><BR /></P><P>Now put them into the target function:</P><P>F(X) = 35*x1+52*x2+40*x3+46*(-x1-x2-x3+1) or F(X) = -11*x1+6*x2-6*x3+46<BR />-8*x1-8*x3+x5=-5<BR />-2*x1+4*x2+4*x3+x6=1<BR />10*x1-4*x2+4*x3+x7=4<BR />x1+x2+x3+x4=1<BR /><BR /></P><P>And create a new matrix:</P><TABLE><TBODY><TR><TD><P>-8</P></TD><TD><P>0</P></TD><TD><P>-8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P>-2</P></TD><TD><P>4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD></TR><TR><TD><P>10</P></TD><TD><P>-4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR><TR><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR></TBODY></TABLE><P><STRONG>Basic variables</STRONG> are variables that are included in only one equation of the system of constraints and, moreover, with a 1 coefficient.</P><P><STRONG>Economic meaning of additional variables</STRONG>: additional variables of the LP problem indicate the surplus of raw materials, time, and other resources remaining in the production of a given optimal plan.<BR /><BR />Let's solve the system of equations for the basic variables: x5, x6, x7, x4</P><P>Assuming that the free variables(x1,x2,x3) are equal to 0, we obtain the first possible solution (#0):<BR />X0 = (0,0,0,1,-5,1,4)<BR />The basic solution is acceptable if it is non-negative.</P><TABLE><TBODY><TR><TD><P><STRONG>Basis</STRONG></P></TD><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P>-5</P></TD><TD><P>-8</P></TD><TD><P>0</P></TD><TD><P>-8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P>1</P></TD><TD><P>-2</P></TD><TD><P>4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD><TD><P>4</P></TD><TD><P>10</P></TD><TD><P>-4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>F(X0)</STRONG></P></TD><TD><P>0</P></TD><TD><P>11</P></TD><TD><P>-6</P></TD><TD><P>6</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR></TBODY></TABLE><P><STRONG>Checking the optimality criterion - Not optimal.</STRONG></P><P>This possible solution (#0) in a simplex table is a pseudo-solution, so we need to determine the leading row and column.<BR /><STRONG>Definition of a new free variable.</STRONG></P><P>Among the negative values of the basic variables, we select the largest in absolute value.</P><P>The leading line will be the 1st line, and the variable x5 should be derived from the basis.<BR /><STRONG>Definition of a new basic variable.</STRONG></P><P>The minimum value of θ corresponds to the 3rd column, i.e. the variable x3 must be entered into the basis.</P><P>At the intersection of the leading row and column there is a value equal to -8.</P><P>&nbsp;</P><TABLE><TBODY><TR><TD><P><STRONG>Basis</STRONG></P></TD><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P>-5</P></TD><TD><P>-8</P></TD><TD><P>0</P></TD><TD><P><FONT color="#FF0000"><STRONG>-8</STRONG></FONT></P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P>1</P></TD><TD><P>-2</P></TD><TD><P>4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD><TD><P>4</P></TD><TD><P>10</P></TD><TD><P>-4</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>F(X0)</STRONG></P></TD><TD><P>0</P></TD><TD><P>11</P></TD><TD><P>-6</P></TD><TD><P><FONT color="#FF0000"><STRONG>6</STRONG></FONT></P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>θ</STRONG></P></TD><TD>&nbsp;</TD><TD><P>-11/8</P></TD><TD><P>-&nbsp;</P></TD><TD><P>6/-8 =<BR />&nbsp;-3/4</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD></TR></TBODY></TABLE><P>&nbsp;</P><UL><LI><STRONG>Recalculation of the simplex table.</STRONG></LI></UL><P>Carry out transformations of the simplex table using the Gauss-Jordan method<BR />Let's one more time show the calculation of each element in a table:</P><TABLE><TBODY><TR><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD></TR><TR><TD><P>-5 / -8</P></TD><TD><P>-8 / -8</P></TD><TD><P>0 / -8</P></TD><TD><P>-8 / -8</P></TD><TD><P>0 / -8</P></TD><TD><P>1 / -8</P></TD><TD><P>0 / -8</P></TD><TD><P>0 / -8</P></TD></TR><TR><TD><P>1-(-5*4)<BR />/-8</P></TD><TD><P>-2-(-8*4)<BR />/-8</P></TD><TD><P>4-(0*4)<BR />/-8</P></TD><TD><P>4-(-8*4)<BR />/-8</P></TD><TD><P>0-(0*4)<BR />/-8</P></TD><TD><P>0-(1*4)<BR />/-8</P></TD><TD><P>1-(0*4)<BR />/-8</P></TD><TD><P>0-(0*4)<BR />/-8</P></TD></TR><TR><TD><P>4-(-5*4)<BR />/-8</P></TD><TD><P>10-(-8*4)<BR />/-8</P></TD><TD><P>-4-(0*4)<BR />/-8</P></TD><TD><P>4-(-8*4)<BR />/-8</P></TD><TD><P>0-(0*4)<BR />/-8</P></TD><TD><P>0-(1*4)<BR />/-8</P></TD><TD><P>0-(0*4)<BR />/-8</P></TD><TD><P>1-(0*4)<BR />/-8</P></TD></TR><TR><TD><P>1-(-5*1)<BR />/-8</P></TD><TD><P>1-(-8*1)<BR />/-8</P></TD><TD><P>1-(0*1)<BR />/-8</P></TD><TD><P>1-(-8*1)<BR />/-8</P></TD><TD><P>1-(0*1)<BR />/-8</P></TD><TD><P>0-(1*1)<BR />/-8</P></TD><TD><P>0-(0*1)<BR />/-8</P></TD><TD><P>0-(0*1)<BR />/-8</P></TD></TR><TR><TD><P>0-(-5*6)<BR />/-8</P></TD><TD><P>11-(-8*6)<BR />/-8</P></TD><TD><P>-6-(0*6)<BR />/-8</P></TD><TD><P>6-(-8*6)<BR />/-8</P></TD><TD><P>0-(0*6)<BR />/-8</P></TD><TD><P>0-(1*6)<BR />/-8</P></TD><TD><P>0-(0*6)<BR />/-8</P></TD><TD><P>0-(0*6)<BR />/-8</P></TD></TR></TBODY></TABLE><P>&nbsp;</P><P>Result:</P><TABLE><TBODY><TR><TD><P><STRONG>Basis</STRONG></P></TD><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P>5/8</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>-1/8</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P>-3/2</P></TD><TD><P>-6</P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1/2</P></TD><TD><P>1</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD><TD><P>3/2</P></TD><TD><P>6</P></TD><TD><P>-4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1/2</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>1/8</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>F(X0)</STRONG></P></TD><TD><P>-15/4</P></TD><TD><P>5</P></TD><TD><P>-6</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>3/4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR></TBODY></TABLE><P>&nbsp;</P><UL><LI>One more time make a calculation with 2nd row and x6 and 1st column and put x1 as a basis variable.</LI></UL><TABLE><TBODY><TR><TD><P><STRONG>Basis</STRONG></P></TD><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P>5/8</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>-1/8</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P>-3/2</P></TD><TD><P><FONT color="#FF0000"><STRONG>-6</STRONG></FONT></P></TD><TD><P>4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1/2</P></TD><TD><P>1</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD><TD><P>3/2</P></TD><TD><P>6</P></TD><TD><P>-4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1/2</P></TD><TD><P>0</P></TD><TD><P>1</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>1/8</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>F(X0)</STRONG></P></TD><TD><P>-15/4</P></TD><TD><P><FONT color="#FF0000"><STRONG>5</STRONG></FONT></P></TD><TD><P>-6</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>3/4</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>θ</STRONG></P></TD><TD>&nbsp;</TD><TD><P>-5/6</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD><TD><P>-&nbsp;</P></TD></TR></TBODY></TABLE><P>&nbsp;</P><UL><LI>Carry out transformations of the simplex table using the Gauss-Jordan method one more time:</LI></UL><TABLE><TBODY><TR><TD><P><STRONG>Basis</STRONG></P></TD><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>2/3</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>-1/24</P></TD><TD><P>1/6</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P>1/4</P></TD><TD><P>1</P></TD><TD><P>-2/3</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>-1/12</P></TD><TD><P>-1/6</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>1/8</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR><TR><TD><P><STRONG>F(X1)</STRONG></P></TD><TD><P>-5</P></TD><TD><P>0</P></TD><TD><P>-8/3</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>7/6</P></TD><TD><P>5/6</P></TD><TD><P>0</P></TD></TR></TBODY></TABLE><P><BR />Here’s all elements at basis columns &gt; 0.<BR /><BR /><STRONG>Checking the optimality criterion - </STRONG>not optimal because there are positive coefficients in the index row.<BR /><STRONG>Definition of a new basic variable -</STRONG> x5 as the largest coefficient.<BR /><STRONG>Definition of a new free variable.&nbsp;</STRONG>min (- , - , 0 : 1 , 3/8 : 1/8 ) = 0. Therefore, the 3rd <SPAN>&nbsp;</SPAN>line is the leading one.</P><TABLE><TBODY><TR><TD><P><STRONG>Basis</STRONG></P></TD><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD><TD><P><STRONG>min</STRONG></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>2/3</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>-1/24</P></TD><TD><P>1/6</P></TD><TD><P>0</P></TD><TD><P>-</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P>1/4</P></TD><TD><P>1</P></TD><TD><P>-2/3</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>-1/12</P></TD><TD><P>-1/6</P></TD><TD><P>0</P></TD><TD><P>-</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P><FONT color="#FF0000"><STRONG>1</STRONG></FONT></P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P><FONT color="#FF0000"><STRONG>0</STRONG></FONT></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>1/8</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>3</P></TD></TR><TR><TD><P><STRONG>F(X1)</STRONG></P></TD><TD><P>-5</P></TD><TD><P>0</P></TD><TD><P>-8/3</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P><FONT color="#FF0000"><STRONG>7/6</STRONG></FONT></P></TD><TD><P>5/6</P></TD><TD><P>0</P></TD><TD><P>0</P></TD></TR></TBODY></TABLE><P>&nbsp;</P><UL><LI>And one more time. Final simplex table will be like this:</LI></UL><TABLE><TBODY><TR><TD><P><STRONG>Basis</STRONG></P></TD><TD><P><STRONG>B</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>2</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>6</STRONG></P></TD><TD><P><STRONG>x</STRONG><STRONG>7</STRONG></P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>3</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>2/3</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>5/24</P></TD><TD><P>1/24</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>1</STRONG></P></TD><TD><P>1/4</P></TD><TD><P>1</P></TD><TD><P>-2/3</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>-1/12</P></TD><TD><P>1/12</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>5</STRONG></P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>1</P></TD><TD><P>1</P></TD></TR><TR><TD><P><STRONG>x</STRONG><STRONG>4</STRONG></P></TD><TD><P>3/8</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>1</P></TD><TD><P>0</P></TD><TD><P>-1/8</P></TD><TD><P>-1/8</P></TD></TR><TR><TD><P><STRONG>F(X)</STRONG></P></TD><TD><P>-5</P></TD><TD><P>0</P></TD><TD><P>-8/3</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>0</P></TD><TD><P>-1/3</P></TD><TD><P>-7/6</P></TD></TR></TBODY></TABLE><P><STRONG><BR />Checking the optimality criterion - Optimal!</STRONG></P><P>There are no positive values among the index string values. Therefore, this table determines the optimal solution for the problem.</P></div><noscript><div class="lia-spoiler-noscript-container"><div class="lia-spoiler-noscript-content">Let's reduce matrix to the JCF&nbsp;https://en.wikipedia.org/wiki/Jordan_normal_form .Base variable will be x4.The line corresponding to the variable x4 is obtained by dividing all elements of the line x4 by the 1. In the remaining cells of the x4 column we write zeros.Let's show the calculation of each element in the table below:12-(1*20)/120-(1*20)/112-(1*20)/120-(1*20)/11-(0*20)/10-(0*20)/10-(0*20)/115-(1*20)/112-(1*14)/118-(1*14)/118-(1*14)/114-(1*14)/10-(0*14)/11-(0*14)/10-(0*14)/115-(1*14)/176-(1*66)/162-(1*66)/170-(1*66)/166-(1*66)/10-(0*66)/10-(0*66)/11-(0*66)/170-(1*66)/11 / 11 / 11 / 11 / 10 / 10 / 10 / 11 / 1New JCF matrix will be like:-80-80100-5-2440010110-440001411110001&nbsp;Let’s take as a basic variables x5, x6, x7 and x4 and calculate the basic variables in terms of the other variables:x5&nbsp;= 8*x1+8*x3-5x6&nbsp;= 2*x1-4*x2-4*x3+1x7&nbsp;= -10*x1+4*x2-4*x3+4x4&nbsp;= -x1-x2-x3+1Now put them into the target function:F(X) = 35*x1+52*x2+40*x3+46*(-x1-x2-x3+1) or F(X) = -11*x1+6*x2-6*x3+46-8*x1-8*x3+x5=-5-2*x1+4*x2+4*x3+x6=110*x1-4*x2+4*x3+x7=4x1+x2+x3+x4=1And create a new matrix:-80-80100-244001010-4400011111000Basic variables are variables that are included in only one equation of the system of constraints and, moreover, with a 1 coefficient.Economic meaning of additional variables: additional variables of the LP problem indicate the surplus of raw materials, time, and other resources remaining in the production of a given optimal plan.Let's solve the system of equations for the basic variables: x5, x6, x7, x4Assuming that the free variables(x1,x2,x3) are equal to 0, we obtain the first possible solution (#0):X0 = (0,0,0,1,-5,1,4)The basic solution is acceptable if it is non-negative.BasisBx1x2x3x4x5x6x7x5-5-80-80100x61-2440010x7410-440001x411111000F(X0)011-660000Checking the optimality criterion - Not optimal.This possible solution (#0) in a simplex table is a pseudo-solution, so we need to determine the leading row and column.Definition of a new free variable.Among the negative values of the basic variables, we select the largest in absolute value.The leading line will be the 1st line, and the variable x5 should be derived from the basis.Definition of a new basic variable.The minimum value of θ corresponds to the 3rd column, i.e. the variable x3 must be entered into the basis.At the intersection of the leading row and column there is a value equal to -8.&nbsp;BasisBx1x2x3x4x5x6x7x5-5-80-80100x61-2440010x7410-440001x411111000F(X0)011-660000θ&nbsp;-11/8-&nbsp;6/-8 =&nbsp;-3/4-&nbsp;-&nbsp;-&nbsp;-&nbsp;&nbsp;Recalculation of the simplex table.Carry out transformations of the simplex table using the Gauss-Jordan methodLet's one more time show the calculation of each element in a table:Bx1x2x3x4x5x6x7-5 / -8-8 / -80 / -8-8 / -80 / -81 / -80 / -80 / -81-(-5*4)/-8-2-(-8*4)/-84-(0*4)/-84-(-8*4)/-80-(0*4)/-80-(1*4)/-81-(0*4)/-80-(0*4)/-84-(-5*4)/-810-(-8*4)/-8-4-(0*4)/-84-(-8*4)/-80-(0*4)/-80-(1*4)/-80-(0*4)/-81-(0*4)/-81-(-5*1)/-81-(-8*1)/-81-(0*1)/-81-(-8*1)/-81-(0*1)/-80-(1*1)/-80-(0*1)/-80-(0*1)/-80-(-5*6)/-811-(-8*6)/-8-6-(0*6)/-86-(-8*6)/-80-(0*6)/-80-(1*6)/-80-(0*6)/-80-(0*6)/-8&nbsp;Result:BasisBx1x2x3x4x5x6x7x35/81010-1/800x6-3/2-64001/210x73/26-4001/201x43/801011/800F(X0)-15/45-6003/400&nbsp;One more time make a calculation with 2nd row and x6 and 1st column and put x1 as a basis variable.BasisBx1x2x3x4x5x6x7x35/81010-1/800x6-3/2-64001/210x73/26-4001/201x43/801011/800F(X0)-15/45-6003/400θ&nbsp;-5/6-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;&nbsp;Carry out transformations of the simplex table using the Gauss-Jordan method one more time:BasisBx1x2x3x4x5x6x7x33/802/310-1/241/60x11/41-2/300-1/12-1/60x700000111x43/801011/800F(X1)-50-8/3007/65/60Here’s all elements at basis columns &gt; 0.Checking the optimality criterion - not optimal because there are positive coefficients in the index row.Definition of a new basic variable - x5 as the largest coefficient.Definition of a new free variable.&nbsp;min (- , - , 0 : 1 , 3/8 : 1/8 ) = 0. Therefore, the 3rd &nbsp;line is the leading one.BasisBx1x2x3x4x5x6x7minx33/802/310-1/241/60-x11/41-2/300-1/12-1/60-x7000001110x43/801011/8003F(X1)-50-8/3007/65/600&nbsp;And one more time. Final simplex table will be like this:BasisBx1x2x3x4x5x6x7x33/802/31005/241/24x11/41-2/3000-1/121/12x500000111x43/801010-1/8-1/8F(X)-50-8/3000-1/3-7/6Checking the optimality criterion - Optimal!There are no positive values among the index string values. Therefore, this table determines the optimal solution for the problem.</div></div></noscript></div></div><P><STRONG>Final solution.</STRONG> Here’s an optimal quantity of raw materials which can be used to create a necessary blend:</P><UL><LI><STRONG>x</STRONG><STRONG>1</STRONG><SPAN><STRONG>&nbsp;</STRONG></SPAN><STRONG>= 0,25 kg; </STRONG></LI><LI><STRONG>x</STRONG><STRONG>2</STRONG><SPAN><STRONG>&nbsp;</STRONG></SPAN><STRONG>= 0 kg; </STRONG></LI><LI><STRONG>x</STRONG><STRONG>3</STRONG><SPAN><STRONG>&nbsp;</STRONG></SPAN><STRONG>= 0,375 kg;</STRONG></LI><LI><STRONG>x</STRONG><STRONG>4</STRONG><SPAN><STRONG>&nbsp;</STRONG></SPAN><STRONG>= 0,375 kg</STRONG></LI></UL><P>Optimal price will be a result of function F(X) = 35*1/4&nbsp;+ 52*0 + 40*3/8&nbsp;+ 46*3/8&nbsp;= <STRONG>41 EUR</STRONG><BR /><BR /></P><H2 id="toc-hId-402030659">SAP implementation for LP Simplex solver</H2><P>At the SAP system we have a class <STRONG>cl_genios_environment</STRONG>, this is a part of a package GENIOS_MAIN in GENIOS_FRAMEWORK (system component CA-EPT-GEN «GENeric Integer Optimizer System»).</P><P>Inside this class three solvers available:</P><UL><LI>MILP "GENIOS: Externer MILP Solver"</LI><LI>SIMP "GENIOS: internal simplex solver"</LI><LI>WEBS "GENIOS: WebService solver"</LI></UL><P>I’ve used a solver <STRONG>SIMP</STRONG>, this method execute all calculation according to Simplex method by standard ABAP code.</P><H2 id="toc-hId-205517154">Proof of concept. ZFI_SIMP_LP_DEMO</H2><P>Let’s create a simple SAP program to demonstrate how it works. It’s just a concept, so, I didn’t try to make a perfect ABAP coding…</P><P><STRONG><U>Selection screen:</U></STRONG></P><P>At selection screen I’ve put an all data related to raw materials (N/P/K percentage and price, highlighted in blue), but in real life you can use a real data from MARA/ MARD/ MBEW/ ACDOCA etc tables.</P><P>Also, target characteristics of a blend should be specified at selection screen (bottom part of the screen, red part):</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ScreenShot2024-04-06 at 16.37.10@2x.png" style="width: 918px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92341i7CD96C0CAA482B5F/image-size/large?v=v2&amp;px=999" role="button" title="ScreenShot2024-04-06 at 16.37.10@2x.png" alt="ScreenShot2024-04-06 at 16.37.10@2x.png" /></span></P><P>Let’s run and check a result:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-07 00.15.32.jpg" style="width: 548px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92340i0C2B78AEE1D81090/image-size/large?v=v2&amp;px=999" role="button" title="2024-04-07 00.15.32.jpg" alt="2024-04-07 00.15.32.jpg" /></span></P><P>So, we get a correct optimal solution for this case.</P><P>Source code with comments:</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-abap"><code>*&amp;---------------------------------------------------------------------* *&amp; Report ZFI_SIMP_LP_DEMO *&amp;---------------------------------------------------------------------* *&amp; Amelin A. 2024 * LP demo. Simplex solver. Find min BOM value *&amp;---------------------------------------------------------------------* REPORT zfi_simp_lp_demo. PARAMETERS: SolverID TYPE genios_solverid DEFAULT 'SIMP'. PARAMETERS: p_pr1 TYPE i DEFAULT 35, p_n1 TYPE i DEFAULT 12, p_p1 TYPE i DEFAULT 12, p_k1 TYPE i DEFAULT 76. SELECTION-SCREEN ULINE. PARAMETERS: p_pr2 TYPE i DEFAULT 52, p_n2 TYPE i DEFAULT 20, p_p2 TYPE i DEFAULT 18, p_k2 TYPE i DEFAULT 62. SELECTION-SCREEN ULINE. PARAMETERS: p_pr3 TYPE i DEFAULT 40, p_n3 TYPE i DEFAULT 12, p_p3 TYPE i DEFAULT 18, p_k3 TYPE i DEFAULT 70. SELECTION-SCREEN ULINE. PARAMETERS: p_pr4 TYPE i DEFAULT 46, p_n4 TYPE i DEFAULT 20, p_p4 TYPE i DEFAULT 14, p_k4 TYPE i DEFAULT 66. SELECTION-SCREEN ULINE. PARAMETERS: p_nt TYPE i DEFAULT 15, p_pt TYPE i DEFAULT 15, p_kt TYPE i DEFAULT 70, p_tt TYPE i DEFAULT 1. ********************************************************************** CONSTANTS: lc_modelname TYPE genios_name VALUE 'DEMO'. ********************************************************************** START-OF-SELECTION. CHECK p_tt NE 0. "divide check *Variables DATA: pr_1 TYPE genios_float, pr_2 TYPE genios_float, pr_3 TYPE genios_float, pr_4 TYPE genios_float, n_1 TYPE genios_float, n_2 TYPE genios_float, n_3 TYPE genios_float, n_4 TYPE genios_float, p_1 TYPE genios_float, p_2 TYPE genios_float, p_3 TYPE genios_float, p_4 TYPE genios_float, k_1 TYPE genios_float, k_2 TYPE genios_float, k_3 TYPE genios_float, k_4 TYPE genios_float, x_1 TYPE genios_float, x_2 TYPE genios_float, x_3 TYPE genios_float, x_4 TYPE genios_float, n_tot TYPE genios_float, p_tot TYPE genios_float, k_tot TYPE genios_float, tt TYPE genios_float, lo_x1 TYPE REF TO cl_genios_variable, lo_x2 TYPE REF TO cl_genios_variable, lo_x3 TYPE REF TO cl_genios_variable, lo_x4 TYPE REF TO cl_genios_variable. * 0) copy sscr data to float variables pr_1 = p_pr1. pr_2 = p_pr2. pr_3 = p_pr3. pr_4 = p_pr4. n_1 = p_n1. n_2 = p_n2. n_3 = p_n3. n_4 = p_n4. p_1 = p_p1. p_2 = p_p2. p_3 = p_p3. p_4 = p_p4. k_1 = p_k1. k_2 = p_k2. k_3 = p_k3. k_4 = p_k4. n_tot = p_nt. p_tot = p_pt. k_tot = p_kt. tt = p_tt. * Input data. Log WRITE: / |{ 'Source data:' }|. WRITE: / |{ 'Raw material 1: N-' &amp;&amp; p_n1 &amp;&amp; ';P-' &amp;&amp; p_p1 &amp;&amp; ';K-' &amp;&amp; p_k1 &amp;&amp; ';Price:' &amp;&amp; p_pr1 }|. WRITE: / |{ 'Raw material 2: N-' &amp;&amp; p_n2 &amp;&amp; ';P-' &amp;&amp; p_p2 &amp;&amp; ';K-' &amp;&amp; p_k2 &amp;&amp; ';Price:' &amp;&amp; p_pr2 }|. WRITE: / |{ 'Raw material 3: N-' &amp;&amp; p_n3 &amp;&amp; ';P-' &amp;&amp; p_p3 &amp;&amp; ';K-' &amp;&amp; p_k3 &amp;&amp; ';Price:' &amp;&amp; p_pr3 }|. WRITE: / |{ 'Raw material 4: N-' &amp;&amp; p_n4 &amp;&amp; ';P-' &amp;&amp; p_p4 &amp;&amp; ';K-' &amp;&amp; p_k4 &amp;&amp; ';Price:' &amp;&amp; p_pr4 }|. WRITE: / |{ 'Target blend: N-' &amp;&amp; p_nt &amp;&amp; ';P-' &amp;&amp; p_pt &amp;&amp; ';K-' &amp;&amp; p_kt }|. ULINE. DATA: lo_env TYPE REF TO cl_genios_environment, lx_env TYPE REF TO cx_genios_environment, lv_msg TYPE string. * 1) create a genios environment object lo_env = cl_genios_environment=&gt;get_environment( ). DATA: lo_model TYPE REF TO cl_genios_model. TRY. * 2) create a genios model (with a context-unique name) lo_model = lo_env-&gt;create_model( lc_modelname ). CATCH cx_genios_environment INTO lx_env. lv_msg = lx_env-&gt;get_text( ). WRITE: lv_msg, /. EXIT. ENDTRY. * 3) fill the model with data * 3.1) create the objective object DATA: lo_obj TYPE REF TO cl_genios_objective. lo_obj = lo_model-&gt;create_objective( if_genios_model_c=&gt;gc_obj_minimization ). * 3.2) create the needed variables lo_x1 = lo_model-&gt;create_variable( iv_name = 'x1' iv_type = if_genios_model_c=&gt;gc_var_continuous ). lo_x2 = lo_model-&gt;create_variable( iv_name = 'x2' iv_type = if_genios_model_c=&gt;gc_var_continuous ). lo_x3 = lo_model-&gt;create_variable( iv_name = 'x3' iv_type = if_genios_model_c=&gt;gc_var_continuous ). lo_x4 = lo_model-&gt;create_variable( iv_name = 'x4' iv_type = if_genios_model_c=&gt;gc_var_continuous ). * 3.3) add the monom for the objective function * this is the coefficient for each variable in the objective function lo_obj-&gt;add_monom( io_variable = lo_x1 iv_coefficient = pr_1 ). "material price lo_obj-&gt;add_monom( io_variable = lo_x2 iv_coefficient = pr_2 ). lo_obj-&gt;add_monom( io_variable = lo_x3 iv_coefficient = pr_3 ). lo_obj-&gt;add_monom( io_variable = lo_x4 iv_coefficient = pr_4 ). * 3.4) add the linear constraints with their monomes (coefficients for the variables DATA: lo_lin TYPE REF TO cl_genios_linearconstraint. lo_lin = lo_model-&gt;create_linearconstraint( iv_name = 'n' iv_type = if_genios_model_c=&gt;gc_con_greaterorequal iv_righthandside = n_tot ). lo_lin-&gt;add_monom( io_variable = lo_x1 iv_coefficient = n_1 ). lo_lin-&gt;add_monom( io_variable = lo_x2 iv_coefficient = n_2 ). lo_lin-&gt;add_monom( io_variable = lo_x3 iv_coefficient = n_3 ). lo_lin-&gt;add_monom( io_variable = lo_x4 iv_coefficient = n_4 ). lo_lin = lo_model-&gt;create_linearconstraint( iv_name = 'p' iv_type = if_genios_model_c=&gt;gc_con_greaterorequal iv_righthandside = p_tot ). lo_lin-&gt;add_monom( io_variable = lo_x1 iv_coefficient = p_1 ). lo_lin-&gt;add_monom( io_variable = lo_x2 iv_coefficient = p_2 ). lo_lin-&gt;add_monom( io_variable = lo_x3 iv_coefficient = p_3 ). lo_lin-&gt;add_monom( io_variable = lo_x4 iv_coefficient = p_4 ). lo_lin = lo_model-&gt;create_linearconstraint( iv_name = 'k' iv_type = if_genios_model_c=&gt;gc_con_greaterorequal iv_righthandside = k_tot ). lo_lin-&gt;add_monom( io_variable = lo_x1 iv_coefficient = k_1 ). lo_lin-&gt;add_monom( io_variable = lo_x2 iv_coefficient = k_2 ). lo_lin-&gt;add_monom( io_variable = lo_x3 iv_coefficient = k_3 ). lo_lin-&gt;add_monom( io_variable = lo_x4 iv_coefficient = k_4 ). lo_lin = lo_model-&gt;create_linearconstraint( iv_name = 'total' iv_type = if_genios_model_c=&gt;gc_con_equal iv_righthandside = 1 ). lo_lin-&gt;add_monom( io_variable = lo_x1 iv_coefficient = 1 ). lo_lin-&gt;add_monom( io_variable = lo_x2 iv_coefficient = 1 ). lo_lin-&gt;add_monom( io_variable = lo_x3 iv_coefficient = 1 ). lo_lin-&gt;add_monom( io_variable = lo_x4 iv_coefficient = 1 ). * 4) as the model is filled, we now create a solver with a ID out of tx genios_solver (in this case, the default SIMPLEX solver) DATA: lo_solver TYPE REF TO cl_genios_solver, lx_solver TYPE REF TO cx_genios_solver. TRY. lo_solver ?= lo_env-&gt;create_solver( SolverID ). CATCH cx_genios_environment INTO lx_env. lv_msg = lx_env-&gt;get_text( ). WRITE: lv_msg, /. EXIT. ENDTRY. * 4.1) load the model into the solver and solve it DATA: ls_result TYPE genioss_solver_result, lo_param TYPE REF TO cl_genios_parameter. TRY. CREATE OBJECT lo_param EXPORTING iv_solver_id = lo_solver-&gt;get_solverid( ). lo_param-&gt;mv_timelimit = 300. " its a good idea to se a runtime - its only relevant for MILP runs, but ... lo_solver-&gt;load_model( lo_model ). ls_result = lo_solver-&gt;solve( lo_param ). CATCH cx_genios_solver INTO lx_solver. lv_msg = lx_solver-&gt;get_text( ). WRITE: lv_msg, /. EXIT. ENDTRY. * 4.2) evaluate the results DATA: lt_variables TYPE geniost_variable, ls_variable TYPE genioss_variable, lv_primalvalue TYPE genios_float, lv_name TYPE string, lv_index TYPE string. IF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_optimal OR ls_result-solution_status = if_genios_solver_result_c=&gt;gc_abortfeasible ). * 4.3) found a solution =&gt; output the objective value as well as the variable values lv_primalvalue = lo_obj-&gt;get_value( ). WRITE: / 'Function to minimize'. WRITE: / 'F(x): ', |{ p_pr1 &amp;&amp; '*x1+' &amp;&amp; p_pr2 &amp;&amp; '*x2+' &amp;&amp; p_pr3 &amp;&amp; '*x3+' &amp;&amp; p_pr4 &amp;&amp; '*x4 =&gt;min' }|. WRITE: / 'Restrictions:'. WRITE: / |{ p_n1 &amp;&amp; '*x1+' &amp;&amp; p_n2 &amp;&amp; '*x2+' &amp;&amp; p_n3 &amp;&amp; '*x3+' &amp;&amp; p_n4 &amp;&amp; '*x4 &gt;=' &amp;&amp; n_tot &amp;&amp; '(x1+x2+x3+x4)' }|. WRITE: / |{ p_p1 &amp;&amp; '*x1+' &amp;&amp; p_p2 &amp;&amp; '*x2+' &amp;&amp; p_p3 &amp;&amp; '*x3+' &amp;&amp; p_p4 &amp;&amp; '*x4 &gt;=' &amp;&amp; p_tot &amp;&amp; '(x1+x2+x3+x4)' }|. WRITE: / |{ p_k1 &amp;&amp; '*x1+' &amp;&amp; p_k2 &amp;&amp; '*x2+' &amp;&amp; p_k3 &amp;&amp; '*x3+' &amp;&amp; p_k4 &amp;&amp; '*x4 &gt;=' &amp;&amp; k_tot &amp;&amp; '(x1+x2+x3+x4)' }|. WRITE: / |{ tt &amp;&amp; '*x1+' &amp;&amp; tt &amp;&amp; '*x2+' &amp;&amp; tt &amp;&amp; '*x3+' &amp;&amp; tt &amp;&amp; '*x4 =' &amp;&amp; tt &amp;&amp; '(x1+x2+x3+x4)' }|. ULINE. WRITE: / 'Results:'. WRITE: /'Min price: ', |{ lv_primalvalue * tt }|. "#EC NOTEXT lt_variables = lo_model-&gt;get_variables( ). LOOP AT lt_variables INTO ls_variable. lv_primalvalue = 0. lv_name = ls_variable-variable_ref-&gt;gv_name. lv_index = ls_variable-variable_index. lv_primalvalue = ls_variable-variable_ref-&gt;get_primalvalue( ). WRITE: / lv_name,' = ',|{ lv_primalvalue * tt }|. IF lv_name = 'x1'. x_1 = lv_primalvalue * tt. ELSEIF lv_name = 'x2'. x_2 = lv_primalvalue * tt. ELSEIF lv_name = 'x3'. x_3 = lv_primalvalue * tt. ELSEIF lv_name = 'x4'. x_4 = lv_primalvalue * tt. ENDIF. ENDLOOP. WRITE: / 'Final blend characteristics:'. WRITE: / 'N:' &amp;&amp; |{ ( ( ( x_1 * p_n1 ) + ( x_2 * p_n2 ) + ( x_3 * p_n3 ) + ( x_4 * p_n4 ) ) / tt ) }| &amp;&amp; '%'. WRITE: / 'P:' &amp;&amp; |{ ( ( ( x_1 * p_p1 ) + ( x_2 * p_p2 ) + ( x_3 * p_p3 ) + ( x_4 * p_p4 ) ) / tt ) }| &amp;&amp; '%'. WRITE: / 'K:' &amp;&amp; |{ ( ( ( x_1 * p_k1 ) + ( x_2 * p_k2 ) + ( x_3 * p_k3 ) + ( x_4 * p_k4 ) ) / tt ) }| &amp;&amp; '%'. ENDIF. ULINE. * 4.4) output the solution status IF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_optimal ). WRITE: /,'Found solution is optimal'. ELSEIF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_abortfeasible ). WRITE: /,'Solver aborted with a feasible solution'. ELSEIF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_abortinfeasible ). WRITE: /,'Solver aborted with an infeasible solution'. ELSEIF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_failinfeasible ). WRITE: /,'Solver failed due to infeasibility'. ELSEIF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_solutionlimitreached ). WRITE: /,'Solution limit reached, but the a solution has been found'. ELSEIF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_timelimitinfeasible ). WRITE: /,'Time limit reached and the solution is infeasible'. ELSEIF ( ls_result-solution_status = if_genios_solver_result_c=&gt;gc_unknown ). WRITE: /,'Solution status is unknown'. ENDIF. * 5) some cleanup IF ( lo_env IS BOUND ). lo_env-&gt;destroy_solver( SolverID ). lo_env-&gt;destroy_model( lc_modelname ). ENDIF.</code></pre><P>&nbsp;</P><P>&nbsp;</P> 2024-04-07T00:58:49.597000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/sap-document-and-reporting-compliance-brazil-atualiza%C3%A7%C3%B5es-no-ct-e-mdf-e/ba-p/13662853 SAP Document and Reporting Compliance Brazil: Atualizações no CT-e MDF-e 2024-04-08T20:00:31.977000+02:00 cezimbra https://community.sap.com/t5/user/viewprofilepage/user-id/41515 <P><FONT size="2" color="#808080">(<A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/updates-on-conhecimento-de-transporte-eletr%C3%B4nico-and-manifesto-eletr%C3%B4nico/ba-p/13651732" target="_self">English version here</A>)</FONT></P><P>Olá pessoal,</P><P>O time de <STRONG>SAP Document and Reporting Compliance, opção de emissão de fatura de entrada e de faturamento de saída para o Brasil</STRONG> entregou semanas atrás as atualizações nas soluções de Conhecimento de Transporte Eletrônico (CT-e) e Manifesto Eletrônico de Documentos Fiscais (MDF-e). As mudanças atendem&nbsp;à <STRONG>Nota Técnica 2024.001 versão 1.01 (Inclusão do Benefício Fiscal) de CT-e e à Nota Técnica 2024.001 versão 1.01 (Evento de Encerramento) de MDF-e</STRONG> da SEFAZ.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Nota Técnica 2024.001 versão 1.01 para CT-e e MDF-e" style="width: 597px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/92981i0CF99A26DBA2C910/image-dimensions/597x182?v=v2" width="597" height="182" role="button" title="ct-e-mdf-e-nt-2024.001-pt.png" alt="Nota Técnica 2024.001 versão 1.01 para CT-e e MDF-e" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Nota Técnica 2024.001 versão 1.01 para CT-e e MDF-e</span></span></P><P><STRONG>Conhecimento de Transporte Eletrônico (CT-e):</STRONG></P><P>A nova atualização do CT-e (modelo 57) e CT-e OS (modelo 67) permite incluir os novos campos vICMSDeson (valor do ICMS desonerado) e cBenef (Código do Benefício Fiscal) nos arquivos XML. Esses campos serão incluídos nos seguintes grupos de ICMS: ICMS20, ICMS45, ICMS60, ICMS90 e ICMSOutraUF.</P><P>Você pode implementar as mudanças seguindo as instruções nas seguintes SAP Notes:</P><UL><LI>SAP Note <A href="https://me.sap.com/notes/3444678" target="_self" rel="noopener noreferrer">3444678</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444679" target="_self" rel="noopener noreferrer">3444679</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444823" target="_self" rel="noopener noreferrer">3444823</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444824" target="_self" rel="noopener noreferrer">3444824</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3441171" target="_self" rel="noopener noreferrer">3441171</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3445374" target="_self" rel="noopener noreferrer">3445374</A></LI></UL><P>Você pode implementar as mudanças na solução SAP Electronic Invoicing for Brazil (SAP NFE) seguindo as instruções nas SAP Notes:</P><UL><LI>SAP Note <A href="https://me.sap.com/notes/3426934" target="_self" rel="noopener noreferrer">3426934</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444678" target="_self" rel="noopener noreferrer">3444678</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444679" target="_self" rel="noopener noreferrer">3444679</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444823" target="_self" rel="noopener noreferrer">3444823</A></LI><LI>SAP Note <A href="https://me.sap.com/notes/3444824" target="_self" rel="noopener noreferrer">3444824</A></LI></UL><P>A Nota Técnica 2024.001 Versão 1.02 de CT-e foi revisada e não haverá impacto na solução de Conhecimento de Transporte Eletrônico (CT-e).</P><P>Consulte o SAP Knowledge Base Article <A href="https://me.sap.com/notes/3437854" target="_self" rel="noopener noreferrer">2807654</A> para obter informações sobre resolução de problemas.</P><P><STRONG>Manifesto Eletrônico de Documentos Fiscais (MDF-e):</STRONG></P><P>A atualização no MDF-e (modelo 58) permite incluir nos arquivos XML o campo indEncPorTerceiro, que foi introduzido no evento de encerramento (tipo 110112). Para implementar esta atualização, siga as instruções na SAP Note <A href="https://me.sap.com/notes/3437854" target="_self" rel="noopener noreferrer">3437854</A>.</P><P>A Nota Técnica 2024.001 Versão 1.02 de MDF-e foi revisada. O schema XML foi atualizado em nosso serviço, não sendo necessária a implementação de outras SAP Notes para esta alteração.</P><P>Você pode implementar as mudanças na solução SAP Electronic Invoicing for Brazil (SAP NFE) seguindo as instruções na SAP Note <A href="https://me.sap.com/notes/3431096" target="_self" rel="noopener noreferrer">3431096</A>.</P><P><STRONG>Blog posts relacionados:</STRONG></P><UL><LI><A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-nota-t%C3%A9cnica-2023-004-v1-10-novos-campos-adicionados-%C3%A0-nota-fiscal/ba-p/13625667" target="_self">NF-e Nota Técnica 2023.004 versão 1.10: novos campos adicionados à nota fiscal</A></LI><LI><A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/nf-e-nota-t%C3%A9cnica-2019-001-v1-62-novos-campos-adicionados-%C3%A0-nota-fiscal/ba-p/13652939" target="_self">NF-e Nota Técnica 2019.001 versão 1.62 novos campos adicionados à nota fiscal</A></LI></UL><P>Para obter um passo a passo sobre como usar o SAP Document and Reporting Compliance, opção de emissão de fatura de entrada e de faturamento de saída para o Brasil, consulte as seguintes páginas do portal SAP Help:</P><UL><LI><A href="https://help.sap.com/docs/DC_NFe/75478ef83fbe47b6836f33609268796b/ffaf0ea3291d4ddd9be5e5ba2c641e27.html" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance, opção de emissão de fatura de entrada para o Brasil</A></LI><LI><A href="https://help.sap.com/docs/SLH_NFe/71b3b178e5cb4a50a88cf2985a14f17c/b2f5ad5578574616855dda8638e2ee92.html" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance, opção de faturamento de saída para o Brasil</A></LI></UL><P>Você pode receber alerta por email quando novas SAP Notes forem lançadas ou atualizadas nos componentes listados abaixo; basta seguir as instruções do SAP Knowledge Base Article <A href="https://me.sap.com/notes/2171560" target="_self" rel="noopener noreferrer">2171560</A>.</P><UL><LI>CA-GTF-CSC-EDO-BR</LI><LI>FI-LOC-NFE-BR-IN</LI><LI>FI-LOC-NFE-BR-OUT</LI><LI>LOD-LH-NFE</LI><LI>SLL-NFE</LI></UL><P>Acesse o <A href="https://app.main.regulatory-change-manager.cloud.sap/index.html" target="_self" rel="nofollow noopener noreferrer">gerenciador de modificações legais</A> para ter uma noção do que está planejado para ser suportado. Consulte o SAP Knowledge Base Article <A href="https://me.sap.com/notes/3421995" target="_self" rel="noopener noreferrer">3421995</A> e a <A href="https://help.sap.com/docs/REGULATORY_CHANGE_MANAGER" target="_self" rel="noopener noreferrer">página “regulatory change manager”</A> para entender como usar esta ferramenta.</P><P>Gostou desse post? Dê um Like (Kudos) e compartilhe o conteúdo com seus colegas. Sinta-se à vontade para deixar suas perguntas ou ler posts semelhantes no <A href="https://community.sap.com/t5/c-khhcw49343/SAP+Document+and+Reporting+Compliance/pd-p/73554900100700003181" target="_self">SAP Community do SAP Document and Reporting Compliance</A>.</P><P>Para acompanhar as últimas notícias da NF-e, siga a <A href="https://community.sap.com/t5/c-khhcw49343/SAP+Electronic+Invoicing+for+Brazil+%252528SAP+Nota+Fiscal+Eletronica%252529/pd-p/01200615320800000708" target="_self">tag SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletronica)</A> e a <A href="https://pages.community.sap.com/topics/document-reporting-compliance" target="_self" rel="noopener noreferrer">comunidade SAP Document and Reporting Compliance</A>.</P><P>Obrigado e até a próxima,<BR />Thiago</P><P><FONT size="3" color="#808080"><EM>Tags: electronic transportation document, nota técnica, v1.01, 2024/001, inclusão do benefício fiscal, tax benefit inclusion, tax benefit code, código de benefício fiscal, documento fiscal eletrônico, electronic fiscal document, electronic manifest of tax documents, brasil, einvoice, einvoicing, e-invoicing, electronic invoice, electronic invoicing, edocument, edoc, e-document, e-docs, e-doc, e-docs, drc, document compliance, nota fiscal eletrônica, electronic nota fiscal, ct-e outros serviços, ct-e other services</EM></FONT></P> 2024-04-08T20:00:31.977000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/be-an-expert-with-plm-system-integration-support-content/ba-p/13663219 Be an Expert with PLM System Integration Support Content! 2024-04-09T08:43:37.263000+02:00 AnnetteGarcia https://community.sap.com/t5/user/viewprofilepage/user-id/125443 <P><SPAN>Recently, many of you have asked where to find </SPAN><STRONG><SPAN>detailed information</SPAN></STRONG><SPAN> on the setup of different integration scenarios via PLM system integration. </SPAN><SPAN>As you know, PLM system integration enables a seamless transfer of product-relevant data between SAP S/4HANA or SAP ERP and an external PLM system, allowing for bi-directional process integration.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>We are happy to inform you that you can now access a comprehensive set of support knowledge directly from the </SPAN><A href="https://help.sap.com/docs/SUPPORT_CONTENT" target="_self" rel="noopener noreferrer"><SPAN>SAP Help Portal</SPAN></A><SPAN>.</SPAN> <SPAN>&nbsp;<BR /></SPAN><SPAN>&nbsp;<BR /></SPAN><SPAN>Start today and explore the PLM system integration expert content </SPAN><A href="https://help.sap.com/docs/SUPPORT_CONTENT/plm/3363504687.html" target="_self" rel="noopener noreferrer"><SPAN>here</SPAN></A><SPAN>. Enjoy</SPAN><SPAN>&nbsp;</SPAN></P><UL><LI><SPAN>Best practices regarding configuration per object type</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>How-to information on the activation of our standard content via BC Sets</SPAN><SPAN>&nbsp;</SPAN></LI><LI><SPAN>A closer look at error messages and what they tell you.</SPAN><SPAN>&nbsp;</SPAN></LI></UL><P><SPAN>Also, learn how you can test your integration, even without an external PLM system in place.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Check out our our overview video to get a first glimpse!<div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXvjd4TNzYEY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXvjd4TNzYEY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXvjd4TNzYEY%2Fhqdefault.jpg&amp;key=b0d40caa4f094c68be7c29880b16f56e&amp;type=text%2Fhtml&amp;schema=youtube" width="200" height="112" scrolling="no" title="Be an Expert with PLM System Integration Support Content" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></SPAN></P><P><SPAN>Now, it's <A href="https://help.sap.com/docs/SUPPORT_CONTENT/plm/3363504687.html" target="_self" rel="noopener noreferrer">your turn</A> to&nbsp;unleash the full potential of PLM system integration!<BR /></SPAN><SPAN>&nbsp;<BR /></SPAN><SPAN>&nbsp;</SPAN></P> 2024-04-09T08:43:37.263000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/sap-document-and-reporting-compliance-brazil-dashboard-do-usage-analytics/ba-p/13664878 SAP Document and Reporting Compliance Brazil: Dashboard do Usage Analytics 2024-04-09T21:55:23.727000+02:00 cezimbra https://community.sap.com/t5/user/viewprofilepage/user-id/41515 <P><FONT size="2">(<A href="https://community.sap.com/t5/technology-blogs-by-sap/sap-document-and-reporting-compliance-brazil-usage-analytics-dashboard/ba-p/13599763" target="_self">English version here</A>)</FONT></P><P>Olá pessoal,</P><P>Lançamos uma nova funcionalidade que permite que você verifique sua utilização do <STRONG>SAP Document and Reporting Compliance, opção de emissão de fatura de entrada e de faturamento de saída para o Brasil</STRONG> fornecendo informações mais precisas sobre o consumo.</P><P>Esse novo recurso só está <STRONG>disponível a partir do ano de 2024</STRONG> para os IDs de métrica CY140 (faturamento de saída) e CY141 (faturamento de entrada). Para saber qual é o seu ID de métrica, verifique no SAP LUI (License Utilization Information) no app “SAP for Me”. Mais informações sobre SAP LUI estão descritas abaixo.</P><P>Você acessa o <STRONG>dashboard do Usage Analytics</STRONG> no painel de navegação esquerdo do SAP BTP Cockpit, como mostrado na imagem a seguir:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="blogpost-1-min.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94153iEF8F6E47EF3CB9E7/image-size/large?v=v2&amp;px=999" role="button" title="blogpost-1-min.png" alt="blogpost-1-min.png" /></span></P><P><SPAN>No dashboard do Usage Analytics, você pode encontrar informações sobre o produto "SAP Document and Reporting Compliance, opção de emissão de fatura de entrada e de faturamento de saída para o Brasil" (inbound and outbound invoicing options for Brazil).</SPAN></P><P>Para processos de saída (outbound), temos dois grupos de classificação, chamados Grupo A e Grupo B, como mostrado na imagem a seguir:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Para exibir todas as Usages na tela, deixe o filtro Service em branco. Nem todas as classificações estão sendo exibidas nesta imagem." style="width: 893px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94154i8DF7D7B3C02827AA/image-size/large?v=v2&amp;px=999" role="button" title="blogpost-2-min.png" alt="Para exibir todas as Usages na tela, deixe o filtro Service em branco. Nem todas as classificações estão sendo exibidas nesta imagem." /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Para exibir todas as Usages na tela, deixe o filtro Service em branco. Nem todas as classificações estão sendo exibidas nesta imagem.</span></span></P><P><SPAN>Grupo A: Classifica cada documento processado (definição de métrica) por tipo e ação. O Grupo A é composto pelos documentos abaixo.</SPAN></P><UL><LI>Documentos processados (NF-e, CT-e, NFS-e, MDF-e e NF3-e)</LI><LI>Documentos de eventos processados (CC-e, cancelamento, inutilização, etc.)</LI><LI>Arquivos de documentos exibidos/baixados*</LI><LI>Arquivos de eventos exibidos/baixados*</LI><LI>Documentos reenviados para aprovação (NF-e, CT-e, NFS-e, MDF-e e NF3-e)</LI></UL><P>*Somente quando o mesmo arquivo XML for baixado pela segunda vez. Isso evita o mau consumo.</P><P>Acesse o <A href="https://support.sap.com/content/dam/support/en_us/library/ssp/my-support/systems-installations/system-measurement/cloud-saas-application-usage/sap-document-compliance-outbound.pdf" target="_self" rel="noopener noreferrer">Cloud (SaaS) Application Usage &amp; SAP Business Technology Platform</A> para verificar a lista completa de classificação do Grupo A.</P><P>Grupo B: Classifica cada documento processado (definição métrica) conforme o tipo de ambiente:</P><UL><LI>Documentos processados em ambiente produtivo.</LI><LI>Documentos processados em ambiente de homologação.</LI></UL><P>A soma dos documentos exibidos no Grupo A deve ser igual à soma dos documentos exibidos no Grupo B. O número total de documentos é exibido em <EM>Total documents from group A or B</EM>.</P><P>Considerando o exemplo da imagem anterior, a soma do Grupo A é 1317 e a soma do Grupo B também é 1317.</P><P>Para processos de fatura de entrada, também temos dois grupos de classificação, chamados Grupo A e Grupo B, como mostrado na imagem a seguir:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Para exibir todas as utilizações na tela, deixe o filtro Service em branco. Nem todas as classificações podem ser exibidas nesta imagem." style="width: 919px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94155iCD3E5B6926F6785D/image-size/large?v=v2&amp;px=999" role="button" title="blogpost-3-min.png" alt="Para exibir todas as utilizações na tela, deixe o filtro Service em branco. Nem todas as classificações podem ser exibidas nesta imagem." /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Para exibir todas as utilizações na tela, deixe o filtro Service em branco. Nem todas as classificações podem ser exibidas nesta imagem.</span></span></P><P><SPAN>Grupo A: Classifica cada documento processado (definição de métrica) por tipo e ação. O grupo A é composto pelos seguintes tipos de documentos:</SPAN></P><UL><LI>Documentos processados (NF-e, CT-e)</LI><LI>Documentos de evento processados (CC-e, cancelamento, etc.)</LI><LI>Arquivos de documentos baixados da SEFAZ (NF-e, CT-e)</LI><LI>Arquivos de eventos baixados da SEFAZ (CC-e, cancelamento, etc.)</LI></UL><P>Acesse o <A href="https://support.sap.com/content/dam/support/en_us/library/ssp/my-support/systems-installations/system-measurement/cloud-saas-application-usage/sap-document-compliance-inbound.pdf" target="_self" rel="noopener noreferrer">Cloud (SaaS) Application Usage e o SAP Business Technology Platform</A>&nbsp;para verificar a lista completa de classificação do Grupo A.</P><P>Grupo B: Classifica cada documento processado (definição métrica) conforme o tipo de ambiente:</P><UL><LI>Documentos processados em ambiente produtivo.</LI><LI>Documentos processados em ambiente de homologação.</LI></UL><P>A soma dos documentos exibidos no Grupo A deve ser igual à soma dos documentos exibidos no Grupo B. O número total de documentos é exibido em <EM>Total document from group A or B</EM>.</P><P>Considerando o exemplo da imagem anterior, a soma do Grupo A é 202 e a soma do Grupo B também é 202.</P><P>Se você encontrar discrepâncias, certifique-se de que não haja codificação personalizada que chame o serviço em nuvem duas vezes ou crie um efeito de loop.</P><P><STRONG>Principais opções da análise de utilização</STRONG></P><UL><LI>Capability: no dashboard Usage Analytics, você pode usar o menu suspenso <EM>Capability</EM> para filtrar a utilização do serviço selecionando os recursos do SAP BTP (aplicativo, automação ou integração).</LI><LI>Service: nessa lista suspensa, você pode usá-la para filtrar o uso de cada plano de serviços na subconta da sua empresa. Por exemplo, você pode filtrar a utilização de dados da solução “opção de emissão de fatura de entrada e de faturamento de saída para o Brasil” (inbound and outbound invoicing options for Brazil).</LI><LI>Metric: você pode selecionar uma das métricas (documentos exibidos, baixados, reenviados para aprovação ou processados). Você pode utilizar o menu suspenso <EM>Metric</EM> para evitar exibir todos os documentos ao mesmo tempo.</LI><LI>Period: em relação ao intervalo de tempo selecionado no campo <EM>Period</EM>, esteja ciente de que as informações apresentadas são do <STRONG>ano 2024 em diante</STRONG> e somente após a instalação das seguintes SAP Notes.</LI></UL><P><STRONG>Instalação</STRONG></P><P>Você pode implementar essas modificações seguindo as instruções nas SAP Notes.</P><P>As SAP Notes são necessárias para fornecer os dados utilizados em métricas e para corresponder à quantidade do Grupo B aos dados de consumo no rótulo <EM>Total document from group A or B</EM>. A instalação das SAP Notes não tem impacto nos processos de cálculo da fatura atuais.</P><UL><LI>Outbound (faturamento de saída): SAP Note <A href="https://me.sap.com/notes/3111469" target="_self" rel="noopener noreferrer">3111469</A></LI><LI>Inbound (fatura de entrada): SAP Note <A href="https://me.sap.com/notes/3399269" target="_self" rel="noopener noreferrer">3399269</A></LI></UL><P><STRONG>License Utilization Information (LUI)</STRONG></P><P>O aplicativo License Utilization Information (LUI) fornece detalhes sobre a titularidade da licença e sobre a utilização do software. Para receber os resultados, uma medição do sistema é realizada em cada sistema relevante.</P><P>O dashboard Usage Analytics pode ser usado em conjunto com a LUI selecionando o mesmo período para gerar análises sobre como a solução SAP Document and Reporting Compliance está sendo usada. O painel do LUI deve mostrar o mesmo valor na coluna <EM>Measured</EM> e no <EM>Total document from group A or B</EM> do Usage Analytics.</P><P>A aplicação LUI pode ser acessada por meio do <A href="https://me.sap.com" target="_self" rel="noopener noreferrer">SAP for Me</A>. Verifique o <A href="https://support.sap.com/en/my-support/systems-installations/license-utilization-information.html" target="_self" rel="noopener noreferrer">License Utilization Information</A>&nbsp;para obter detalhes sobre como utilizá-las e acessá-las.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="blogpost-4-min.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94175i63E53C3DC81CEFFD/image-size/large?v=v2&amp;px=999" role="button" title="blogpost-4-min.png" alt="blogpost-4-min.png" /></span></P><P><STRONG><SPAN>Data da contabilização</SPAN></STRONG></P><P>A data da métrica pode não representar a data da ação do usuário. Por exemplo, podem existir discrepâncias em que um documento processado no fim de um mês aparece no consumo do mês seguinte, devido ao processo assíncrono da contabilização. O momento em que um usuário realiza uma ação e quando essa ação é refletida em nossas métricas pode nem sempre se alinhar perfeitamente, especialmente na transição entre os dias.</P><P>Você pode entrar em contato com seu executivo de contas se tiver perguntas sobre os valores ou se precisar de mais ajuda. Verifique a SAP Note <A href="https://me.sap.com/notes/2626344" target="_self" rel="noopener noreferrer">2626344.</A></P><P>Para obter um passo a passo sobre como usar o SAP Document and Reporting Compliance, opção de emissão de fatura de entrada e de faturamento de saída para o Brasil, consulte as seguintes páginas do portal SAP Help:</P><UL><LI><A href="https://help.sap.com/docs/DC_NFe/75478ef83fbe47b6836f33609268796b/ffaf0ea3291d4ddd9be5e5ba2c641e27.html" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance, opção de emissão de fatura de entrada para o Brasil</A></LI><LI><A href="https://help.sap.com/docs/SLH_NFe/71b3b178e5cb4a50a88cf2985a14f17c/b2f5ad5578574616855dda8638e2ee92.html" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance, opção de faturamento de saída para o Brasil</A></LI></UL><P>Você pode receber alerta por email quando novas SAP Notes forem lançadas ou atualizadas nos componentes listados abaixo; basta seguir as instruções do SAP Knowledge Base Article <A href="https://me.sap.com/notes/2171560" target="_self" rel="noopener noreferrer">2171560</A>.</P><UL><LI>CA-GTF-CSC-EDO-BR</LI><LI>FI-LOC-NFE-BR-IN</LI><LI>FI-LOC-NFE-BR-OUT</LI><LI>LOD-LH-NFE</LI></UL><P>Acesse o <A href="https://app.main.regulatory-change-manager.cloud.sap/index.html" target="_self" rel="nofollow noopener noreferrer">gerenciador de modificações legais</A>&nbsp;para ter uma noção do que está planejado para ser suportado. Consulte o SAP Knowledge Base Article <A href="https://me.sap.com/notes/3421995" target="_self" rel="noopener noreferrer">3421995</A>&nbsp;e a <A href="https://help.sap.com/docs/REGULATORY_CHANGE_MANAGER" target="_self" rel="noopener noreferrer">página “regulatory change manager”</A> para entender como usar esta ferramenta.</P><P>Gostou desse post? Dê um Like (Kudos) e compartilhe o conteúdo com seus colegas. Sinta-se à vontade para deixar suas perguntas ou ler posts semelhantes no <A href="https://community.sap.com/t5/c-khhcw49343/SAP+Document+and+Reporting+Compliance/pd-p/73554900100700003181" target="_self">SAP Community do SAP Document and Reporting Compliance</A>.</P><P>Para acompanhar as últimas notícias da NF-e, siga a <A href="https://community.sap.com/t5/c-khhcw49343/SAP+Electronic+Invoicing+for+Brazil+%252528SAP+Nota+Fiscal+Eletronica%252529/pd-p/01200615320800000708" target="_self">tag SAP Electronic Invoicing for Brazil (SAP Nota Fiscal Eletronica)</A> e a comunidade <A href="https://pages.community.sap.com/topics/document-reporting-compliance" target="_self" rel="noopener noreferrer">SAP Document and Reporting Compliance</A>.</P><P>Obrigado e até a próxima,<BR />Bruno Eltz e Thiago Cezimbra</P><P><FONT size="2" color="#808080"><EM>Tags: brasil, einvoice, einvoicing, e-invoicing, electronic invoice, electronic invoicing, edocument, edoc, e-document, e-docs, e-doc, e-docs, drc, document compliance, nota fiscal eletrônica, electronic nota fiscal</EM></FONT></P> 2024-04-09T21:55:23.727000+02:00 https://community.sap.com/t5/technology-blogs-by-sap/join-and-innovate-with-the-sap-enterprise-support-advisory-council-esac/ba-p/13666646 Join and innovate with the SAP Enterprise Support Advisory Council (ESAC) Program 2024-04-11T10:43:38.796000+02:00 silvia_gaber https://community.sap.com/t5/user/viewprofilepage/user-id/675541 <P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ESAC.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94989iE16CA1A5B0882EF3/image-size/large?v=v2&amp;px=999" role="button" title="ESAC.png" alt="ESAC.png" /></span></SPAN></P><P><FONT color="#999999"><SPAN>co-author: Bruno Cherqui</SPAN></FONT></P><P>The SAP Enterprise Support Advisory Council provides immense value by bringing together a select group of customers to collaborate with SAP experts and provide valuable insights and feedback on the development, improvement, and optimization of the SAP Enterprise Support program. Through this collaboration, members have the opportunity to influence SAP's support offerings, gain early access to new tools and resources, and actively shape the future direction of SAP's support solutions.&nbsp;</P><P>The program is open to all SAP Enterprise Support customers at no additional cost (but limited capacity) and is covering&nbsp;all major SAP cloud solutions such as&nbsp;SAP&nbsp;S/4HANA, CX, BTP, SAP SuccessFactors HCM, ISBN, Cross Solutions topics.</P><P><STRONG>New open workstreams for Q2:</STRONG></P><UL><LI>Continuous Quality Check (CQC): Transformation Assessment for Sustainability</LI><LI>Continuous Quality Check (CQC): Transformation Assessment for SAP Integrated Business Planning</LI><LI>Continuous Quality Check (CQC): Deployment Readiness for SAP SuccessFactors HCM Suite EXPANSION</LI><LI>Expert-guided Implementation&nbsp;(EGI): SAP Datasphere Fundamentals (Data and Analytics)</LI></UL><P><STRONG>Find an overview of all our workstreams running in Q2&nbsp;</STRONG><A href="https://d.dam.sap.com/a/vjiTPaV/ESAC%20-%20Workstreams%20Overview%20.pdf?rc=10" target="_blank" rel="noopener noreferrer"><STRONG>here</STRONG></A><STRONG>.</STRONG><STRONG>&nbsp;</STRONG></P><P>To express interest, ask a question or join the program:&nbsp;<STRONG>contact us via&nbsp;</STRONG><A href="mailto:esac@sap.com" target="_blank" rel="noopener nofollow noreferrer"><STRONG>esac@sap.com</STRONG></A>.</P><P>For more information you can also<STRONG>&nbsp;</STRONG>refer to our&nbsp;<A href="https://support.sap.com/en/offerings-programs/enterprise-support/enterprise-support-advisory-council.html" target="_blank" rel="noopener noreferrer">ESAC landing page on the SAP Support Portal</A>.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ESAC2.png" style="width: 519px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94968i3B257B6F8D5D504E/image-size/large?v=v2&amp;px=999" role="button" title="ESAC2.png" alt="ESAC2.png" /></span></P><P>Your SAP Enterprise Support Advisory Council team</P><P><A href="mailto:esac@sap.com" target="_blank" rel="noopener nofollow noreferrer">esac@sap.com</A></P> 2024-04-11T10:43:38.796000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/what-you-need-to-know-security-and-compliance-when-moving-to-a-cloud-erp/ba-p/13671112 What You Need to Know: Security and Compliance when Moving to a Cloud ERP Solution 2024-04-15T15:56:19.392000+02:00 Richard_Howells https://community.sap.com/t5/user/viewprofilepage/user-id/170530 <P>According to the IDC Info brief, Trusted ERP Systems: Priority offerings in security, privacy, compliance and ESG, trustworthy businesses feature a robust approach to risk management, security, compliance, privacy, and ESG.</P><P>In fact, the top reasons for moving to a cloud ERP system include better security, compliance, privacy, and risk posture (45%) and better alignment with company values/ESG initiatives (34%).</P><P>Yet, moving to a SaaS model carries a shift in both compliance and security-related responsibilities when compared to on-premise deployments.</P><P>These topics will be the major topic of discussion of an upcoming webinar, <A href="https://event.on24.com/wcc/r/4476652/0BD7250F4B23B93FFD46EDD5D9A22EED/5237641?partnerref=sapblog3" target="_blank" rel="noopener nofollow noreferrer">Secure your Success: Security, Compliance, ESG</A> on April 24th.</P><P>Here are some of the key questions that will be addressed:</P><H2 id="toc-hId-992492804">What are the strategies to protect sensitive data?</H2><P>All too often, we hear about data leaks of personal and company data, third parties infiltrating and influencing social media, all the way up to election interference.</P><P>It’s obvious that no one wants their customer or intellectual property data leaked online. But it is a constant challenge for companies to ensure protection of data in the face of ever increasing and creative threats.</P><P>This is why it is critical to have a secure business system that takes care of cyber security as part of its standard practices. From secure authentication of users, secure access rights based on business roles and responsibilities and auditability of activity trails throughout and across business processes.</P><H2 id="toc-hId-795979299">How do you comply with regulations?</H2><P>We are increasingly seeing rules and regulations being implemented and enforced across regions and industries and at individual country levels. For example, at last count there were over 600 Environmental, Social &amp; Governance (ESG) rules in place around the globe. And these can result in financial penalties, not to mention loss of brand representation and investment dollars.</P><P>Keeping up with changing tax accounting and reporting rules, and the ever-increasing sustainability regulations (e.g. plastics taxes) can become a headache for companies of all sizes. And having a cloud ERP provider that can support and protect you against these evolving regulations, especially as you grow into new markets, industries or regions of the world, enables you to focus on where your core competencies are.</P><H2 id="toc-hId-599465794">How can you minimize and mitigate cyber threats?</H2><P>Unfortunately, if you don’t have a cyber threat defensive strategy, hackers will take advantage. As with our personal life where no one uses their computer without anti-virus, we should be thinking the same with our business life and no one should deploy an ERP solution without a cyber defense strategy.</P><P>It is important to partner with a systems provider and partners that can provide this protection. Ask for the BS 100012 or similar personal information management certificate. Ask to see the System and Organization Controls (SOC) reports. Ask why you should <A href="https://www.sap.com/about/trust-center.html" target="_blank" rel="noopener noreferrer">trust</A> them with your mission critical and sensitive data.</P><P>As your company grows, managing increased processes and data volume becomes crucial for maintaining performance and customer satisfaction. H. Kracht's Erben AG, a Swiss company in hotels and wine, faced these challenges. Transitioning to a public cloud ERP, SAP S/4HANA Cloud Public Edition as part of their GROW with SAP initiative helped them reduce hardware costs and ensure continuous security updates. Now, they efficiently manage processes, data collection, and data protection for peace of mind.</P><H2 id="toc-hId-402952289">Where to learn more</H2><P>Please join us at the <A href="https://event.on24.com/wcc/r/4476652/0BD7250F4B23B93FFD46EDD5D9A22EED/5237641?partnerref=sapblog3" target="_blank" rel="noopener nofollow noreferrer">Secure your Success: Security, Compliance, ESG</A> webinar on April 24th.</P><P>This session will provide an overview of the capabilities SAP brings to simplify these activities, as well as understand the role of both the customer and the SaaS provider when it comes to compliance responsibilities. You'll understand the capabilities SAP delivers as it pertains to security, audit, data privacy and protection, and regulatory compliance. Furthermore, you'll learn how H. Kracht's Erben AG trusts SAP to protect their server farms while maintaining top performance!</P> 2024-04-15T15:56:19.392000+02:00 https://community.sap.com/t5/financial-management-blogs-by-members/field-status-variant-amp-field-status-group/ba-p/13664786 Field Status Variant & Field Status Group 2024-04-16T12:41:01.750000+02:00 Nivas_Reddy_D https://community.sap.com/t5/user/viewprofilepage/user-id/1420305 <P><STRONG>Define Field Status Variant ?</STRONG></P><P>The field status variant it contains the list of field status group.</P><P>The field status variant defines at the client level and can be assign to multiple company codes.</P><P>&nbsp;</P><P><STRONG>Field Status Group:</STRONG></P><P>It contains the grouping of the fields and the each field it contains the status of the field that is suppress, required and optional.</P><P>The field status groups need to be assign in the GL Account company code segment data tab.</P><P>The field status group in GL Account ,it controls the data entry filling at the line item level while posting the transactions to the GL Account.</P><P>The field status group it controls which data entry fields are requires, optional, not required ( suppress) while posting to the G/L Account.</P><P>The document entry fields can be controlled in two ways.</P><P>1.&nbsp; &nbsp;Field status group in GL Account</P><P>2.&nbsp; &nbsp;Field status in posting key.</P><P>Both field stature groups in GL account and field status in posting key can be control field status of the document entry.</P><P><STRONG>SPRO</STRONG> -&gt; SAP Reference IMG -&gt; Financial Accounting -&gt; Financial Accounting Global Settings -&gt; Ledgers -&gt; Fields -&gt; Define Field Status Variant (<STRONG>OBC4</STRONG>)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_0-1712687646551.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94129iA6EA521C33A5B6B8/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_0-1712687646551.png" alt="Nivas_Reddy_D_0-1712687646551.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_1-1712687858484.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94131iEC68C5846965C2F3/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_1-1712687858484.png" alt="Nivas_Reddy_D_1-1712687858484.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_2-1712687966835.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94132i0E82A4D22167F20C/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_2-1712687966835.png" alt="Nivas_Reddy_D_2-1712687966835.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_3-1712688025955.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94133i7CD89EF619264976/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_3-1712688025955.png" alt="Nivas_Reddy_D_3-1712688025955.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_4-1712688085654.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94134i2B1651FCE3100A3B/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_4-1712688085654.png" alt="Nivas_Reddy_D_4-1712688085654.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_5-1712688139017.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94135i7C2FA5E2D041BAFA/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_5-1712688139017.png" alt="Nivas_Reddy_D_5-1712688139017.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_6-1712688181413.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94136i2B8FF2400B809049/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_6-1712688181413.png" alt="Nivas_Reddy_D_6-1712688181413.png" /></span></P><P>Data Was Saved in Table of&nbsp;<STRONG>T004V</STRONG></P><P>Below are SAP predefined field status Groups</P><P>We can use for the below category of GL accounts</P><P><EM>YB01 – GENERAL&nbsp;</EM></P><P>This group can be used for any type of GL Accounts and all the fields status contains optional</P><P><EM>YB03-MATERIAL CONSUMPTION ACCOUNTS</EM></P><P>The group can be used for all material consumptions GL Accounts</P><P>Example :RM Consumption Accounts, PM Consumption Accounts etc.</P><P><EM>YB04-COST ACCOUNTS.</EM></P><P>The group can be used for all overhead expenditure GL Accounts</P><P>Example :Salaries GL , Rent GL , Travelling Exp GL etc.</P><P><EM>YB05-BANK</EM></P><P>This group can be used for bank related GL Accounts</P><P>Example :Bank GL , Outgoing Payment ( Check issue GL) , Incoming Payment GL ( Check Deposit GL)</P><P><EM>YB06-MATERIAL ACCOUNTS</EM></P><P>This group can be used for balance sheet inventory or stock related GL&nbsp;</P><P>Example :Stock-RM STOCK-FG, Stock-SFG etc.</P><P><EM>YB07-ASSETS ACCOUNT&nbsp;</EM></P><P>This group can be used for fixed assets GL Accounts</P><P>Example: Building GL , P&amp;M GL, Furniture GL , Vehicles GL etc.</P><P><EM>YB12- RECIEVABLE /PAYABLES CLEARING</EM></P><P>This group can be used for bills payable GL Accounts and bills receivables&nbsp;</P><P>Example :Debtors control GL ( Bills receivable GL), Creditors control GL ( Bills payable GL account) etc.</P><P><EM>YB26- ACCOUNTS FOR DOWN PAYMENT MADE&nbsp;</EM></P><P>This group can be used for advance paid to vender GL Accounts.</P><P>Example :Advance to Vendor GL</P><P><EM>YB29-REVENUE ACCOUNT&nbsp;</EM></P><P>This group can be used for all sales and revenue related GL Accounts&nbsp;</P><P>Example :Sales , Misc Sales GL</P><P><EM>YB31-ACCOUNT FOR DOWN PAYMENT RECEIVED-(ADVANCE RECEVED FROM Customers)</EM></P><P>This group can be used for advance received from customer GL&nbsp;</P><P>Example :Advance from Customer GL</P><P><EM>YB41- TAX OFFICE CLEARING A/C&nbsp;</EM></P><P>This group can be used for tax payable Accounts</P><P>Example :Sales Tax payable , GST Payable ,VAT payable , Service Tax Payable GL</P><P><EM>YB45-GOODS / INVOICE RECEIVED CLEARING A/C – (GR/IR)</EM></P><P>This group can be used for GR/IR clearing GL accounts</P><P>Example :GR/IR Clearing GL</P><P>Below procedure followed in procurement process</P><P>1. At the time of Goods received from Vendor to Stock</P><P>Dr&nbsp; &nbsp; &nbsp;Stock</P><P>Cr&nbsp; &nbsp; &nbsp;GR/IR Clearing GL account ( Intermediate GL account)</P><P>2.&nbsp;At the time of Invoice received from Vendor</P><P>Dr&nbsp; &nbsp;&nbsp;GR/IR Clearing GL account ( Intermediate GL account)</P><P>Cr&nbsp; &nbsp;&nbsp;Vendor X</P><P><EM>SECC-Secondary GL</EM></P><P>This Group can be used for all Secondary GL accounts</P><P><EM><STRONG>Note:&nbsp;</STRONG></EM>required only in S/4 HANA , Not required in ECC</P><P><STRONG>Assign Company Code to Field Status Variants</STRONG></P><P><STRONG>SPRO</STRONG> -&gt; SAP Reference IMG -&gt; Financial Accounting -&gt; Financial Accounting Global Settings -&gt; Ledgers -&gt; Fields -&gt;&nbsp;Assign Company Code to Field Status Variants (<STRONG>OBC5</STRONG>)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_7-1712690512875.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94151i399E61375BF3EFF8/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_7-1712690512875.png" alt="Nivas_Reddy_D_7-1712690512875.png" /></span></P><P>Data was Saved in the Table of&nbsp;<STRONG>V_001_P</STRONG></P><P>&nbsp;</P> 2024-04-16T12:41:01.750000+02:00 https://community.sap.com/t5/financial-management-blogs-by-members/retained-earnings-account/ba-p/13664175 Retained Earnings Account 2024-04-18T12:46:26.601000+02:00 Nivas_Reddy_D https://community.sap.com/t5/user/viewprofilepage/user-id/1420305 <P><STRONG>Retained Earnings Account:</STRONG></P><P>At the end of the fiscal year, We need to carry forward the balance of the p\L account to the retained earnings accounts( BS General Reserve Accounts).</P><P>The profit &amp; loss statement account type it represents the retained earnings account.</P><P>The retained earnings account can also be called as net profit/net losses carry forward to be the part of the general reserves account.</P><P>The profit &amp; loss statement account type can be defined similar to variant.</P><P>We can define more than one profit &amp;loss statement account type per COA.</P><P>If we can define the more than one profit &amp;loss statements account type for chart of account then we need to assign profit &amp; loss statement account type in the G/L master for every profit &amp;loss account.</P><P>If we define single profit &amp;loss statement account type for COA , in this case all profit &amp; loss accounts by default assign to the profit &amp; loss statement account type.</P><P>Not required to assign manually in the G/L account.</P><P>The profit &amp; loss account need to be defined for each COA wise.</P><P>Profit &amp; loss statement account type can be defined maximum upto 2 digit code.</P><P>We can use more than one retained earnings GL account per Chart of Account if you are using the Account Approach to address the different Accounting Principles.</P><P>Examples:</P><P>X1&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;P&amp;L statement Account Type for Common Accounts</P><P>X2&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;P&amp;L statement Account Type for USGAP</P><P>X3&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;P&amp;L statement Account Type for IFRSGAP</P><P>X4&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;P&amp;L statement Account Type for IAS GAP</P><P><STRONG>Note:</STRONG></P><P>Not Required Multiple Retained earning accounts per Chart of Accounts if you are following Ledger Approach.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_0-1712666574371.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/93721i8ECF56C77C7E0A67/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_0-1712666574371.png" alt="Nivas_Reddy_D_0-1712666574371.png" /></span></P><P><EM>Why multiple retained earnings account required ?</EM></P><P>We have two approaches to address the different accounting principle requirements</P><P>Approach1=======&gt; Account Approach&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Approach2=========&gt; Ledger Approach</P><P><STRONG>Approach1=======&gt; Account Approach:</STRONG></P><P>We will open few additional GL accounts in addition to common GL accounts for specific to accounting principle wise for those areas need to treat differently</P><TABLE border="1" width="100%"><TBODY><TR><TD width="33.333333333333336%"><STRONG>IFRS</STRONG></TD><TD width="33.333333333333336%"><STRONG>COMMON GL</STRONG></TD><TD width="33.333333333333336%"><STRONG>USGAP</STRONG></TD></TR><TR><TD width="33.333333333333336%">25 GL accounts for specific to IFRS</TD><TD width="33.333333333333336%">300 Common GL accounts</TD><TD width="33.333333333333336%">22 GL accounts for specific to USGAP</TD></TR></TBODY></TABLE><P>FS(Financial Statement) for IFRS =IFRS specific GL accounts + Common GL accounts</P><P>FS(Financial Statement) for USGAP =USGAP specific GL accounts + Common GL accounts</P><P>In Account approach , We will maintain more than one Retained earnings Accounts</P><P>In the above example ,</P><P>X1 ==&gt;&nbsp;Retained earning accounts -common&nbsp;==&gt; Assigned to all common P&amp;L GL accounts</P><P>X2 ==&gt;&nbsp;Retained earning accounts -IFRS Accounts&nbsp;==&gt; Assigned to IFRS specific GL accounts</P><P>X3 ==&gt;&nbsp;Retained earning accounts -USGAP Accounts&nbsp;==&gt; Assigned to USGAP specific GL accounts</P><P><STRONG>Approach2=========&gt; Ledger Approach:</STRONG></P><P>Each Ledger represents the one set of Books</P><P>Ledger ==&gt;L2===========&gt; USGAP</P><P>Ledger ==&gt;L1===========&gt; IFRS</P><P>In the ledger approach , not required to maintain additional GL accounts for specific to accounting principle wise</P><P>Hence not required multiple retained earnings GL accounts ====&gt; One retained earnings GL account is sufficient</P><P><EM><STRONG>Create Retained Earnings Account:</STRONG></EM></P><P>Need to be Defined P&amp;L statement account type per Each Chart of Account wise</P><P>Operational COA(RELP)</P><P>X1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;P&amp;L Statement A/ Type for Op COA ( RELP )</P><P>Grp COA (RELG)</P><P>G1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;P&amp;L Statement A/ Type for Grp COA ( RELG )</P><P>Country COA (RELC)</P><P>N1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;P&amp;L Statement A/ Type for Country COA ( RELC )</P><P><STRONG>SPRO</STRONG> -&gt; SAP Reference IMG -&gt; Financial Accounting -&gt; General Ledger Accounting -&gt; Master Data -&gt; G/L Accounts -&gt; Preparations -&gt; Define Retained Earnings Accounts (<STRONG>OB53</STRONG>)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_1-1712668257860.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/93758i33D3905A1022CA8A/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_1-1712668257860.png" alt="Nivas_Reddy_D_1-1712668257860.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_2-1712668383574.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/93760iE746921E7A1024FA/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_2-1712668383574.png" alt="Nivas_Reddy_D_2-1712668383574.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivas_Reddy_D_3-1712668526902.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/93762i2BA8CC195A4E503A/image-size/medium?v=v2&amp;px=400" role="button" title="Nivas_Reddy_D_3-1712668526902.png" alt="Nivas_Reddy_D_3-1712668526902.png" /></span></P><P>Data was Saved in the Table of&nbsp;<STRONG>T030</STRONG></P> 2024-04-18T12:46:26.601000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/jumpstart-your-cloud-erp-journey-with-guided-enablement-in-rise-with-sap/ba-p/13679776 Jumpstart your cloud ERP journey with guided enablement in RISE with SAP Methodology 2024-04-25T14:15:04.009000+02:00 Peter_Baskin https://community.sap.com/t5/user/viewprofilepage/user-id/55560 <P><SPAN>Transform with confidence using RISE with SAP Methodology.&nbsp;</SPAN>Today we're <A href="https://news.sap.com/?p=224451" target="_self" rel="noopener noreferrer">introducing an improved customer onboarding experience</A> and quality check enhancements in the RISE with SAP Methodology. All customers subscribing for the first time to <a href="https://community.sap.com/t5/c-khhcw49343/RISE+with+SAP/pd-p/1e76886f-86ac-4839-9833-8bf95f5eb775" class="lia-product-mention" data-product="29-1">RISE with SAP</a>&nbsp;after April 1, 2024, will go through this improved experience at no additional cost.&nbsp; The new experience provides guided enablement and related tools and services to help customers implement their cloud ERP solutions with clarity and confidence. This experience brings focus to <A href="https://www.sap.com/products/erp/rise/clean-core.html" target="_blank" rel="noopener noreferrer">clean core</A>&nbsp;mindset and simplifies best practice implementation of clean core by making it a more central, actionable and measurable standard of all implementations. This ensures that all customers benefit from business agility, faster innovation cycles, and improved value realization.</P> <P>The announcement articulated two main areas of new investments SAP is making and which are the following:</P> <UL> <LI><STRONG>Expert onboarding guidance through embedded launch activities:</STRONG> To share best practice guidance that we have learned over thousands of successful RISE with SAP customer implementations, each SAP customer will be assigned dedicated SAP adviser who delivers 1:1 and 1:many enablement sessions educating customers on the RISE with SAP methodology, clean core strategy and related tools for implementation.</LI> <LI><STRONG>‘Clean core’ focused success plan and quality checks:</STRONG> We are augmenting the methodologies and tools to include new project roadmaps, ’clean-core’ success plans and quality gates aligned with best practices for successful implementation and unlocking business value faster. <A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/new-quality-check-enhancements-with-a-focus-on-clean-core-implementation/ba-p/13679681" target="_self">Learn More</A></LI> </UL> <P>In this blog post, we are providing you with more details on the first area of the new onboarding experience offering to customers through embedded launch activities.</P> <P><STRONG>What are the Embedded Launch Activities?</STRONG></P> <P>Embedded launch activities are built to prepare customers for RISE with SAP with <a href="https://community.sap.com/t5/c-khhcw49343/SAP+S%25252F4HANA+Cloud+Private+Edition/pd-p/5c26062a-9855-4f39-8205-272938b6882f" class="lia-product-mention" data-product="1198-1">SAP S/4HANA Cloud Private Edition</a>&nbsp;engagement by providing insights on global best practices. Through this early enablement, we want to ensure that customers feel supported on their Cloud ERP journey and proceed with clarity and confidence. Each RISE with SAP customer is now assigned a dedicated SAP Advisor who helps customer navigate the implementation roadmap and provides education on the overall journey, RISE with SAP methodology, the clean core strategy and initial set up of tools and services. In addition, customers have access to several recorded enablement sessions to go deeper on these topics and be prepared for the journey ahead.</P> <P style=" padding-left : 30px; "><STRONG>Initial Advisor led 1:1 Sessions</STRONG>: The journey kicks off with three personalized 1:1 customer-facing calls delivered by the SAP assigned Advisor. These initial calls are designed to prepare the customer for the upcoming implementation phases and include topics such as introduction to the RISE with SAP Methodology, the clean core strategy and provision the Cloud ALM tool which will be used to track and report on the actual project implementation. The onboarding experience has renewed focus on implementing a clean core and therefore a primary outcome of the 1:1 sessions is to agree on setting up a clean core success plan which is available as project tasks in Cloud ALM tool for tracking and reporting throughout implementation. &nbsp;Another key outcome is the initiation of clean core based `Quality Gate` which is a checkpoint to ensure customer is implementing in alignment with SAP recommended best practices before proceeding to next project phase.</P> <P style=" padding-left : 30px; "><STRONG>Additional 1:Many Sessions:</STRONG> &nbsp;After the 1:1 sessions, there are additional four sessions as a continuation of the embedded launch activities that are aimed at guiding customers through each phase of their project implementation, offer practical insights and best practices. Those sessions include</P> <UL> <LI>Project Readiness – Get ready to start your implementation, learn how to run your solution by leveraging SAP best practices.</LI> <LI>Project Guidance – Progress with your implementation.&nbsp; Access available SAP resources and tools to save implementation.</LI> <LI>Project Progress – Monitor your project progress.&nbsp; Safeguard the success of your implementation using SAP services included in your contract.</LI> <LI>Go-Live Preparation – Get ready for successful Go-live! Check your go-live readiness with our SAP support and services. Prepare post go-live activities and continue your innovation plan.</LI> </UL> <P style=" padding-left : 30px; "><STRONG>Recorded Enablement Sessions</STRONG>:&nbsp;In addition to the 1:1 and the 1: many advisor-led sessions, customers also have access to a collection of role-based, recorded enablement sessions covering business process leading practices, solution architectures and other strategic topics. SAP S/4HANA Cloud private edition embedded launch activities include:</P> <UL> <LI>Conversion – For IT Leads</LI> <LI>Conversion – For Project Teams</LI> <LI>Activities For Business Users</LI> <LI>New Implementation – For IT Leads</LI> <LI>New Implementation – For Project Team</LI> </UL> <P>Through these embedded launch activities, our goal is to empower you to get started with your cloud ERP journey with all the knowledge and resources required to be successful.</P> <P>To learn more, please see the <A href="https://news.sap.com/?p=224451" target="_self" rel="noopener noreferrer">SAP News Announcement</A> and join us for our upcoming webinar on May 23rd where we will go deeper into this new onboarding experience in RISE with SAP Methodology! <A href="https://event.on24.com/wcc/r/4573875/470481A80AAF443E29CBBDD9B1C29F4B/5433671?partnerref=blog1" target="_self" rel="nofollow noopener noreferrer">Register here</A>.</P> 2024-04-25T14:15:04.009000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/unleash-the-power-of-business-ai-across-your-cloud-erp-environment/ba-p/13691160 Unleash the power of Business AI across your Cloud ERP environment! 2024-05-03T20:08:41.484000+02:00 Richard_Howells https://community.sap.com/t5/user/viewprofilepage/user-id/170530 <P class="">It’s safe to say that AI is everywhere. It’s often a case of “the answer is AI, what’s the question”?</P><P class="">The reality is that business landscapes are rapidly evolving, driven by innovative technologies like <A class="" href="https://www.sap.com/products/erp.html" target="_self" rel="noopener noreferrer">Cloud ERP and </A><A class="" href="https://www.sap.com/products/artificial-intelligence.html" target="_self" rel="noopener noreferrer">Business AI.</A></P><P class="">The business data now available in Cloud ERP systems, complimented by unstructured data from external sources provide a foundation to change the way we make decisions, empower users, automate processes, and predict the future.</P><H3 id="toc-hId-1123422718">Trust in the data and AI recommendations</H3><P class="">But AI is only as good as the data it is analyzing.</P><P class="">SAP’s customers provide products that run the world, from baby milk formula to the vehicles that move us from place to place. They look for business systems that help them grow, predict, and adapt to risks, opportunities, and ever-changing business dynamics. And they need to be confident that the decisions they make based on AI generated insights and recommendations are accurate and informed.</P><P class="">Wouldn’t you want AI from someone who has decades of experience of running serious businesses and business processes?</P><H3 id="toc-hId-926909213">Welcome to Business AI</H3><P class="">Business AI leveraging machine learning and natural language processing, analyses this data to generate insights and automate tasks.</P><P class="">This powerful combination of Cloud ERP and Business AI empowers businesses to transform operations, gain deeper insights, and make data-driven decisions with unprecedented accuracy.</P><P class="">As Deloitte’s <A class="" href="https://www.linkedin.com/in/subit-j-mathew-1562672/" target="_blank" rel="noopener nofollow noreferrer">Subit J. Mathew explained in a recent </A><A class="" href="https://podcast.opensap.info/the-future-of-erp/2024/04/24/episode-35-generative-ai-and-erp-with-deloittes-subit-mathew/" target="_self" rel="nofollow noopener noreferrer">Future of ERP podcast, “ERPs of the future will be composable, and what makes them composable is a robust foundation like SAP, steering it with human creativity and powering it with AI and intelligent technologies. Essentially moving us from human augmentation to human automation as time progresses.”</A></P><P class="">With SAP Business AI, we build the system of intelligence with three core principles:</P><UL><LI><STRONG>Relevant: </STRONG>Everything is embedded into our leading enterprise applications and business technology solutions. Customers can count on their SAP systems to be futureproofed with the most relevant AI experiences in the context of their business.</LI><LI><STRONG>Reliable: </STRONG>Based on the unique business data AND business process context, we can deliver the most reliable business AI. Your AI is only as good as your data – we have the most important data and the only one with business data context intact.</LI><LI><STRONG><STRONG>Responsible: </STRONG></STRONG>We deliver AI with the highest levels of concern for security, privacy, compliance, and ethics. SAP has the right character to deliver AI responsibly. Ironically, the more responsibly one builds AI technology, the freer an organization is to use it.<H3 id="toc-hId-730395708">Creating an AI Business Strategy</H3><P class="">This underscores the necessity for businesses to thoroughly assess and comprehend various related aspects to craft a robust AI Business Strategy.&nbsp;The key is to identify your business challenges you need to address, the use cases that will improve your business, and then determine how best to address them.</P><P class="">The possible applications for AI in the business context seem endless, but how do you turn this potential into tangible value? What scenarios will work best for your business? How do you build an AI strategy? &nbsp;And how will AI align with your specific operational requirements?</P><P class="">As Subit explained in the <A class="" href="https://podcast.opensap.info/the-future-of-erp/2024/04/24/episode-35-generative-ai-and-erp-with-deloittes-subit-mathew/" target="_self" rel="nofollow noopener noreferrer">podcast, “AI is really about doing things that you do today differently, and being able to do different things that you could never do before!”</A></P><P class="">We discussed how companies need to segment their AI strategies into three distinct categories:</P><UL><LI><STRONG>Improve efficiency to do the things it does today in a different, more accelerated fashion.</STRONG></LI><LI><STRONG>Improve the user experience to become more intuitive and provide contextual information.</STRONG></LI><LI><STRONG><STRONG>Deliver new processes and innovation previously not had in the organization.</STRONG></STRONG><P class="">A lot of companies are looking at establishing AI Center of Excellence, which really look at it from multiple perspectives and involves answering several questions:</P><P class="">What is the right governance model you want to put in place around what initiatives do you even prioritize?</P><UL><LI>How do you prioritize the use cases you want to go after?</LI><LI>How do you quantify the value of what you want to go after?</LI><LI>What is the technology fabric that you're going to use to accomplish this?<P class="">This is the value of where an <A class="" href="https://www.sap.com/products/erp.html" target="_self" rel="noopener noreferrer">ERP platform such as SAP comes in. If you combine them with some of the large language models out there, it opens itself up to doing remarkable things.</A></P><P class="">To learn more, listen to the Future of ERP podcast: <A class="" href="https://podcast.opensap.info/the-future-of-erp/2024/04/24/episode-35-generative-ai-and-erp-with-deloittes-subit-mathew/" target="_self" rel="nofollow noopener noreferrer">Generative AI and ERP with Deloitte’s Subit Mathew.</A></P><P class="">And join us at the upcoming <A class="" href="https://www.sap.com/events/sapphire.html" target="_self" rel="noopener noreferrer">Sapphire and ASUG Annual Conference&nbsp;in Orlando on June 3rd - 5th where you will discover the power of Business AI for Cloud ERP that’s reliable, relevant to your business, and responsible by&nbsp;design.</A></P></LI></UL></LI></UL></LI></UL> 2024-05-03T20:08:41.484000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/sap-s-4hana-extracting-user-email-addresses-from-standard-tables/ba-p/13697756 SAP S/4HANA - Extracting User Email Addresses from Standard Tables 2024-05-10T15:09:30.362000+02:00 karthikj2 https://community.sap.com/t5/user/viewprofilepage/user-id/148163 <P><FONT size="5"><STRONG>What are we discussing here?</STRONG></FONT></P><P>When working with SAP systems, it is fundamental to need / verify user <FONT size="4">email</FONT> addresses for various purposes. Whether it is to send Automated Notifications, facilitating communication between users, or Generating Reports, having accurate and up-to-date email addresses is crucial. However, extracting the email address from SAP system is not as easy as we think. In this blog post, we will explore the simplest method to extract / find email addresses of users from SAP Standard tables.</P><P>Note : There is no direct transaction code or program to extract email addresses of users</P><P><FONT size="5"><STRONG>How are we going to achieve it?</STRONG></FONT></P><P>The primary table that stores user information in SAP is <STRONG>USR21</STRONG>. This table contains User Master Data, including Personal Numbers (<STRONG>PERSNUMBER</STRONG>) associated with each user. To retrieve email addresses, we will link this table with the address data table <STRONG>ADR6</STRONG>.</P><P><STRONG>What is USR21?</STRONG></P><P>USR21 is a standard table in SAP ERP system that assigns User Names and Address Keys.</P><P><STRONG>What is ADR6?</STRONG></P><P>The ADR6 table in SAP ERP system is a standard table that stores email addresses (Business Address Services) for any address record.</P><P><FONT size="5"><STRONG>Procedure to Extract Email Address from SAP Tables</STRONG></FONT></P><P>Execute table view transaction code: <STRONG>SE16</STRONG> -&gt; Enter Table Name : <STRONG>USR21</STRONG> -&gt; Execute</P><P>Provide the list of User ID(s) through Multiple Selection for <STRONG>BNAME </STRONG>-&gt; Execute</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="karthikj2_5-1715344388432.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108676iCEC89D0CE48CCB7B/image-size/medium?v=v2&amp;px=400" role="button" title="karthikj2_5-1715344388432.png" alt="karthikj2_5-1715344388432.png" /></span></P><P>Copy the list of Personnel Number <STRONG>(PERSNUMBER)</STRONG> for the users</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="karthikj2_6-1715344388441.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108674iCC1979566995EEFE/image-size/medium?v=v2&amp;px=400" role="button" title="karthikj2_6-1715344388441.png" alt="karthikj2_6-1715344388441.png" /></span></P><P>Execute table view transaction code: <STRONG>SE16</STRONG> -&gt; Enter Table Name: <STRONG>ADR6</STRONG> -&gt; Execute</P><P>Provide the list of Personnel Number(s) through Multiple Selection for <STRONG>PERSNUMBER </STRONG>-&gt; Execute</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="karthikj2_7-1715344388447.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108675i7E1876E52EBE5A3D/image-size/medium?v=v2&amp;px=400" role="button" title="karthikj2_7-1715344388447.png" alt="karthikj2_7-1715344388447.png" /></span></P><P><STRONG>SMTP_ADDR</STRONG> column of ADR6 table will provide the list of email address for users</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="karthikj2_8-1715344388454.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108680i9911656A2E120BA1/image-size/medium?v=v2&amp;px=400" role="button" title="karthikj2_8-1715344388454.png" alt="karthikj2_8-1715344388454.png" /></span></P><P>SAP also offers to extract the list into Spreadsheet from this screen</P><P><STRONG>&nbsp;</STRONG><STRONG>Tip :</STRONG> Ensure to select ALV Grid Display in User Specific Settings at initial screen of ADR6</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="karthikj2_9-1715344388461.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108681iA9B307175988C370/image-size/medium?v=v2&amp;px=400" role="button" title="karthikj2_9-1715344388461.png" alt="karthikj2_9-1715344388461.png" /></span></P><P><FONT size="5"><STRONG>What are other options?</STRONG></FONT></P><P>Another approach for SAP S/4HANA is to leverage the built-in Core Data Services<STRONG> (CDS)</STRONG> view.</P><P>Table :&nbsp;<STRONG>PUSER002</STRONG> can also be used | BNAME = UserName | Ensure column <STRONG>SMTP_ADDR</STRONG> is visible</P><P><FONT size="5"><STRONG>Word of Caution</STRONG></FONT></P><P><STRONG>Avoid Unintended Disclosure</STRONG></P><P>When querying SAP tables, be cautious not to inadvertently disclose email addresses to unauthorized users or external sources.</P><P>Limit access to relevant personnel and follow proper authorization procedures.</P><P>Remember, accurate and secure email addresses contribute to smooth business processes and effective communication within your organization. Handle them responsibly, and always prioritize data protection.</P><P>If you have any further questions or need assistance, do not hesitate to comment on this blog. Happy SAP querying!</P><P>Feel free to share this article with your colleagues and peers who work with SAP systems.</P> 2024-05-10T15:09:30.362000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/sap-integration-with-successfactors-through-cpi-a-step-by-step-handbook-for/ba-p/13699051 SAP Integration with SuccessFactors Through CPI: A Step-by-Step Handbook for Seamless Connectivity 2024-05-14T10:33:22.921000+02:00 nimra_younus https://community.sap.com/t5/user/viewprofilepage/user-id/888129 <P><STRONG>Introduction:</STRONG></P><P>This blog focuses on integrating SAP ERP with SuccessFactors through CPI, particularly addressing the configurable or standard Integration-Flow. Whether setting up initial connectivity with SAP or updating connectivity to a new SAP server, the steps outlined in this blog remain consistent across different SAP landscapes.</P><P>This blog will cover building the two-way communication channels:</P><UL><LI><STRONG>SAP ERP to CPI Suite</STRONG></LI><LI><STRONG>CPI Suite to SAP ERP</STRONG></LI></UL><P><STRONG>Step :1</STRONG> – Navigate to the CPI Suite and Copy the Name of the Integration Flow (I-Flow).</P><P><STRONG>For Example:</STRONG> “Replicate Employee Master Data and Org. Assignments from SAP SuccessFactors Employee Central to SAP ERP or SAP S4HANA”</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_0-1715587003829.png" style="width: 734px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109359i1443064543709495/image-dimensions/734x103?v=v2" width="734" height="103" role="button" title="nimra_younus_0-1715587003829.png" alt="nimra_younus_0-1715587003829.png" /></span></P><P><STRONG>Step:2</STRONG> – For all configurable Integration Flows (I-Flows), you can access the technical integration settings guide on the SAP Help Portal. Simply search on Google using the keyword "I-FlowName.pdf" to locate the relevant documentation.</P><P><STRONG>For Example:</STRONG> “Replicate Employee Master Data and Org. Assignments from SAP SuccessFactors Employee Central to SAP ERP or SAP S4HANA<STRONG>.PDF</STRONG>”</P><P><EM>This URL is applicable to the current situation </EM><A href="https://help.sap.com/doc/2b73e3be50474cdc8cce76c3ff4860b6/2311/en-US/SF_EC_S4_Org_Objects_HCI_en-US.pdf" target="_blank" rel="noopener noreferrer"><EM>https://help.sap.com/doc/2b73e3be50474cdc8cce76c3ff4860b6/2311/en-US/SF_EC_S4_Org_Objects_HCI_en-US.pdf</EM></A></P><P>Under the "How to find Endpoint" section, locate the <STRONG>"Search Service definition."</STRONG> There, you'll find two procedures outlined in the SAP guide. Follow the steps provided in the guide accordingly.</P><P><STRONG>1st Procedure - </STRONG><STRONG>SAP ERP Communication to CPI: </STRONG></P><P><STRONG>Tips:</STRONG> Search for "SOAMANAGER" or "SM59" within the PDF guide to find the relevant web service definitions.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_1-1715587067110.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109360i612F7E81EFB939FB/image-size/medium?v=v2&amp;px=400" role="button" title="nimra_younus_1-1715587067110.png" alt="nimra_younus_1-1715587067110.png" /></span></P><P><STRONG>Step:3- </STRONG>Configure the URL in I-Flow Receivers</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_3-1715587120871.png" style="width: 585px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109363i8B0756102EA1A67F/image-dimensions/585x209?v=v2" width="585" height="209" role="button" title="nimra_younus_3-1715587120871.png" alt="nimra_younus_3-1715587120871.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_4-1715587135839.png" style="width: 588px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109364i22A5DFDAF9134858/image-dimensions/588x126?v=v2" width="588" height="126" role="button" title="nimra_younus_4-1715587135839.png" alt="nimra_younus_4-1715587135839.png" /></span></P><P><STRONG>Step:4- </STRONG>Paste the URL into the Address section of the relevant Receiver.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_5-1715587168814.png" style="width: 609px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109365iFD7628DE865F12E9/image-dimensions/609x294?v=v2" width="609" height="294" role="button" title="nimra_younus_5-1715587168814.png" alt="nimra_younus_5-1715587168814.png" /></span></P><P><STRONG>2nd Procedure - SAP ERP Communication to CPI:</STRONG></P><P><STRONG>Tips:</STRONG> Look up "SOAMANAGER" or "SM59" in the PDF guide to find the relevant procedures.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_6-1715587190541.png" style="width: 599px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109366iEEB920CDE6BFB308/image-dimensions/599x120?v=v2" width="599" height="120" role="button" title="nimra_younus_6-1715587190541.png" alt="nimra_younus_6-1715587190541.png" /></span></P><P><STRONG>Step:1 –</STRONG> Deploy the I-Flow</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_7-1715587203706.png" style="width: 598px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109367iD1E946F53999018D/image-dimensions/598x217?v=v2" width="598" height="217" role="button" title="nimra_younus_7-1715587203706.png" alt="nimra_younus_7-1715587203706.png" /></span></P><P><STRONG>Step 2 -</STRONG> Copy the Endpoint URL or WSDL from <STRONG>Manage integration Content</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_8-1715587218685.png" style="width: 627px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109368i4E977C81CF555783/image-dimensions/627x332?v=v2" width="627" height="332" role="button" title="nimra_younus_8-1715587218685.png" alt="nimra_younus_8-1715587218685.png" /></span></P><P><STRONG>Step 3 –</STRONG> Proceed to SOAMANAGER and Enter CPI SID in Username and Password</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_9-1715587234138.png" style="width: 633px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109369iDD56B706FC4EB479/image-dimensions/633x302?v=v2" width="633" height="302" role="button" title="nimra_younus_9-1715587234138.png" alt="nimra_younus_9-1715587234138.png" /></span></P><P>Then, navigate to the Transport Settings tab and enter the CPI Endpoint WSDL/URL.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nimra_younus_10-1715587255428.png" style="width: 603px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109370i8342897AD2E0D20F/image-dimensions/603x278?v=v2" width="603" height="278" role="button" title="nimra_younus_10-1715587255428.png" alt="nimra_younus_10-1715587255428.png" /></span></P><P><STRONG>Conclusion: </STRONG></P><P>In conclusion, establishing seamless integration between SAP ERP and SuccessFactors through SAP Cloud Platform Integration (CPI) is critical for optimizing business processes and ensuring data consistency across the organization.&nbsp;This blog aims to provide a standard and comprehensive guide for configuring two-way communication regardless of the specific Integration flow (I-Flow).</P> 2024-05-14T10:33:22.921000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/busting-the-top-3-myths-about-cloud-erp-implementation/ba-p/13706700 Busting the Top 3 Myths about Cloud ERP Implementation 2024-05-20T13:34:48.273000+02:00 Oyku_Ilgar https://community.sap.com/t5/user/viewprofilepage/user-id/140157 <P><SPAN>An </SPAN><A href="https://www.sap.com/products/erp/grow.html" target="_blank" rel="noopener noreferrer"><SPAN>Enterprise Resource Planning</SPAN></A><SPAN> (ERP) implementation can revolutionize all aspects of your business processes. Let’s dive into the top three common myths associated with ERP implementation and discover the truths behind them.</SPAN><SPAN>&nbsp;</SPAN></P><P>&nbsp;</P><H2 id="toc-hId-1014811996"><STRONG><SPAN>#1 Myth: ERP is for large enterprises.</SPAN></STRONG><SPAN>&nbsp;</SPAN><SPAN>&nbsp;</SPAN></H2><P><SPAN>When people think about ERP applications, they often assume that only large or multinational enterprises implement these solutions. The truth is </SPAN><SPAN>quite </SPAN><SPAN>different than this.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>For years, small and medium-sized enterprises (SMEs) remained on the sidelines, while their larger competitors enjoyed the advantages of ERP systems.&nbsp; However, times have changed, and the latest research tells a different story - around </SPAN><A href="https://www.sap.com/products/sme-business-software.html#:~:text=80%25%20of%20our%20customers%20are,models%2C%20languages%2C%20and%20currencies." target="_blank" rel="noopener noreferrer"><SPAN>80%</SPAN></A><SPAN> of SAP’s customers are small and midsize companies, choosing SAP solutions that help them simplify, automate, and grow their businesses.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Resistance to change can complexify and prolong the process in </SPAN><SPAN>both </SPAN><SPAN>large multinational companies </SPAN><SPAN>and</SPAN><SPAN> SMEs. What businesses should understand is that a successful ERP implementation is an </SPAN><I><SPAN>ongoing journey of continuous improvement</SPAN></I><SPAN>.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>No matter how you turn it, implementing ERP is an extensive project and requires careful planning. Fortunately, SAP tools like </SPAN><A href="https://www.sap.com/assetdetail/2023/08/a8a27b3d-8c7e-0010-bca6-c68f7e60039b.html" target="_blank" rel="noopener noreferrer"><SPAN>Digital Discovery Assessment</SPAN></A><SPAN> (DDA) and </SPAN><A href="https://support.sap.com/en/alm/sap-cloud-alm.html?anchorId=section_1856288040_c" target="_blank" rel="noopener noreferrer"><SPAN>Cloud Application Lifecycle Management</SPAN></A><SPAN> (CALM) assist customers throughout the transition.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><H2 id="toc-hId-818298491"><STRONG><SPAN>#2 Myth: Cloud ERP is less secure than on-premises.</SPAN></STRONG><SPAN>&nbsp;</SPAN></H2><P><SPAN>On-Premise solutions have become a cornerstone in organizations’ technological infrastructure around the world.&nbsp; Given its long-standing tenure, the thinking often results in believing that on-premises are more secure.&nbsp; In reality, major cloud data centers have stronger security measures due to dedicated teams solely focused on guarding against security breaches.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Cloud providers offer a diverse array of security features and services aimed at assisting businesses in safeguarding their data and applications. Utilizing a cloud ERP system allows businesses to enhance their security posture without having to invest in their own security infrastructure as in on-prem users.&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Ten years ago, CIOs may have been hesitant to move to the cloud due to the uncertainty in stable safeguarding, but now we see a shift towards embracing the cloud for its enhanced security features. Cloud providers handle the distribution and implementation of patches, ensuring that the business can operate without interrupting the business.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Moving to the cloud is not just a technical process, but a transformative one that keeps businesses </SPAN><I><SPAN>current, up to date, and secure.</SPAN></I><SPAN>&nbsp;</SPAN></P><P><SPAN>&nbsp;</SPAN></P><H2 id="toc-hId-621784986"><STRONG><SPAN>#3 Myth: ERP is a one-size-fits-all solution.</SPAN></STRONG><SPAN>&nbsp;</SPAN></H2><P><SPAN>Most companies out there are </SPAN><SPAN>struggling with a ‘spaghetti’ ERP landscape, hindering their ability to rapidly decode and transform to meet ever-changing business requirements</SPAN><SPAN>.&nbsp; Businesses see the transformational benefits of implementing a fit-to-standard approach to ERP, which helps maintain a clean core while leaving complexity behind.&nbsp; However, it is important to note that ERP is not a one-size-fits-all solution, and deviations from standardization occur for a reason.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Within the organization, it is essential to establish a clear understanding that cloud ERP doesn’t require businesses to adopt a complete fit-to-standard approach. 90% of fit standard approach and the rest focused 10% serve as a competitive edge or a key to enhancing operational efficiency.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>An example of a successful cloud ERP implementation </SPAN><SPAN>is </SPAN><A href="https://www.sap.com/asset/dynamic/2022/12/7623b1c0-577e-0010-bca6-c68f7e60039b.html" target="_blank" rel="noopener noreferrer"><SPAN>La Moderna</SPAN></A><SPAN>, a food manufacturer in Mexico City. Their proactive adoption of best practices and simplification of processes has positioned them well to take advantage of future innovations in the ERP solution. The company’s attitude toward change management with a solid cloud ERP strategy enabled La Moderna to drive out complexity and positioned themselves to take advantage of the innovations in the solution.</SPAN><SPAN>&nbsp;</SPAN></P><P><SPAN>Cloud ERP enables businesses to stay compliant with the evolving rules and regulations, as localization extends beyond language or currency considerations but also encompasses compliance with local regulations.</SPAN><SPAN>&nbsp;</SPAN></P><P>&nbsp;</P><H3 id="toc-hId-554354200"><STRONG><SPAN>To learn more, please join us at the </SPAN></STRONG><A href="https://event.on24.com/wcc/r/4476652/0BD7250F4B23B93FFD46EDD5D9A22EED/5237641?partnerref=sapblog4" target="_blank" rel="noopener nofollow noreferrer"><STRONG><SPAN>Secrets to Successful ERP Implementation</SPAN></STRONG></A><STRONG><SPAN> webinar on May 22nd.</SPAN></STRONG><SPAN>&nbsp;</SPAN></H3><P><SPAN>This session will provide an overview of the capabilities SAP brings to help you implement ERP successfully with confidence. Shifting from a blueprint and design approach to a fit-to-standard approach comes with many efficiencies and advantages, and you’ll understand the key to implementing your ERP successfully from our expert. Furthermore, you'll learn how La Moderna successfully implemented our Cloud ERP smoothly and realized its value quickly.</SPAN><SPAN>&nbsp;</SPAN></P> 2024-05-20T13:34:48.273000+02:00 https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/how-to-replicate-your-fiori-inbox-in-microsoft-teams/ba-p/13706788 How to replicate your Fiori Inbox in Microsoft Teams 2024-05-20T15:11:28.256000+02:00 chris_scott https://community.sap.com/t5/user/viewprofilepage/user-id/184054 <P>Using Looply you can replicate your Fiori Inbox in Teams, and it’s fast and easy.</P><P>Putting outstanding workitems in the face of those users who are not logged into SAP Work Zone / Fiori LaunchPad /&nbsp; SAPGUI can accelerate processes and lead to a host of other benefits.</P><P>We can build the solution in 4 steps.</P><H3 id="toc-hId-1143894971"><STRONG>[1] Consider the trigger points.</STRONG></H3><P>You have options.&nbsp; You might run a background job periodically to update Teams.&nbsp; This is easy to set up, but resource-intensive if you decide to run it every few minutes instead of, say, twice per day.</P><P>You could trigger the Teams card from SAP workflow, so that you can be sure that the card is updated when a workitem is created and/or completed.&nbsp; This would mean adding tasks to each workflow, so it’s considerably more work, but much less resource intensive, as there is no background job to run.</P><P>You could trigger the Teams card from SAP events – in exactly the same way that workflows are triggered, so that each time a critical workflow is triggered then the Teams card is created or updated.&nbsp; This is less work to set up, but potentially more complex because you might be triggering the Teams card before the workflow has determined the user. (So you might want to build in a 60-second wait.)</P><P>Of course, you could choose more than one approach, as some processes are more critical than others.&nbsp; For example, you might trigger a card update at the end of specific workflow processes, and also schedule a job twice a day.</P><P>In this example we’ll write a simple ABAP program to schedule as a background job. (See step 4.)</P><H3 id="toc-hId-947381466"><STRONG>[2] Build your Looply Workflow.</STRONG></H3><P>Pure notification workflows tend to be very simple, as basically Looply is being passed some data, which it is mapping to Teams card fields, and push the card to the identified user.</P><P>In this example we’re going to add a button to enable the user to remove the card, and also the capability to either CREATE a new card where one doesn’t exist, or UPDATE an existing card.</P><P>This way there will never be more than one notification card for a user.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_scott_0-1716210056387.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112950i651B495BEFEA8A9C/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="chris_scott_0-1716210056387.png" alt="chris_scott_0-1716210056387.png" /></span></P><P>Let’s break this down.</P><OL><LI>When the workflow is triggered (and no existing card is in place) then the first step is to trigger a new card.&nbsp;&nbsp;</LI><LI>The card could be closed manually (‘MS Teams Response’) or it could be subsequently updated from another SAP call (‘External Response')</LI><LI>For the ‘External Response’ we need to capture the new data and push it into the data schema (‘payload’) that the card is mapped to.&nbsp; We do this mapping in the ‘Override Payload’ step.</LI><LI>Then we Update the card, using the new data.</LI><LI>Again, the user could close the card manually, or more data might be received from SAP.&nbsp; If more data is supplied then we update the schema from the data returned, and loop back to where we update the card.</LI></OL><H3 id="toc-hId-750867961"><STRONG>&nbsp;[3] Build your Adaptive Card in Looply</STRONG></H3><P>The card is really simple as there are very few variables.&nbsp; It is basically a list of actions with URLS / deep links to point back to Fiori Inbox items.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_scott_1-1716210056392.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112948i5A27BDF562293A75/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="chris_scott_1-1716210056392.png" alt="chris_scott_1-1716210056392.png" /></span></P><P>This card comprises 5 containers, which are used to group and style fields:</P><OL><LI>Heading</LI><LI>User name</LI><LI>Item count</LI><LI>Item table</LI><LI>Action buttons</LI></OL><P>The item table has just one field, for description, which is bound to “[${wi_text}](${wi_full})” such that the workitem text (wi_text) is displayed with the URL to the Workitem for action (wi_full).</P><H3 id="toc-hId-554354456"><STRONG>[4] Build the SAP trigger</STRONG></H3><P>There are two parts to this. Firstly the Process Determination table should be configured, adding the Looply workflow ID.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_scott_2-1716210056395.jpeg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112949i9EEAC350FFE79851/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="chris_scott_2-1716210056395.jpeg" alt="chris_scott_2-1716210056395.jpeg" /></span></P><P>Secondly, the trigger program:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_scott_3-1716210056397.jpeg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112951i71741F277B13902C/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="chris_scott_3-1716210056397.jpeg" alt="chris_scott_3-1716210056397.jpeg" /></span></P><P>Here we have created a simple selection screen just with the user name as the selection option.</P><P>The program logic is:</P><P>For each selected user:</P><UL><LI>Get details using BAPI_USER_GET_DETAILS</LI><LI>Get inbox items using SAP_WAPI_CREATE_WORKLIST</LI><LI>For each item, build the URL to the workitem in Fiori Inbox</LI><LI>Prepare data fields for the card in an internal table</LI><LI>Read the Looply Process Determination table</LI><LI>Trigger Looply workflow using /LOOPLY/CORE=&gt;TRIGGER_WF for <STRONG><EM>Outbound</EM></STRONG> Scenario.&nbsp; This tries to start a new workflow for the user, but fails if there is already a workflow running.</LI><LI>If that fails trigger Looply workflow using /LOOPLY/CORE=&gt;TRIGGER_WF for <STRONG><EM>Resume</EM></STRONG> Scenario.</LI></UL><P>This will continue the Looply workflow from the current step.</P><pre class="lia-code-sample language-abap"><code>*&amp;---------------------------------------------------------------------* *&amp; Report Z_LOOPLY_INBOX_DEMO *&amp;---------------------------------------------------------------------* *&amp; Demo code only *&amp;---------------------------------------------------------------------* REPORT z_looply_inbox_demo. TYPES: BEGIN OF ty_card_items, workitem TYPE string, wi_full TYPE string, wi_text TYPE string, END OF ty_card_items. TYPES: tty_card_items TYPE TABLE OF ty_card_items WITH NON-UNIQUE DEFAULT KEY. TYPES: BEGIN OF ty_card_data, user TYPE string, name TYPE string, email TYPE string, count TYPE string, items TYPE tty_card_items, END OF ty_card_data. DATA: ls_card_items TYPE ty_card_items, lt_card_items TYPE TABLE OF ty_card_items, ls_card_data TYPE ty_card_data, lv_items TYPE i, lt_usr01 TYPE TABLE OF usr01 WITH HEADER LINE, ls_usr01 TYPE usr01, lv_subrc TYPE sysubrc, lt_worklist TYPE TABLE OF swr_wihdr, ls_worklist TYPE swr_wihdr, lv_data TYPE string, ls_looply_trigger TYPE /looply/activity, lv_process_id TYPE /looply/process_id, lv_recipient TYPE ad_smtpadr, ls_history TYPE /looply/history, ls_address type BAPIADDR3, lt_return type bapiret2_t. SELECT-OPTIONS: s_uname FOR lt_usr01-bname. START-OF-SELECTION. SELECT * FROM usr01 INTO TABLE lt_usr01 WHERE bname IN s_uname. LOOP AT lt_usr01 INTO ls_usr01. CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = ls_usr01-bname IMPORTING ADDRESS = ls_address tables return = lt_return. CLEAR: ls_card_items, lt_card_items[], ls_card_data. CALL FUNCTION 'SAP_WAPI_CREATE_WORKLIST' EXPORTING user = ls_usr01-bname language = sy-langu IMPORTING return_code = lv_subrc TABLES worklist = lt_worklist. CHECK lv_subrc EQ 0. lv_items = lines( lt_worklist ). CHECK lv_items GT 0. READ TABLE lt_worklist INTO ls_worklist INDEX 1. * Prepare card data - header level ls_card_data-user = ls_usr01-bname. ls_card_data-name = ls_address-fullname. ls_card_data-email = ls_address-e_mail. ls_card_data-count = lv_items. * Item level LOOP AT lt_worklist INTO ls_worklist. ls_card_items-workitem = ls_worklist-wi_id. shift ls_card_items-workitem LEFT DELETING LEADING '0'. concatenate: '&lt;link to inbox app&gt;' ls_worklist-wi_id '/TaskCollection(SAP__Origin=' `'LOCAL_TGW',InstanceID=` `'` ls_worklist-wi_id `'` ')' into ls_card_items-wi_full. ls_card_items-wi_text = ls_worklist-wi_text. APPEND ls_card_items TO lt_card_items. ENDLOOP. ls_card_data-items = lt_card_items. * Call Looply. lv_data = /ui2/cl_json=&gt;serialize( data = ls_card_data pretty_name = /ui2/cl_json=&gt;pretty_mode-low_case ). SELECT SINGLE * FROM /looply/activity INTO ls_looply_trigger WHERE scenario = 'OO' AND scenario_id = 'WF_INBOX' AND scenario_version = '00' AND step = '1'. lv_recipient = ls_card_data-email. lv_process_id = ls_card_data-user. CALL METHOD /looply/core=&gt;trigger_wf EXPORTING im_recipient = lv_recipient im_looply_wf = ls_looply_trigger-looply_wf im_looply_wf_version = ls_looply_trigger-looply_wf_version im_scenario = ls_looply_trigger-scenario im_scenario_id = ls_looply_trigger-scenario_id im_scenario_version = ls_looply_trigger-scenario_version im_step = ls_looply_trigger-step im_process_id = lv_process_id im_data = lv_data IMPORTING ex_subrc = lv_subrc. IF lv_subrc EQ 0. WRITE: / 'Trigger: ', lv_process_id. else. CALL METHOD /looply/core=&gt;resume_wf EXPORTING im_process_id = lv_process_id im_data = lv_data im_scenario = 'OO' im_scenario_id = 'WF_INBOX' im_scenario_version = '00' im_step = '1' IMPORTING ex_subrc = lv_subrc. WRITE: / 'Resume: ', lv_process_id. ENDIF. ENDLOOP.</code></pre><H3 id="toc-hId-357840951"><STRONG>Summary</STRONG></H3><P>Now you are ready to test and roll out to specific groups of users.</P><P>Perhaps you could use a user parameter as an opt-in to receive Teams notifications – it’s probably not for everyone.</P><P>Since this is a one-way communication scenario, with only outbound data from SAP, the initial set up is really easy, with no authentication set up needed.</P><P>So you could be enjoying the benefits of Teams integration in days.</P><P><div class="video-embed-center video-embed"><iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FppoaplzJbeA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DppoaplzJbeA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FppoaplzJbeA%2Fhqdefault.jpg&amp;key=b0d40caa4f094c68be7c29880b16f56e&amp;type=text%2Fhtml&amp;schema=youtube" width="600" height="337" scrolling="no" title="SAP Inbox in Microsoft Teams with Looply" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"></iframe></div></P> 2024-05-20T15:11:28.256000+02:00