cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GEF - Error in upload shapefile

PAstolfi86
Explorer
0 Kudos

HI,

on SAP GEF the shapefile loading functionality has been enabled in the "Editor" app and the newly loaded shapefile is displayed correctly but when saving the following error message appears

{
"Mistake": {
"code": "'400'",
"message": "Bad Request",
"details": [
"The geometry object key is invalid"
]
}
}

Debugging the PREPARE_EDIT_GEOMETRIES method of the CL_GEF_BL class I saw that the GEF_OBJKEY field for the various rows of the internal table LT_FEATURE_ADD is empty.

Why is the OBJKEY taken from the features coming from the shapefile?
Also I tried adding GEF_OBJKEY and EAMS_OBJNR attributes in the shapefile but they still aren't read.

Does anyone know if any further customizing configuration is required or does the shapefile have to follow a certain standard?

Thank you.

Accepted Solutions (0)

Answers (0)