Duplicate checking based on the content of the incoming file
We have a requirement where in we have to check whether a file has been duplicated or not based on the contents of an incoming file.The threads which I have seen in SDN deal with the duplicate checking based on the filename of the incoming file.
The incoming file has the following structure :
|....... Idoc Occurance 1...unbounded
|...... segment Occurance 1
We are required to make a check based on certain fields which occur in the segment.There are about 4 fields which we will have to take from the incoming file and carry out the check.These 4 fields exist in different segments.We will have to update a ztable with these 4 fields and then perform an rfc lookup to check for the contents of the incoming files with this table,and reject or process the file based on whether the entries exist in the table or not.
Please let me know if there is any way this can be achieved.
Appreciate if anyone could help me on this.
Thanks and Regards,