0% found this document useful (0 votes)
602 views52 pages

TSD MTD WM MTD Production RF Receiving Abap

The document describes a technical enhancement for production receiving using radio frequency (RF) scanning. Key points include: - Developing new custom transaction screens and logic to integrate inline scanning for pallet-level goods receipt - Allowing receipt, exceptions, and reversals to be handled in one step from RF - Migrating intelligent batch logic from SAP EWM to a decentralized warehouse management system - Several additional requirements and changes were added through revisions to address bugs and new capabilities.

Uploaded by

sourish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
602 views52 pages

TSD MTD WM MTD Production RF Receiving Abap

The document describes a technical enhancement for production receiving using radio frequency (RF) scanning. Key points include: - Developing new custom transaction screens and logic to integrate inline scanning for pallet-level goods receipt - Allowing receipt, exceptions, and reversals to be handled in one step from RF - Migrating intelligent batch logic from SAP EWM to a decentralized warehouse management system - Several additional requirements and changes were added through revisions to address bugs and new capabilities.

Uploaded by

sourish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 52

Enhancement Specification Technical Document

Enhancement Name: E001713


Generated Document Name: TSD_MTD_WM_MTD_E001713
Production RF receiving_ABAP
ENTERPRISE FIRST: Global Template

Market / Project : PBCW1


Author : Anjan Pal(09294777)

1|Page
1. Document Information

Document Location

Document Name Sol Man Folder Path Document # Solman Link


TSD_MTD_WM_MTD_E0017 Solution > Libraries > E001713 TSD_LINK
13 Production RF Development Library >
receiving_ABAP ZS4HANA > <PACKAGES> >
ZGEF_MTD_WM
><FSD_MTD_WM_MTD
Production RF receiving >

Revision History
Revision Summary of Changes Revised By
Revision Date Project
Number (GPID/Name)
1 20/01/2020 PBNA Initial version 09294777/Anjan Pal
2 20/02/2021 PBNA Second Version/ ADO BUG 09294777/Anjan Pal
749968
3 22/03/2021 PBNA Third Version/ADO BUG 958652 09294777/Anjan Pal
4 12/04/2021 PBNA Fourth Version/ADO BUG 1010440 09294777/Anjan Pal
5 13/09/2021 PBNA Fifth Version/ADO BUG 1486262 09294777/Anjan Pal

Design Authority Approval Details


ENTERPRISE FIRST: Global Template
Approval Date Approved By

2|Page
Table of Contents
0. Document Information_____________________________________________________2
Document Location_________________________________________________________________________2
Revision History____________________________________________________________________________2

1. General Information_______________________________________________________3
2. High Level Technical Design_________________________________________________4
2.1 High level Business Requirement__________________________________________________4
2.2 Possible Technical approaches with brief pros & Cons_________________________________5
2.3 Proposed Technical approach_____________________________________________________9
3. Technical Details / Process Flows____________________________________________10
4. Enhancement Techniques__________________________________________________33
4.1 Custom Transaction____________________________________________________________33
4.2 Screen Details________________________________________________________________33
5. Custom Tables/Structure in SAP_____________________________________________43
6. SAP Development Objects__________________________________________________45
7. Additional Information and attachments______________________________________46
7.1 Reconciliation Reporting________________________________________________________46
E7.2
N T E Attachments__________________________________________________________________46
RPRISE FIRST: Global Template

8. Unit Test Plan____________________________________________________________47

3|Page
2. General Information
Document Information

Development E001713
ID:
FD Link FSD_LINK

Version 1.0

Area: MTD Date: 20-JAN-2020

Technical Anjan Pal Email


Designer: [email protected]
m
Technical Anjan Pal Email [email protected]
Resource:

Title: TSD_MTD_WM_MTD_E001713 Production RF receiving_ABAP

Short Production RF receiving.


Description:

3.E NHigh
TERPRISE FIRST: Global Template
Level Technical Design

3.1 High level Business Requirement


 Integration with in-line scanner for production receiving pallet by pallet (Auto
LPN).
 Ability to handle production receiving from RF as well as handle exceptions and
reversals in one-step.
 Interface process order confirmation from decentralized EWM to S/4 prior to
goods receipt.
 Migrate intelligent batch logic from S/4 embedded EWM to decentralized EWM.
 Pre-Receiving process - A way to start or activate process order to the line.
 Pallet Tagger Change-Over process - Pre-receiving can start by production upon
loading new Pallet label.

***Begin of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

 Update smart LPN number into Created HU.

***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

4|Page
 Input Screen has been changed. Instead of Manufacturing order Smart LPN number is
the input field of First screen.

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

 Pack spec needs to select by system when Quantity matches to Pallet Level Target
Quantity for pack spec. If there are no matches, then only pack spec selection screen
will display.

 Remove SF3 UoM change button. Assumption: Default UoM is CS for any Production
Receipt.

 Display Pack Spec Description beside Product derive it from target quantity of
Case/Layer and Pallet component of pack spec.

 Display Packaging Material Description instead of Packing Material number.

 Pack Spec Description needs to be updated into created HU.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

 Add new button to display Pack Spec details in List screen.


ENTERPRISE FIRST: Global Template
 In case of Double Capacity Resource program must scan second LPN before going to
Put-away screen.

 Call Custom CP-Add on Put-away screen instead of Standard Put-away screen.

***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

3.2 Possible Technical approaches with brief pros & Cons


To mitigate the requirement, we will add the new custom logical transaction, steps in the
SPRO settings for RF (Radio Frequency) and we will use the display profile ZL for this
development. We will create custom function group with custom screens with custom
function modules for the PBO and PAI of the screen which can be used in RF framework.

A) Receive and Putaway directly.

Screen1: Log on to WorkCentre for Receiving of Hus.

Function codes: F7-BACK, F6-CLEAR, F9-FULLMS, <ENTER>.

Back-f7, clear-f6, <ENTER>.and full message-f9 will use standard RF framework functionality.

Enhancement: No Screen Enhancement or logic change is needed. Standard Screen


100(/SCWM/SAPLRF_MFG_RCV) and PBO and PAI logic need to copy into Custom function
Group SPRO configuration change is needed.

5|Page
Screen 2: Receive Goods by Manufacturing Order - Enter PPO.

Standard Screen 1000(/SCWM/SAPLRF_MFG_RCV) and PBO and PAI logic need to copy into
Custom function Group SPRO configuration change is needed.

Function codes: F7-BACK, F6-CLEAR, F9-FULLMS, <ENTER>. F8- EXTSEL and MRWCIN-
Pushbutton1.

F7-BACK, F6-CLEAR, F9-FULLMS, <ENTER> and MRWCIN-Pushbutton1 will use standard RF


framework functionality.

Enhancement: One new Function code F8- EXTSEL needs to be added in Manufacturing
Order field.

1) Once F8 is pressed then one list screen will be displayed with list of Manufacturing
Order. This will be done using Table control with 2 field Manufacturing Order and item
number.

