cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_MATERIAL_SAVEDATA not updating material description after upgrade

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved - Used BADI BADI_MAT_F_SPEC_SEL method FIELD_SELECTION to force fields into editable mode.

Former Member
0 Kudos

Hello,

I've exactly the same problem, could you please explain me which fields did you change in order to force editable fields?

Thanks in advance

former_member190537
Active Contributor
0 Kudos

Hello,

Please check with SAP OSS notes... because i feel strongly feel, this is consultency issue. Before that check below given SAP OSS notes.

Note : 1441147 Error message 8J is raised for AFS material via BAPI

Note: 1436218 ALE: Purchaing tax indicator cannot be changed

Note: 545626 FAQ Data transfer Problems

Note: 1423614 MATMAS Intial EAN Category when creating EAN's

Note : 1270232 MM17 Customer fields initalized after short text change

Regards

Mahesh Naik