on 02-22-2006 1:25 PM
Hi We are in SRM 4.0 and follow a classic scenarios.
For some materials we run program EBP_GET_BACKEND_PRICES
and get the prices from the backend, how ever while creating a shopping cart if the price differs we need to change the price but the field is grey.
how do we change the price ????
EX - My MAP in R/3 for Material A is 100 Rs. how ever while I create a shopping cart the price i need to enter is 102 how do I change the price.
can anyone throw light on this.
regards,
Nimish Sheth
Nimish,
for this you have to change the standard code.
In screen communication structures, there is a flag "price_changeable" that controls the edit mode of price field.
You have to change the standard logic to implement your behaviour in FORM price_changable_set from include LBBP_SC_APPF92:
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.
Rgds
Christophe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nimish,
How did this solution work for you?
We have the same problem at our current client.
But, one thing I noticed in the shopping cart is that, when I copy the line item that has price of the internal good in display only, the newly copied line item has price in editable mode.
Isn't that wierd and/or cool?
Thank you,
Hari.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.