Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

short dump upon deserialization (insert) #38

Open
filak-sap opened this issue Oct 15, 2020 · 1 comment
Open

short dump upon deserialization (insert) #38

filak-sap opened this issue Oct 15, 2020 · 1 comment

Comments

@filak-sap
Copy link
Member

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

@mbtools
Copy link
Member

mbtools commented Nov 9, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants