cancel
Showing results for 
Search instead for 
Did you mean: 

Want to know how Delivery Block when Change Price

Former Member
0 Kudos

Dear Experts,

I have new requirement that when user change price in Sale Orders that sale order must have status delivery block.

How I can modify the system to put delivery block in those sale orders when change price.

Edited by: Krittapong Uaamporn on May 21, 2009 5:29 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You can make use of user exit MV45AFZZ. In the form Userexit_Save_document_prepare , you can compare the document changes and set the delivery block.

Regards,

Sai

Former Member
0 Kudos

Hi,

You can make use of user exit MV45AFZZ. In the form Userexit_Save_document_prepare , you can compare the document changes and set the delivery block.

Regards,

Sai

I try this but If I change only in header data which is not price data, the Sale Order is blocked to.

If I misunderstand something please advise.

Edited by: Krittapong Uaamporn on May 21, 2009 6:42 AM

Former Member
0 Kudos

Hi,

In that exit, the price data contains in XKOMV or XKONV internal tables ( Please check in the debugging mode). with this price changes, you can set the Delivery block in the sales order.

Regards,

Sai

Former Member
0 Kudos

Dear sir,

I find that you advise is work!!! but I need some suggestions

If I use this logic...

IF I user KOMV-KBETR NE XKOMV-KBETR

VBAK-LIFSK = S1

ENDIF

This is OK or not

Former Member
0 Kudos

Hi,

I think a way you can do this is when the user saves the sales order then use userexit_save_document_prepare or userexit_save_document.

Thanks,

Raja

Former Member
0 Kudos

Hello,

In SO the price is entered manual ? . Why they have to enter manually ?

Thanks

RK

Former Member
0 Kudos

Yes They Enter price Manually, Because the price is depend on quantity they sell.

for example,

10 US/piece if they sell 100 pieces

9 US/piece if they sell 500 pieces

Thank you for you reply.

Edited by: Krittapong Uaamporn on May 21, 2009 6:41 AM

Former Member
0 Kudos

Hi Kritta,

One thing: If you have given user authorization for changing the price manually, then i will suggest you dont allow this manually.

As you were saying the Price is dependant on the quantity, then also you can make the records for the pricing condition type.

There are scales in condition type V/06 configuration and also while maintaining the record in VK11.

Second thing : if then also you want to continue this practice then you have to modify the user exit and check for the field in item and modify it.

Thanks,

Raja