Hello OData/SEGW experts,
I need to develop a generic HR Infotype OData service that allows retrieving/updating of any infotype record. So instead of defining an Entity for each different infotype, with all of the specific infotype fields as parameters list of the Entity, I want one Entity called “Infotype”, with INFTY, PERNR, BEGDA, ENDDA, SUBTY, SEQNR as key/filter and then a generated set of attributes, (i.e. depending on the Infotype being retrieved/updated).
Gateway Builder (SEGW) however requires a predefined set of parameters (columns) for each Entity and I know of no way to do this generically – if anyone has an idea I’d be grateful to hear from you.
(The only idea I have is to add a column “InfotypeData” which contains the extracted Infotype data in JSON format but not sure if that is OK in terms of the OData standard, for example if that will give problems when an XML response contains some JSON ..).
Any advice is much appreciated !