on 10-14-2008 3:14 AM
Hi All
As far as XI or PI is concerned ,i have a question about mapping.
If the source is an IDOC : and it has some qualifiers:
E1KTEXT
QUALI : A
E1KTEXT
QUALI : B
So if we want to validate the qualifier and not map to the target if qualifer does not come as A or B in the source,how can we achieve this?
I see that in my receiver structure the field has an occurence of 0--n.. So even if the qualifier is Z ,it is still mapping to the target.I want to validate the qualifier and fail the mapping if qualifier is anything besides A or B.
Please suggest.
Thanks..
QUALI---------->equalsS-----\
Constant[A]---> or------>if--------->tgt
QUALI----------->equalsS----/ then<----QUALI
Constant<b>---->
The above mapping does not create the target if the value of QUALI are other than A or B even though the occurance of tgt is 0..n.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
If you dont want to pass a value than use createif.
If you want to pass a value use createif followed by ifWithoutElse.
regards,
Milan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use standard CreateIf function in Message mapping. You can check whether the Qualifier is A or B -> Createif -> target .
This will create target field only when the condition for A or B is true
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did u try using createIF node function and have the condition check for qualifier..
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 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.