cancel
Showing results for 
Search instead for 
Did you mean: 

Error when replace item SC with Catalog item

Former Member
0 Kudos

Hello!

I add item with free description in SC milk with unit L. And order this SC. Then in Assign Sources of Supply, I replace item with catalog item milk with unit ST. I get an error: "Change in unit of measure not allowed".

Message no. /SAPSRM/AO_SOCO 080 - 'You cannot replace a shopping cart item with an item from the Catalog if the items have different units of measure.'

Please, tell me how replace item and create PO?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Dmitry,

I think its a valid error as system does not know how to convert quantity from catalog Unit (ST) to Shopping cart unit (L). This is why an error is shown.

Now you can either complete the shopping cart item in sourcing cockpit and inform the Requisitioner about the problem or as Konstantin suggested use the new Edit Shopping cart in SOCO feature to update the item and replace it with catalog item.

I don't think you should comment the standard error as this may lead to procuring wrong quantity of the item.

Regards,

Sushil.

Answers (2)

Answers (2)

former_member184111
Active Contributor
0 Kudos

Hi,

Class - /SAPSRM/CL_CH_WD_DOM_SOCO_GAF2

Method - /SAPSRM/IF_CLL_DOM_SOCO_GAF2~REPLACE_BY_CATALOG_ITEM

Enhance the method and comment below code:

* Check if the SC item UoM is same as the UoM of catalog item

   IF ls_item-UNIT NE ls_enr_item-UNIT.

     CLEAR ls_messages.

     MOVE '080' TO ls_messages-msgno.

     MOVE '/SAPSRM/AO_SOCO' TO ls_messages-msgid.

     MOVE 'E' TO ls_messages-msgty.

     APPEND ls_messages TO lt_messages.

     mo_cll_message_handler->add_messages( EXPORTING it_message = lt_messages ).

     EXIT.

ENDIF.

Thanks,

Anubhav

Former Member
0 Kudos

Hi,

Enhance the method possibly but how will it affect the system?

Tell me, why this check?


konstantin_anikeev
Active Contributor
0 Kudos

Hi Dmitry,

from SRM 7.02 and backported to SRM 7.01 - you are able to change SC in soucing cockpit.

see SAP Note http://service.sap.com/sap/support/notes/1549371

Regards

Konstantin

Former Member
0 Kudos

Hi Konstantin,

I see SAP Note 1549371. Note applied to our system (SRM 7.02).

In IMG i add: BO Set Type - 06, Field Name - UNIT, but change unit in SC impossible.

I will change in SC unit and replace this item on item from catalog. How?