{"audience":"Warehouse count teams, warehouse supervisors, stock control and inventory owners, cost accounting.","authorization_objects":[{"note":"Create EWM physical inventory documents and enter counts","object":"/SCWM/PIPR"},{"note":"Post inventory differences in EWM (approvers)","object":"/SCWM/PIBK"},{"note":"Enter IM counts for storage locations outside EWM","object":"M_ISEG_WZB"},{"note":"Call the app's OData service","object":"S_SERVICE"}],"components":[],"countries":[],"effort_days_max":25,"effort_days_min":15,"effort_size":"L","faq":[{"a":"No. If an open document exists for the bin, the app uses it; otherwise it creates an ad hoc document for the bin itself. Planned periodic or cycle count documents can be counted with the same screen.","q":"Do we need to create a physical inventory document beforehand?"},{"a":"Only within the tolerance set during installation. Differences above tolerance are stopped before posting by the standard BAdI and go to a person with approval authorization; the approver can request a recount.","q":"Can the counter post the difference directly?"},{"a":"For low-volume counts, yes. For intensive counting, a handheld with a trigger scanner is recommended; the app works with the same screen on both devices.","q":"Is scanning with a phone camera enough?"}],"features":[{"code":"log","label":"Line-by-line result and error log","note":"Every scan, count and approval is traced with user and time."},{"code":"drilldown","label":"Double-click drill-down to the document","note":"The bin stock and the physical inventory document can be opened from the approval list."},{"code":"excel","label":"Export to Excel","note":"The count and difference list can be exported to Excel."}],"functions":[{"name":"BAPI_MATPHYSINV_CREATE_MULT","role":"Creates a physical inventory document for a storage location outside EWM"},{"name":"BAPI_MATPHYSINV_COUNT","role":"Writes the count result to the IM physical inventory document"},{"name":"BAPI_MATPHYSINV_GETDETAIL","role":"Reads book quantity and status of the IM physical inventory document"}],"gap":"Standard EWM counting is document-driven: a physical inventory document is created first, then the count is entered per document and item in the RF menu or in /SCWM/PI_COUNT. The RF screens use technical terms and expect the counter to know the document number; a bin without an open document cannot be counted by simply scanning it. Approval of differences above tolerance by a second person is only separated by authorization in the standard flow; there is no approval list. This app starts the count by scanning the bin, finds or opens the document in the background and brings difference approval into one screen.","id":"ewm-mobile-physical-inventory-count-app","industries":[],"input_columns":[{"derived":false,"label":"Bin barcode","required":true,"rule":"","target_field":"LGPLA","target_table":"/SCWM/LAGP"},{"derived":false,"label":"Product barcode","required":true,"rule":"","target_field":"MATNR","target_table":"MARA"},{"derived":false,"label":"Batch","required":false,"rule":"","target_field":"CHARG","target_table":"/SCWM/AQUA"},{"derived":false,"label":"Handling unit (HU)","required":false,"rule":"","target_field":"HUIDENT","target_table":"/SCWM/AQUA"},{"derived":false,"label":"Counted quantity","required":true,"rule":"","target_field":"MENGE","target_table":"ISEG"}],"kind":"program","language":"en","lastmod":"2026-11-18","logic":"1. When the user opens the app, the warehouse number and the storage types the user may count come from the user settings; the EWM physical inventory authorization (/SCWM/PIPR) is checked. The app runs on an OData service and can be used from a browser, a handheld or a phone camera.\n2. The bin barcode is scanned. The app checks that the bin exists in /SCWM/LAGP for the selected warehouse number, that its storage type is open for counting and that the bin is not reserved for another count. If a wrong warehouse or storage type is scanned, the screen shows a red warning and the count does not start.\n3. The product, GTIN or handling unit barcode is scanned; the product name comes from MARA/MAKT. A batch is requested for batch-managed products and the HU number for handling units. If blind counting is on, the book quantity is not shown to the counter.\n4. The counted quantity is entered. If an open EWM physical inventory document exists for the bin, the count is written to its item; otherwise an ad hoc document is created for the bin and the count is entered in the same step. An empty bin is confirmed as 'empty' with one tap.\n5. The difference is calculated against the available quantity in /SCWM/AQUA. Differences within the quantity and value tolerance set during installation are ready to post. For differences above tolerance, the /SCWM/EX_PI_PREVENT_POST BAdI blocks posting; the difference goes to the warehouse supervisor's approval list, where the supervisor either requests a recount or approves it.\n6. Approved counts are posted in EWM: the quant quantity is updated and the difference is passed to accounting through the difference analyzer; in S/4HANA the difference material document is created in MATDOC. For storage locations not managed by EWM, the same screen opens an IM physical inventory document with BAPI_MATPHYSINV_CREATE_MULT and writes the count to IKPF/ISEG with BAPI_MATPHYSINV_COUNT (this path is also used in ECC).\n7. Every scan, count and approval is logged with user and time; the count list can be exported to Excel.","module":"WM","object_type":"fiori_app","output_columns":[{"calculated":false,"formula":"","label":"Warehouse","source_field":"LGNUM","source_table":"/SCWM/LAGP"},{"calculated":false,"formula":"","label":"Storage bin","source_field":"LGPLA","source_table":"/SCWM/LAGP"},{"calculated":false,"formula":"","label":"Storage type","source_field":"LGTYP","source_table":"/SCWM/LAGP"},{"calculated":false,"formula":"","label":"Product","source_field":"MATNR","source_table":"MARA"},{"calculated":false,"formula":"","label":"Product description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Batch","source_field":"CHARG","source_table":"/SCWM/AQUA"},{"calculated":false,"formula":"","label":"Book quantity","source_field":"QUAN","source_table":"/SCWM/AQUA"},{"calculated":true,"formula":"Quantity entered in the app","label":"Counted quantity","source_field":null,"source_table":null},{"calculated":true,"formula":"Counted quantity − book quantity","label":"Difference","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Unit","source_field":"UNIT","source_table":"/SCWM/AQUA"},{"calculated":true,"formula":"Posted, awaiting approval, recount or empty bin confirmed","label":"Status","source_field":null,"source_table":null}],"parameters":[{"example":"W100","kind":"parameter","label":"Warehouse number (user setting)","name":"P_LGNUM","ref_field":"/SCWM/LAGP-LGNUM","required":true},{"example":"0010–0050","kind":"select_option","label":"Storage types open for counting","name":"S_LGTYP","ref_field":"/SCWM/LAGP-LGTYP","required":false},{"example":"X","kind":"checkbox","label":"Blind count (hide book quantity)","name":"P_BLIND","ref_field":"","required":false},{"example":"2","kind":"parameter","label":"Quantity tolerance for posting without approval (%)","name":"P_TOLPC","ref_field":"","required":false}],"part_of":[],"performance":"Use a single select per scan for the bin and stock checks; read /SCWM/AQUA by warehouse number and bin key. Cache the product barcode resolution. Post differences at the approval step in packages rather than at the moment of counting; on busy count days, leave the mass posting from the approval list to a background job.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=ewm-mobile-physical-inventory-count-app","related":["inv-physical-inventory-count-pack","mm-physical-inventory-differences-recount","wm-cycle-count-due-bins","wm-cycle-count-result-upload"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Enters counts per document and item; the document must exist first and there is no bin scan check.","tcode":"/SCWM/PI_COUNT"},{"note":"Standard RF count transactions; document-driven and without a difference approval list.","tcode":"/SCWM/RFUI"},{"note":"Count entry with a document for storage locations outside EWM; not mobile.","tcode":"MI04"}],"summary":"A Fiori app in which warehouse staff enter counts from a phone, tablet or handheld by scanning the bin and the product barcode. The app checks that the scanned bin belongs to the right warehouse and to a storage type open for counting, writes the count to the EWM physical inventory document, routes differences above tolerance to approval and posts approved differences directly.","tables":[{"access":"read","join_on":"","role":"Storage bin: warehouse number, storage type, storage section; bin check","table":"/SCWM/LAGP","variant":"both"},{"access":"read","join_on":"/SCWM/AQUA-LGNUM = /SCWM/LAGP-LGNUM AND /SCWM/AQUA-LGPLA = /SCWM/LAGP-LGPLA","role":"Available quantity, batch and HU in the bin; book side of the difference","table":"/SCWM/AQUA","variant":"both"},{"access":"read_write","join_on":"","role":"Quant quantities; updated when the approved count is posted","table":"/SCWM/QUAN","variant":"both"},{"access":"read","join_on":"/SCWM/HUHDR-HUIDENT = /SCWM/AQUA-HUIDENT","role":"Header of the scanned handling unit","table":"/SCWM/HUHDR","variant":"both"},{"access":"read","join_on":"","role":"Product master and barcode resolution","table":"MARA","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = MARA-MATNR","role":"Product description","table":"MAKT","variant":"both"},{"access":"read","join_on":"","role":"Material documents of posted count differences (S/4HANA)","table":"MATDOC","variant":"s4"},{"access":"read_write","join_on":"","role":"IM physical inventory document header for storage locations outside EWM","table":"IKPF","variant":"both"},{"access":"read_write","join_on":"ISEG-IBLNR = IKPF-IBLNR","role":"IM physical inventory item: counted quantity, book quantity, difference flag","table":"ISEG","variant":"both"}],"title":"Mobile Warehouse Count App with Bin and Barcode Scanning: Bin Checks, Difference Approval and Posting","url":"https://nekuhub.com/en/programs/mobile-warehouse-count-app-with-bin-and-barcode-scanning/","vendor_id":"nekudos"}