cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery Number same as Sales Order

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Look at program: MV50AFZ1 and find USEREXIT_NUMBER_RANGE

eduardo_hinojosa
Active Contributor
0 Kudos

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

Lakshmipathi
Active Contributor
0 Kudos

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

prasanna_kumar4
Active Contributor
0 Kudos

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