cancel
Showing results for 
Search instead for 
Did you mean: 

Terminate message with empty no "Records" in SAP CPI

former_member60331
Participant
0 Kudos
1,085

Hi Experts,

I have two incoming xmls from source system and I have a requirement to not send the xml with no "Records" to target.

XML-1 :

XML-2:

I want to terminate the messages for XML-2 in CPI. Can this be done using router in CPI?

Regards,

Akash1.xml2.xml

View Entire Topic
manoj_khavatkopp
Active Contributor

Hi Akash ,

Try the below XPATH in router :

/PortalResponse/Records[*]

Thanks,

Manoj K