| Status | |
|---|---|
| Owner | |
| Stakeholders | |
| Jira Request ID | |
| Jira Development ID |
| Parameter | Value |
|---|---|
| Application System | SAP S4/HANA SyWay |
| Business Process Reference | 06.10 Manage Inventory and Logistics 06.11 Manage Warehouse and Logistics |
The business requires the ability to change the stock type of a handling unit using the Logistics Neptune Mobility Solution. This transaction will allow stock type changes such as unrestricted to blocked stock for the contents of the handling unit.
Handling units will represent pallets, boxes or rolls etc. and a barcode label on the packaging will normally have the handling unit number in a 2D GS1 Data Matrix barcode format, but other barcode symbologies will also be supported.
Scope and Objectives
The scope of this document is limited to the development of the Neptune mobility transaction to allow stock type status changes at handling unit level. The Neptune mobile transaction will facilitate performing the stock type change at HU level (applicable to all the contents in the HU).
This app will support stock type changes of handling units in IM handling unit managed storage locations and EWM storage locations.
Step | Description | Comment |
|---|---|---|
| 1 | Choose required stock type | |
| 2 | Scan handling unit(s) for stock type change | |
| 3 | Post stock type change(s) to SAP |
None
None
None
None
This app will be available in all SyWay languages.
KDD055 - Multi-Language Support
None
The Syensqo business requires the ability to transfer the stock of handling units into different stock types. This is identified as a business requirement within the scope of Neptune mobile transactions. This transaction will be new screen to be developed in Neptune mobile app that will support the user interface to execute the transaction and the background processing of the data to transfer the stocks into required stock type using posting change.
This app will show on the launchpad for the Logistics Mobile Solution.
Initial Screen
The first screen will prompt to enter the destination stock type and then to scan/enter the handling units to be changed.
The stock type can be selected from a drop down list. The list of allowed destination stock types for the plant are stored in the Allowed Stock Type Changes custom table. See the custom tables section.
Handling units in the warehouse must be entered, by scanning or typing. The handling unit number may be an SSCC number or other number.
When scanning, an enter key will be added automatically to the scanned value. This allows rapid scanning of multiple handling units.
For scanning, the HU field needs to support 2D GS1 data matrix barcodes, code 128 barcodes and other agreed formats. Application identifier 00 will be present in the case of SSCC numbers. Otherwise the entire content of the scanned barcode is to be considered the HU number.
For manual input the user needs to press Enter to process the HU.

