on 04-03-2009 11:28 AM
Hi,
I have a mapping where i am taking the back up of my transformed file into a folder. This is done using a UDF. After this i generate a checksum using another UDF for the file and then invoke an RFC to insert the checksum in the table against the file name.
The problem is this entire process works fine but my UDF code for taking a back up is runs once more after all these steps even though i am not using that UDF again anywhere in the mapping.
What could be the reason for it.
Why you do not simple check, if the UDF was already called?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>I have a mapping where i am taking the back up of my transformed file into a folder. This is done using a UDF.
that's why we mention is so many times - don't use UDFs to do inserts
or store anything
this is not the place to do that
you can do it in the receiver retermination
please change your design and do it correctly so you won't have problems
and customer will not see any issues with not working UDFs
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the source node which you are using in the map is not occurring twice.
Regards,
Shwetambari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.