on ‎2020 Jun 22 4:57 PM
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.


Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.