on 12-16-2014 10:04 AM
What is this Compound field and why are you assigning the value to record?
I hope record is the parent node.
If not, use the logic in the header and use createif instead of ifwithoutelse.
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rashmi,
Is EVENT repeating or has only 1 value in entire payload?
If its repeating with different values then how do you want to handle it?
Should it generate the Record Node only for EVENT = 26 and Ignore other EVENT values?
>> If yes then you can achieve this in MM using the Node functions as suggested abv
If you want to Ignore the entire file when EVENT != 26 then you can do this in RD level using conditions instead of passing it to MM...
If your Record is with Occurrence 1..unbounded then the file will fail in PI MM, inorder to avoid this you can handle it in RD condition
Can you share your MM and input/output display queue screenshot
Regards,
Azhar
dont use collapse context.....
this creatif will create only if event is 26 exiats in your source root node... otherwise target wont create...
Suppose you are getting event value 26 as 3 times in the source.... if you map our mapping without collpase context it will create target root as 3 times....
let me know if you require anything...
thanks,
Sreenivas
Hi Rashmi,
Assuming that EVENT field is coming for each Occurrence of your Source Root Node Compound...
Using the mapping screenshot as given by Sreenivas you will be able to pass the required Compound value context to the Target Node Record..
Please check if it helps.
Can you give the screenshot of your Source / Target Structure , MM and payloads for further inputs...
Regards,
Azhar
Hi Rashmi,
In this case I believe the Node EVENT is not present in the Input payload...
To stop the file from MM, you can use Receiver Determination Xpath condition for checking if this EVENT node exists in the payload..If yes, then forward to MM else not...
Please refer following and add the Xpath condn as given in the blog and test:
Xpath Condition in Receiver Determination - Process Integration - SCN Wiki
Node Not Exits :
If I want to send some files if node is not exits .How to use Xpath?
Below one will help to send the file to receiver.
Regards,
Azhar
Hi Rashmi,
Please check below url..
http://wiki.scn.sap.com/wiki/display/NWTech/Empty-Message+Handling+-+Receiver+File+Adapter
Thanks,
Sreenivas
Hi,
You may try using createif instead of ifwithoutelse.
Regards,
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.