cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping concept issue with queues

Former Member
0 Kudos

Hi Friends

Can you please clear my following doubt.

As we know target fields are filled wit the values from the result queues. In doing so the values are compared to the attributes for occurrence.

If the upper limit for the number of cocurecces of a target field is exceeded, additional result values from the result queue are ignored -- this is fine.

But if the lower limit is not reached, an exception is triggered. I am confused with this. While testing it was running fine by appending the last values.

For example:

Source : VendorNo (minocc=1 maxoccur=6)

Target: VNo (minocc=3 maxoccur6)

Now source has

VendorNo - v1,v2 --- only 2 values

exception should occur right as minocc of the target field is not met. But while testiing it was running fine.

Target is getting:

VNo - v1,v2,v2

Confusedd????

Please let me know your comments on this

regards

sam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi samuel,

if minOccurs of target ELEMENT are not met last value of source is repeated.

if minOccurs of target NODE is not met exception is triggered.

if minOccurs of source is not met exception is triggered.

[reward if helpful]

regards,

latika.

Answers (1)

Answers (1)

former_member181959
Contributor
0 Kudos

Hi,

Generally it takes value of the last value.

You can see the exception when the value is SUPPRESS.

You can test by deleting VendorNo in test of the mapping program.

Hope this helps.

Prasad Babu.