on 09-03-2013 3:30 PM
Hello,
During BP Save from the UI, a default value for Longitude and Latitude gets saved in the GEOLOC Table against the standard address(XXDEFAULT) for each BP. The default values are obtained from a standard table(GEOT005) that maintains a defaults set of values for each country.
I wish to change this data but was not able to find any BOL Relation from BuilHeader nor any Independent Root Object. Neither could I find any FM for the same. The fields are not available on the screen.
Please suggest any solution for the same.
Hello,
The geocoding survival guide might help you:
Note 1402070 - Geocoding-Survival guide
If you want to deactivate geocoding, just run the report mentioned in the note (and if you want to activate it and adapt it to your needs, follow the IMG help mentioned in the note as well).
Regards,
Nicolas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did anyone manage to solve this? I have the same requirement - to modify geocoding when BP is saved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I have never tried this but below are the FMs which might be helpful. They can be used to delete and update the Geolocation data.
GEO_UPDATE_GEOLOC
GEO_UPDATE_GEOOBJR
To get the geolocation data use FM 'BUA_GEOLOC_GET_GEODATA'.
Hope it helps.
Thanks
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding to this, I was able to find out the class that sets the Values in SPRO > SAP Netweaver -> General Settings->Set Geocoding->Register Geocoding Program in the system.
Basically I created a Z of CL_GEOCODER_SAP0 and put my code in the GEOCODE_ONE_ADDRESS method, modifying the Latitude and Longitude values.
The issue I am facing here is that the altered values are stored the first time I Save an account, but if I alter the values next time, the values are not updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also created a Z of CL_GEOCODER_SAP0 and put in my code of the GEOCODE_ONE_ADDRESS method and I have the same issue, that when I change the address of an existing account, the method would not perfomed.
I also read the survival guide but I couldn't find an answer to my issue.
Could anyone please suggest a solution?
Best Regrads.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.