on 10-26-2011 8:37 PM
Hi
i have a simple fixed values mapping that is not producing anything.
the input value can be 'Y' , 'N' , or a blank.
The fixed value mapping is setting these input values to 'Yes', 'No', and 'No'
however when i test this, nothing is getting mapped to the output record for this field.
can someone tell me why?
many thanks,
Julia
Hello,
What happens when you use this logic?
Source -> mapWithDefault: -> fixValues -> Target
Configuration for fixValues would be:
DefaultValue: No
BehaviourLookUp: Use Default Value
key value
Y Yes
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
When i go to the test tab and load my test message the field in question turns red.
The test message you are using and the ones declared in your messagetype do not match that's why it turns red. Try using the generate instance button in the test tab and then compare it with your test message.
Hope this helps,
Mark
I think there is a BUG in fixValue box. in our previous mapping. when the logic is complex, the fixValue box may doesn't work.
Try to delete the old fixValue box, save mapping. and then add a new one.
If it still doesn't work, I suggest you use UDF to replace it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Test the FIxvalues mapping with display queue functionality.
Seems to be a simple issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you - I had forgotten that and i hope this is a simple issue
When i tried it, i received this issue
Exception:[java.lang.IllegalArgumentException: No value found for ''] in class com.sap.aii.mappingtool.flib7.TextFunctions method fixed_values[, FixedValues{Y=Yes, N=No}, com.sap.aii.ib.bom.flib.types.ValueMappingStrategy@4824ca10, , com.sap.aii.mappingtool.tf7.rt.Context@33dc1ce0]
Still you are not passing the values correctly.... so this error. Please go through the links
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.