Hi All,
I am trying to fetch GPS location in my SAPCRMSM App. I am following this blog.
http://scn.sap.com/thread/3593013
Steps
1. First add 3 properties to the main object:
Location (type location), Latitude (Decimal) and Longitude (Decimal).
2. Created a transaction called ResetGPS:
One property is Location. This points to the location object in the Service object. Use initial value of rule before data entry. Add a rule called ResetLocationGPS. It looks like this:
GPS_LOCATION
0
Above rule uses the GPS_LOCATION System rule function to force the GPS to query the current position.
3. Run a second transaction called QueryGPS.
Two properties here.
Latitude points to the latitude Service object property,
Longitude points to longitude Service object property.
Both properties use rule after data entry. The latitude rule looks like this. Do something similar for the longitude:
The BestEntry.GPSPrecision is a global and is set to 8.
I created an Action called as "GPSAction". In Action steps, i mapped the above 2 transactions and created 2 Apply.
I created a button "map" in the button panel in service order screenset - main details windows detail screen. Created 2 fields called as lat and long and maped the lat long property to this field. on click of the pop up menu button called as "Map", i want the lattitude and longitude property values to be populated to the details page new field.
When i run the SAPCRMSM App, and click the "Map" button, i get an error
"The transaction validation failed. Cannot back into an Action Step %1".
Please help in resolving this error.
Thanks,
Divya