Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 26, 2017 at 09:09 AM

    Use ReplaceAll function .

    Add comment
    10|10000 characters needed 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