on 03-24-2015 9:59 AM
Hi;
I am working on a custom application based on SAP Work Manager 6.2 on an SMP 3.0 SP05 environment. I've managed to get the Work orders, functional locations and notifications to be plotted on the Locations tab on the standard work manager application.
I am currently working on our customised version of SAP Work Manager where I would like to have plotting on the map what we call, Inspection Points, which are child objects to Inspection Orders, the Inspection Points are of type ORH, hence they are actually work orders, but within another word order (Inspection Order).
I have linked the Inspection Order fetch to the /SMFND/GIS_OBJECT_GEODATA_GET bapi wrapper and I can see the Inspection points being passed to the backend from the device. All is fine here, the geometry gets determined and is populated on the table ET_GEODATA, but I do not see the plotted points on the Locations tab, nothing seems to be getting plotted on the Locations tab map.
Is there possibly a Java portion that I could be missing, that passes the geometry points to the device? When I do a fetch and have breakpoints on the "GeoLocationFetchBapi", nothing breaks here?
I have also changed the tile target object on the Location Tile display, the object type on the LocationsView screenset to the parent object of Inspection Point and the collection on the Locations field to map to Inspection Points.
Is there perhaps any pointers as to what I could be missing, either on theJava side, Agentry side or OpenUI side?
Your help is much appreciated!
Thanks and Regards;
Sizo Ndlovu
Sizo,
First you should verify that the geometry is getting to the client for your inspection points. I recommend using the ATE to download your data and view the objects to confirm the geometry is populated as expected.
Second, you need to determine how / where you are going to display the points. Will they be another grouping (like notifications, location, etc) or will it be under the work order detail location tab and only showing the inspection points?
Once you have these both confirmed you can then look how to implement based on your needs. It will involve modifying the Agentry values assoicated with the map field in the Agentry Editor at a minimum and may also require additional changes depending on your decisions on what and where to display.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill;
Pardon me, but which object and/or property gets populated with the geometry, on the standard
SAP Work Manager?
I am looking at having the Inspection Points display on the same way that work orders
from standard Work Manager would display, except it would only be Inspection orders displaying.
And I would like to have these display on the work order detail location tab and only showing the inspection points, as you have pointed out.
Thanks and Regards;
Sizo Ndlovu
Hi Bill;
I've managed to get the Geometry onto the device under Inspection Points, I can see the values using the ATE, but there is still no Points showing on the map. I have the map control pointing to the Inspection Points collection.
What could I possibly be missing?
Thanks and Regards;
Sizo Ndlovu
Sizo,
Now that you have the geometry on the device you need to modify the mapping open UI control field in Agentry to tell it to map the inspection points. Simply pointing the collection to that is not enough or maybe even needed.
For example, to add inspection points as a layer will involve at a bare minimum adding the following Agentry Values to the control to tell it to map the points from the LocationsView screen set.
If you want to also display popup information when the user picks a point you need to define INFOLINE_5_x properties for the text to display. You should look at the existing properties for examples of what you will need to specify.
Also you can define any actions you want to invoke through the ACTION_NAME_5_x and ACTION_LABEL_5_x settings. Calling Actions from the map will also require settings in the Actions area of the External field.
--Bill
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.