Skip to Content
author's profile photo Former Member
Former Member

Change price of Catalog item in S.Cart

We want to change the price of a Catalog item in the SRM shopping cart ....am on SRM5, SP06 ECS...

Is this possible?

I know MDM catalog items come into SRM as non editable /grayed out with a Price already chosen....but we want to change it and add a surcharge.....

am not interested in Price Conditions coz they are at the PO level. I need my edited price and surcharge and total at shopping cart level so i can send shopping cart to the correct approver........

Currently investigating following options ..u2026u2026..

1. Perhaps maintain field price_changeable in BADi-Interface IF_EX_BBP_CATALOG_TRANSFER in method ENRICH_ITEM_DATA. To edit the price!!

2. Reverse engineer Note 1449196 - Item Price revalidation during Shopping cart order process

3. Note 613686 - Price changeable after catalog data transfer....thanks muthu

Any ideas people!!

cheers

alex

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Oct 01, 2010 at 01:03 PM

    Clear the CATALOGID field in the ET_ITEM structure in BBP_CATALOG_TRANSFER (or the BBP_DOC_CHANGE_BADI) badi. This will make it a freetext item again.

    Regards,

    Robin

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Alex,

      we did the following coding (I copied this from the documentation not from the original code)

      Badi BBP_DOC_CHANGE_BADI Method BBP_SC_CHANGE
      
        LOOP AT it_item INTO ls_item_e.
          if ls_item_e-catalogid is not initial and
             ls_item_e-category_id = 'yourcategory'.
             clear ls_item_e-catalogid.
             clear ls_item_e-catalogitem.
             MODIFY it_item FROM ls_item_e.
          endif.
      
        ENDLOOP.
      

      You have to clear both catalog fields.

      I think to do this in the Badi BBP_CATALOG_TRANSFER is also a good idea.

      Afterwards the price field including price unit can be changed by the requester or/and from the purchaser. You have to do additional coding if changes are only allowed to certain people.

      No need to change any ITS screen (SRM 5 has no web dynpros).

      Hope this helps your developer.

      Regards

      Joe

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2010 at 09:08 PM

    Alex,

    You should be able to achieve it through BBP_UI_CONTROL_BADI. You can use this BADI to make the field editable.

    SG

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 29, 2010 at 09:55 PM

    Hi Alex

    l do remember Jason offered some custom note todo the same.

    *Note 693175 - Making free items changeable*If you transfer items with a price of 0.00 from the catalog to the shopping cart, the price is not ready for input in the shopping cart.

    Other terms

    Pricing, e-procurement, zero price, shopping cart

    Reason and Prerequisites

    This is the standard system response as of EBP 3.5 Support Package 05 or Note 569275.

    Solution

    If you want to change the price after you transfer the item to the shopping cart, implement the attached correction instructions.

    This consulting note was created for specific Support Package levels. The context parts may have changed. If you cannot use transaction SNOTE to implement this note automatically, you must find the context parts manually and use the Modification Assistant to adjust the source code manually. This is because separate correction instructions do not exist for each Support Package level.

    Need to change price for catalog items...

    Note 1386176 - Duplicate/Copy catalog item: Price editable

    The item price transferd from catalog can not be changed in SC

    you need google well.

    let me try if i have luck

    Muthu

    Edited by: Muthuraman Govindasamy on Sep 30, 2010 12:09 AM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Jason Boggans

      Jason

      thanks for your input.

      My requirement if only for 1 category Temporary Servies (temp labor). My requirement is to change the price before its displayed in the Shpopping cart. We get Prices from suppliers but these are Max rates for eg a Sr.Java Dev = $ 90hr. Over and above this base rate we have to add 2 types of % surcharges. %markup =$9 and %burden =$13.5. Now we may call the supplier and say that our budget only allows of a person with a base rate of $83hr. Now the supplier agrees to reduce the rate form 90to 83. So we create a MDM catalog for this supplier and select the Sr.Java Dev = $ 90hr and transfer this info to SRM.

      My hope is to intercept the catalog items ....I was hoping to maybe use a web dynpro for a user to edit the price information...

      I am not a developer but my developer is looking at this code....this is one option I am investigating is :

      In form price_changable_ from include lbbp_sc_apf92

      look at the include code :

      IF es_item-mode EQ gc_display OR

      ( es_item-rfq_ind EQ gc_yes AND es_item-price IS INITIAL ).

      CLEAR: es_item-price_changeable.

      ELSE.

      IF NOT es_item-catalogid IS INITIAL OR

      es_item-price_origin EQ c_price_origin_f OR

      iv_scenario EQ c_sc_generic_soco OR

      iv_scenario EQ c_sc_generic_history OR

      iv_scenario EQ c_sc_generic_workload OR

      ( es_item-price NE es_item-gross_price AND

      NOT es_item-price IS INITIAL ).

      CLEAR: es_item-price_changeable.

      ELSE.

      es_item-price_changeable = gc_yes.

      ENDIF.

      ENDIF.

      hopefully it can help me achieve my intention of makeing the field editable .....

      were alos thinlking of maintaing a Z table with the relationships of Supplier-skill set (jr, Inter, Sr)-state-price-

      I also need to add 2 lines into the shopping cart to add my two surcharges. I hope to use BADI BBP_CUF_BADI_2 in method MODIFY_SCREEN...... for structure INCL_EEW_PD_ITEM_CSF_SC.

      I know that catalog prices arent menat to be altered...THAT i know fully. its just that most of the info our users originates form shopping from catalogs

      Please let me know if the above looks okay

      cheers

      alex

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2014 at 07:33 AM

    HI Joe,

    The above code was working fine, and rest of all the other fileds are also enabling. Can you please suggest how to restrict only for price filed.

    Regards,

    Charan M

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.