cancel
Showing results for 
Search instead for 
Did you mean: 

Re: CPI: SubString Function Issue while mapping target field

06-24-2020 11:36 AM
babruvahana Contributor
5145 views 0 comments Go to solution
SAP Managed Tags
Subscribe

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
babruvahana
Contributor

Hi jorgehnga , bhalchandra.wadekar, mateuszadamus, sriprasadshivaramabhat

The issue has been resolved by : con-cat{empty space} - substring - trim - ifS

Before writing a custom function I just deployed and ran the iFlow, it worked.

Display Queue failed when the character length is less than the character count defined in the substring function.

The issue seems to be with the Display queue rather than the SUBSTRING function.

Regards,

Pavan G