Skip to Content
avatar image
Former Member

SAP HCI - Content enricher

Hello All,

I have a scenario to look up an Odata entity in successfactors using Content enricher.

But,

For example - The source key element is externalCode = '20000003' of entity 1.

The look up key element 'job code' is in below format as a text and I need to look up based on the value inside the bracket.

<jobCode>Accountant III (20000003)</jobCode>

Is it possible to take the value using substring or offset in SAP HCI during content enricher operation?

Look up Payload

<RoleEntity> <jobCodeMappings> <JobCodeMappingEntity> <RoleEntity_externalCode>1000121</RoleEntity_externalCode> <jobCode>Accountant III (20000003)</jobCode> <externalCode>1000163</externalCode> </JobCodeMappingEntity> </jobCodeMappings> <name_en_US>Analytics Specialist</name_en_US> <status>A</status> <externalCode>1000121</externalCode> </RoleEntity> <RoleEntity>

Regards,

Tibin Joseph

capture.png (9.2 kB)
capture.png (9.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 06, 2017 at 03:48 PM

    Hello Tibin ,

    Its not possible to add any kinda transformation inside content enricher step.Its just Key Value pairs,for your case you can have one message mapping prior to Content Enricher and that you can set an temporary field to have required jobcode with transformation and use it for Content Enricher.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded