Skip to Content
avatar image
Former Member

Graphical Mapping Logic in SAP PI

Hi ,

I have one requirement for PI Mapping.

Can anyone suggest the correct mapping logic for the below requirement.

If HIERARCHIE= '10' or '20' or '30' or '40' then Pass the HIERARCHIE value,

don't map the value if HIERARCHIE= '00'

Regards,

Sreekanth

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 26, 2017 at 08:21 AM

    You can try the below logic.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 23, 2017 at 02:16 PM

    Simple use if without else and Or condition if you want to send values for 10/20/......

    If apart from 10/20/..... some other values are coming and you want to send null value use if else and in last else condition put constant blank.

    If you want to create the target node only when these values are there and don't want to create target parameter at all if thise values are not there then use node function - Create If

    Thanks,

    Apu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      To avoid bloating the screen with or conditions, I would suggest to use a fix-value function with all positive values mapping to true and the default being false.

      "HIERARCHIE" Field => FixValues => IfWIthoutElse => Target Field