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

Delivery Number same as Sales Order

Hi

My requirement is I want to create delivery the number is same as sales order number.

Let say If SO number is 100 , delivery has to be created with same number immediately.

I want user-Exit or BADI to pass SO number

Could please help me

Best Regards

Achanta

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Dec 01, 2011 at 08:48 AM

    Hi,

    If my assumption is right like at the time of Sale order system will automatically generate Delivery number then go to VOV8 and select the Document type, in the you can see the field " Immediate Delivery " Mention "X"

    if i am wrong please clarify

    Regards,

    Prasanna

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 01, 2011 at 09:17 AM

    Do you mean to say there will NOT be any partial delivery in this scenario ?? Even if partial delivery is not allowed, it will not be ideal to implement this requirement through exit. Let us assume, at a later date, you have generated a delivery for an order and subsequently, you reversed the PGI and delete the delivery. Here what should be your delivery number range for the newly created one.

    If partial delivery is there, then definitely, this is not at all possible. Think practically always before you take any decision or implementing anything in SAP.

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 01, 2011 at 09:59 AM

    Hi

    It's impossible by technical reasons. Think that both documents are in the same tables, as VBUK, and the field VBELN is a key field, so, it's impossible to have two entries (SO and delivery) with the same ID.

    Regards

    Eduardo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2011 at 03:30 AM

    Look at program: MV50AFZ1 and find USEREXIT_NUMBER_RANGE

    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.