I am going to show how you can automatically fill the input fields, and press the next button.
In this example I am going to select the item from the picklist and the application will do the picking steps automatically.
You can find more information about the technology on the url below:
Customize Flows on Mobile Client
1. Start the Mobile Client in customization mode and walk through the steps of the picking
2. In case you have the Identify Movable Location screen, then enable the customization mode by press the gear icon, and press the No Movable Location button. Check the Default Button setting and set the timeout to 0:
Disable the customization mode and manually press the No Movable Location button.
3. The next screen is the identify Pick location.
Enable the customization mode by clicking on the gear icon and click on the screen. Set a load event for the screen on the Event tab. I set name: AHPickingAutoFillSourceLocation
The available parameters will appear in the SAP query as well. In my example I will load the location from the Produmex WMS table, where the is the same that we have in the lblLocation parameter. With this logic the customization will work only when the location data on the screen contains only one location code. The result column must be named to txtLocationCode (you can see it in the parameter list)
The query will appear in group PMX_CLIENT_CUSTOMIZATION_USER_QUERIES
Open the query in SAP and define the following query. In the customization we pressed the next button by default (btnForward) with 0 timeout.
select
"Code" as "txtLocationCode",
'btnForward' as "DefaultButton",
0 as "DefaultButtonClickTimeout"
from "PMX_OSSL" where "Code" = '$[lblLocation]'
Disable the customization mode and manually set the location and press the next button.
4. The next screen is the scan a product screen
Enable the customization mode by clicking on the gear icon and click on the screen. Set a load event for the screen on the Event tab. I set name: AHPickingAutoFillProduct
The available parameters will appear in the SAP query as well. In my example I will load the barcode from OITM table based on the Produmex WMS UDF that contains a,combined value with itemcode, item description and barcode. The result column must be named to txtBarCode (you can see it in the parameter list)
The query will appear in group PMX_CLIENT_CUSTOMIZATION_USER_QUERIES
Open the query in SAP and define the following query. In the customization we pressed the next button by default (btnForward) with 0 timeout.
SELECT
"CodeBars" as "txtBarCode",
'btnForward' as "DefaultButton",
0 as "DefaultButtonClickTimeout"
FROM OITM WHERE "U_PMX_CUDE" = '$[lblProductDescription]'
Disable the customization mode and manually set the barcode manually and press the next button.
5. The next screen is the quantity screen
Enable the customization mode by clicking on the gear icon and click on the screen. Set a load event for the screen on the Event tab. I set name: AHPickingAuotSelectQty
The available parameters will appear in the SAP query as well. In my example I will load the quantity from the parameter $[lblMaxQuantityToProduce] The result column must be named to edtCounter0 (you can see it in the parameter list)
The query will appear in group PMX_CLIENT_CUSTOMIZATION_USER_QUERIES
Open the query in SAP and define the following query. In the customization we pressed the next button by default (btnForward) with 0 timeout.
Select
$[lblMaxQuantityToProduce] as "edtCounter0"
, 'btnForward' as "DefaultButton",
0 as "DefaultButtonClickTimeout"
Now you can close the Mobile Client application.
6. Start the Mobile Client without customization mode to see the result. Customization doesn't work in customization mode.
Comments
0 comments
Please sign in to leave a comment.