on 05-21-2010 7:17 AM
hi all,
is it possible to do a lookup in same batch of messages?
Ex.
FTP-XI-R/3
A textfile was transferred in FTP. I need to do a lookup if there are any 2 similar messages (messages containing same value in a certain field).
Hi Ignatius,
>>A textfile was transferred in FTP. I need to do a lookup if there are any 2 similar messages (messages containing same value in a certain field).
When you have done FCC on the text file you will have a XML structure in PI. Now in this structure you can use a UDF or java mapping and do a comparison for any unique tag and find out the duplicate message. Hope I have understood the question correctly..
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ignatius,
>>my scenario is with 2 different textfiles containing two different messages
So if i understood correctly the same record can come in two different files and you want to avoid the duplication in the target system? so you are planning to do a lookup of the idx5 messages and see whether the record already exists or not in some previous message?
I think using idx5 it wont be feasible to do a comparison. Either send the duplicated data to the target and handle it there or, create a z table in PI and do a RFC lookup which will search for the unique field value in table. If the value is not found it will update the table, else will return a duplicate status and you can then handle it in PI.
Regards
Suraj
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.