Skip to main content

Posts

Showing posts from 2025

[SAP EWM] Warehouse process type determination based on storage location

If there is a requirement where system has to determine warehouse process type based on the storage location then in that situation we have to leverage exit /SCWM/EX_DLV_DET_PROCTYPE~CHANGE_PROCTYPE to accomplish the requirement. Logic should be written such that /SCWM/WHR_QUERY is used to fetch the delivery document details from EWM. REFDOC field in the IT_HEADER-REFDOC will contain the S4 delivery number.  This is passed into LIPS and fetch storage location and determine process type based on TVARVC or custom table

[SAP EWM] Error /SCWM/UI_PACKING083 is raised in /SCWM/PACK

  This error has occurred due to standard behavior due to missing customizing/customizing restriction. Error /SCWM/UI_PACKING083 is raised because in /SPRO path below the Work Center you try to open is attributed to Storage Type &1, however Inbound Section (field I_SECTION) and Outbound Section (field O_SECTION) are empty. SCM Extended Warehouse Management Extended Warehouse Management Master Data Work Center Define Work Center If you try to fill them, they cannot hold any information due to error: "You can only use storage types with role B, C, E, I, H, or K. Message No. /SCWM/UI_PACKING059" This is raised because Storage Type &1 has a Storage Type Role different to any of those: B             Pick Point                                                C             Identification and P...

[SAP EWM] Adding custom fields for /SCWM/PACK Screen

If business want to add a custom field to the /SCWM/PACK screen and the requirement is that once business enter value here system will check against the weight in the material master  Step 1 : Structure /SCWM/S_PACK_VIEW_HUHDR need to be appended with the new custom field Step 2 : Then use screen enhancement /SCWM/UI_PACKING /SCWM/EX_WRKC_CHECK_BFR_HU_CMP to include logic specific to validation and updation of the table

[SAP EWM] Difference between available stock and physical stock

 Available stock - This stock is not allocated or reserved to any delivery and ready for use. Physical stock - This stock is allocated to the delivery document but not yet shipped out from the warehouse. Note : Before physical inventory is initiated, try to close these open documents if possible. Else there is a chance of having an impact during goods issue in case of any stock changes

[SAP EWM ] Serial number profile changes in EWM

Issue : Although SAP does not recommend it, it may happen that you want to change the serial number profile of an existing material. If stock has ever existed for this material in the warehouse, the serial number profile is stored in table /SCWM/SERH, and it is no longer changeable despite any changes in the material master in ERP or in EWM . Solution Approach  As first step you have to remove all stock (including planned stock, which means rejection of all not yet goods receipted stock on existing inbound deliveries) for the material from the warehouse. Set the appropriate serial number profile for the material in ERP. Delete the entry from table /SCWM/SERH for the material. Then you can start using the material with the new serial number profile, when the new stock comes for the material the entry in /SCWM/SERH will be automatically recreated with the relevant data. Deletion of the entry from the table can be done through debug mode or through the implementing the code proposed b...

[SAP EWM] Rejecting outbound delivery in SAP EWM

Rejection of the outbound delivery order can be done from /'SCWM/MON or /SCWM/PRDO. This post will show you the rejecting the delivery through /SCWM/PRDO Below is the process steps to reject the outbound delivery in SAP EWM : Launch transaction /SCWM/PRDO and enter the delivery number, execute Click on Process codes --> Adjust delivery Quantity     Select O001 and click on ok , Save Delivery will be rejected and EWM. If the delivery type is enabled with create OD automatically at cancel, then business need not click on 'Outbound delivery' button. If not, business has to click on this button to cancel the delivery in SAP S4. Thank you.

[SAP EWM] Putaway Reversal

 At times, business will contact us to perform put away reversal due to various reasons like received wrong quantity or PO was wrongly entered. As per standard SAP, EWM will not allow you to perform GRN reversal after stock is received in the warehouse ( Putaway is done ) . For say, if the business has done goods received but not initiated the putaway process then system will allow business to perform GRN reversal if no HU movements are done. But however, if the warehouse tasks are confirmed then system will not allow business to reverse the goods receipt.