2) Logic will first fetch the list of Inbound Delivery for which Goods movement was not done
yet or partially done, Goods movement bin equal to ‘GR-Production’ and Delivery
Document type equal to ‘INBM’ from table /SCDL/DB_PROCH_I.

3) Fetch Manufacturing order number form Inbound delivery number and Doc Cat = EGR
from table /SCDL/DB_REFDOC.

E N4)T EOnce
R P R Ithe
S E user
F I Rchooses
S T : G l any
o b aitem
l T number
e m p l a tand
e hit ENTER then corresponding
Manufacturing Order will be populated to screen number 2.

5) Once the user Press <ENTER> then screen 3 will be displayed. One new custom PBO
function module needs to be created to load the Screen 3.

Screen 3: RF HU Scan Screen.

New screen must be developed with list of fields mentioned in FSD and 4 new Push buttons
also needs to be created by coping the standard screen. 2500(Prog
/EWMCP/SAPLDOSI_RF_UNLOADING)

Function codes: F7-BACK, F6-CLEAR, F9-FULLMS, <ENTER>. MRITCD- Pushbutton1,


MRITCP- Pushbutton2, MRITCQ- Pushbutton3, MRITCH- Pushbutton4.

F7-BACK, F6-CLEAR, F9-FULLMS, MRITCP- Pushbutton2, MRITCQ- Pushbutton3, MRITCH-


Pushbutton4will use standard RF framework functionality.

Enhancement:

1) User will scan smart LPN number and then Press <ENTER> and then Parsing logic will
be execute and Batch number, HU number, Material Number and Best before Day
(BBD) will derive and will populate the same screen. To achieve this requirement one
new custom PAI function module needs to be created for function code <ENTER>.

2) LPN logic is already developed in Enhancement E001330(Class


ZGCL_LPN_SCAN_DATA) and can be re-used in this development.

6|Page
3) User need to press F1 or click the push button ‘F1ChDt’ then in background batch
derived from parsing logic is compared with batch derived from Manufacturing order. If it
not same, then error will raise else logic will check whether the batch is existing in the
MCH1 table or not. If it is not present, then logic will create it and display into another
screen. To achieve this requirement one new custom PAI function module needs to be
created for function code ‘MRITCD’.

4) This screen needs to be developed by copying the standard screen 2100(prog


/SCWM/SAPLRF_MFG_RCV). In this Screen there will be another button ‘F1Adopt’ to
update the batch number to Inbound delivery.
Logic (FM /SCWM/RF_MRHU_MRHUCD_FCODE) for function code ‘F1’ is already
available in standard and can be used in this development.

5) There will be another push button in screen 3 displaying the list of packing Specification.
Once the CDPSFP (F10) is pressed then screen 4 will be displayed with list of packspec
details. In this screen Layer Quantity and item will displayed. Once any item is chosen
then its corresponding Quantity will be populated into screen 3.

6) Function module /EWMCP/3OUT_PSFP_PBO and /EWMCP/3OUT_CNT1_PAI can be


used for function code CDPSFP.

Note: These are the below screens which will be replaced by the RF Smart LPN screen as
mentioned in FSD screen number 3. In standard Material number, Hu number and Batch
number are input field but in this development those value will be determined from LPN field
using Parsing logic.

ENTERPRISE FIRST: Global Template

7|Page
***Begin of Changes for ADO bug 749968 on 20/02/2021 by 09294777.
To update the Smart LPN number into HU existing BADI definition
ZGBDD_WM_BASICS_HUHEADER has been used.

This Badi definition is created for development E001777. Standard Badi


/SCWM/EX_HU_BASICS_HUHDR was implemented with implementation name
ZGEI_EWM_BASICS_HUHDR with BADI implementation ZGBDI_WM_HUHDR into
implementing class ZGCL_WM_HUHDR.

This class needs to be changed to write the logic for Enhancement Strategy with
Warehouse number as filter. And existing BADI definition
ZGBDD_WM_BASICS_HUHEADER needs to be implemented.

***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.


ENTERPRISE FIRST: Global Template
Screen 9000, 9001 and 9002 needs to be deleted and its corresponding PAI and PBO
function Module needs to be deleted also. Its corresponding SPRO configuration needs
to be changed. Define Logical Transaction step, define function code Profile and Map
Logical Transaction Step to Sub-Screen needs to be changed in SPRO.

Needs to create one new Screen 9001 which will take Smart LPN number as input and
its corresponding SPRO configuration needs to be changed.

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

Function Module ZGFM_RF_REC1_SCANHU_PAI needs to be changed to achieve the new


requirements. Earlier the Pack Spec Screen will come when there are multiple records but now
if the Smart LPN quantity does not match with quantity of any item then this Pack spec screen
will come during the scan.

For the 2nd requirements Button SF3 UoM change needs to be removed from Screen 9002. To
achieve this requirement node “define function code Profile” needs to be changed in SPRO. Its
corresponding Logic also removed from Function Module
‘ZGFM_RF_MRHU_MRHUIT_FCODE’.

For 3rd and 4th requirements layout of Screen 9002 needs to be Changed and the Function
Module ZGFM_RF_REC1_SCANHU_PAI needs to be changed to populate the value of Pack
spec description.

8|Page
For the 5th requirements existing the Badi implementing Class ZGCL_WM_UPDATE_HUIDENT
method CREATE needs to use to update the Pack-spec Description into HU.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

For the 1st requirements “define function code Profile” needs to be changed in SPRO so that
new button display Pack Spec will appear into Screen 9002. Logic to display the records
already developed in this Development so we have to reuse the same logic.

For the 2nd requirements method READ_RSRC_CAP of Class ZGCL_MTD_RF_EXRCV of


development E001716 needs to be used to check the resource capacity. If the resource is
double capacity, then instead of calling put-away screen program should call first screen
9001 to take the 2nd Smart LPN for scan. To achieve this, Define Logical Transaction step,
define function code Profile and Map Logical Transaction Step to Sub-Screen needs to be
changed in SPRO. Function module ‘ZGFM_RF_MRHU_MRHUIT_FCODE’ needs to be
changed to call the READ_RSRC_CAP of Class ZGCL_MTD_RF_EXRCV.

For 3rd requirements Function module ‘ZGFM_RF_MRHU_MRHUIT_FCODE’ needs to be


changed to store the both the HU number into Memory ID and call the Custom CP-Add one
put-away logical transaction ZPUTWY. To call the Logical Transaction class
/SCWM/CL_RF_BLL_SRVC method SET_LTRANS needs to be used.

***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.


ENTERPRISE FIRST: Global Template
B) Reversal of Receipt by HU

Screen 1: Reverse Receipt from Production - Enter HU

New screen must be developed with input field Smart LPN number and 1 new Push buttons by
coping the standard screen. 1000 (Prog /SCWM/SAPLRF_MFG_RCV_RVS)

