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

BADI for Material Update

Former Member
0 Likes
784

I want to update some customer fields on the Material Master MEAN table. I have added the append structure to the table. I want to update the fields when I call this BAPI

BAPI_MATERIAL_SAVEDATA

Is there a BADI available through this BAPI call where I can update this data ?

I want to update some customer fields on the Material Master MEAN table. I have added the append structure to the table. I want to update the fields when I call this BAPI

BAPI_MATERIAL_SAVEDATA

Is there a BADI available through this BAPI call where I can update this data ?

2 REPLIES 2
Read only

Former Member
0 Likes
624

Hi

U can use the structure EXTENSIONIN in order to update your z-fields

Max

Read only

0 Likes
624

The documentation for EXTENSIONIN tells me that I can only update the following

The structures BAPI_TE_<NAME> (<NAME> = MARA, MARC, MARD, MBEW, MLGN, MLGT, MVKE) and the relevant checkbox structures BAPI_TE_<NAME> (<NAME> = MARAX, etc.) must first be extended by the customer to include the fields required. The standard structures contain only the corresponding key fields. When including new fields in these structures, make sure that the field has the same name as the field in the database table. In addition, the fields in the structures BAPI_TE_<NAME> may only be of the type CHARACTER. The data element BAPIUPDATE must be used for the fields in the checkbox structure (except for key fields).

There is no BAPI_TE_MEAN structure to update which means I cannot pass it in EXTENSIONIN ? I assume ?