on 09-30-2014 3:38 PM
Hi Folks
I have 5 IDOCs in single message, and passed values from the source field and target field is mandatory.
I have a mapping loggic where the first three conditions got failed and remaining got successfull and those 2 values should passed to target field .
As the first 3 IDOCs wont appear and the remaining values should place in 4th and 5th field.,
when i test, it is showing cannot create target element.
1. When i use MapWithDefaultValue fields are appearing blank. for 4th and 5th IDOC
please do the needful ASAP
Hi
below this correct
target occuence no need change
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Below is my understanding.
You will get 5 Idocs from source, target field occurance is 1..1, If condition satisfies, then value will pass to target else no value is mapped to target and its failing since occurance is 1..1
If its correct.
Please add one more else condition before target, if conditions fail, pass constant as "Not Available" or "emplty" to target field which will resolve your problem.
Thanks & Regards,
A.Neelima.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can any one please reply on the below issue
There is a target field which is mandatory, sometimes the value may or may not come to the target field.
Take an example of 5 IDOCs for whcih first 3 fields are with no values(should not appear) and remaining fields have value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if the target field is mandatory and the corresponding source field is not coming then obviously the mapping fails as the occurrence is set to 1.1.
If you map with default then you get empty tags.
If you don't want them(nothing but not mandatory) then simply change the occurrence to 0..1
if this isn't what you are looking for, then please share the input and expected output xml's.
Seems to be a context problem.
Send the source and target structures please
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your requirement is a bit unclear to me.
Can you please share the sample xml and expected output?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.