Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Updating Database table


My requirement is to update the table EBAN(Purchase Requisition). Let us suppose that there are 3 items in the purchase requisition. If I make any changes to any of the item, the other two items need to be updated with the same changes. I am using a MODIFY....FROM <Internal Table> statement to update the changes in the database,

Now the problem is if I am making any changes in the 3rd item and press save, the database gets updated for 2nd and 3rd item only but the 1st item is not modified in the database.

If I make changes to the 1st item, then the modifications are done to 1st, 2nd and 3rd item and is working fine. The problem is when I make changes to 2nd or 3rd item then the 1st item does not get updated. I tried using update statement, locking table EBAN using ENQUEUE_E_TABLE but nothing worked.

I tried to use MODIFY...FROM <Workarea> inside a loop but it didn't work.

Kindly suggest.


Amit Behera

Former Member
Former Member replied


After modifying u append that values work area to internal table.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question