on 02-04-2006 1:29 AM
Hi
We are facing some problem in null fields passing to RFC side.. some times the JDBC colums not having the data ,
so that time our map is failing to call RFC.
Please let me know any prevent methodologies for this?
Target side field occurances are 0...1
Regards
rambarki
Hi Rambarki,
Use the NodeFunction "exists" to check whether your JDBC field exists or not and then map.
If not existing you can pass some default values if required.
Cheers
Chemmanz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Still i'm getting problem while sending null values to target side..
It is showing Cannot insert the NULL into column , when RFC trying to send null values to jdbc , i'm getting this problem.
I changed occrances as 0..1(target)..becuase some times its allow to insert values and some time not. but it is also not working... if i take the constant value then it able to inserting..!
exists and mapWithDefault functions..could n't workout..please let me know any other ways..
regards
sankar
Hi,
Does the Sender XML message in XI have the corresponding node? It looks like this node itself is absent, as against the node existing with a blank value.
If this is the case, in the node mapping, you may have to use the 'Exists' function in conjunction with an 'If' or 'IfWithoutElse' function.
If you had already tried this, check if the Target node has some attributes, such as length or pattern restrictions.
Hope this helps,
Bhanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.