cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default Purchasing Group in shopping cart - how ??

Former Member
0 Likes
1,372

Hi,

We are using SRM 7 with Classic scenario.  One thing we would like the requisitioners to manage is to change the purchasing group from their user settings or from the shopping cart.  At the Admin level, we have defined the purchasing groups at the PPOMA organization structure level, and in this case, there are multiple purchasing groups per department that have been set up together with their responsibilities.   Somehow from this org structure, the system is determining what the default purchasing group should be in the shopping cart.  I am also not clear how this default purchasing group is being determined when there are multiple purchasing groups assigned to a certain department ie under the 'Responsiblitity tab.

What we would like to achieve and give the user better control is somewhere they can set their own default purchasing group.  In the SRM user settings, there is a field for purchasing group under the tab 'Position'.   This is currently greyed out.  We are trying to avoid any additional development work, BADI etc.  We have also looked at the 'attributes' field in the SRM user settings (position tab), and tried to configure this via SPRO - SRM server - Cross Application Basic settings - Roles - Maintain Attributes access rights by role.  We have tried different attributes in this configure, but none is bringing up the relevant settings in SRM user settings eg BBP PURCH_GRP does not work in this configure.  Look forward to your ideas as always.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

ricardo_cavedini
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

I am not sure if this will be possible without using BAdI.

Purchasing group determination happens in the following way:

1. First the tree hierachy from the user position is taken.

2. From the hierarchy, the Purchasing Org, Purchasing Group and Company is filtered.

3. Find the Purchasing Groups which are responsible for the selected/filtered Purchasing Org and Company.

4. Out of these Purchasing Groups find out which has Product categories for the specfied backend system.

Next the purchasing groups responsible for the backend sys/ local logical system are checked.

It may result in many purchasing groups and purchasing organization.
The system will always assign the first purchasing org. from the list.

This determination is happening in FM BBP_OM_DETERMINE_RESP_PGRP and FM BBP_OM_FIND_SC.

I think the best option would be via BAdI BBP_PGRP_FIND.

Then you can have a default purchasing group in structure ES_PURCH_DATA and other ones displayed in the drop down returned in table ET_PURCH_DATA.

Regards,

Ricardo

Former Member
0 Likes

Thank you both for your answers. 

Ricardo, you are right that this cannot be achieved without a BADI.  We have gone for the option using a BADI to update all shopping cart items when the purchasing group on the first line item is changed.  Your purchasing group determination logic makes sense.  I have tested this and I can see that when there are many purchasing groups determined from the responsibility tab, the system then picks the closet purchasing group in the hierarchy.  Its a bit confusing, but it makes sense.  For that reason, when we set up our live system, we will make sure the purchasing groups that we want to default on shopping carts are created in the hierarchy first.  Others will then be created later.  Then its up to the user to update their shopping carts accordingly.

Thank you.

Answers (1)

Answers (1)

Former Member
0 Likes

In PPOSA_BBP/PPOMA_BBP, Purchasing Groups nodes have Responsibility tab.

On this tab, you can specify Product category & Org units for which this P. Group is responsible for.

If you have configured in a way that there are overlapping responsibilities, then on Shopping cart item details --> Item Data tab, in Drop down for Purchasing Group, you will have multiple values.

Shopping cart user can choose any P.Group which should process this shopping cart.

Let me know if you have questions.

Regards,

Sushil.