‎2021 Feb 05 7:30 PM
Hi I'm pretty new to Sap development and I'm trying to make a web app using razor pages in C#. It is really hard to find any documentation or code samples on how to use the DI API. I managed to create an object oCompany to manage a conexion with my database. I can execute a procedure to read Data from any table. The problem is that I don't understand how to update or modify the OBTW table. I read this blog
https://blogs.sap.com/2016/07/13/sample-code-to-update-existing-item-batches-properties-via-di-api/
but it does not help me as it only modifies the OBTN table. What's the class or object I need to use to update the location field on the OBTW table using a specific ItemCode and Batch code?
‎2021 Feb 05 7:30 PM
Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as the overview provides tips for preparing questions that draw responses from our members.
Should you wish, you can revise your question by selecting Actions, then Edit.
By adding a picture to your profile you encourage readers to respond: https://www.youtube.com/watch?v=46bt1juWUUM Keep in mind, when you receive an answer that was helpful to you, accept it as best answer.
Best,
Your SAP Community moderator