cancel
Showing results for 
Search instead for 
Did you mean: 

how to refresh/ update sos list when I change plant or storage location

0 Kudos

Hi Experts,

We are using SRM7.0 with ECC 6.04 and having classic scenario

I have created enhancement point in the class /SAPSRM/CL_PDO_DO_SOS for filtering the source of supply based on plant and storage location apart from standard which is working fine.

it is refreshing properly when I change Purchase group or company code or assigning and removing source of supply in the shopping cart line item. But when I change the plant or storage location code in shopping cart item then source of supply list is not getting refreshed. My understanding is that its not going for SOS proposing logic again for plant and storage location.

Please suggest how to refresh/ update sos list when I change plant or storage location.

Thanks and Regards,

Rama.

Accepted Solutions (0)

Answers (1)

Answers (1)

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

This is strange, because if we change one of the following fields, source of supply list would be redetermined:

- Product ID

- Supplier part number

- Product category

- Company code

- Plant

- Unit of measure

- Product type

- Purchasing organization

This is done here:

Class /SAPSRM/CL_PDO_BO_SC

Method UPDATE_ITEM_INTERNAL

( ls_item-ordered_prod NE es_item_updated-ordered_prod OR

ls_item-partner_prod NE es_item_updated-partner_prod OR

ls_item-category NE es_item_updated-category OR

ls_item-be_co_code NE es_item_updated-be_co_code OR

ls_item-be_plant NE es_item_updated-be_plant OR

ls_item-unit NE es_item_updated-unit OR

ls_item-product_type NE es_item_updated-product_type OR

ls_item-be_pur_group NE es_item_updated-be_pur_group OR

mv_org_change_determine_sos EQ abap_true ).

As additional information, perhaps badi BBP_SOS_BADI helps you.

Regards,

Ricardo

0 Kudos

Thanks for your reply.

But for storage location it is not proposing SOS and it is not passing through the BADI BBP_SOS_BADI when i change the storage location. Please advice on this.

thanks and regards,

Rama.