Function codes: F7-BACK, F6-CLEAR, F9-FULLMS, <ENTER> GTINQU-Pushbutton1

F7-BACK, F6-CLEAR, F9-FULLMS, GTINQU-Pushbutton1will use standard RF framework


functionality.

Enhancement: In standard screen HU field is there as input field, that needs to be replaced by
new input field Smart LPN. New custom PAI function module needs to be created for function
code <ENTER>. After clicking Enter new screen 2 will be loaded and all the fields will be
populated based on Parsing logic. Parsing logic is already developed in Enhancement
E001330(Class ZGCL_LPN_SCAN_DATA) and can be re-used in this development.

Screen 2: Reverse Receipt from Production - Enter Quantity.

New screen must be developed with all field from standard and one more extra field which is
Smart LPN number and all the Push buttons needs to be coping from standard screen 2000
(Prog /SCWM/SAPLRF_MFG_RCV_RVS)

9|Page
All the function codes will use standard RF framework functionality

Enhancement: Only one extra custom field will be displayed in this screen so one new PBO
function module needs to be created and all other function module for PAI and Function code
will be same as standard.

3.3 Proposed Technical approach


Custom Function Group will be created which can be used in RF framework.

4. Technical Details / Process Flows


Flow Diagrams

1. Receive HU by SMART LPN.

ENTERPRISE FIRST: Global Template

10 | P a g e
***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

ENTERPRISE FIRST: Global Template

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

11 | P a g e
***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

ENTERPRISE FIRST: Global Template

Note: Original flow chart is attached in the section 7.2

***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

Technical objects:

To achieve this, we have added new logical transaction in SPRO IMG SCM Extended
Warehouse Management Mobile Data Entry Radio Frequency Framework Define
Steps in Logical Transaction

Below are the configuration screenshots:

Define Logical Transaction: ZRECVH

12 | P a g e
Define Presentation texts

ENTERPRISE FIRST: Global Template

Define Logical Transaction step

13 | P a g e
***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

ENTERPRISE FIRST: Global Template

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

14 | P a g e
***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.
ENTERPRISE FIRST: Global Template
Define function code Profile.

15 | P a g e
***Begin
E N T E R of
P RChanges
ISE FIRfor
S TADO
: GBUG
l o b a958652
l Tem onp 22/03/2021
late by 09294777.

16 | P a g e
***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

ENTERPRISE FIRST: Global Template


***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

17 | P a g e
***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

Map Logical Transaction Step to Sub-Screen

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

ENTERPRISE FIRST: Global Template

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

To achieve this, we have added new logical transaction in SPRO IMG SCM Extended
Warehouse Management Mobile Data Entry Radio Frequency Framework RF menu
manager.

Below are the configuration screenshots:

18 | P a g e
ENTERPRISE FIRST: Global Template

19 | P a g e
Screen: 9000 (Log on to Workcenter for Receiving of HUs)

FM: ZGFM_RF_MRHU_MRHUSL_PBO
This is the Wrapper FM for function Module /SCWM/RF_MRHU_MRHUSL_PBO.
To store the value of standard function module parameter CS_MFG_RCV_WC to global
structure CS_MFG_RCV_WC1 hence Wrapper FM is made.

FM: ZGFM_RF_MR_WCLOGON_PAI
This FM will trigger if user press <ENTER> button.
This is the Wrapper FM for function Module /SCWM/RF_MR_WCLOGON_PAI.
To store the value of standard function module parameter CS_MFG_RCV_WC to global
structure CS_RECVHU_INPUT_SL hence Wrapper FM is made.
ENTERPRISE FIRST: Global Template

Screen: 9001 (Receive Goods by Manufacturing Order - Enter PPO)

ZGFM_RF_MR_WCLOGON_PBO
This is the Wrapper FM for function Module /SCWM/RF_MR_WCLOGON_PBO.
To store the value of standard function module parameter CS_MFG_RCV_WC to global
structure CS_MFG_RCV_WC1 hence Wrapper FM is made.

20 | P a g e
ZGFM_RF_REC2_SELPRD_PAI
This FM will trigger if user press <F8> button and execute the below logic.
 Get Storage bin (GR-Production) and Work Center (PRD1) from Global Structure
CS_RECVHU_INPUT_SL.
 Get all Inbound Delivery number from /SCDL/DB_PROCI_I and
/SCDL/DB_PROCH_I table based on Storage bin is equal to ‘GR-Production’ ,
Document Type is equal to ‘INBM’ and GR Status is not Equal to Complete.
 Select all Manufacturing Order number from table /SCDL/DB_REFDOC for all the
Inbound delivery found in previous step, Reference Document Category is equal to
‘PPO’ and Document Category is equal to ‘PDI’.
 Then construct the Internal table for table control from all selected Manufacturing
Order number getting from previous step.

ZGFM_RF_MRHU_MRHUSL_PAI
This FM will trigger if user press <ENTER> button.
This is the Wrapper FM for function Module /SCWM/RF_MRHU_MRHUIS_PAI.
To store the value of Manufacturing order details from standard function module parameter
CS_MFG_RCV_WC into global structure CS_RECVHU_INPUT_SL hence Wrapper FM is
made.

ENTERPRISE FIRST: Global Template

Screen: 9002 (Selection list for Manufacturing Orders)

ZGFM_RF_REC3_SELREFDOC_PBO
Set screen parameter for the current screen.

ZGFM_RF_REC3_SELREFDOC_PAI

21 | P a g e
This FM will trigger if user press <ENTER> button.
 Get selected line.
 Get the corresponding Manufacturing order
 Pass the value to required structure.

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

As part of ADO BUG 958652 Screen 9000, 9001 and 9002 are deleted and its corresponding
PAI and PBO function Module and its corresponding SPRO configuration also deleted. Now
there is only one Screen 9001 which will take Smart LPN number as input which is as shown
below.

ENTERPRISE FIRST: Global Template

Screen: 9001 (RF LPN Scan Screen).

ZGFM_RF_REC1_SCANHU_PBO.

 Get all the screen Attribute value using Method GET_RECVHU_INPUT class
ZGCL_GET_HU_FRM_LPN.

 Set screen parameter for the current screen

ZGFM_RF_REC1_SCANHU_PAI.

 Get LPN number from screen.


 Set LPN value to Global Attribute using method SET_LPN class
ZGCL_GET_HU_FRM_LPN.
 Parse LPN using the existing class ZGCL_GET_HU_FRM_LPN method
GET_PROD_ORD_DETAILS to get Material, Batch and BBD, Manufacturing date,
Quantity and Manufacturing order number.
 Get Hu Number from LPN using the Class ZGCL_GET_HU_FRM_LPN method
GET_HU_FRM_LPN. If the HU number is already existing, then this method will
return value from table /SCWM/HU_IDENT and /SCWM/HUHDR else first 16
character of LPN will be the HU.
***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

22 | P a g e
 Get batch Status from Class ZGCL_MTD_RF_EXRCV method
