
Testing Exceptional Handling Using Exception Code in Inbound Process in SAP Extended Warehouse Management
This blog will state the uses of Exceptional Code in the Inbound Process SAP EWM.
1. Overview
Exceptional handling in SAP Extended Warehouse Management (EWM) refers to the processes and strategies used to manage and resolve unexpected situations that deviate from the normal flow of warehouse operations. These include discrepancies, damaged goods, incorrect quantities, on unforeseen events like system errors.
Exceptional handling in EWM is a powerful tool that allows many business requirements to be easily mapped without using enhancements. SAP EWM uses Exception Codes, which are called in event-driven transactions like Picking Confirmation, confirmation of Put-away Warehouse tasks, or Internal Warehouse Transfer Posting.
In EWM we would be having different environments.
Desktop Environment
RF Environment
Business context: Inbound/ Outbound/ Internal
2. Business Scenario
For an Inbound Delivery Goods Receipt process completed, during the deconsolidation process, the warehouse supervisor finds the quantity of material having differences in the actual available amount on the handling unit from the documented quantity on, the Inbound delivery document. In this case, the steps need to be used to correct the actual receipt, using exceptional code, to update the Goods receipt in the S/4hana System as well. We can handle the quantity issue by using exception codes.
This activity could be executed only for the delivery in which the Put-away task was not completed. If the Put-away task gets confirmed it is not applicable.
3. Testing Steps Handling Unit Quantity Difference
3.1 Create Purchase Order

Step 1: Enter T-code
Step 2: Enter Organizational Data
Step 3: Enter Material
Step 4: Quantity
Step 5: Base Unit
Step 6: Enter Plant
Step 7: Enter Storage Location
Step 8: Enter Inbound in the Conformation tab
Step 9: Click on Save



Purchase Order Number: 4500005428 created

3.2 Create Inbound Delivery in S/4HANA

Step 1: Enter T-code- VL31N
Step 2: Enter Vendor/ Purchase Order/ External ID

Step 3: Select all, click on Pack

Step 3: Enter Packing material, HU created, Select HU and Materials, Click on Pack

Step 4: Click on Save


3.3 Display Inbound Delivery in S/4HANA

Step 1: Enter Inbound Delivery

Step 2: Click on Goods Movement, Not Started

3.4 Maintain Inbound Delivery in EWM

Step 1: Enter Delivery Document 180002631, execute

Step 3: Click on HU Tab


Check Goods Movement

Check the Status and Shipping Condition of the delivery Item

3.5 Maintain VAS in Inbound


3.6 Maintain Inbound Delivery in EWM

Step 2: Enter Delivery Document 180002631, execute

Step 3: Inbound Deliver> Follow On Functions> Warehouse task

Step 4: Select HU Tab and select line item
Step 5: Create Warehouse Task Created automatically
Step 6: Click on Create



3.7 Check Warehouse Task in EWM Monitor

Step 1: Enter Warehouse Number
Step 2: Enter Monitor and Execute

Step 3: Inbound> Document> Inbound Delivery
Step 4: Enter Inbound Delivery- 180002631 and Execute

Step 5: Click on Warehouse Task, select unloading WT go to more methods, and confirm in background.


Step 6: After Confirmation Unloading, HU movement task in open Status from GR to Deconsolidation Work Center Storage Bin

Step 7: Confirm HU Put-away Task



3.8 Inbound Delivery Status in EWM

Step 1: Enter Delivery Document 180002631, execute, Unloading and Goods Receipt Completed but Put-away not started.

3.9 Display Inbound Delivery in S/4HANA

Step 1: Enter Inbound Delivery

Step 2: Click on Goods Movement, Completed

Step 3: Click on Document Flow

3.10 Goods Receipt in Deconsolidation

Step 1: Enter the Warehouse Number, Deconsolidation Work Center, and Warehouse Request (Inbound Delivery) and, Execute





Note: We Find Product having Quantity 5 in HU


