I have an interface that failed because the "Group Data" of the material was locked.
I am aware of "Material being locked by another user". However I don't know how the group data gets locked or what group data refers to.
In most cases when I run the interface after some time, the material posts correctly. But I'd like to know what exactly locks group data and how I can check if it has been unlocked subsequently.
This message comes usually when you attempt to change the material using fm calls and material header MARA is locked (that is material itself is locked) by some other user .
What you can do is to call lock fm ENQUEUE_EMMARAE
before calling your material update logic and see whether the lock is successful. If the lock is successful then you can proceed with the update logic.