GET_BATCH_STATUS.
 Get batch Status from Class ZGCL_GET_HU_FRM_LPN method
GET_BATCH_STATUS.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

 Get pack spec details from class ZGCL_GET_HU_FRM_LPN method


GET_PACKSPEC. To get the packspec Function module
/SCWM/API_PACKSPEC_GETLIST and /SCWM/API_PACKSPEC_READ have
been used. Do the Quantity conversion if the Packspec unit is not CS(Cases).

If system did not find any Pack spec details, then raise error else it will proceed.
***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

 If there are only one Pack spec records maintained then system will populate
Packaging material, Quantity, and unit to the required structure and call the Process
Code ‘PBO2’ to call the same screen.

 If there are multiple records maintained, then system will set the Process Code
‘GTPMSL’ which will call another screen for user selection to choose the pack spec.

 If the input Quantity coming from Smart LPN is matching with any records of pack
spec then that line item will be selected and its corresponding Packaging Material,
Quantity, unit, packaging Material Description, pack spec Description pack spec id
and its GUID will be passed to global static structure and the same will be displayed
E N T E R PinR RF
I S Escreen.
FIRST: Global Template

 If the input Quantity did not match, then logic will set process Code ‘GTPMSL’ which
will call another screen for user to select the pack spec item.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

23 | P a g e
ENTERPRISE FIRST: Global Template

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

24 | P a g e
***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

Screen: 9003 (RF HU Create Screen)

ZGFM_RF_REC4_SCANHU_PBO
E N T E R PSet
R I Sscreen
E F I Rparameter
S T : G l o for
b a the
l T current
e m p l ascreen.
te
 If user clicks on <F3 ChQty> button, then only Quantity and unit field will be enabled
for Input and Scan field will be disabled for Input for all other scenarios it will be
disabled, and Scan field will be enabled for Input.

ZGFM_RF_REC4_SCANHU_PAI
This FM will trigger if user press <ENTER> button and execute the below logic.

 Get LPN number from screen.


 Parse LPN using the existing class ZGCL_LPN_SCAN_DATA method PARSE_LPN
to get Material, Batch and BBD.
 Do the validation for Material and Batch coming from Parsing logic and
Manufacturing order. If it is not same, then raise error message else proceed.
 Get Hu Number from LPN using the Class ZGCL_GET_HU_FRM_LPN method
GET_HU_FRM_LPN. If the HU number is already existing, then this method will
return value from table /SCWM/HU_IDENT and /SCWM/HUHDR else first 16
character of LPN will be the HU.
***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

 Get batch Status from Class ZGCL_MTD_RF_EXRCV method


GET_BATCH_STATUS.
 Get batch Status from Class ZGCL_GET_HU_FRM_LPN method
GET_BATCH_STATUS.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

 Get pack spec details from class ZGCL_GET_HU_FRM_LPN method

25 | P a g e
GET_PACKSPEC. To get the packspec Function module
/SCWM/PS_FIND_AND_EVALUATE and /SCWM/API_PACKSPEC_READ have
been used.

If system did not find any Pack spec details, then raise error else it will proceed.
 If there are only one Pack spec records maintained then system will populate
Packaging material, Quantity, and unit to the required structure and call the Process
Code ‘PBO2’ to call the same screen.
 If there are multiple records maintained, then system will set the Process Code
‘GTPMSL’ which will call another screen for user selection to choose the pack spec.

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

All the above logic has been removed from function Module
ZGFM_RF_REC4_SCANHU_PAI.
This Function Module will be triggered when user press <ENTER> and this FM is
needed when user changes Quantity or Unit or both. New Quantity or Unit must be
stored into Global attribute hence method SET_RECVHU_INPUT of class
ZGCL_GET_HU_FRM_LPN are used.

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

ZGFM_RF_MRHU_MRHUIT_FCODE
This FM will trigger if user press <F3 ChQty>, <F3 ChQty>, <F2 ChPm> and
<F1 ChDt > button.

***Begin
E N T E R Pof
R Changes
I S E F I R Sfor
T : ADO
G l o bug
b a l 1486262
T e m p l on
a t e13/09/2021 by 09294777.
This FM will trigger if user press <F10 ChPS>.

***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

This is the Wrapper FM for function Module /SCWM/RF_MRHU_MRHUIT_FCODE.


Since this screen is custom and all screen elements are custom hence this Standard function
Module will not work when user clicks on <F3 ChQty> button and <SF3 ChUoM> button
because it will not navigate to any new screen rather it stays at same custom screen.
Additional Coding is done only for those 2 buttons.

 Made LPN number as Input disabled and make Quantity and unit of Measure field
as Input 
Enabled when user clicks on <F3 ChQty> button.

***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

 Call class /SCWM/CL_RF_MFG method CHANGE_CALCULATE_UOM using


custom fields when user clicks on <SF3 ChUoM> button.

This logic has been commented out since this button is no more there in RF screen.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

26 | P a g e
When user clicks on <F1 ChDt > button standard Screen 2100 of Program
/SCWM/SAPLRF_MFG_RCV is called. Standard PBO FM
/SCWM/RF_MRHU_MRHUCD_PBO is called. For PAI and other Function code new Wrapper
FM ZGFM_RF_MRHU_MRHUCD_FCODE is created.

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.


 When the user press F10 button then function code 'ZCHPAC' is triggered. When
this Function Code is triggered logic will set a function code 'GTPMSL' which is
basically call the screen 2800.

 To check the Resource Capacity this FM calls method READ_RSRC_CAP of Class


ZGCL_MTD_RF_EXRCV. This Class method is developed as part of development
E001716. This method returns the value of Resource Capacity in return variable
lv_rsrc_capa. If the value is greater than 1 then store the HU details into a static
internal table using the Method SET_HU_DATA of class
ZGCL_GET_HU_FRM_LPN. Method GET_HU_DATA are used to get the value of
HU details which is already created in the same step.

 If the Resource Capacity lv_rsrc_capa is not equal to number of records of got from
method GET_HU_DATA, then logic will display the first screen again to enter the
next Smart LPN.

 If the Resource Capacity lv_rsrc_capa is not equal to number of records of got from
method GET_HU_DATA, then set the first HU number into memory ID HU_NUM1
and set the second HU number into memory ID HU_NUM2. And call the Custom
CP-Add one put-away logical transaction ZPUTWY.
***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.
ENTERPRISE FIRST: Global Template

ZGFM_RF_MRHU_MRHUCD_FCODE
This FM will trigger if user press <ENTER>, <F3 NBtch>, <F2 ChBiR>, and <F1 Adopt >
button.This FM will call the standard Function Module
/SCWM/RF_MRHU_MRHUCD_FCODE. Addition code is required since standard structure
CS_MFG_RCV_CHG_DATA does not have current batch value entered in LPN screen and to
pass the changed batch value to custom LPN screen.

