Supply Chain Management Blogs by Members
Learn about SAP SCM software from firsthand experiences of community members. Share your own post and join the conversation about supply chain management.
cancel
Showing results for 
Search instead for 
Did you mean: 
PrasannaG
Explorer
0 Kudos

Introduction:

The LE outbound delivery distributed to EWM will have the distribution status as B (Distributed). Once that is done, no change can be made to the LE delivery. To overcome this, we can use the function module /SPE/DELV_RESET_DIST_STATUS to change the distribution status to A (Relevant) or D (Planned for Distribution).

Process to change the delivery distribution status from B (Distributed) to A (Relevant) or D (Planned for Distribution):

STEP 1: Create the Outbound delivery and distribute it to EWM

 

PrasannaG_0-1715724338074.png

The Distribution status is shown as B (distributed) at the delivery header.

PrasannaG_1-1715724337973.png

STEP 2:

Now, navigate to Transaction code SE37.

Enter the function module /SPE/DELV_RESET_DIST_STATUS

Then execute.

PrasannaG_2-1715724337959.png

STEP 3:

Click on the Value of the parameter IT_DELIVERY_KEYS and provide the delivery number. The Value for the parameter IV_NEW_DISTSTAT should be D (Planned for Distribution) and then executed.

PrasannaG_3-1715724337971.png

PrasannaG_4-1715724337951.png


PrasannaG_5-1715724337990.png

PrasannaG_6-1715724337993.png

PrasannaG_7-1715724338016.png

PrasannaG_8-1715724338044.png

The delivery distribution status is changed to D (Planned for Distribution) in the delivery.

STEP 4:

Similarly, we can change the delivery distribution status to A (Planned for Distribution) as shown below:

PrasannaG_9-1715724337888.png

PrasannaG_10-1715724337911.png

PrasannaG_11-1715724337996.png

Conclusion:

Using function module /SPE/DELV_RESET_DIST_STATUS, we can change the distribution status to A (Relevant) or D (Planned for Distribution) from B (Distributed) for delivery.

 

3 Comments
damaverick
Discoverer
0 Kudos

Manage delivery change in ERP system via config setting - see "Delv/Chg" 

damaverick_0-1715878237971.png

damaverick_1-1715878355302.png

 

 

damaverick
Discoverer
0 Kudos

but enabling changes to a delivery document after it has been distributed to EWM is such a bad option 

DominikTylczyn
Active Contributor
0 Kudos

@damaverick Please notice that the function reverses distribution status not only for EWM managed deliveries. That works also for LE-IDW integration.

I do agree, that the function mustn't be used in production environments, but it proves useful when testing integration, especially with 3rd party warehouses.

Labels in this area