cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove Default product category in SC full functionality

Former Member
0 Kudos

Hi ,

We are on SRM 7 ECS , support pack SAPKIBKV08.

We are planning to give SC full functionality screen, BBPSC01, to

requisitioners. Requisitioners use this scren to create shopping

carts.We do not want any default Product category to be displayed in

the full functionality screen.I jknow that this is displayed becuase in the SRM backend

in user attributes, there is a default category maintained maintained

for the user. Or this is displayed even because a default category has to be maintained in the Default

settings in the Portal (i.e in the in the Default settings in the Portal , it is aMUST to define default product category)

My question is how to remove this default .

Rgds

Sumendra

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Product categories are maintained in Hierarchy structure (Comm_hierarchy t code). Once it is maintained it has to be set and assigned in the organisational strucutre.

You can set default or remove Product Catergories assigned to users or positions in PPOMA_BBP, under Extended Attributes-Product Categories.

Hope this helps.

Thanks

Prashanth

Former Member
0 Kudos

Hi Sumendra,

Assuming the product categories are maintained at user level in PPOMA_BBP. Go to extended attributes tab of the user and uncheck the default flag for product categories.

Thanks,

Anshu

Former Member
0 Kudos

I found a way to clear these values without having to create the dummy BLANK product category.

1. Find the Method that sets the Item Default values for the product category.

- Open Product Category Table COMM_CATEGORY

- Do a 'Where-Used' on the table.

- Find the following Method in the list:

 /SAPSRM/IF_PDO_US_CONTEXT_CONS~GET_ITEM_DEFAULTS 

2. Open Method /SAPSRM/IF_PDO_US_CONTEXT_CONS~GET_ITEM_DEFAULTS (double click to drill into the Method.)

- Find the code that populates the:

Product Category (rs_default_item-category_id) and

Category GUID (rs_default_item-category).

- This is the code to verify in debug that your Product Category is coming from.

3. Create an Enhancement at the end of this method to clear these fields.

4. You will need to determine the calling process to be sure you are only clearing these values when you want to. I used a call to function SYSTEM_CALLSTACK and checked for certain mainprogram names. Only if I find one of these programs do I clear the fields.

I checked for programs:

'/SAPSRM/CL_CH_WD_DODM_SC_H_BD=CP' or '/SAPSRM/CL_CH_WD_DOTM_SC_I_BD=CP'.

Note: This Method is called two times in the process. Each from a different program.

former_member206441
Contributor
0 Kudos

Hi Roger,

Thank you for the reply. It helped me to solve my problem of clearing the default product category.

Regards

Arun.K.P

Former Member
0 Kudos

Hi,

The default category comes from the settings maintained in PPOMA_BBP.

See the below threads for more pointers on your reqt: