Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update Material is configurable checkbox using FM - BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
669

Hi Experts,

I want to update Material is configurable checkbox field - MARA-KZKFG in Material Master (MM03) using function module - BAPI_MATERIAL_SAVEDATA. But i am not getting correct field in IMPORT parameter of FM to pass so that it will update after successful material creation.

According to my understanding it should get pass in IMPORT -> CLIENTDATA -> BAPI_MARA. Please suggest what needs to be done.

Regards

Akshay

1 REPLY 1
Read only

Former Member
0 Likes
461

I think you will have to use the extension tables EXTENSIONIN & EXTENSIONINX to update this.

structure name 'BAPI_TE_MARA'

Sample code:

                     it_extensionin-structure = 'BAPI_TE_MARA'.

                     it_extensionin-valuepart1 = wa_bapi_te_mara.

                     APPEND it_extensionin.

                     it_extensioninx-structure = 'BAPI_TE_MARAX'.

                     it_extensioninx-valuepart1 = X'.

                    APPEND it_extensioninx.

Also, there might be some config help that you may require for the filed you are trying to update.