cancel
Showing results for 
Search instead for 
Did you mean: 

Sales order no as a predecessor document in STO reference delivery

Former Member
0 Kudos

Hello SAP Gurus,

Is it possible to have sales order no as a predecessor document or originating document number in Stock Transport order reference delivery through configuration ? If yes then how ? Pls help.

Regards

Deven

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Deven,

How will you find out the relation between SO & STO in the first place to replace the "reference doc" field.  That is why you need to individually maintain a track of SO - STO - Delivery by maintaining text.

Former Member
0 Kudos

Hi Nimaee,

Relation can be found by linking LIPS & EKKN table because ekkn table is having EKKN-VBELN and LIPS-VGBEL field and both can be linked up each other if i replace that STO predecessor document from Sales order no. And EKKN will give the STO no.

Former Member
0 Kudos

Hi Deven,

do you have scenario of STO with account assignment ??

plz explain the scenario.

zoc i have seen EKKN table getting hit on Third party scenario, where PR is created in the background for Sales Order.

Former Member
0 Kudos

Hi Nimaee,

Yes absolutely, we have the account assignment STO scenario based on purchase requisition from sales order. And we want that sales order line items to be reserverd with the help of delivery predecessor document as a sales order no & its line items. I suppose it can be controlled through exit, if i am not wrong.  Thanks anyways.

Former Member
0 Kudos

Hi Deven,

Immediate preceeding document gets copied as reference document.

In case of STO delivery, as the immediate preceeding document is a PO, reference document will show as STO Number.

To solve this, you can identify any Empty field in STO which is not currently in use, and you can maintain the Sales Order number.

For Eg : Create a Text ID (SO10) and maintain SO# in it and move that text ID to delivery from PO.

so you will be able to find the SO# in STO Delivery.

Hope this will help.

Former Member
0 Kudos

Thanks for the reply Nimaee Pandit.

Yes it can be done. But my purpose is to replace the STO document no. from sales order no. so that i can block those line items of sales orders through delivery like in the case of STO referenced delivery.

Former Member
0 Kudos

Thanks for the reply Nimaee Pandit.

Yes it can be done. But my purpose is to replace the STO document no. from sales order no. so that i can block those line items of sales orders through delivery like in the case of STO referenced delivery.

Prasoon
Active Contributor
0 Kudos

Hi,

   The reference document in delivery doc is the reference document for the delivery. If the delivery doc is created against sales order, the reference document is order and if its a replenishment delivery, delivery is created against PO and the same will be displayed as reference document.

   In your case, the sales order is not an immediate predecessor for the delivery and hence it can not be displayed as a reference document through configuration as of my knowledge.

Regards,

AKPT

Former Member
0 Kudos

Thanks for the reply PRASOON AK.

Yes you are correct & this is a standard behavior. May be i can control it through some user exit so that i can replace the STO document no from sales order number.

JL23
Active Contributor
0 Kudos

Don't spend too much effort in screwing up your system. This is not just a text field without any dependencies. If you do not reference a STO  in a STO delivery then you may not get the desired result at all. If you want do something more meaningful then move this number into a customer text.

former_member233510
Active Contributor
0 Kudos

What you've asked is already available in standard system, choose a line item in the delivery document and click details button. You'll be direct to be a screen, here you can get the predecessor document number under the tab 'Predecessor data.'

Former Member
0 Kudos

Thanks for the reply Rosh A.

i know this thing already but my query is something different.