cancel
Showing results for 
Search instead for 
Did you mean: 

Automated Outbound delivery based on Sales Order Shipping point

0 Kudos

Hi All,

I have already created the discussion for this query but  it was closed thought that the answer proposed in the thread will work but it doesn't.

The reason is I have written a BAPI function module to create the delivery document based on SO but as per the standard process, it throws a ROLL BACK update dump due to the DO tries to post and update in the DB before the SO get updated in the DB. It throws a run-time error and in VA01, the error message shows the SO doesn't exist or archived.

I have tried the BAPI logic both in MV45AFZZ and in NACE->V1 Output medium. Both have failed to meet the solution and ends with a run-time error.

Can anyone of you face this situation and it would be nice if you have any other better solution to meet the requirement. In simple terms, when SO is posted, it will immediately create an outbound delivery document but only to the items related specific to shipping point (ex:0020).

Ex: If SO has 2 items, 000001 item is shipping point as 0060 and 000002 item is shipping point as 0020, the immediate or automated DO will be created only for shipping point 0020.

I knew that, functionality is there to set the Sales order poting->Immediate DO creation based on Sales order type. Do you have any exit/Badi enhancement to create the DO specific to the shipping point items and delete the non-specific items before it get posted.

Kindly note, it is working for VA02 OR change in Sales order reissuing output.

Please reply your valuable inputs.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

In addition to what Roger said-

Yes, You can try VL10BATCH, to be specific. Program Name : RVV50R10C.

SAP Light.

0 Kudos

Hi,

there is only one way to create an outbound delivery out of the sales order -> Use the order type rush order BUT you can not filter on item Level to create only for a specific shipping Point the delivery note.

the better way is to use one of the Transaction VL10* to shedule a Background Job to create for a specific shipping Point the delivery note. here you create a selection variant with your shipping Point and let it run e.q. every 5 or 15 minutes.

Regards

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

did you try Batch jobs at background for creating outbound delivery for your Shipping points