I need to export data through a dataport, a Customer list, but I need to compare if the customer exist in a file(cvs) that I have. If it exists in the csv file that I have then the customer is exported. Which would be the ideal way to solve this problem.
Thank you in advance.
0
Comments
Regards
Have a nice weekend.
How would you implement the process of reading the file into a temporary table?
Thanks.
For your example you can use a temptable in your dataport self. To fill this temptable you must declare a table as variable and set then the property to temporary. Then before you export the datas you import the csv file in the temptable with using the systemvariable file. But i think that this is to "complex" for you. An other, easier, solution is:
1. You must have the csv file and must know the structure
2. you create you own table (like 50000 MyCSVImportTable)
3. You create a dataport to import the csv file into your table MyCSVImportTable
4. After the import you start your export dataport and check, before you export a rec, if the customer is in the "MyCSVImportTable".
5. after ExportDataport is finished, you can, if you doesn't need the datas, the table MyCSVImportTable.
Regards
I'm not sure if I can do this, I haven't tried it out.
Thanks.