Barcode Mobile Goods Issue App for Cost Center and Project (WBS) Consumption
Short answer: A Fiori app that records material issues from the warehouse to a cost center or a project WBS element by scanning barcodes on a handheld or phone. Movement type, storage location, bin stock, quantity, serial numbers and project status are checked before posting; wrong issues are stopped in the warehouse and consumption reaches the cost center or project immediately.
- Estimated effort
- L · 12–18 working days
- System
- ECC and S/4HANA
- Tables
- 11
- Scope
- Global
- Built by
- NeKuDos Teknoloji
- Last updated
Why is the standard not enough?
In the standard system, issues to a cost center (201) or WBS element (221) are posted at a desk with MIGO or MB1A. Warehouse staff see the material on the shelf but enter the issue later from paper; a wrong cost center, a closed WBS element, a missing serial number or a wrong storage location is usually found at month end. For EWM-managed warehouses there is no ready-made mobile issue screen that works by bin, by barcode and with serial number checks. This app records the issue where the material is picked and stops issues that break the rules before posting.
Who uses it? Warehouse staff, maintenance and site store keepers, project controlling teams, cost accounting.
Closest standard alternatives
- MIGO Goods Movement. Posts 201/221 issues at a desk; no bin scanning, allowed movement type list or upfront project status check.
- MB1A Goods Withdrawal. Classic goods issue screen; not suitable for mobile use or serial number scanning.
- CJI3 Project Actual Cost Line Items. Shows consumption charged to the project afterwards; does not prevent wrong issues.
Tables used
The tables the program reads and updates. ECC and S/4HANA differences are marked separately.
| Table | Role | Access | System |
|---|---|---|---|
| CSKSCost Center Master Record | Cost center validity and actual posting lock | Read | ECC + S/4 |
| PRPSWBS Element Master Data | WBS element, account assignment flag and project link | Read | ECC + S/4 |
| PROJProject Definition | Project definition and project stock setting | Read | ECC + S/4 |
| /SCWM/LAGPEWM Storage Bins | Check of the scanned bin (EWM) | Read | ECC + S/4 |
| /SCWM/AQUAEWM Available Quantity | Available stock in the bin (EWM) | Read | ECC + S/4 |
| MARDStorage Location Data for Material | Unrestricted stock in an IM storage location | Read | ECC + S/4 |
| EQUIEquipment Master Data | Serialized equipment record | Read | ECC + S/4 |
| SER03Document Header for Serial Numbers in Goods Movements | Serial number header for goods movements | Read | ECC + S/4 |
| OBJKObject List | Serial number object list | Read | ECC + S/4 |
| MAKTMaterial Descriptions | Material description | Read | ECC + S/4 |
| MATDOCMaterial Documents (S/4HANA) | Posted 201/221 consumption document (S/4HANA) | Write | S/4HANA only |
S/4HANA notes
- MARD → MATDOC: In S/4HANA stock quantities are no longer stored physically; reading MARD returns values calculated on the fly from MATDOC through a compatibility view. Reads still work, but test performance on very large selections.
BAPIs and functions used
- BAPI_GOODSMVT_CREATEPost Goods Movement. Posts the goods issue to the cost center or WBS element
- BAPI_GOODSMVT_CANCELReverse Goods Movement. Reverses an issue entered wrongly on the same day
Selection screen parameters
| Parameter | Description | Type | Reference field | Required | Example |
|---|---|---|---|---|---|
| P_WERKS | Plant (user setting) | Single value | MATDOC-WERKS | Yes | 1000 |
| P_LGORT | Default storage location | Single value | MATDOC-LGORT | No | 0001 |
| P_BWART | Movement type (from the allowed list) | Single value | MATDOC-BWART | Yes | 201 |
| P_BUDAT | Posting date | Single value | MATDOC-BUDAT | No | 18.11.2026 |
Input file columns
The columns of the upload template and the SAP fields they are written to. Columns with an asterisk are mandatory.
| # | Column | Target field | Required |
|---|---|---|---|
| 1 | Cost center | CSKS-KOSTL | No |
| 2 | WBS element | PRPS-POSID | No |
| 3 | Storage bin | /SCWM/LAGP-LGPLA | No |
| 4 | Material barcode | MARA-MATNR | Yes |
| 5 | Batch | MATDOC-CHARG | No |
| 6 | Quantity | MATDOC-MENGE | Yes |
| 7 | Serial number | OBJK-SERNR | No |
Sample upload file
| 1 | Cost center | WBS element | Storage bin | Material barcode * | Batch | Quantity * | Serial number |
|---|---|---|---|---|---|---|---|
| 2 | 4100-BAKIM | C-02-04-01 | YD-5521 | 4 | |||
| 3 | P-26-014.02.03 | C-05-01-02 | EL-7710 | 1 | SN-0045821 | ||
| 4 | 4200-ATOLYE | SR-0102 | L2610-11 | 25 |
Result list columns
| # | Column | Source |
|---|---|---|
| 1 | Material document | MATDOC-MBLNR |
| 2 | Movement type | MATDOC-BWART |
| 3 | Material | MATDOC-MATNR |
| 4 | Material description | MAKT-MAKTX |
| 5 | Quantity | MATDOC-MENGE |
| 6 | Unit | MATDOC-MEINS |
| 7 | Cost center | MATDOC-KOSTL |
| 8 | WBS element | PRPS-POSID |
| 9 | Serial number | OBJK-SERNR |
| 10 | User | MATDOC-USNAM |
| 11 | Result | Calculated Posted, or the check or posting error message |
Sample result list
| Material document | Movement type | Material | Material description | Quantity | Unit | Cost center | WBS element | Serial number | User | Result |
|---|---|---|---|---|---|---|---|---|---|---|
| 4900021458 | 201 | YD-5521 | Bearing 6205-2RS | 4 | ST | 4100-BAKIM | DEPO01 | Posted | ||
| 4900021459 | 221 | EL-7710 | Frequency converter 7.5 kW | 1 | ST | P-26-014.02.03 | SN-0045821 | DEPO01 | Posted | |
| 221 | KB-3002 | Cable NYY 4x16 | 150 | M | P-25-008.01.01 | DEPO02 | WBS technically completed; issue not allowed | |||
| 201 | EL-7712 | Contactor 32 A | 2 | ST | 4200-ATOLYE | DEPO02 | Number of serial numbers does not match the quantity |
How does the program work?
- The user chooses the type of consumption: issue to a cost center or issue to a project (WBS). Allowed movement types, plants and storage locations per user group are kept in a setup table; a movement type not in the list cannot be selected.
- The account assignment is scanned or searched. For a cost center, the app checks in CSKS that it is valid in the controlling area and not locked for actual postings; for a WBS element, it checks in PRPS that it is an account assignment element and that the project status allows goods issues (released, not technically completed). For WBS elements that use project stock, the issue is taken from project stock.
- The storage location or bin is scanned. In an EWM-managed storage location the bin is checked in /SCWM/LAGP and the bin stock in /SCWM/AQUA; in an IM storage location unrestricted stock is checked in MARD. If stock is insufficient, nothing is posted.
- Material barcode, batch and quantity are scanned. For serialized materials each serial number is scanned; the app checks via EQUI/SER03/OBJK that the number is in stock in the right storage location, and the number of scanned serials must equal the quantity.
- Posting: in IM storage locations, movement 201 or 221 is posted with BAPI_GOODSMVT_CREATE (GM_CODE 03). In EWM-managed storage locations the stock is removed from the scanned bin through the standard EWM process and the goods issue is posted through EWM; the delivery-based or delivery-free path is chosen during installation according to the system’s EWM settings. In both cases a single MATDOC document is created in S/4HANA; in ECC, MKPF/MSEG.
- The screen shows the material document number or the error message. An issue entered wrongly can be reversed on the same day by an authorized user with BAPI_GOODSMVT_CANCEL. The daily consumption list is shown by cost center and WBS element.
Performance notes
Do the account assignment and stock checks with a single-record read at scan time; cache cost center and WBS lists at session start. Read serial number checks in one go. Make only one goods movement call per posting and commit after a successful return.
Features
- Line-by-line result and error log All successful and rejected issue attempts are traced with their reason.
- Double-click drill-down to the document The material document and account assignment can be opened from the daily list.
- Export to Excel The consumption list by cost center and WBS element can be exported to Excel.
Authorization objects
- M_MSEG_BWAGoods movement authorization by movement type (201, 221)
- M_MSEG_WMBGoods movement authorization by plant
- M_MSEG_LGOGoods movement authorization by storage location
- S_SERVICECall the app's OData service
Frequently asked questions
What happens if someone issues to a closed WBS element?
The app checks the project status as soon as the WBS element is scanned; for elements that are technically completed or not released, the material scan step is not opened and the user sees the reason.
Can it be used in an EWM-managed warehouse?
Yes. Stock is removed from the scanned bin through the EWM process and the goods issue is posted through EWM; which EWM path is used is decided during installation from the system settings. For storage locations outside EWM the goods movement BAPI is used directly.
Is scanning serial numbers mandatory?
Only for materials whose serial number profile requires them in goods movements. For these materials nothing is posted until the number of scanned serials matches the quantity.
Related reports
Barcode-Level Stock Tracking: Split, Project Assignment and Barcode Report
A program that tracks every carton or piece with its own barcode in warehouses that do not use handling unit management. A barcode is created at goods …
Handheld (RF) Screens for Goods Receipt, Storage Location Transfer and Shipment
Custom mobile screens sized for barcode handhelds that let warehouse staff post goods receipts against purchase orders, transfers between storage …
Spare Parts Consumption and Cost by Equipment Report
A custom ALV report that totals goods issues to maintenance orders by equipment and functional location, showing which equipment consumes which spare …
Let us build this program for your system
Briefly describe your system and expectations. We will clarify the scope and come back with an effort and price quote.