Warehouse operation team, be it warehouse operator or warehouse supervisor executes warehouse internal business process such as scrapping of a damage pallet physical inventory or stock posting change in EWM. As this business transaction process completes in EWM system, relevant goods movements posting gets performed in ECC. Quite often it is ask from business to see the reason code in goods movement (material document) in ECC. The user can enter reason code for the warehouse movement in SAP EWM and it should reflect in ECC.
Although as per SAP documentations, it is not mandatory to enter a reason for movement in SAP EWM, however specific movement types in SAP ERP might require a reason for movement or responsible operational team might want to record the reason for certain movements for later analysis of why goods movement was posted.
In this blog, we will see the following scenario’s
- User enters reason for the goods movement in EWM and the same reason is reflected in goods movement document in ECC.
- User enters reason for the goods movement in EWM and goods movement document in ECC do not have reason.
Configuration needed for these business scenario’s-
- Define Reason for warehouse movements
- Manage reason for goods movement
Reason Group-
Reason for movement
Map EWM Reason code to ERP Reason code
Movement reason defined in the above screenshot should be same in Movement reason in ECC. Please refer following screenshot.
Now let’s do testing for the business scenario’s
- User enters movement reason for the goods movement in EWM and the same reason is reflected in goods movement document in ECC.
User enters movement reason for ‘Scrapping process’
Display goods movement document in EWM
Display goods movement document in ECC
- User enters movement reason for the goods movement in EWM and goods movement document in ECC do not have reason.
User enter movement reason for ‘Posting change process’
Display goods movement document in EWM
Display goods movement document in ECC
Reason for movement is not getting appeared on Material document.
In order to map the reason from EWM, which is not maintained in ECC, we need to set up extra configurations in ECC (MM configuration) as below,
Let’s take example of movement type 322 here
Control: Reason for movement
Reason for movement
Map EWM Reason code to ECC reason for movement (EWM configuration)
Again, testing for configuration for above scenario-
Posting change in EWM-
Goods movement document in ECC-
Alternately, reason for movement can be maintained in EWM
BAdI /SCWM/EX_ERP_GOODSMVT_EXT.
Method name /SCWM/IF_EX_ERP_GOODSMVT~CHANGE_MATDOC.
This blog is based on my personal test in S/4HANA 2021 release. I will appreciate your feedback/ comments for the same.