cancel
Showing results for 
Search instead for 
Did you mean: 

Price Field Changeable while creating the Shopping cart

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Christophe

Thanks a lot I will definetly try this in a day or two and get back.

thanks a lot

Regards,

Nimish Sheth

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi hari

we have not yet implemented the code as client has dropped that requirement.

If you implemetate the code and work kindly let me known.

regards

nimish sheth

Former Member
0 Kudos

Nimish,

We haven't implemented any code. The solution we gave is to copy the line item and SRM opens up the price field to be editable.

It is bizzare, but, it worked.

Thank you,

Hari.

Former Member
0 Kudos

I find this wierd, from a control point of view.

Do we agree is it a bug?

Has somebody find the reason/ solution?

Thanks

RD

yann_bouillut
Active Contributor
0 Kudos

Hi,

Sounds like a bug...

Kind regards,

Yann