3.11 Check Warehouse Task in EWM Monitor

We will go to the Warehouse monitor and cancel the Warehouse task
Step 1: Enter T-code: /N/SCWM/MON
Step 2: Enter Warehouse Number
Step 3: Enter Monitor and Execute

Step 4: Inbound> Document> Inbound Delivery
Step 5: Enter Inbound Delivery- 180002631 and Execute

Step 6: Click on Warehouse Task, select unloading WT go to more methods, and Cancel the VAS WT for HU which have less quantity

Product EWM_WEWM_VAS-02 Have 05 Quantity so we have cancel the VAS Ware house task

Note: We have Confirmed the VAS Work Center Put-away task for Other HU in Background

3.12 Complete VAS Activity

Step 1: Enter Warehouse Number, VAS Work Center, Warehouse Request, and Execute




3.13 Confirm Warehouse Task in EWM Monitor

Step 1: Enter Warehouse Number
Step 2: Enter Monitor and Execute

Step 4: Inbound> Document> Inbound Delivery
Step 5: Enter Inbound Delivery- 180002631 and Execute

Step 6: Click on Warehouse Task, select unloading WT go to more methods, and confirm in back ground.



3.14 Create Product Warehouse Tasks

Step 1: Select HUIDENT, and Execute

Step 2: Enter WPT 9999, Quantity, and, Destination Storage Bin VAS Bin, and click on Create



Step 3: Go to Warehouse Task> Confirm

Step 4: Confirm+ Save


3.15 Check Warehouse Task in EWM Monitor

Step 1: Enter T-code: /N/SCWM/MON
Step 2: Enter Warehouse Number
Step 3: Enter Monitor and Execute

Step 4: Inbound> Document> Inbound Delivery
Step 5: Enter Inbound Delivery- 180002631 and Execute


3.16 Complete VAS Activity

Step 1: Enter Warehouse Number, VAS Work Center, Warehouse Request, and Execute

Step 2: Click on Start

Step 3: Click on Complete with Variance

Step 5: Select HU and Click on Complete HU, and save

Step 6: Enter C and Execute


3.17 Check Warehouse Task in EWM Monitor

Step 1: Enter T-code: /N/SCWM/MON
Step 2: Enter Warehouse Number
Step 3: Enter Monitor and Execute

Step 4: Inbound> Document> Inbound Delivery
Step 5: Enter Inbound Delivery- 180002631 and Execute

Step 6: Task Open Now from VAS Work Center Bin to LOSC ID Point, Select Warehouse Task, and Confirm in Fore Ground


Step 7: Final Put-away Task get Open, Select Open Warehouse Task, and Confirm it in Background,



Step 8: Physical Stock



3.18 Inbound Delivery Status in EWM

Step 1: Enter T-code: /N/SCWM/PRDI
Step 2: Enter Delivery Document 180002631, execute, Unloading and Goods Receipt Completed Put-away not Completed.

3.19 Inbound Delivery Status in S/4HANA

Step 1: Enter Inbound Delivery

Step 2: Click on Goods Movement, Completed


Note: Because We have Reversal Goods Receipt Quantity for Product EWM_WEWM_VAS-01 10 to 5 Goods Receipt Reversal Document Generated with Updated Quantity
1st Goods Receipt Document

2nd Goods receipt Document with Correct Quantity

Conclusion
The above steps need to be followed to test the Exceptional Handling inbound process quantity adjustment at HU level SAP EWM.
Credit
This blog writing inspiration is from Naidu Sir's Live EWM Training Recorded Videos at SASTRAGEEK.
Rajesh Sharma
SAP WM/EWM Functional Consultant
§ Linked in profile: https://www.linkedin.com/in/rajesh-sharma-204910278/
§ Twitter: RajeshS98151512/ RAJESH SHARMA@RAJESHS21287609
§ SAP Blogs: https://www.sastrageek.com/blog
Comments