Application Development 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: 

Change Material Type

Former Member
0 Kudos

I am looking for a BAPI to change the material type on a material. I need to run this in batch as there is high volume. I am looking for something besides transaction MMAM.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

As far as I know, I think BDC on MMAM is the only option. Will be interesting to find if there is any other option.

6 REPLIES 6

Former Member
0 Kudos

check BAPI_MATERIAL_SAVEDATA

0 Kudos

I should have mentioned that I already checked that BAPI. You cannot change the mat type

0 Kudos

Hey u r correct. I tried and not able to change it. Probably u have to do it with BDC. If i found some thing i will update.

Thanks,

Vinod.

vinod_vemuru2
Active Contributor
0 Kudos

HI,

U can use the BAPI BAPI_MATERIAL_SAVEDATA. Here in header parameter HEADDATA-MATL_TYPE pass ur new material type and in header paraneter and material number as well.

Next commit using BAPI_TRANSACTION_COMMIT.

Thanks,

Vinod.

Former Member
0 Kudos

As far as I know, I think BDC on MMAM is the only option. Will be interesting to find if there is any other option.

0 Kudos

yeah, thats what I am thinking and would like to stay away from BDC. but probably will end up that way ........