When user clicks on <F2 ChPm > button standard Screen 2300 of Program
/SCWM/SAPLRF_MFG_RCV is called. Standard PBO FM
/SCWM/RF_MRHU_MRHUCP_PBO is called. For PAI and other Function code new Wrapper
FM ZGFM_RF_MRHU_MRHUCP_FCODE is created.

ZGFM_RF_MRHU_MRHUCP_FCODE
This FM will trigger if user press <ENTER> and <F1 Adopt > button.
This FM will call the standard Function Module /SCWM/RF_MRHU_MRHUCP_FCODE.
Addition code is required to pass the changed Packing Material value to custom LPN screen.

When the user clicks on <ENTER> on screen number 9003 Pack spec details are getting
determined from PAI FM. If the Number of records is more than one, then PAI FM has set
one Function code ‘GTPMSL’ which will call another screen for user selection to choose the
pack spec.

27 | P a g e
To Choose the pack spec records screen 2800 of Program
/EWMCP/SAPLDOSI_RF_UNLOADING has been used.

To display the pack spec details and get the value after user selection wrapper FM
ZGFM_EWMCP_DOSI_ULDC5_PAI and ZGFM_EWMCP_DOSI_ULDC5_PBO are created.

ZGFM_EWMCP_DOSI_ULDC5_PBO
This FM will call the standard Function Module /EWMCP/DOSI_ULDC5_PBO by passing the
global internal table related to pack spec Information to standard table.

ZGFM_EWMCP_DOSI_ULDC5_PAI
This FM will call the standard Function Module /EWMCP/DOSI_ULDC5_PAI and then get the
selected value chose by user from standard structure to custom Global structure
CS_RECVHU_INPUT_SL so that it will reflect in Custom LPN screen.

***Begin of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

To update the Smart LPN number in the HU, BADI /SCWM/EX_HU_BASICS_HUHDR has
been used.
This BADI are already implemented as part of development E001777. Enhancement Strategy
are also implemented with Custom Multi-use Badi ZGBDD_WM_BASICS_HUHEADER. As
part of this ADO bug another implementation of Custom Multi-use Badi
ZGBDD_WM_BASICS_HUHEADER are created with Implementing class
ZGCL_WM_UPDATE_HUIDENT with Implementation name ZGEI_UPDATE_HUIDENT.

This BADI are called during the HU creation process from RF screen. To implement
Enhancement Strategy Existing Badi Implementing Class ZGCL_WM_HUHDR are used. In
Enhancement
E N T E R P R I S Strategy
E FIRST: Global Template
Warehouse number are used as filter.

Method CREATE are only implemented; first method SET_LPN of class


ZGCL_GET_HU_FRM_LPN are called to set the Smart LPN value from RF screen. After that
method GET_LPN of class ZGCL_GET_HU_FRM_LPN are called from BADI method to get
the Smart LPN value. Now Function Module /SCWM/HUIDENT_INT_UPDATE is called to
update the Smart LPN value to HU.
***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

To update the Pack spec id in HU same BADI implementation


ZGBDI_UPDATE_HUIDENTand same method CREATE are used. Within the Badi
implementing Class ZGCL_WM_UPDATE_HUIDENT method CREATE Static Class
ZGCL_GET_HU_FRM_LPN method GET_RECVHU_INPUT is called to get the value of Pack
Spec ID. After that Pack Spec ID is passed to Changed Parameter of Class CREATE.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

Class: ZGCL_GET_HU_FRM_LPN

This is a static class developed for E001713, but this Standalone Class can be used by other
development also. This class was created mainly for set and get method to store the values
into Static attribute and to use it. This class has some Static attribute as given below: -

 V_LPN: To store the Smart LPN value.

28 | P a g e
 T_PACKSPEC: This internal table of type /EWMCP/DOSI_IT_HU_SCAN_OUT used
to store the details of Pack spec.

 S_RECVHU_SELECTION: This Static Structure of type ZGSTR_RECVHU_SELECT


is used to store the value of Receive HU RF screen.

 S_MFG_RCV_WC: This Static Structure of type /SCWM/S_RF_MFG_RCV_WC is


used to store the value of Workcenter Info.

 S_MFG_RCV_HU: This Static Structure of type /SCWM/S_RF_MFG_RCV_HU is


used to store the value of Production Order - Receive HU.

 S_RECVHU_INPUT_SL: This Static Structure of type


ZGSTR_RECVHU_SELECTED_PAR is used to store the value of Selected
parameters for Receive by HU RF screen.

 T_RCV_HU_DATA: This Static internal table of type /SCWM/S_RF_MFG_RCV_HU is


used to store the value of Production Order Receive HU.

This class has some methods as given below: -

 GET_HU_FRM_LPN: This method will take warehouse number and Smart LPN
number as input and it will return the HU number and a Flag to indicate weather HU is
exist or not. This method will pass the Smart LPN number to /SCWM/HU_IDENT with
Identification Type ‘L’ to get the GUID of HU number. After that Function Module
/SCWM/HU_READ is called to check weather HU is exist or not. If exist, then set the
E N T E RFlag
P R IEV_HU_EXIST
S E F I R S T : Gelse
l o bpropose
a l T e mthe
p l HU
a t enumber using Smart LPN by taking the First
16 character of Smart LPN. This method is called from method GET_PROD_ORD of
same class and function Module ZGFM_RF_REC1_SCANHU_PAI and
ZGFM_RF_MRRVHU_MRRVHU_PAI.

 GET_CONVERTED_MATERIAL: This is a Private method which will be called from


this class whenever the Conversion of Material is needed. In this Method Function
Module CONVERSION_EXIT_MATN1_INPUT has been used to convert the material
from external format to internal format.

 CLEAR_GLOBAL_DATA: This method has been used to clear the Global static
attribute of this class. This method is called from function module
ZGFM_RF_MRHU_MRHUIT_FCODE just before the Put-away screen call.

 GET_DEFAULT_VALUES: This method will take Resource Name as input and it will
return Resource Structure of type /SCWM/RSRC. Function Module
/SCWM/RSRC_RESOURCE_MEMORY is used to get the defaults value of current
resource. This method is called from different place of class
ZGCL_GET_HU_FRM_LPN and function Group ZGFG_RF_REHU_MAN_ORD.

 SET_LPN: This method will used to store the value of smart LPN into Global Static
variable. This method has only one input parameter which is smart LPN number. This
method is called from function Module ZGFM_RF_REC1_SCANHU_PAI.

 GET_LPN: This method will used to return the value of smart LPN from Global Static
variable. This method has only one return parameter which is smart LPN number. This
method is called from class ZGCL_WM_UPDATE_HUIDENT.

29 | P a g e
 SET_PACKSPEC_DETAILS: This method will used to store the value of Pack Spec
details into Global Static structure. This method has only one input parameter which is
Pack Spec details of type /EWMCP/DOSI_S_SCAN_SCR_OUT. This method is called
from function Module ZGFM_RF_REC1_SCANHU_PAI.

 GET_PACKSPEC_DETAILS: This method will used to return the value of Pack Spec
