Skip to Content
0

SAP HCI - Content enricher

Feb 06, 2017 at 11:23 AM

431

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
Former Member

Hello All,

I just tried using below , but no luck..Please help.

Regards,

Tibin Joseph

capture.png (10.0 kB)
0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sriprasad Shivaram Bhat Feb 06, 2017 at 03:48 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded