How to Use X Path Condition in Receiver Determination based level:
IDOC to File Based Interface with X Path Condition in Receiver Determination based level:
In one of the interface there was an typical mapping handle in PI level with Xpath Condition for differentiating 3 files with different formats and structure with a single IDOC from the ECC part.
Here we have 3 Variants ( V , G ,R) with 3 different file name , and once it has triggered it should be a single file at a run .
End to End scenario for an Example
When we have triggered an IDOC from the ECC with a Variant Vin the ECC part, it should pick up the file of VF_IN__YYYYMMDDMMSS.csv (under the condition based in the configuration).
In the ECC part when we have triggered an IDOC under the variant V
In PI configuration level at receiver determination:
How to use various types of Xpath in Condition Editor.
-> In the Left Operand it should be the IDOC with the Xpath and
And we have to choose a similar field name in the left operand as a prefix with the namespace.
Here by ,we have to an operation as down:
At the right operand we have to choose a similar field as chosen in the ECC part with the variant “V”
Result: At last we will have a file with VF_IN__YYYYMMDDMMSS.csv only, ignoring the rest 2 files at the ICO level