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: 

material and item category relationship

Former Member
0 Kudos

For a given material, how can I get item category and higher level item category.

I know mara stores item category group and t184 stores item category group and item category

Thanks.

4 REPLIES 4

Former Member
0 Kudos

Hi,

U can get item catogory from VBAP table by passing VBELN in u r querry

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

Former Member
0 Kudos

Think you are going wrong way.

Item Category and High Level Item Category are not assigned to Material, but they are assigned to Sales Document Type and Item Category Group. As you mentioned, you can get the details from table T184.

Table T184 gives the options on how the system has to react in various scenarios.

Combination of Sales Document Type in Sales Order, Item Category Group which is from Material Master and... result in the Item Category that is populated for the Item.

Regards

Eswar

0 Kudos

Actually I have to make this check even before creating sales order from bapi, so vbap etc are not filled.

0 Kudos

Can you explain in detail the validation you need to make before calling BAPI?

Maybe that can help for better advice(s).

Regards

Eswar