Each valid HU scanned will be added to a scanned list. The scanned list will show a counter of the number of HUs scanned.
The scanned list will show, the HU number, the packaging material, the material number, the batch number, the storage location (for IM HU) or the storage bin (For EWM HUs), the cumulated quantity on the HU, the current stock type and the new stock type.
If the HU contains more than one material, the material description will show "<Mix>".
If the HU contains more than one batch, the batch number will show "<Mix>".
If the HU contains more than one stock type, the stock type will show "<Mix>".
Determine if HU is IM or EWM and calculate the cumulated content
See ERP-1003 for this shared logic.
Handling Unit Validation (IM)
Field | Table-Field name | Comments / Calculation / Field Manipulation / Input / Output / Validation rule / Value help |
HU number | VEKP-EXIDV | The handling unit must exist otherwise display an error “Handling Unit <hu> does not exist." |
HU Plant | VEKP-WERKS | The HU must belong to the plant of the user otherwise display an error “Plant of HU <hu> is <x>”. |
HU Object Assignment | VEKP-VPOBJ | The HU must be unassigned (VEKP-VPOBJ = 12) otherwise display an error “HU <hu>has status <VEKP-BPOBJ> <VEKP-VPOBJKEY>” |
HU System Status | Status Management | If the HU system status contains “INIV” display an error “HU <hu> is active for physical inventory”. |
HUM SLoc | VEKP-HU_LGORT | The HU must be in a HU managed storage location (VEKP-HU_LGORT = X) otherwise display an error “HU <hu> in non-HU Storage Location”. |
HU Stock Type | VEPO-BESTQ | If the current stock type of the entire Handling Unit is the same as the destination stock type display an error “HU <hu> already has stock type <9999>” |
HU Stock Type | VEPO-BESTQ | If the current stock type of the Handling Unit does not exist in the Allowed Stock Type Changes custom table in conjunction with the selected destination stock type, show an error "Transfer from <IM source stock type> to <IM destination stock type> not permitted". When the handling unit contains mixed stock types, all combinations for the stock type change must exist in the custom table for stock type changes. |
HU number (Already Processed) | VEKP-EXIDV | If the HU entered has already been processed with a stock type change pending on the scanner, show an error "HU <hu> already processed for transfer to sloc <x>". |
Handling Unit Validation (EWM)
Field | Table-Field name | Comments / Calculation / Field Manipulation / Input / Output / Validation rule / Value help |
HU EWM number | /SCWM/HUHDR-HUIDENT | The handling unit must exist otherwise display an error “Handling Unit <hu> does not exist." |
HU Warehouse | /SCWM/HUHDR-LGNUM | The HU must belong to the warehouse of the user otherwise display an error “Warehouse of HU <hu> is <9999>”. |
HU System Status | Status Management | If the HU system status does not include "PORT", display an error "HU <hu> is not in warehouse". |
HU Object Assignment (PID) | /SCWM/HUREF-GUID_HU | The HU must be not have a reference to a document, otherwise display and error "HU <hu> is assigned to <Doc Category short description> <Document number of reference GUID>". For document categories PDI, PDO and SPC select reference document category ERP on table /SCWM/HUREF-DOCID. For document category PMR, select the first record with reference document category RES. |
HU EWM Stock Type | /SCWM/STOCK_IW02-CAT | If the stock type of the entire Handling Unit is the same as the destination storage stock type, display an error “HU <hu> already has stock type <9999>” |
HU EWM Stock Type | /SCWM/STOCK_IW02-CAT | If the current stock type of the Handling Unit does not exist in the Allowed Stock Type Changes custom table in conjunction with the selected destination stock type, show an error "Transfer from <EWM source stock type> to <EWM destination stock type> not permitted". When the handling unit contains mixed stock types, all combinations for the stock type change must exist in the custom table for stock type changes. |
HU number (Already Processed) | /SCWM/HUHDR-HUIDENT | If the HU entered has already been processed for a stock type change pending on the scanner, show an error "HU already processed for change to stock type <x>". |
Logic to retrieve stock types(s) for EWM HU
Detail screen
For any HU scanned, the HU details can be displayed by selecting the HU in the list of HUs already scanned.
With this option the user will navigate to the HU display app ERP-788.
Processing data
A summary of the HUs already scanned will be listed on the HU entry screen. The most recently scanned HU will be shown at the top of the list. The list will also show the source and destination stock types. A counter will show the number of HUs already scanned.
The user can branch to the HU details screen from the summary by clicking on an item.
Provide an option for the user to delete transactions captured. E.g. The user may elect to delete a record in the case that an HU was processed by mistake.
The user will press a Save button to post the transactions in SAP.
IM HU Stock Type change
EWM HU Stock Type change
If the posting is successful display the message returned from SAP. E.g. “Material document 4900001957 was created”.
If the posting is not successful display the error message returned from SAP.
In all cases a log of the transaction will be posted to a custom table in SAP (See ERP-1003). This information can later be viewed in the Handheld Manager transaction on SAP.
This app will be developed using Neptune DXP Open Edition. The app will appear on the Neptune launchpad.
See example screens in Functional Requirements section.
No special behavior required.
Standard navigation.
| Field | Table-Field Name | Comments / Calculation / Field Manipulation / Input / Output / Validation rule / Value help |
|---|---|---|
A custom table will store the allowed stock type changes for the plant. IM and EWM entries can be entered independently.
Allowed Stock Type Changes table
Field | Format | Description |
Plant | CHAR(4) | The plant for the allowed stock type change. **** to mean valid for all plants. |
IM Source Stock Type | CHAR(1) | Stock Type THUWBBWART-BESTQ. The user must choose a stock type that is present for the selected process code on table THUWBBWART |
EWM Source Stock Type | CHAR(2) | Stock Type (EWM values) e.g. F2 for unrestricted use stock. |
IM Destination Stock Type | CHAR(1) | Stock type (Using IM values as per THUWBBWART-BESTQ) |
EWM Destination Stock Type | CHAR(2) | Stock Type (EWM values) e.g. B6 for blocked stock. |
IM Process Code | NUM(4) | Process number from THUWBBWART-HUWBEVENT |
Description | CHAR(20) | Description of destination stock type. Used for the drop down on the initial screen. e.g. "Blocked Stock". |
| Field | Description | Data Type/Length | Validation rule / Value help |
|---|---|---|---|
| Field | Description | Data Type/Length | Validation rule / Value help |
|---|---|---|---|
None
This app can be executed on a mobile device or in desktop mode.
Not applicable.
The user must have material document create access for the selected plant. Check object M_MSEG_WMB for Activity 01 and the selected plant. If no access, show the message "No authorization for plant <9999>".
Not applicable.
This solution will be used at approximately 100 plants. The total users is estimated to be around 800.
Postings should be completed in 2 to 3 seconds.
Errors to appear in a pop up window that needs to be acknowledged by the user.
| ID | Condition | Expected Result |
|---|---|---|
| 1 | Transfer highest level HU in IM sloc to blocked stock | HU stock type change successful |
| 2 | Transfer lowest level HU in IM sloc to blocked stock | HU stock type change successful |
| 3 | Transfer highest level HU in IM sloc to unrestricted use stock | HU stock type change successful |
| 4 | Transfer lowest level HU in IM sloc to unrestricted use stock | HU stock type change successful |
| 5 | Transfer highest level HU in EWM sloc to blocked stock | HU stock type change successful |
| 6 | Transfer lowest level HU in EWM sloc to blocked stock | HU stock type change successful |
| 7 | Scan/Enter HU that does not exist | Error issued |
| 8 | Attempt to transfer HU to blocked stock, when HU is already in blocked stock | Error issued |
| 9 | Attempt to transfer HU to blocked stock, when HU is active for physical inventory | Error issued |
| 10 | Attempt to transfer HU to blocked stock, when HU is already assigned to delivery | Error issued |
None
| Package Name | Parent Package |
|---|---|
UI Type | UI Name | Fiori Catalogue | Design Rationale Reference |
|---|---|---|---|
| API Type | API Name | Purpose / High Level Logic | API Product | Design Rationale Reference |
|---|---|---|---|---|
| Object Type | Object Name | Purpose/High Level Logic | Design Rationale Reference |
|---|---|---|---|
Insert links and references to other documents which are relevant when trying to understand this decision and its implications. Other decisions are often impacted, so it's good to list them here with links. Attachments are also possible but dangerous as they are static documents and not updated by their authors.