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

Pricing control problem in SD Orders.

Hi, I'v excluded a freight item conditon in SD order (VA01) by using a requirements pricing routine depending on incoterms EXW in order (sy-subrc = 4 in the routine). So if I maintain the order directly with the incoterms EXW, the condition ZF10 is not allowed and disappears as desired. My problem is to go back to this condition ZF10 after changing the incoterms again to a.g. CPT. So I need a refreshment of item condition list without pushing the "update pricing" button. Do somebody can give me a hint? (user exit, bapi or so).

Thanks a lot.

Peter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2014 at 02:36 PM

    Hi Peter,

    Use BAPI_SALESORDER_CHANGE

    LOGIC_SWITCH = C,If C is not working then try with G

    CONDITIONS_IN-cond_updat = 'I'

    CONDITIONS_INX-cond_updat = 'I'.


    Regards,

    Shweta

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2014 at 02:55 PM

    Instead of going with exit, what your functional consultant can suggest to Business is to maintain condition record with inco term so that with standard settings, this requirement can be achieved. Of course, if user, by mistake, maintain condition record with EXW, then, system will propose and this would be a defect from business point of view. Users need to be educated properly.

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 29, 2014 at 06:08 AM

    In this case--how you are updating the Pricing function--i mean with which Pricing type???

    have you tried New pricing option???


    Can you delete the line item and re-enter???

    As suggested we need to educate the users--rather than going for Exit for this requirement..

    Phanikumar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2014 at 12:43 PM

    Hello,

    Thank you all for your replies. In the meantime I resolved the problem by using the exit: userexit_new_pricing_vbkd with following coding:

    IF vbkd-inco1 <> *vbkd-inco1.
    new_pricing = 'B'.
    ENDIF.

    It works properly.

    Thanks

    Peter

    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.