Skip to Content
0

SAP PI Receiver Determination - Combine 2 Conditions in one Line?

Feb 27, 2017 at 07:34 AM

62

avatar image

Hello experts,

in my Receiver Determination, i actually have a couple of conditions combined with AND-Operator. One of these conditions is that a Field "WorkstationID" can not be 0. The new request is an exception to this rule. In the case that a Segment ".../Deposit" exists, WorkstatonID = 0 should be okay.

What is the smartest way to solve this requirement?

My actual solution looks like this:

Condition 1 EX AND
Condition 2 EX AND
Condition 3 NOT EQ true AND
.......
WorkstationID NOT EQ 0 OR
Condition 1 EX AND
Condition 2 EX AND
Condition 3 NOT EQ true AND
.......
WorkstationID EQ 0 AND
.../Deposit EX

With this solutions, it works. But as you see, nearly all conditions are twice.

My idea is to put these 2 conditions combined together in one Line. Is this possible?

Or Maybe you habe other ideas to solve that requirement in a smarter way?

best regards,

Christopher

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

0 Answers