on 11-07-2008 3:36 PM
Hi All,
In my message mapping scenario, there can be 2 idoc to be created. I am getting error because of a lookup fail from Idoc 2, wherein the logic says 'do not create Idoc 2'. Logically if Idoc 2 is not to be created, then inside that, other (field logic) should also no get executed, and the same thing is happening. I am using 'createif' for the idoc creation logic and that part is working fine. Please can someone help me out.
Hi Again, Just thought of rephrasing the problem once again. In my inbound MM, the idoc is created based on some logic. I have used the createif function for that. Now based on the logic, Idoc is not getting created but MM is getting failed because of a field inside that Idoc. Logically if the header (Idoc) is not getting created, it should not get into the structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Murli
Createif in message mapping works if you pass an empty node before it or any value. If you want to create based on some condition then use the boolean nodes NOT before it. this will allow you to set conditions as true or false before creating a node.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why don't you use if function, Use standard IF function it will work.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Createif always creates a node if your source field is empty. It will not create a node only when the xml tag itself is not present at the source.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please rephrase?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.