cancel
Showing results for 
Search instead for 
Did you mean: 

Ignore Records in payload

Former Member
0 Kudos

Hi All,

I have the one requirement need to be implemented in message mapping so that filtered data need to be send to third party system.

Please note that the option of restricting the data in R/3 itself can be iginored because we have multiple recievers and for one of the recievers we have to apply the following logic.

We need to ignore the records if the Material type equal to AV,TP,AK for the following payload data recived from R/3 to PI

Mat Number: 1000

Mat Type : AV

Counntry : US

Mat Number: 1001

Mat Type : PA

Counntry : US

Mat Number: 1002

Mat Type : TP

Counntry : US

Mat Number: 1003

Mat Type : AK

Counntry : US

Please let me know how to proceed?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Use fix-values standard function.

default value = true

AV = false

TP = false

AK = false

Then map the node container at the target side with this logic:


[Mat Type]---fixValues---createif---[container node]

Regards

Ivan

Former Member
0 Kudos

Hi

Check values and arrive at a boolean true/false of the checks then feed it in createif Node function and assign the output to the record row in the response.

this will create the record row only if the condition on createif is met.

hope this helps

BR

Mustafa

Former Member
0 Kudos

Map the resultant 'IF' condition to the root node so that the root node exists only if your specifications are met.