abapGit-Plugins icon indicating copy to clipboard operation
abapGit-Plugins copied to clipboard

short dump upon deserialization (insert)

Open filak-sap opened this issue 5 years ago • 1 comments
trafficstars

I have an object whose name is case sensitive, so the method get_where_clause [0] generates a where clause which does not find the object entries and deserialization dies on duplicate insert error.

I can see that the only place where the object name is stored in case sensitive format is the serialized table contents in the corresponding object xml file.

I am currently pondering how to fix this problem.

0: https://github.com/abapGit/abapGit-Plugins/blob/master/src/zcl_abapgitp_object_by_sobj.clas.locals_imp.abap#L375

filak-sap avatar Oct 15 '20 10:10 filak-sap

I thought object names (DB keys) are usually all upper case. I wrote a little program to check all keys for tables in OBJSL. There are 122 logical object types in NW 7.5 that allow lower-case keys (for the corresponding data element). It is more common and the generic serializer (here and in abapGit) should work with it properly.

I don't see any upper or lower case conversion in the plug-in. Do you have an example of the where-clause that doesn't work?

mbtools avatar Nov 09 '20 18:11 mbtools