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

Change Material Type

Former Member
0 Likes
978

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
Read only

Former Member
0 Likes
906

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
Read only

Former Member
0 Likes
906

check BAPI_MATERIAL_SAVEDATA

Read only

0 Likes
906

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

Read only

0 Likes
906

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.

Read only

vinod_vemuru2
Active Contributor
0 Likes
906

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.

Read only

Former Member
0 Likes
907

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.

Read only

0 Likes
906

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