cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to get Item Category.

Former Member
0 Kudos

Hi,

I am doing some error validation in CHECK badi while creating a shopping cart for GL Account field.

Now what i want is, how or HOW can we get the Item category value in this check badi.

I am using 'BBP_PD_SC_GETDETAIL' to get the shopping cart details. But cant find the field name.

Theres a fieldname CATEGORY but this is empty.

Now how to get this ?

Helpful Answers Will be Rewarded.

Regards,

Ashwin.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks, I used Category_id for my validation.

Former Member
0 Kudos

Hi,

If you are looking for Account Assignment category then you must look in the E_ACCOUNT table. The field is ACC_CAT.

Read the line item GUID from the table E_ITEM and read the corresponding entry in E_ACCOUNT table by passing P_GUID = line item guid.

Hope this solves your problem.

Regards

Kathirvel

Former Member
0 Kudos

Hi,

In the table E_ITEM,you can see the item category in the field "ITM_TYPE".

BR,

Disha.