Skip to Content

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

BAPI: Error while updating same material


I'm updating the same material with different values each time.

I get an error which basically states that I'm currently in change mode/locking material '111' and that i can't update the last 2 records.

What would be the best way of ensuring that i only process/update the next record after the record/update lock has been removed from the material.

I could use the statement "wait up to 2 seconds"

"internal table rec.
Matnr   Week      Value
111       200701    12
111       200702    12
111       200703    12

Former Member
Not what you were looking for? View more on this topic or Ask a question