on 08-09-2010 8:09 AM
Hi gurus,
I ned to make a condition in a receiver determination with the following logic:
If document creation date is 7days or more from current date then stop the message in PI (7.1).
Creation date is part of the message (oders05 IDoc).
Could anyone help me with an idea on how to implement this logic in an Xpath expression?
Thanks
Hi,
Use enhanced receiver determination and write user defined function to fulfill your logic,i think it is not possible to write user defined function logic in receiver determination,you have to go for enhanced.
search in sdn for how to use enhanced receiver determination.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Raj,
In a previous thread (see below) I was told to do this as a condition in the receiver determination, which I would very much prefer if possible.
Could somebody please help
"create a condition in receiver determination (that will check the date from message
and compare with today) and route to some dummy folder for old sales orders"
Hi,
We can write/form different conditions in Receiver determination,but i doubt your logic is going to be bit complex,so it is not possible using standard receiver determination,if you go with enhanced there you can write receiver defined functions,so you can achieve your requirement easily.
Regards,
Raj
> "create a condition in receiver determination (that will check the date from message
> and compare with today) and route to some dummy folder for old sales orders"
I doubt that XPATH is mighty enough to provide the required functions.
Have a look by yourself:
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.