Skip to Content
0

SAP PI: Remove -ve Sign from source field and send positive

Jul 26, 2017 at 08:06 AM

41

avatar image
Former Member

Hi Experts,

I have simple requirement,

whenever source is sending Negative values, PI has to send positive values to the receiver.

whenever source is sending +ve values, PI has to send the same +ve values to the receiver.

EX: if source is sending -9833.00

then the expected output is 9833.00

I tried with substring but am not able to achieve it.
Kindly help.

Regards,

NADEEM

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Manoj K Jul 26, 2017 at 09:09 AM
0

Use ReplaceAll function .

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Manoj,

I used substring and "if then else" function.. and logic is implemented successfully..

thanks for your reply :)

Regards,

Nadeem

0