on 10-28-2015 12:32 PM
Hi All
We use
SMP Version: 3.0.7.0 SP Level: 07
workmanager-6.2.1.0
I activate settings to show Equipment and functional locations pages in SAP Work Manager.
But I can't find any Equipment on the Equipment - Search action.
The Equipments exit in the ERP.
I used next instruction for activation from SAPWM62-Configuration.pdf
Turn on the Equipment Work List
To turn on the equipment work list, from the ConfigPanel do the following:
1) Select your mobile application and open the Client Globals tab.
2) Search for the global name Equipment.Worklist and set its value to Yes.
3) Click on the Parameters tab and search for the parameter name ctEquipment.
4) Select the record where the parameter group is CT_BAPI_WRAPPER and change its value to /SMERP/PM_CTEQUIP_LSET_GET.
По умолчанию у меня значение было - /SMERP/PM_CTEQUIPMENT_GET.
NOTE: If you have LAM enabled, set the value to /SMERP/PM_CTLAMEQUIP_LSET_GET.
5) For the phone form factor for iPhone and Android Phone, make sure the following additional client globals are active (Active Flag and No runtime Change flags should be checked):
Group = MAIN_MENU_ITEMS, Name = 6, Value = Equipment
Group = MAIN_MENU_ITEMS, Name = 7, Value = Settings
When searching for Equipment or Functional Location do not use the wildcard in the description field. The search automatically does a contains search with your entered criteria. You need to enter at least one search criteria so if you want all equipment then select the plant for example and click on Finish. It will return all equipment for that plant up to the search limit (25 by default).
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No the Source Code, is the Java code. Bill is talking abou the Agentry Code. You can install the Agentry Plug-in into Eclipse and load the application into the plug-in.
After the applicaiton is loaded, you can open up the Test Client and built a client. Here you can see the Object and Complex table data.
You can simply switch to one of the Agentry Perspectives and then import the Agentry project. You can just select the Production Server application into workspace option and point it at the deployment zip file.
Once imported, open the View for the Agentry Test Environment and start it up. Connect to your server just like you do from the WPF client. Once loaded you can use the Test Environment options to view the Complex Table ctEquipment.
--Bill
I imported Agentry project using file from SMP Server
C:\SAP\MobilePlatform3\Server\configuration\com.sap.mobile.platform.server.agentry.application.SAPWM\SAPWorkMgr621Deployment-20150514.2243.zip
After import I got next image
But the Eclipse doesn't allow me to Test Client
The error is:
Eclipse The java Virtual Machine is running in a different directory that the executable
I test several ways to fix it:
Added next params in eclipse.ini
-vm C:\Program Files (x86)\Java\jre1.8.0_31\bin\client\jvm.dll
-vm C:\Program Files\Java\jre1.8.0_31\bin\server\jvm.dll
this line raised error on start of eclipse.
It doesn't help.
Although at same time I can write a separate test java project like "Hello world" on Java and it runs and works.
The location of that line in your Eclipse.ini is important. Make sure it is above the -vmargs like and that it is split across two lines with the -vm on one line and the path on the second following line.
Below is what my eclipse.ini looks like. Note the location of the -vm argument and path.
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/Java/jdk1.7.0_80/jre/bin/server/jvm.dll
-vmargs
-Xms40m
-Xmx1024m
--Bill
The search functionality looks for matching records in the ctEquipment complex table. Since that is empty your results are as expected.
You need to look at your configuration settings and possibly debug the SAP calls which are populating the ctEquipment table to determine why it is empty. Once you get data downloading I anticipate it will work as expected.
--Bill
Hi Konstantin,
Just a question, are your work orders created with a functional location or an equipment linked to it?
Because in those tabs, only functional locations and equipments assigned to your work orders are displayed.
While you are testing on the ATE like Bill and stephan mentioned, you can also run the BAPI's for equipment and functional location in sap to check if they return any data.
/SMERP/PM_CTEQUIP_LSET_GET
-shanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.