<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Purnachander Rao Nadipelli on Medium]]></title>
        <description><![CDATA[Stories by Purnachander Rao Nadipelli on Medium]]></description>
        <link>https://medium.com/@npurnachanderrao?source=rss-51d78ce641c9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bikzyr6bSvBHrYne</url>
            <title>Stories by Purnachander Rao Nadipelli on Medium</title>
            <link>https://medium.com/@npurnachanderrao?source=rss-51d78ce641c9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:35:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@npurnachanderrao/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Joule AI Custom Solution for Material Shortage and Fulfillment]]></title>
            <link>https://medium.com/@npurnachanderrao/joule-ai-custom-solution-for-material-shortage-and-fulfillment-76f09fc6d839?source=rss-51d78ce641c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/76f09fc6d839</guid>
            <dc:creator><![CDATA[Purnachander Rao Nadipelli]]></dc:creator>
            <pubDate>Mon, 04 May 2026 20:29:12 GMT</pubDate>
            <atom:updated>2026-05-04T20:29:12.644Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Joule AI Custom Solution for Material Shortage and Fulfillment</strong></p><p>A few weeks ago, I had the opportunity to participate in a hackathon to build a Joule AI solution that addresses material shortages in an expedited manner. This can help Inventory Management users save time and money.</p><p>I am sure many SAP customers have similar requirements, and I want to share my experience here so it can be beneficial to others.</p><p><strong>Problem Statement</strong>: IM users have to manually check shortages in SAP applications and create purchase requisitions if there is any shortage, to make sure production runs smoothly. Users perform this activity in the backend S/4HANA system.</p><p><strong>Solution Architecture &amp; Design</strong>: I built the artifacts below as part of this Joule project to address the requirement.</p><p>1. Actions to get material shortages and create purchase requisitions.</p><p>2. Skills to call these APIs and perform tasks.</p><p>3. An agent that can process user requests.</p><p>4. A test environment to deploy and test the project.</p><p>A destination to the backend system already exists to leverage the APIs and to create and test actions.</p><p>Actions built in SAP Build:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*OxOlNnmpsYJJE922X43N9w.png" /></figure><p>The action below was created to read material shortages from the backend by leveraging the Material Coverage API.</p><p>I also created a material input variable to filter the API using the material number. You can adjust the input and output as needed and test them in this section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*FKyxp09Od9sVuJlAbmw31Q.png" /></figure><p>A condition is applied to map the user input material to the API material attribute in the C_MaterialCoverage entity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*dders0u6YKODkIo9c-pECA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*6xWBdwQs_rcj9o1puLx0pA.png" /></figure><p>Like the Material Coverage API, I configured another action to create a purchase requisition in the backend system. Please remember to enable CSRF protection (if applicable) for that POST API call.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Z-VDoI28tO7lrSsAFSytMA.png" /></figure><p>Now let’s go into the Joule Studio to build the Joule project. As you can see from the screenshot below, a couple of Joule skills and an agent have been created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kOhqGZjQw4yYs_doRgFw5g.png" /></figure><p>This Joule skill is responsible for creating purchase requisition in the backend system.</p><p>Joule skills can also be consumed directly without an agent. You can enable or disable the functionality, as highlighted below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*TNqVPJUWGz5P6E0ggToiCQ.png" /></figure><p>These are the minimum inputs required to create a purchase requisition. Of course, it depends on how the backend is configured for a particular document type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*MqGnwkhX0GobOfYXL7V_Dw.png" /></figure><p>The purchase requisition number is the output from the skill.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*SIbQC9-i86vOrpqrlNYUbQ.png" /></figure><p>Everything we’ve seen in the screenshots above is related to the Trigger part.</p><p>Below is the step where the corresponding Purchase Requisition action has been configured. There are multiple other options available to use as well, like Process, Condition, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*RPAdaRZJEXBi0j6ZnLqODw.png" /></figure><p>The Trigger inputs are mapped to the Action inputs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*YXMN7O8-ii4uptF3Xg5SAQ.png" /></figure><p>This is the output from the Action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*2dB1rMAJgnwBWi77X2fKmA.png" /></figure><p>At the end the Action result is mapped to the Purchase Requisition variable which we are interested in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*GQJHiPOVpDn_8FIoSB_CmQ.png" /></figure><p>Like the Purchase requisition skill, Material Shortage skill is also configured.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*qQmVEIPlfaxNi3qj2Snbng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*iUNU4smcxDAhGPRcrfEVwQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*KubVkiDDiOsQJpxv5foPFw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*QeIlSameB5r1KW4fiKH6WQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*GNhkYmu_IM3zd7QT62nhVw.png" /></figure><p>Now it’s time to configure the agent.</p><p>It’s important to set the expertise and instructions so the agent understands how to behave.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*ld5jAkbxWsG63fN5i39Bsw.png" /></figure><p>There are multiple LLM providers available in the Model Settings: OpenAI, Anthropic, Google, and Mistral AI.</p><p>You can select any provider and the LLM they offer for response generation and planning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*BX3Y76-kWE6J-f650_4yPg.png" /></figure><p>Once everything is done, release and deploy the application.</p><p>A new test environment has been created under Control Tower to deploy and test this project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*hnl2AxfvdhiNB0IIn9L8FQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*k4bbuL9E9yZOEMaho_rrQw.png" /></figure><p>To launch the agent, navigate to the Joule tab and click <em>Launch</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*jpwJxkD1KxAeIOJ_yI_XSw.png" /></figure><p>It’s testing time.</p><p>I entered a prompt to pull the shortage information for a product. As you can see in the screenshot below, the agent responded with the shortage details. This information is pulled from the backend system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*9et3it5IXV6676gAytHJcg.png" /></figure><p>Next, I wanted to create a purchase requisition. The expectation was that the agent would reuse as much information as possible from the previous step and ask questions only if additional input was required.</p><p>As expected, the agent understood the request and figured out that some inputs were still missing to create the purchase requisition. It asked for those details to proceed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*lnVcisvn4w3XKntzQiNruw.png" /></figure><p>Here you go. The requisition has been created in the backend.</p><p>You can check the log by clicking the highlighted button top right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*zMn_wsevE6yNL8UzKRtoTg.png" /></figure><p><strong>Conclusion</strong>: The Joule AI solution is flexible enough to understand user requests and process them. Users don’t have to navigate through multiple screens to complete the job.</p><p>AI solutions are powerful because they make many processes simple and easy. They can support different scenarios depending on how the agent is configured. There are J4D, J4C, and other tools that can help developers, consultants, and businesses save a lot of time and add value.</p><p><strong>Key Challenges</strong>: I found that date mapping is not easy in the formula editor, since the skill inputs are always strings.</p><p>Error handling is also challenging. The skill doesn’t provide a way to map action/API errors so the agent can guide the user to resolve the issue in the back end. For example: The Purchasing Organization doesn’t exist or authorization errors.</p><p>SAP Joule Studio is evolving, and I hope these gaps will be addressed soon.</p><p>Please feel free to comment if you have any questions. l will try to answer as much as I can.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76f09fc6d839" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing the Right SAP Architecture for High-Volume Upload A Comparative Analysis]]></title>
            <link>https://medium.com/@npurnachanderrao/choosing-the-right-sap-architecture-for-high-volume-upload-a-comparative-analysis-68150d3df150?source=rss-51d78ce641c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/68150d3df150</guid>
            <category><![CDATA[sap-hana]]></category>
            <category><![CDATA[sap-s4-hana]]></category>
            <category><![CDATA[abap]]></category>
            <category><![CDATA[sap-btp]]></category>
            <category><![CDATA[sap]]></category>
            <dc:creator><![CDATA[Purnachander Rao Nadipelli]]></dc:creator>
            <pubDate>Fri, 01 May 2026 12:58:24 GMT</pubDate>
            <atom:updated>2026-05-01T17:43:05.385Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Choosing the Right SAP Architecture for High-Volume Upload A Comparative Analysis Between BTP BPA(Business Process Automation, BTP ABAP Cloud and Embedded Steampunk</strong></p><p>If you’re an SAP customer, you’ve probably heard this line: “Can we just upload a file and create/change a bunch of stuff in one shot?” It could be master data, production orders, PO updates… you name it. The annoying part is doing it in a <em>clean core</em> way <em>and</em> still keeping things auditable (meaning: the document is posted by the real business user, not a shared technical user).</p><p>Here’s what we tried for <strong>mass creation of production orders</strong> in <strong>S/4HANA 2023 on‑premise</strong>, and how three “clean core friendly” approaches behaved once we actually put them in front of users:</p><p>· <strong>BTP</strong> <strong>Build Process Automation</strong> (desktop / unattended automation)</p><p>· <strong>RAP app</strong> on <strong>SAP BTP, ABAP Cloud</strong> (side‑by‑side extension)</p><p>· <strong>Embedded Steampunk</strong> (ABAP for Cloud Development inside S/4HANA)</p><p>I just want to share the stuff that surprised us (especially around <strong>principal propagation</strong> and long‑running processing) so you can get to a decision faster than we did.</p><p>We started with Build Process Automation because it looked like the fastest path: read Excel, call an API, done. Then we moved to ABAP Cloud (RAP) because we wanted something more “SAP-native”. And finally, we landed on Embedded Steampunk for one main reason: <strong>the production orders had to be created under the actual user who uploaded the file</strong> (audit + traceability), even if the heavy lifting runs in the background.</p><p>Our non‑negotiable was <strong>no generic RFC user</strong>. Lot of systems live with a technical user create it though, but for anything regulated, that’s not great. So, if the solution sits outside S/4 (like BTP), you immediately hit the question: can we really rely on <strong>principal propagation,</strong> so the backend sees the real person?</p><h3>Option 1: SAP Build Process Automation (BTP)</h3><p><strong>How it works (in simple terms):</strong> We built automation that reads an Excel file and creates production orders in the backend by calling the standard API.</p><p>Backend API we used: <strong>API_PRODUCTION_ORDER_2_SRV</strong> (S/4HANA 2023 FPS02).</p><p><a href="https://hub.sap.com/api/OP_API_PRODUCTION_ORDER_2_SRV_0001/overview?ReleaseInfo=2023%20FPS02">API reference (SAP API Business Hub)</a></p><p>After the run, the automation downloads a log file back to the user’s machine (what worked, what failed, and why).</p><p><strong>What hurt in practice:</strong> This is where it got a bit messy.</p><ul><li><strong>Desktop agent rollout: </strong>You need an agent on every end-user machine (or at least every machine that runs the automation). In big enterprises that can turn into a security + deployment + support headache.</li><li><strong>“Unattended” workaround breaks user context</strong>: We also tried running the agent on a remote machine and letting users upload files to BTP Document Management (DMS). Operationally it’s nicer, but you lose the live user context — so <strong>principal propagation stops being the point</strong> because the robot is doing the call, not the business user. And yes, DMS subscription/setup and remote system maintenance is extra work and cost.</li></ul><h3>Option 2: RAP app on SAP BTP, ABAP Cloud (side-by-side)</h3><p><strong>How it works:</strong> We built a small Fiori app in ABAP Cloud. Users upload the Excel file, the RAP service parses it, and we store the rows in a staging table (handy for audit + reruns).</p><ul><li>Fiori UI + RAP service in ABAP Cloud</li><li>BTP Destination to S/4HANA via <strong>principal propagation</strong></li><li>Staging table keeps every row for tracking/history</li></ul><p><strong>What broke:</strong> The ABAP Cloud session timeout. In our case, it was a 10‑minute limit. So, if the file is big (or the backend is having a slow day), the user session ends and your processing can get cut off mid‑way. For mass processing, that’s… kind of a deal breaker.</p><p><strong>What we tried next:</strong> Move the heavy work to an <strong>application job</strong>. The UI only uploads and stores the data; the background job picks it up and creates the orders.</p><p><strong>The catch (and it’s a big one):</strong> In the background job, we could make it work with a technical/RFC user destination — but <strong>principal propagation didn’t work</strong> because there’s no end‑user context to forward during job execution. We asked SAP about it and what we heard was basically: <em>not supported right now</em> (and no clear timeline).</p><h3>Option 3: Embedded Steampunk (ABAP for Cloud Development inside S/4HANA)</h3><p>This one ended up fitting our requirements best. We still built a Fiori app + RAP business object, but we did it with <strong>ABAP for Cloud Development</strong> <em>inside</em> the S/4HANA system (cloud-ready style, just not side‑by‑side).</p><p>That “embedded” part matters because now the backend processing happens where the user actually is. So, when we trigger an application job after uploading, the system can still create documents under the right identity (based on the user who started it).</p><p>Instead of calling the external production order API, the job uses the standard RAP BO for production orders (<strong>I_ProductionOrderTP</strong>).</p><p><strong>Result:</strong> production orders are created with the identity of the user who uploaded the file, and we can process large files in the background without the UI session timing out.</p><h3>So… which one should you pick?</h3><ul><li>If you need something quick and your org is okay with desktop automation overhead: <strong>Build Process Automation</strong> can work (but watch the agent + user context story).</li><li>If you want side-by-side + nice staging/audit + interactive processing for smaller volumes: <strong>ABAP Cloud RAP</strong> is clean and solid — until you hit long runtimes and need background jobs with end-user identity.</li><li>If <strong>“created by the real user”</strong> is mandatory <em>and</em> you need long-running background processing: <strong>Embedded Steampunk</strong> was the practical winner for us.</li></ul><p><strong>Landscape note:</strong> everything here is based on <strong>S/4HANA 2023 on-premise</strong> (and what we saw in that context).</p><p>If you’ve dealt with this in your landscape too, I’d genuinely love to hear what you did (and what you’d do differently next time). Drop a comment. If it helps, I can also share sample design details (staging table approach, job trigger pattern, and the RAP artifacts).</p><p><em>By Nadipelli Purnachander Rao</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68150d3df150" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>