on 10-05-2023 5:00 PM
Hello,
I am trying to implement delta upload of custom data object between SAP backend the the Asset Manager using SYCLO framework.
I have defined the OMDO handler as ancestor of /MFND/CL_CORE_OMDO_HNDLER_BASE class, exchange handler class which inherits from /SYCLO/CL_CORE_EX_HANDLER_BASE and the exchange table.
When the business object data is changed, the changes are written to the exchange table.
What should I do next?
Which methods should be implemented in the OMDO handler?
How can I test it? Can I test it using Gateway Client or are there special tools for that?
When I send requests to entity set or a particular entity, only the method GET_OBJKEYS_BY_DISTRIB_RULES is called, but not the GET_OBJKEYS_FOR_DELTA_LOAD or FILTER_OBJKEYS_BY_XCHANGE_INFO as I would expect.
Is there a tutorial on this subject?
With best regards,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose,
thank You for the answer.
My problem however is, that I do not have the delta token in my response for the Z-Object.
If I had used the Gateway, I would add the delta token in the GetEntitySet method.
But as I am using Syclo, I suppose I should set the delta token in the LOAD_ENTITY_DETAILS method.
I found the property for delta token in the TAB_OMDO_ENTITY_INPUT table of the /MFND/CL_CORE_OMDO_DATA class, but this field is protected from changes.
I do not know if I should set the delta token myself (if yes - how and in which method), or if middleware does it based on oMDO settings in the data exchange section.
I am attaching the screenshots with oMDO settings below.
Many thanks in advance.
With best regards,
Krzysztof aka Chris.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.