Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update location on OBTW table using DI API. Item code and Batch code

Former Member
0 Likes
721
  • SAP Managed Tags

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?

1 REPLY 1
Read only

Former Member
0 Likes
619
  • SAP Managed Tags

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