Post on 18-Oct-2020
GuiXT Solution WM-0017
Page 1 of 25
So A
Solution # WM-0017 Version # 1.0.0.2Functional Area WAREHOUSE
MANAGEMENTUI Platform MS
Transactions ZRMCBL,ZRMCT,ZRMCMShort Description BOH INVENTORYDate Created 03/09/2010 Created by Synactive, Inc
GuiXT Solution WM-0017
Page 2 of 25
TABLE OF CONTENTS
GuiXT Development Business Rules..................................................................... 3General Script Naming Convention ....................................................................... 5
GuiXT Scripts ....................................................................................................................... 5Input Scripts .......................................................................................................................... 5
General Variable Naming Convention................................................................... 6GuiXT Development Scripts Listing ..................................................................... 7
GuiXT Scripts ....................................................................................................................... 7SAPLSMTR_NAVIGATION.E0100.TXT...............................................................................................7SAPLSMTR_NAVIGATION.E0101.TXT...............................................................................................7MENUS000.E0040.TXT...........................................................................................................................7SAPLZMSG.E0120.TXT..........................................................................................................................7SAPMZCBL.E0100.TXT..........................................................................................................................7SAPMZCTF.E0100.TXT ..........................................................................................................................7SAPMZBMR.E0100.TXT.........................................................................................................................7
Input Scripts .......................................................................................................................... 7Z_FLAG.TXT ...........................................................................................................................................7CURSOR.TXT ..........................................................................................................................................7BACK.TXT ...............................................................................................................................................8RETURN.TXT ..........................................................................................................................................8ZRMCBL_FINDCHRG.TXT ...................................................................................................................8ZRMCBL_MOVEEMPTY.TXT...............................................................................................................8ZRMCBL_MOVEMPMSG.TXT..............................................................................................................8ZRMCT_FINDCHRG.TXT ......................................................................................................................8ZRMCT_ISSUEDETAILS.TXT...............................................................................................................8ZRMCT_ISSDETMSG_SMAT.TXT .......................................................................................................9ZRMCT_ISSDETMSG.TXT ....................................................................................................................9ZRMBMR_GETTICKETDATA.TXT......................................................................................................9ZRMBMR_UPDTICKETDATA.TXT .....................................................................................................9ZRMBMR_CLEAR.TXT..........................................................................................................................9
Scripts Process Flow ............................................................................................ 10GuiXT Modified Screen: BOH Inventory Launch Pad ...................................................... 10
SAPLSMTR_NAVIGATION.E0100.TXT, SAPLSMTR_NAVIGATION.E0101.TXT,......................10MENUS000.E0040.TXT.........................................................................................................................10
Input Scripts ........................................................................................................................ 11Z_FLAG.TXT .........................................................................................................................................11
GuiXT Modified Screen: Charge Bin Load/Move ............................................................. 12SAPMZCBL.E0100.TXT........................................................................................................................12
Input Scripts ........................................................................................................................ 13ZRMCBL_FINDCHRG.TXT .................................................................................................................13ZRMCBL_MOVEEMPTY.TXT.............................................................................................................14CURSOR.TXT ........................................................................................................................................14
GuiXT Solution WM-0017
Page 3 of 25
BACK.TXT .............................................................................................................................................15ZRMCBL_MOVEMPMSG.TXT............................................................................................................15
GuiXT Modified Screen: Casting Transfer/Issue ............................................................... 16SAPMZCTF.E0100.TXT ........................................................................................................................16
Input Scripts ........................................................................................................................ 18ZRMCT_FINDCHRG.TXT ....................................................................................................................18ZRMCT_ISSUEDETAILS.TXT.............................................................................................................19CURSOR.TXT ........................................................................................................................................20BACK.TXT .............................................................................................................................................20ZRMCT_ISSDETMSG_SMAT.TXT .....................................................................................................21ZRMCT_ISSDETMSG.TXT ..................................................................................................................21RETURN.TXT ........................................................................................................................................21
GuiXT Modified Screen: Brass Mill Receipts.................................................................... 22SAPMZCTF.E0100.TXT ........................................................................................................................22ZRMBMR_GETTICKETDATA.TXT....................................................................................................23ZRMBMR_UPDTICKETDATA.TXT ...................................................................................................24ZRMBMR_CLEAR.TXT........................................................................................................................24
GuiXT Development Business Rules
GuiXT Solution WM-0017
Page 4 of 25
N/A
GuiXT Solution WM-0017
Page 5 of 25
General Script Naming Convention
GuiXT ScriptsPurpose: For Screen Interface. Dictates how the screen appears to the user
GuiXT Script Names cannot be altered. It is a must to keep the same name as the systemsuggested. This is how GuiXT scripts are linked to SAP Screen.
Typical GuiXT Script Name: SAPMZCBL.E0100.TXTSAPLMZCBL ABAP Program NameE 1 Character Language Key0100 Screen Number.TXT File Extension (Text Files)
Input ScriptsPurpose: Facilitates synchronization of data with SAP Screens. Facilitates multiple screennavigation and screen level data validation
Input scripts can be assigned any name.
Following naming convention is followed for Input Scripts
TCODE_PURPOSE.TXT(Example: ZRMCBL_FINDCHRG.TXT)
TCODE Transaction Code for which the script refers to(Example: ZRMCBL for charge bin load/move)
PURPOSE Action that is performed by the input script(Example: FINDCHRG for finding the charge bin)
GuiXT Solution WM-0017
Page 6 of 25
General Variable Naming Convention
For all variables following naming convention is usedNote: Variable Names are CASE SENSITIVE
z_tcode_field
z Used as variable prefixtcode Lower Case Transaction Code for which the variable refers to
(Example: mm01 for create material)field Lower Case field name referring to SAP field
(Example: bum for Base Unit of Measure)
z_flag Variable is used to show different GuiXT screens based on thebutton selected by the user.
GuiXT Solution WM-0017
Page 7 of 25
GuiXT Development Scripts Listing
GuiXT Scripts
SAPLSMTR_NAVIGATION.E0100.TXTPurpose: Contains the Launch Pad design.
SAPLSMTR_NAVIGATION.E0101.TXTPurpose: Contains the Launch Pad design.
MENUS000.E0040.TXTPurpose: Contains the Launch Pad design.
SAPLZMSG.E0120.TXTPurpose: Contains Enter Command to bypass the FYI screen.
SAPMZCBL.E0100.TXTPurpose: Contains the design for the modified ZRMCBL transaction first screen to find the charge bin andclear the data and to move or empty the charge bin.
SAPMZCTF.E0100.TXTPurpose: Contains the design for the modified ZRMCT transaction first screen to find the charge bin andclear the data and to issue the charge bin.
SAPMZBMR.E0100.TXTPurpose: Contains the design for the modified ZRMBMR transaction to get the ticket information andprocess the ticket.
Input Scripts
Z_FLAG.TXTPurpose: To go to appropriate transactions based on clicking the buttons in launch pad.
Invoked From: SAPLSMTR_NAVIGATION.E0100.TXT, SAPLSMTR_NAVIGATION.E0101.TXT,MENUS000.E0040.TXT
CURSOR.TXTPurpose: To place the cursor in Charge Id field.
Invoked From: SAPMZCBL.E0100.TXT, SAPMZCTF.E0100.TXT
GuiXT Solution WM-0017
Page 8 of 25
BACK.TXTPurpose: To return to the zrmcbl transaction.
Invoked From: SAPMZCBL.E0100.TXT, SAPMZCTF.E0100.TXT
RETURN.TXTPurpose: To return back to the same screen in zrmct transaction.
Invoked From: SAPMZCTF.E0100.TXT
ZRMCBL_FINDCHRG.TXTPurpose: Executed by clicking “Find Charge Bin” button to handle the messages along with the placementof cursors in appropriate fields.
Invoked From: SAPMZCBL.E0100.TXT
ZRMCBL_MOVEEMPTY.TXTPurpose: Executed by clicking “Move/Empty” button to check the required fields, display the details and tomove or empty the charge bin.
Invoked From: SAPMZCBL.E0100.TXT
ZRMCBL_MOVEMPMSG.TXTPurpose: Executed by clicking “Move Charge Bin” button or “Empty Charge Bin” to empty or move thecharge bin and bring the messages back to the first screen.
Invoked From: SAPMZCBL.E0100.TXT
ZRMCT_FINDCHRG.TXTPurpose: Executed by clicking “Find Charge Bin” button to handle the messages along with the placementof cursors in appropriate fields
Invoked From: SAPMZCTF.E0100.TXT
ZRMCT_ISSUEDETAILS.TXTPurpose: Executed by Clicking “Issue/Details” button to check the required fields, to display the details andto Issue the charge bin
Invoked From: SAPMZCTF.E0100.TXT
GuiXT Solution WM-0017
Page 9 of 25
ZRMCT_ISSDETMSG_SMAT.TXTPurpose: Executed by Clicking “Issue Charge bin” button when there is no weight in the charge bin and tocheck the amount of weight
Invoked From: SAPMZCTF.E0100.TXT
ZRMCT_ISSDETMSG.TXTPurpose: Executed by Clicking “Issue Charge bin” button when there is weight in the charge bin and todisplay the message
Invoked From: SAPMZCTF.E0100.TXT
ZRMBMR_GETTICKETDATA.TXTPurpose: Executed automatically by scanning a ticket, brings the data of the ticket from a function module.If the ticket is invalid user gets notified to scan a valid ticket
Invoked From: SAPMZBMR.E0100.TXT
ZRMBMR_UPDTICKETDATA.TXTPurpose: Executed by clicking on “Receive” button to update the received material and received quantitythrough function module and post the ticket.
Invoked From: SAPMZBMR.E0100.TXT
ZRMBMR_CLEAR.TXTPurpose: Executed by clicking “Clear/ Cancel” button to clear the values and set the cursor on the TicketNumber field.
Invoked From: SAPMZBMR.E0100.TXT
GuiXT Solution WM-0017
Page 10 of 25
Scripts Process FlowGuiXT Modified Screen: BOH Inventory Launch PadSAPLSMTR_NAVIGATION.E0100.TXT, SAPLSMTR_NAVIGATION.E0101.TXT,MENUS000.E0040.TXT
Interface is displayed when user logs in to the mobile device.
GuiXT Solution WM-0017
Page 11 of 25
Input ScriptsZ_FLAG.TXT
Invoked From:SAPLSMTR_NAVIGATION.E0100.TXT, SAPLSMTR_NAVIGATION.E0101.TXT,MENUS000.E0040.TXT
Transaction Code:SAP Easy Access Screen
When Executed:Script gets executed when user hits “CHARGE BIN LOAD/MOVE” button or “CASTINGTRANSFER/ISSUE” button.
Script Logic:Script enables user to go to appropriate screen in each transaction.
Step 1It defines a parameter called z_flag..Step 2It sets the value of this parameter to a global variable which controls the display for zrmcbl and zrmcttransactions and sets the cursor in the first field of the screen.
set V[flag] "&U[z_flag]"
GuiXT Solution WM-0017
Page 12 of 25
GuiXT Modified Screen: Charge Bin Load/Move
SAPMZCBL.E0100.TXTInterface is displayed when user clicks on Charge Bin Load/Move Button from the Launch Pad screen.
GuiXT Solution WM-0017
Page 13 of 25
Input ScriptsZRMCBL_FINDCHRG.TXT
Invoked From:SAPMZCBL.E0100.TXT
Transaction Code:ZRMCBL – Charge Bin Load/Move
When Executed:Script gets executed when the user clicks on Find Charge Bin button
GuiXT Solution WM-0017
Page 14 of 25
Script Logic:To find the validation of the data entered to find the charge bin .
Step 1Based up on the data entry the global variables V[z_zrmcbl_info] and V[z_zrmcbl_err] are used to displaythe appropriate messages
Step 2Based on the messages global variable V[z_zrmcbl_cursor] is used to set the cursor in appropriate fields
ZRMCBL_MOVEEMPTY.TXT
Invoked From:SAPMZCBL.E0100.TXT
Transaction Code:ZRMCBL – Charge Bin Load/Move
When Executed:Script gets executed when the user hits Move/Empty button.
Script Logic:To check the required fields, display the details and to go to next screen where user can move or empty the chargebin.
Step 1Checks if all the required fields (Operator, To Loc and DC Unit) are entered. If not, the user gets notified tofill in the required fields.
set V[z_zrmcbl_op] "&F[Operator]"if not V[z_zrmcbl_op]
Set V[z_zrmcbl_cursor] "4,11"Return "E:Operator number is required" "-statusline"
endif
Step 2Checks and displays the messages along with the cursor positions based on the data entry. If the table has amaterial in the first column user will be navigated to the second screen using the variable V[z_tableflg]
CURSOR.TXTInvoked From:SAPMZCBL.E0100.TXT, SAPMZCTF.E0100.TXT
GuiXT Solution WM-0017
Page 15 of 25
Transaction Code:ZRMCBL – Charge Bin Load/Move
When Executed:Script gets executed when the user hits Clear/Cancel button.
Script Logic:To Place the cursor in an appropriate field.
Step 1Performs the sap function to clear the values of the fieldsEnter "=CLR".
Step 2Using the variable V[z_zrmcbl_cursor] cursor is placed on Charge Id field
BACK.TXTInvoked From:SAPMZCBL.E0100.TXT, SAPMZCTF.E0100.TXT
Transaction Code:ZRMCBL – Charge Bin Load/Move
When Executed:Script gets executed when the user clicks on back button button.
Script Logic:To go back to the first screen of Zrmcbl transaction.
Step 1It defines a parameter z_flag
Step 2It sets the value of this parameter to a global variable V[flag]. The Variable V[flag] is set to zrmcbl to comeback to the first screen
ZRMCBL_MOVEMPMSG.TXT
Invoked From: SAPMZCBL.E0100.TXT
Transaction Code:
GuiXT Solution WM-0017
Page 16 of 25
ZRMCBL – Charge Bin Load/Move
When Executed:Script gets executed when the user clicks on “Move Charge Bin” button or “Empty Charge Bin” button.
Script Logic:To empty or move the charge bin and bring the messages back to the first screen.
Step 1It defines a parameter called z_me.
Step 2It sets the value of this parameter to a global variable which controls the actions performed based on “MoveCharge Bin” button or “Empty Charge Bin” buttonset V[z_zrmcbl_me] "&U[z_me]"
Enter "=&V [z_zrmcbl_me]"
Step 3The Variable V[flag] is set to zrmcbl to come back to the first screen with the appropriate message andcursor in the appropriate fields.
GuiXT Modified Screen: Casting Transfer/IssueSAPMZCTF.E0100.TXTInterface is displayed when user clicks on Casting Transfer/Issue Button
GuiXT Solution WM-0017
Page 17 of 25
GuiXT Solution WM-0017
Page 18 of 25
Input Scripts
ZRMCT_FINDCHRG.TXT
Invoked From: SAPMZCTF.E0100.TXT
Transaction Code:ZRMCT – Casting Transfer/Issue
When Executed:Script gets executed when the user clicks on “Find Charge Bin” button
Script Logic:To find the validation of the data entered to find the charge bin.
GuiXT Solution WM-0017
Page 19 of 25
Step 1Based up on the data entry the global variables V[z_zrmct_err], V[z_zrmct_meltmsg] andV[z_zrmct_info]are used to display the appropriate messages
Step 2Based on the messages global variable V[z_zrmct_cursor] is used to set the cursor in appropriate fields
ZRMCT_ISSUEDETAILS.TXT
Invoked From: SAPMZCTF.E0100.TXT
Transaction Code:ZRMCT – Casting Transfer/Issue
When Executed:Script gets executed when the user clicks on “Issue/Details” button
Script Logic:To check the required fields, display the details and to go to next screen where user can Issue the charge bin.
Step 1Checks if all the required fields (Operator, Melt and Cast Alloy) are entered. If not, the user gets notified tofill in the required fields.
set V[z_zrmct_op] "&F[Operator]"if not V[z_zrmct_op]
Set V[z_zrmct_cursor] "4,11"Return "E: Operator number is required" "-statusline"
Endif
Step 2Captures the value of the Material, Actual weight, and location from the SAP table and displays in theGuiXT table on the second screen.
Step 3Checks and displays the messages along with the cursor positions based on the data entry. If the table has amaterial in the first column user will be navigated to the second screen using the variable V[zrmct_tableflg]
GuiXT Solution WM-0017
Page 20 of 25
CURSOR.TXTInvoked From:SAPMZCBL.E0100.TXT, SAPMZCTF.E0100.TXT
Transaction Code:ZRMCT – Charge Bin Load/Move
When Executed:Script gets executed when the user hits Clear/Cancel button.
Script Logic:To Place the cursor in an appropriate field.
Step 1Performs the sap function to clear the values of the fieldsEnter "=CLR".
Step 2Using the variable V[z_zrmct_cursor] cursor is placed on Charge Id field
BACK.TXT
Invoked From:SAPMZCBL.E0100.TXT, SAPMZCTF.E0100.TXT
Transaction Code:ZRMCT – Charge Bin Load/Move
When Executed:Script gets executed when the user clicks on back button.
Script Logic:To go back to the first screen of Zrmct transaction.
Step 1It defines a parameter z_flag
Step 2It sets the value of this parameter to a global variable V[flag]. The Variable V[flag] is set to zrmct to comeback to the first screen
GuiXT Solution WM-0017
Page 21 of 25
ZRMCT_ISSDETMSG_SMAT.TXT
Invoked From: SAPMZCTF.E0100.TXT
Transaction Code:ZRMCT – Charge Bin Load/Move
When Executed:Script gets executed when the user clicks on “Issue Charge bin” button.
Script Logic:To check the amount of weight existing for the material
Step 1Checks if there is actual weight for the material. If not user gets notified to enter actual weight
Step 2It defines a parameter l_action
Step 3Parameter l_action will determine the action to be performed based on the existence of the material in thetable and displays the message on the first screen if there are any errors in the actual weight
ZRMCT_ISSDETMSG.TXT
Invoked From: SAPMZCTF.E0100.TXT
Transaction Code:ZRMCT – Charge Bin Load/Move
When Executed:Script gets executed when the user clicks on “Issue Charge bin” button.
Script Logic:To display the message on the first screen once the charge bin has been issues successfully
Step 1Variables V[z_zrmct_bin] and V[z_zrmct_doc] contains the bin number and the document number to bedisplayed with the message.
Step 2Variable V[flag] is set to zrmct to display the message on the first secreen
RETURN.TXTPurpose: To return back to the same screen in zrmct transaction.
GuiXT Solution WM-0017
Page 22 of 25
Invoked From: SAPMZCTF.E0100.TXT
Transaction Code:ZRMCT – Charge Bin Load/Move
When Executed:Script gets executed when the user clicks on Material or Actual wt or location buttons in the guixt tablewhich has been displayed as the columns.
Script Logic:To stay on the same screen
Step 1Return command will return back to the same screen.
GuiXT Modified Screen: Brass Mill ReceiptsSAPMZCTF.E0100.TXTInterface is displayed when user clicks on Brass Mill Receipts Button
GuiXT Solution WM-0017
Page 23 of 25
ZRMBMR_GETTICKETDATA.TXT
Invoked From: SAPMZBMR.E0100.TXT
Transaction Code:ZRMBMR – Brass Mill Receipts
When Executed:Script gets executed automatically when the user scans a ticket.
Script Logic:To get the details of the ticket
Step 1Call command is used to call a function module to retrieve data from the SAP
GuiXT Solution WM-0017
Page 24 of 25
Call "Z_BRM_GET_MILL_RCPTS" In.TICKETNUMBER="&V[z_zrmbmr_ticknum]"Out.SHIP_DATE="shipdate" Out.SHIP_MATERIAL="z_zrmbmr_shipmat" Out.SHIP_QTY="shipqty"Out.RCV_MATERIAL="z_zrmbmr_recmat" Out.RCV_QTY="recqty"Out.REVERSAL="z_zrmbmr_reversal" Out.EMESSAGE="getmessage"
Step 2If the ticket is not valid user gets notified to scan a valid ticket
ZRMBMR_UPDTICKETDATA.TXT
Invoked From: SAPMZBMR.E0100.TXT
Transaction Code:ZRMBMR – Brass Mill Receipts
When Executed:Script gets executed when the user clicks on “Receive” button.
Script Logic:To update the details and to post the ticket
Step 1Call command is used to call a function module to send the data to the SAP and post the ticket
Step 2Variable V[z_zrmbmr_cursor] is used to place the cursor in appropriate fields based on the messages
ZRMBMR_CLEAR.TXT
Invoked From: SAPMZBMR.E0100.TXT
Transaction Code:ZRMBMR – Brass Mill Receipts
When Executed:Script gets executed when the user clicks on “Clear/ Cancel” button.
Script Logic:To clear the values on the fields and to set the cursor on the Ticket Number field.
GuiXT Solution WM-0017
Page 25 of 25
Step 1Variable with the same prefix V[z_zrmbmr] is used to clear out the data in the fields
V[z_zrmbmr*] ""
Step 2Variable V[z_zrmbmr_cursor] is used to se the cursor on ticket number field.