Skip to Content
0
Former Member
Mar 31, 2010 at 07:08 AM

BAPI_MATERIAL_SAVEDATA not updating material description after upgrade

214 Views

Hi Experts!

We are using BAPI BAPI_MATERIAL_SAVEDATA to maintain our material desciptions through ALE from an external system. This BAPI worked fine in our old system, but we are currently doing a system upgrade and the BAPI is not working anymore in the new system. We are upgrading from SAP ECC 6 to SAP ECC 6 enhancement pack 4.

In SPRO under Logistics Genreral -> Material Master -> Field Selection -> Maintain Field Selection for data screens for field selection group 20 under which MAKT-MAKTX is assigned, we have created our own Z field reference which is set to display. This means that users cannot edit the material description in MM02. In the old system however the BAPI was still able to change the material description.

In the new system the BAPI does not change the material description field unless we change the Z field reference to optional. The BAPI works with these settings, but then the users can edit the mateiral desciption in MM02 which cannot be allowed. From what I understand the BAPI is supposed to use field refrence MAL2 (Change material via ALE). This seems to have been the case before our upgrade but not in the new system.

Can someone please point me in the right direction? What do I need to do to get the BAPI to work again while restricting access to the material description in MM02?

Thank you!

Iwan Ferreira