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

Get Material Category from Tcode MM42 to create Material

Former Member
0 Likes
1,293

Hi experts,

How do we get Material Category from Tcode MM42 to using BAPI create material number ? I am using BAPI 'BAPI_MATERIAL_SAVEDATA' but it doees not have the field MARA-ATTYP.

Thank all !

1 ACCEPTED SOLUTION
Read only

former_member593648
Active Participant
0 Likes
997

Isn't this specific for retail ? Try - > BAPI_MATERIAL_MAINTAINDATA_RT

Hi experts,

How do we get Material Category from Tcode MM42 to using BAPI create material number ? I am using BAPI 'BAPI_MATERIAL_SAVEDATA' but it doees not have the field MARA-ATTYP.

Thank all !

3 REPLIES 3
Read only

former_member593648
Active Participant
0 Likes
998

Isn't this specific for retail ? Try - > BAPI_MATERIAL_MAINTAINDATA_RT

Read only

0 Likes
997

Can you explain me more detaial ? In this BAPI you suggested, I can not find BAPI structure which has the field ATTYP.

Read only

former_member593648
Active Participant
0 Likes
997

matl_cat in headdata