‎2009 Aug 03 11:15 AM
Hi,
I am updating MARA-BEGRU field in the MARA table using BAPI_MATERIAL_SAVEDATA and i am able to do that also.But i am not able to update the same field if the MARA-BEGRU(Authorization Group Field) is disable in MM02 Transaction.Is it possible to update the database table keeping that field disable in MM02 transaction?
‎2009 Aug 03 11:19 AM
HI,
Please check what message table RETURNMESSAGES is giving.
And make changes accordingly in yur code.
Regards
Hiren K.Chitalia
Edited by: Hiren Chitalia on Aug 3, 2009 12:20 PM
‎2009 Aug 03 11:21 AM
Yes. It is possible to update the database table without going to transaction or even if the fileds are disabled. Unless if it is locked by any other user by using LOCK OBJECTS.
Regards,
Satish
‎2009 Aug 03 11:22 AM
Hi
I believe it depends on material type, so u should change the customizing for it in order that field is available in MM02 and in BAPI too.
So u need to develop a your control in MM02 to avaoid the modifcation of that field by user.
Anyway it doesn't make sense what u need to do: if that field can't be changed by MM02, why do u need to change it by BAPI?
Max