Automatic inbound delivery against STO

EWM requires presence of an ASN for inward goods movements. This ASN is normally created by creating an inbound delivery in ECC which gets replicated into EWM.

This works well for purchases from a vendor. But what to do during stock transfers? Is there a way to generate inbound deliveries against outbound deliveries? Fortunately there is. I came across a note 1119073 which helps you do just that.

I have listed the steps below:

You need to trigger an output type SPED in the delivery header. This implies that:

  • The delivery output determination procedure must contain the output type SPED
  • The access sequence is as per your requirement
  • Condition records for output must be maintained correctly.

First, identify the output determination procedure against the delivery type.

Go to IMG > Logistics Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Outbound Deliveries > Assign Output Determination Procedures > Assign deliveries (header)

In standard, delivery types NL and NLCC are assigned to SPEV10.

Now check if SPED is present in the determination procedure.

Go to IMG > Logistics Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Outbound Deliveries > Maintain Output Determination Procedure

Normally SPED and SPER are available with requirement 408 and 409 respectively.

Now check the access sequence for the output types. In standard, access sequence 0001 is present. This access sequence contains delivery type only. This may be insufficient, hence you may modify the access sequence to insert table 021 (at delivery type/shipping point level).

Now create condition records against the output type SPED using Tcode VV21. Use medium 8, date/time 4.

Now run an STO cycle:

  1. Create an STO containing the receiving plant and the relevant storage location. Ensure a confirmation control ANLI / 0004 is used, so that an inbound delivery can be created.
  2. Create a delivery against the STO.
  3. Perform a picking and PGI of the delivery. At this stage, the output SPED will get triggered, resulting in creation of an inbound delivery in the STO!!
  4. This inbound delivery will now get replicated in EWM or any decentralized system.

Image

This is what the STO will look likeImage

sapnote_0001119073

Leave a comment