on ā2012 Jun 06 2:57 PM
Dear Experts,
I am stuck in a mapping situation as explained below and need your help for resolution.
Mapping in contention is as shown below :
As per this mapping the Substring should throw 3 character word and in fix value mapping it is getting displayed correctly. The fix value mapping is as shown below:
queue result of Substring function in mapping :
Queue Result for Fix Value mapping :
Till this point every thing looks fine but when I clicked on the Queue of the Target field it throws out the error as:
Here it clearly shows that output of the key in fix value mapping is null, which contradicts the result of fix value mapping queue.
Please let me know if any one else has faced this issue before or if you have any idea for the resolution of this issue.
Thanks and Regards,
Sudhir Kumar
Request clarification before answering.
You can easilyu find the issue, PR_ not maintained in the Fix value list hence it is thowring an error.
this kind os situation you have 3 options
1)Throwing an exception
2)sending default value.
3)Maintain key and value for PR_
decision is up to you.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
Thanks for your help. I tried out this logic but surprisingly the queue result for Map by default is as shown below :
and consequently it is throwing error in substring fuction as
"
Exception:[java.lang.StringIndexOutOfBoundsException: String index out of range: 3] in class com.sap.aii.mappingtool.flib7.TextFunctions method substring[, 0, 3, com.sap.aii.mappingtool.tf7.rt.Context@5368bf52]"
Best Regards,
Sudhir
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.