cancel
Showing results for 
Search instead for 
Did you mean: 

Making Product Category field blank and Mandatory for free text shopping cart

Former Member
0 Kudos


Hi,

We are in  SRM 5.0 and our customers wants to make the Product category field blank and it should ask for the user to select the Product category from the list while creating shopping cart through Describe requirement.

Because most of the users are creating the shopping cart without changing the Product category due to which all the POs are getting mapped to G/L account maintained for this Product category Commercial & Environmental searches.

Could you please suggest me how can this be achieved?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

You can't leave the product category field as blank because that automatically get filled from the COMM_HIERARCHY.

You can default one product category in Organization structure and validate this in "BBP_DOC_CHECK_BAD" and ask them to change.

Thanks

Ankit Jain

ricardo_cavedini
Employee
Employee
0 Kudos

Hello,

What many users do is to create a "dummy" product category with description "Please, select a product category".
Then, a check in BBP_DOC_CHECK_BADI can be implemented, validating if customer has not selected a different product category than  the "dummy" one.

Regards,

Ricardo

robin_janke
Contributor
0 Kudos

Hi,

the way this is normally handled is to create a dummy product category, set it as default and implementing the doc_check_badi to throw an error as long as this product category is selected.

As far as I know it is not possible to have the product category field as blank.

Regards,

Robin