Skip to Content
0
Aug 10, 2022 at 06:17 AM

SAP CPI - Split a string at delimiter and get last value from the string to map it o target

189 Views

Hello CPI Experts,

I have been stuck with a Mapping issue and could you please help to solve this.

Requirement:

We have a filed Paygroup form successfactors which is some combination of fields like below examples

NLD_CAO_HP_0_MM1

NLD_CAO_CO_G8

I just want to extract last part of the string like MM1, G8 to map it to target field.As above values are not having fixed length i am not sure how to get the last value after delimiter '_'.

Regards,

Sandhya