details from Global Static structure. This method has only one return parameter which
is Pack Spec details of type /EWMCP/DOSI_S_SCAN_SCR_OUT. This method is
called from function Module ZGFM_EWMCP_DOSI_ULDC5_PBO.

 SET_RECVHU_SELECTION: This method will used to store the value of Receive HU


RF screen into Global Static structure. This method has only one input parameter
which is Receive HU RF screen of type ZGSTR_RECVHU_SELECT. This method is
called from function Module ZGFM_RF_REC1_SCANHU_PAI.

 GET_RECVHU_SELECTION: This method will used to get the value of Receive HU


RF screen from Global Static structure. This method has only one return parameter
which is Receive HU RF screen of type ZGSTR_RECVHU_SELECT. This method is
called from function Module ZGFM_RF_REC1_SCANHU_PAI.

 SET_MFG_RCV_WC: This method will used to store the value of Production Order -
Workcenter Info into Global Static structure. This method has only one input
parameter which is Production Order - Workcenter Info of type
/SCWM/S_RF_MFG_RCV_WC. This method is called from function Module
ZGFM_RF_REC1_SCANHU_PAI, ZGFM_RF_MRHU_MRHUIT_FCODE and
ZGFM_RF_REC4_SCANHU_PBO.
ENTERPRISE FIRST: Global Template
 GET_MFG_RCV_WC: This method will used to get the value of Production Order -
Workcenter Info from Global Static structure. This method has only one return
parameter which is Production Order - Workcenter Info of type
/SCWM/S_RF_MFG_RCV_WC. This method is called from function Module
ZGFM_RF_MRHU_MRHUIT_FCODE and ZGFM_RF_REC4_SCANHU_PBO.

 SET_MFG_RCV_HU: This method will used to store the value of HU Details into
Global Static structure. This method has only one input parameter which is HU details
of type /SCWM/S_RF_MFG_RCV_HU. This method is called from function Module
ZGFM_RF_REC1_SCANHU_PAI, ZGFM_RF_MRHU_MRHUIT_FCODE and
ZGFM_RF_REC4_SCANHU_PBO.

 GET_MFG_RCV_HU: This method will used to get the value of HU Details from
Global Static structure. This method has only one return parameter which is HU
details of type /SCWM/S_RF_MFG_RCV_HU. This method is called from function
Module ZGFM_RF_MRHU_MRHUIT_FCODE and ZGFM_RF_REC4_SCANHU_PBO.

 SET_RECVHU_INPUT: This method will used to store the value Selected parameters
for Receive by HU RF screen into Global Static structure. This method has only one
input parameter which is Selected parameters for Receive by HU RF screen of type
ZGSTR_RECVHU_SELECTED_PAR. This method is called from function Module
ZGFM_RF_REC4_SCANHU_PAI, ZGFM_RF_MRHU_MRHUIT_FCODE,
ZGFM_EWMCP_DOSI_ULDC5_PAI, ZGFM_RF_MRHU_MRHUCD_FCODE,
ZGFM_RF_MRHU_MRHUCP_FCODE and ZGFM_RF_REC1_SCANHU_PAI.

 GET_RECVHU_INPUT: This method will used to get the value Selected parameters
for Receive by HU RF screen from Global Static structure. This method has only one

30 | P a g e
return parameter which is Selected parameters for Receive by HU RF screen of type
ZGSTR_RECVHU_SELECTED_PAR. This method is called from function Module
ZGFM_RF_REC4_SCANHU_PAI, ZGFM_RF_MRHU_MRHUIT_FCODE,
ZGFM_EWMCP_DOSI_ULDC5_PAI, ZGFM_RF_MRHU_MRHUCD_FCODE,
ZGFM_RF_MRHU_MRHUCP_FCODE and ZGFM_RF_REC1_SCANHU_PAI and
Class ZGCL_WM_UPDATE_HUIDENT.

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

Few new methods are created within the class ZGCL_GET_HU_FRM_LPN.

GET_PROD_ORD_DETAILS- This method will take warehouse number and Smart LPN
number as input and it will call the below methods to return the Batch, Material, Production
order, Manufacturing date and Expiration date. This method is called from
ZGFM_RF_REC1_SCANHU_PAI Function Module.

GET_BATCH - This method will take Smart LPN number as input and it will return the Batch
number and Manufacturing date. This method is called from method
GET_PROD_ORD_DETAILS of same class.
Convert date in MMDDY format in LPN to Julian date (YDDD). Fetch production line and plant
from table ZGTXREFDAT using legacy values by parsing LPN. Form batch value by
combining Julian date, plant, and production line.

GET_PRODUCT - This method will use LPN number and Manufacturing date as input, and it
will
E N return
T E R P the
R I SMaterial
E F I R Snumber
T : G l oand
b a Expiration
l T e m p l adate.
t e This method is called from method
GET_PROD_ORD_DETAILS of same class. Use SKU value from LPN to derive product from
table ZGTXREFDAT.

GET_PROD_ORD This method will use Smart LPN number, Material and Batch as input,
and it will return the Manufacturing order number. This method is called from method
GET_PROD_ORD_DETAILS of same class. Check if delivery exists in table /scdl/db_proci_i
for product and batch combination. If yes, raise error message and terminate Processing.

If delivery has not been created, find EGR for product and batch from table /scdl/db_proci_i. If
not found, find EGR for previous day batch. If EGR is still not found, raise error message, and
terminate Processing.

If EGR is found, then fetch the Manufacturing order number from /SCDL/DB_REFDOC.

GET_OTHER_DETAILS This method will use Warehouse number and Manufacturing


number as input, and it will return the structure related to HU details and Workcenter details.
This method is called from method GET_PROD_ORD_DETAILS of same class. These two
structures are getting filled up by calling the FM /SCWM/RF_MRHU_MRHUSL_PAI and
/SCWM/RF_MRHU_MRHUIS_PAI.

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

Two new methods GET_PACKSPEC and GET_BATCH_STATUS has been created as part

31 | P a g e
of this ADO bug.

GET_PACKSPEC: This method has one input Structure of type


ZGSTR_PACKSPEC_INPUT to import Packaging Material number and ID. It has 2 export
parameter which export a table with Packaging Material details and a return table of type
BAPIRETTAB.

 This method was called from Function module ZGFM_RF_REC1_SCANHU_PAI to


get the pack spec details.
 First this method will read the GUID of Packspec found using the function Module
/SCWM/API_PACKSPEC_GETLIST.
 After that it will find all the pack spec details using the FM
/SCWM/API_PACKSPEC_READ.
 The above FM will return a result lt_object of deep structure of type
/SCWM/TT_PS_OBJECT.
 Using the internal table lt_object the export parameter ET_PACKSPEC_DETAILS
has been generated.
 If any of the above FM is returned any exception, then that exception is handled,
and it has been captured into the et_return parameter.

