Skip to Content
avatar image
Former Member

Block order with specific docu type, sold-to and payer

hi,

any ideas how to automatically block an order with a specific sales docu type, sold-to and payer?

i.g. <u>whenever</u> you use "standard order" type for sold-to:peter and his payer:sandra this will be blocked?

TQ,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 20, 2007 at 08:26 AM

    Hi,

    Keep the credit limit of the customer as zero.and make the orders.

    They will be blocked automatically and then you need to release them manually.

    Regards

    Karan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      issue is that when you assign another payer for that order <b>or</b> when you use other sales docu type, the order will not be blocked...

  • avatar image
    Former Member
    Nov 20, 2007 at 08:34 AM

    Hi ,

    Please check with ABAPER I don't think this kind of specific scenerios we can handle thru customization.

    We have to code in some userexit saying if vbtyp = or and Sold to party = "x" and Payer = "Y"

    Insert delivery block in sale order .

    Try with following Userexit

    V45S0004

    USEREXIT_MOVE_FIELD_TO_VBAK

    This kind of coding needs to be done.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Lo,

      In the Standard Document type "OR", use the field "Status Profile" to Block the order for delivery after saving.

      Regards,

      Vinod

  • avatar image
    Former Member
    Nov 20, 2007 at 09:31 AM

    HI

    User exit V45S0004--Effectivity type in sales order is useful to reach your requirment.

    Thanks & Regards,

    Subbu

    Add comment
    10|10000 characters needed characters exceeded