on 03-13-2011 3:06 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.