TSD MTD WM MTD Production RF Receiving Abap
TSD MTD WM MTD Production RF Receiving Abap
1|Page
1. Document Information
Document Location
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
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
3|Page
2. General Information
Document Information
Development E001713
ID:
FD Link FSD_LINK
Version 1.0
3.E NHigh
TERPRISE FIRST: Global Template
Level Technical Design
4|Page
Input Screen has been changed. Instead of Manufacturing order Smart LPN number is
the input field of First screen.
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.
Back-f7, clear-f6, <ENTER>.and full message-f9 will use standard RF framework functionality.
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.
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.
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)
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>.
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’.
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.
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.
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 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.
Needs to create one new Screen 9001 which will take Smart LPN number as input and
its corresponding SPRO configuration needs to be changed.
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.
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.
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)
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.
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.
10 | P a g e
***Begin 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.
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
12 | P a g e
Define Presentation texts
13 | P a g e
***Begin of Changes for ADO BUG 958652 on 22/03/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.
17 | P a g e
***End of Changes for ADO bug 1486262 on 13/09/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.
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
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.
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.
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.
ZGFM_RF_REC1_SCANHU_PBO.
Get all the screen Attribute value using Method GET_RECVHU_INPUT class
ZGCL_GET_HU_FRM_LPN.
ZGFM_RF_REC1_SCANHU_PAI.
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.
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.
23 | P a g e
ENTERPRISE FIRST: Global Template
24 | P a g e
***End of Changes for ADO bug 1486262 on 13/09/2021 by 09294777.
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.
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.
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.
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>.
Made LPN number as Input disabled and make Quantity and unit of Measure field
as Input
Enabled when user clicks on <F3 ChQty> button.
This logic has been commented out since this button is no more there in RF screen.
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.
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.
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.
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: -
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.
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.
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_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.
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.
Two new methods GET_PACKSPEC and GET_BATCH_STATUS has been created as part
31 | P a g e
of this ADO bug.
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.
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
Screen Layout:
ENTERPRISE FIRST: Global Template
33 | P a g e
Screen Field Mapping:
Processing Functionality:
Screen Layout:
34 | P a g e
ENTERPRISE FIRST: Global Template
Processing Functionality:
35 | P a g e
Standard RF framework code will be called.
Screen Layout:
36 | P a g e
Screen Field Mapping:
Processing Functionality:
37 | P a g e
Screen Number: 9003
Screen Layout:
38 | P a g e
Processing
E N T E R P RFunctionality:
ISE FIRST: Global Template
Screen Layout:
39 | P a g e
ENTERPRISE FIRST: Global Template
40 | P a g e
Processing Functionality:
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
42 | P a g e
Processing Functionality:
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)
45 | P a g e
***End of Changes for ADO bug 749968 on 20/02/2021 by 09294777.
NA
6.
NA
46 | P a g e
8.2 Attachments
Flow Diagram
3rd.docx
47 | P a g e
ENTERPRISE FIRST: Global Template
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’
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’
49 | P a g e
<Object ID> Technical Specification
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
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
51 | P a g e
<Object ID> Technical Specification
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
52 | P a g e