on 08-12-2011 3:10 AM
Hi Experts,
I have a mapping requirement in which the sender system is sender a field suppose A1 to receiver field suppose A2.
Now, the condition is that if the field comes with a value 'Not Applicable' then that tag A2 is not to be created on the target side.
Otherwise create with a value A1. Now, I tried to use createif function in SAP PI, but it's not helping.
Please let me know.
Regards,
Aniruddha
dont use create if function,use booleans equals with if then combination,
A1---------->
booleanequals------------>
CONSTANT--> IF THEN---------------------->A2
A1----->
if your condition satisfies then only A2 will have A1 vaues,elase A2 not get populated.,
and A2 occurance should be 0 to unbounded.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use mapping step as mentioned by AmitSri. It should work fine.
Regards,
Nayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks a lot for your response, but my problem is that in the target if it comes as 'Not Applicable"
then I will not create the tag at all, so it is not that i will not populate any values in the target field, the target field itself will not be
created in this case.
Regards,
Aniruddha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use ifwithoutelse and equalsS function to achieve this. This is pretty simple.
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 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.