cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CPI: SubString Function Issue while mapping target field

babruvahana
Contributor
9,834

Hi Experts,

I working on a mapping where I need to restrict the char length of the source field.

If the character length is less than the character count defined in the substring function, the mapping fails with String out of index

The same mapping workings in PI. But it failed in CPI.

Is it a normal behavior or I am doing wrong with my mapping or any other ways to achieve this simple mapping in CPI?

Any pointers would be of great help.

View Entire Topic
Sriprasadsbhat
Active Contributor

Hello Pacan,

If above solutions are not working then write a custom function ro handle both cases(it would be tiny and could be easily written) . Will keep a note on this query and get back to you in case any difference in CPI function behavior compared to SAP PI/PO.

Regards,

Sriprasad shivaram Bhat