on 12-20-2010 6:57 PM
Hi guys,
I have logic like,
pernr>logic>pernr.
Pernr is the first field.
Whenever the logic fails, it should not process rest of the below fields.
it should directly go to next record.
Any ideas.......
santosh.
You can achieve this using gloval variable.
1. right click on the parent node of pernr. -
>Add Variable (say ifPernrTrue)
2. Map this variable with the same logic and give value "true" if logic successful and "false" if logic fails
Whenever the logic fails, it should not process rest of the below fields.
3.Map rest of fields as :
ifPernrTrue (the variable u created) \
-
> if (without else ) -
> fields...
source filed /
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for response.
I tried applying the logic mentioned ....
But, i am unable to find "Add Variable", when i right click on the parent node of pernr.
my structure is like this,
MT_Masterfile
---Record
-
Pernr
-
vorna
-
field3
-
Field4
we are on PI 7.1.
pls guide, where do i need to locate global variable " Add Variable".
Chk this(page 6):
Thanks
Amit
Hi all,
Using global varible, i am able to accomplish requirement upto some extent.
But, now the problem is , it is creating EMPTY records.
Further, it is creating blank lines in output file.
Any idea, if there is an option to skip the record completely , if logic fails.....
Regards
Edited by: santosh koraddi on Dec 22, 2010 11:04 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please elaborate more on your requirement. We can certainly help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can Process this request by placing an condition on the root node and maintaining the same Logic to the elements under it.
I.e. Use if Pernr >Logicexists then map constant to the node..You have to use If --then .
It would be much better if you can provide us more information in regard to the logic and structure.
Regards,
Sainath Chutke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
Can you please let us know the logic for which you can looking for this requirement.
Yes, we can achieve this requirement but it can be done only when we know the exact logic behind. Please elaborate.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.