GET_BATCH_STATUS This method has 2 input Parameter Material and batch. It has 2
export parameter which export batch status and a return table of type BAPIRETTAB.


This method was called from Function module ZGFM_RF_REC1_SCANHU_PAI to
get the batch Status.
ENTERPRISE FIRST: Global Template
 Get SLED date (VFDAT), Batch in Restricted-Use Stock (ZUSTD), FVDT3 and
FVDT4 from MCH1 table based on Material and batch.
 If system date is Less than or equal to FVDT4 then batch status is STS.
 If system date is Less than or equal to FVDT3 and greater than FVDT4 then batch
status is STT.
 If system date is greater than FVDT3 and system date is Less than or equal SLED,
then batch status is Yellow Code.
 If system date is greater than or equal to SLED, then batch status is Expired.
 If Batch in Restricted-Use Stock (ZUSTD) is blank, then batch status is Un-
restricted.

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

Below methods has been created as part of this ADO bug.

SET_HU_DATA This method has one import parameter IS_MFG_RCV_HU of type


/SCWM/S_RF_MFG_RCV_HU. This method will add the records to a static internal table
T_RCV_HU_DATA. It is called from the function Module
ZGFM_RF_MRHU_MRHUIT_FCODE when a new HU is created from the Smart LPN.

GET_HU_DATA This method has one export parameter ET_MFG_RCV_HU This method will
return the records which was stored into a static internal table T_RCV_HU_DATA. It is called
from the function Module ZGFM_RF_MRHU_MRHUIT_FCODE when a new HU is created
from the Smart LPN.

32 | P a g e
***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

5. Enhancement Techniques

5.1 Custom Transaction

Custom Logical Transaction: ZRECVH

5.2 Screen Details


Screen Number: 9000

Screen Layout:
ENTERPRISE FIRST: Global Template

33 | P a g e
Screen Field Mapping:

Processing Functionality:

Standard RF framework code will be called.

ENTERPRISE FIRST: Global Template

Screen Number: 9001

Screen Layout:

34 | P a g e
ENTERPRISE FIRST: Global Template

Screen Field Mapping:

Processing Functionality:

35 | P a g e
Standard RF framework code will be called.

ENTERPRISE FIRST: Global Template

Screen Number: 9002

Screen Layout:

36 | P a g e
Screen Field Mapping:

ENTERPRISE FIRST: Global Template

Processing Functionality:

Standard RF framework code will be called.

37 | P a g e
Screen Number: 9003

Screen Layout:

ENTERPRISE FIRST: Global Template

Screen Field Mapping:

38 | P a g e
Processing
E N T E R P RFunctionality:
ISE FIRST: Global Template

Standard RF framework code will be called.

***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777


Screen Number: 9003

Screen Layout:

39 | P a g e
ENTERPRISE FIRST: Global Template

Screen Field Mapping:

40 | P a g e
Processing Functionality:

Standard RF framework code will be called.


ENTERPRISE FIRST: Global Template

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

As part of ADO BUG 958652 Screen 9000, 9001 and 9002 are deleted and its corresponding PAI and
PBO function Module and its corresponding SPRO configuration also deleted. Now there is only one
Screen 9001 which will take Smart LPN number as input.

41 | P a g e
Screen Layout

ENTERPRISE FIRST: Global Template

Screen Field Mapping:

42 | P a g e
Processing Functionality:

Standard RF framework code will be called.

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

Screen Flow Diagram

Please check the flow diagram

ENTERPRISE FIRST: Global Template

5. Custom Tables/Structure in SAP

43 | P a g e
ENTERPRISE FIRST: Global Template

44 | P a g e
6. SAP Development Objects
SAP Development Objects
ZGEF_MTD_WM
Development Class
Message Class ZGMC_MTD_EWM1
Package ZGEF_MTD_WM
Transport Request Number HEDK900500(W) , HEDK900503(C)

Object type Object Name


ENTERPRISE FIRST: Global Template
Function Group ZGFG_RF_REHU_MAN_ORD
Program Name LZGFG_RF_REHU_MAN_ORDTOP
LZGFG_RF_REHU_MAN_ORDF01
Table Type ZGTTY_RECVHU_REFDOC
Structure ZGSTR_PACKSPEC_INPUT
ZGSTR_RECVHU_REFDOC
ZGSTR_RECVHU_SELECT
ZGSTR_RECVHU_SELECTED_PAR
Class ZGCL_GET_HU_FRM_LPN

***Begin of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

SAP Development Objects


ZGEF_MTD_WM
Development Class
Message Class ZGMC_MTD_EWM1
Package ZGEF_MTD_WM
Transport Request Number HEDK900351( TASK HEDK900769), HEDK900500(W)

Object type Object Name


Class ZGCL_WM_UPDATE_HUIDENT,
ZGCL_WM_HUHDR
Enhancement Implementation ZGEI_UPDATE_HUIDENT.
Table Content ZGGLTDEV_CONS
ZGCL_WM_UPDATE_HUIDENT IDENT_TYPE 0001
I EQ L
E001713:GD_P_DEV_GLB_MTD-
WM__R_E001713_8000006244: FSD_MTD_WM_E00171

45 | P a g e
***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777

SAP Development Objects


ZGEF_MTD_WM
Development Class
Message Class ZGMC_MTD_EWM1
Package ZGEF_MTD_WM
Transport Request Number HEDK900500(W)

Object type Object Name


Single Message ZGMC_MTD_EWM1028
ZGMC_MTD_EWM1029
ZGMC_MTD_EWM1041
ZGMC_MTD_EWM1042
ZGMC_MTD_EWM1044
ZGMC_MTD_EWM1046
ZGMC_MTD_EWM1049
ZGMC_MTD_EWM1052
ZGMC_MTD_EWM1053
ZGMC_MTD_EWM1056
SPA/GPA Parameters ZMTD_RECVH_HU1
ZMTD_RECVH_HU2

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777


ENTERPRISE FIRST: Global Template

Note: This development is dependent on the following Development


1) E001368 that means Transport HEDK900010.
2) E001330 that means Transport HEDK900008.
3) E001716 that means Transport HEDK900347.
***Begin of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

4) E001777 that means Transport HEDK900351.

***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

7. Additional Information and attachments

NA

6.

8.1 Reconciliation Reporting

NA

46 | P a g e
8.2 Attachments

***Begin of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

Constant table Screen shots.

ENTERPRISE FIRST: Global Template

***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

Below attachment is the work document of Flow Diagram.

Flow Diagram
3rd.docx

***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

47 | P a g e
ENTERPRISE FIRST: Global Template

8. Unit Test Plan


Normal Functionality - test cases that ensure the workflow functions as it should. (e.g. updates fields correctly, processes all records)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
1 When user Know Run T. Code /scwm/rfui Work Center ‘PRD1’ HU should create and As expected, Anjan Pal Pass
the Manufacturing Go to path 03 Inbound Manufacturing order GR must do. (09294777) /
order number. Process>> 04 Receiving 2002221 24-FEB-2021
of HUs >> 06 Rec.HU by LPN
Manufact. >>07 Rec. HU ‘1123MG0216110022014208
by Smart LPN 0123’ TUT1.docx