Commonly used tables/FM's in SPP

 /SAPAPO/PLANNER - Validate SNC planner /SAPAPO/LOC - Get location based on location ID or Vice versa /SAPAPO/MATLPL - Combination of Product, Location & Planner BAPI_PRDSRVAPS_SAVEMULTI2 - BAPI to update obsolete product in product master /SCMB/INBDLVDAT - This table is to check ASN's ( Pass ASN number and Supplier )

[SAP SPP] Mass assignment of product / BOD

At times, there will be a requirement seeking mass assignments of products & BOD's. In order to accomplish this requirement, we have develop a BDC program on the transaction /SAPAPO/PRDO2BOD_M. Commonly used FM's & Tables related to BOD : /SAPAPO/CHECK_PROD_ON_BOD_LOC -  This is used to check whether material is present in all the locations of the BOD

[SAP WM] Exit for putaway strategy

At times, business wish to influence the destination bin determination based on their set of  custom parameters rather than following the standard puaway search strategy parameters. In this situation, we have to use EXIT - EXIT_SAPLL03A_001 to accomplish this requirement. Thank you

[SAP EWM] Error M7329 in VL32N when trying to post goods receipt - SAP ERP & SAP S/4 HANA

 SAP Note  1913028   recommends the below steps to be followed in case of this error : Option A Cancel all additional material documents with MVT 107,  except the first one . Use transaction MIGO with "A03 Cancellation" and "R02 Material Document". Remember the quantity posted. Post a subsequent delivery for the first material document number with MVT 107 for the quantity used in step 1. Use transaction MIGO with "A06 Subsequent Delivery" and "R02 Material Document". Release Goods Receipt for Inbound Delivery by movement ' 109 ' in transaction  VL32N . Now the error M7329 should be gone. Option B Please run the reports ZCORR_EKBE_ETENS from note  655427  and ZCORREKESGRRTV from note  536190  to fix/synchronize the fiels EKBE-ETENS and EKES-ETENS.

[SAP EWM] Batch job to reprocess the failed queues in SMQ1 and SMQ2

Reports RSQOWKEX/RSQIWKEX can be scheduled as a periodic background job to reset the status of LUWs registered to outbound(SMQ1)/inbound(SMQ2) queues. RSQOWKEX for outbound queues (SMQS/SMQ1). RSQIWKEX for inbound queues (SMQR/SMQ2). The below parameters are to be maintained : Queue Name as '*' Select 'No Running Queues' Do not select 'No Retry queus' Queues running longer than  < Time in Mins > ideally 20 mins No queues older than < Data > Note that this job will change the status of the failed queue to 'READY' status so that scheduler will process it. But for any queues struck in 'READY' status, th ese need to be processed manually.

Queue hanging in SMQ2 with error ME708

  Issue : If the delivery has two items, one of them is reference to the main item of the PO, another one is reference to the subitem whose EKPO-UPTYP is not blank. eg. EKPO-UPTYP = 8, that means the subitem is the 'Interchangeable Items (IBU: A&D)' of the main item. In general, the inbound delivery should only be posted for items which contain the actual material, but in the case of the error PO, inbound delivery was posted for both main item and subitem. This will cause the error when system reads confirmation data during GR posting. Solution Approach given by SAP : Only items refer the actual material in the PO should be created in the delivery. The queue cannot be processed. Reverse GR for the delivery in EWM and cancel the delivery then recreate the delivery. If the GR cannot be reversed due to DCO status is 9, use VL_COMPLETE to complete the ERP delivery then do physical inventory in EWM

Error "/SAPAPO/LOC040" during mass maintenance in /SCWM/MON

Below is the solution approach to be followed in case of the error message Error "/SAPAPO/LOC040" during mass maintenance in /SCWM/MON : Entries for that Party Entitled to dispose (PED) should be present in tables /SAPAPO/LOC, /SAPAPO/LOCMAP,/SCMB/TOENTITYMP and /SCMB/TOENTITY.  If relevant entry for PED (Party Entitled to Dispose) is missing from any of above tables then system will through error "/SAPAPO/LOC040" during mass maintenance in /SCWM/MON To correct this, please execute below steps Go to SE38 tcode, Execute report /SCMB/CHECK_SCU  Give the affected SCU & Business Attribute. example "PLOC", "ZONE" Mark the check box "Make Corrections"& execute Report /SCMB/CHECK_SCU correct the inconsistencies and process ended with message "Program /SCMB/CHECK_SCU ended" (/SCMB/SCU206)