2 When user does Run T. Code /scwm/rfui Work Center ‘PRD1’ HU should create and As expected, Anjan Pal Pass
not Know the Go to path 03 Inbound Manufacturing order GR must do. (09294777) /
Manufacturing Process>> 04 Receiving 1011881 24-FEB-2021
order number. of HUs >> 06 Rec.HU by LPN
Manufact. >>07 Rec. HU ‘1123MG0216110008014208
by Smart LPN 0123’ TUT2.docx

3 When there are Run T. Code /scwm/rfui Work Center ‘PRD1’ HU should create and As expected, Anjan Pal Pass
multiple Pack Go to path 03 Inbound Manufacturing order GR must do. (09294777) /
spec records exits Process>> 04 Receiving 1011881 24-FEB-2021
and then user of HUs >> 06 Rec.HU by LPN
must select any Manufact. >>07 Rec. HU ‘1123MG1602110018014208
record in screen. by Smart LPN 0123’ Tut3.docx

48 | P a g e
<Object ID> Technical Specification

Error Handling - functionality in case of errors (e.g. Customer not found, Record already exists)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
When Scan Run T. Code /scwm/rfui Work Center ‘PRD1’ Raise error message As expected, Anjan Pal Pass
Material does Go to path 03 Inbound Manufacturing order and (09294777) /
not match with Process>> 04 Receiving of 2002467 HU should not create. 24-FEB-2021
material from HUs >> 06 Rec.HU by LPN
Manufacturing Manufact. >>07 Rec. HU by ‘1123MG16021100
order Smart LPN 180142080123’ Tut4.docx

2 When there are Run T. Code /scwm/rfui Work Center ‘PRD1’ Raise error message As expected, Anjan Pal Pass.
no records in Go to 03 Inbound Process>> Manufacturing order and (09294777) /
Pack spec. 04 Receiving of HUs >> 06 2002467 HU should not create. 24-FEB-2021
Rec.HU by Manufact. >>07 LPN
Tut5.docx
Rec. HU by Smart LPN ‘1123MG02161100
220101138123’

***Begin of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

Normal Functionality - test cases that ensure the workflow functions as it should. (e.g. updates fields correctly, processes all records)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
1 Update the Smart Run T. Code /scwm/rfui Work Center ‘PRD1’ HU should create and As expected, Anjan Pal Pass
LPN value to HU. Go to path 03 Inbound Manufacturing order Smart LPN should be (09294777) /
Process>> 04 Receiving 2002221 updated. 24-FEB-2021
of HUs >> 06 Rec.HU by LPN
TUT6.docx
Manufact. >>07 Rec. HU ‘1123MG0216110022014208
by Smart LPN 0123’

***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.

49 | P a g e
<Object ID> Technical Specification

***Begin of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

Normal Functionality - test cases that ensure the workflow functions as it should. (e.g. updates fields correctly, processes all records)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
1 When Smart LPN Run T. Code /scwm/rfui LPN HU should create and As expected, Anjan Pal Pass
Quantity is same Go to path 03 Inbound ‘1123LA0212110005014208 GR must do. (09294777) /
as Pack spec Process>> 04 Receiving 0025’ 25-MAR-2021
Quantity. of HUs >> 06 Rec.HU by
Manufact. >>07 Rec. HU
by Smart LPN TUT1 new
screen.docx

2 When Smart LPN Run T. Code /scwm/rfui LPN HU should create and As expected, Anjan Pal Pass
Quantity is not Go to path 03 Inbound ‘1123LA032611000301 GR must do. (09294777) /
same as Pack Process>> 04 Receiving 24-MAR-2021
spec Quantity. of HUs >> 06 Rec.HU by 42080123’
Manufact. >>07 Rec. HU
by Smart LPN
TUT2 new
screen.docx

Error Handling - functionality in case of errors (e.g. Customer not found, Record already exists)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
When Wrong Run T. Code /scwm/rfui LPN Raise error message As expected, Anjan Pal Pass
Smart LPN is Go to path 03 Inbound ‘1123MG16021100 and (09294777) /
used. Process>> 04 Receiving of 180142080123’ HU should not create. 25-MAR-2021
HUs >> 06 Rec.HU by
Manufact. >>07 Rec. HU by
Smart LPN
TUT2 new screen
Error.docx

50 | P a g e
<Object ID> Technical Specification

***End of Changes for ADO BUG 958652 on 22/03/2021 by 09294777.

***Begin of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

Normal Functionality - test cases that ensure the workflow functions as it should. (e.g. updates fields correctly, processes all records)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
1 When Smart LPN Run T. Code /scwm/rfui LPN HU should create and As expected, Anjan Pal Pass
Quantity is not Go to path 03 Inbound ‘1243LA0527160062010113 GR must do. (09294777) /
same as Pack Process>> 04 Receiving 8150’ 12-APR-2021
spec Quantity. of HUs >> 06 Rec.HU by
Manufact. >>07 Rec. HU
by Smart LPN TUT for ADO 3.docx

Error Handling - functionality in case of errors (e.g. Customer not found, Record already exists)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
When Existing Run T. Code /scwm/rfui LPN Raise error message As expected, Anjan Pal Pass
Smart LPN is Go to path 03 Inbound ‘1243LA052716006 and (09294777) /
used. Process>> 04 Receiving of 10101138150’ HU should not create. 12-APR-2021
HUs >> 06 Rec.HU by
Manufact. >>07 Rec. HU by
Smart LPN TUT1 Duplicate
Error.docx

***End of Changes for ADO bug 1010440 on 12/04/2021 by 09294777.

51 | P a g e
<Object ID> Technical Specification

***Begin of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

Normal Functionality - test cases that ensure the workflow functions as it should. (e.g. updates fields correctly, processes all records)

Test Step Step Description Test Data Expected Result Actual Result Executed Remarks
Condition By/Date
1 When Resource is Run T. Code /scwm/rfui LPN HU should create and Custom As expected, Anjan Pal Pass
Single Capacity. Go to path 02 ‘1272LA10291100150 Put-Away Screen must come for (09294777) /
Receiving>> 02 101138150’ Put-away 11-OCT-2021
Production Receiving.

Putaway from
Production receiving_Single capacity.docx
2 When Resource is Run T. Code /scwm/rfui LPN HU should create and then As expected, Anjan Pal Pass
Double Capacity. Go to path 02 ‘1272LA10291100130 Logic should call the first Screen (09294777) /
Receiving>> 02 101138150’ to enter the next Smart LPN and 11-OCT-2021
Production Receiving. then Custom Put-Away Screen
And must come for Put-away with 2
HU numbers.
‘1272LA10291100140 Putaway from
101138150’ Production receiving_Double capacity_Confirm individual.docx

***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.

52 | P a g e

You might also like