cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue

Former Member
0 Kudos

Hi,

My Source structure is

text(0:40)

---Action(0:999)

My target structure is

ztext(0:40)

---zaction(0:1)

---Action(0:999)

I mapped them as textztext and Actionzaction and Action-Action

And now my data is came as

text(first occurance)

---Action

-


Action

text(2nd occurance)

---Action

text(3rd Occurance)

...

...

..

Here for the above data i am getting error saying cant create target element(Action) for second occurance of text.

In Display queue it's showing supress for the 3rd occurance of Action. But that exists in the data..

Where is it going wrong any suggestion?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

check ur context level of Action [source] which mapped to Ztext/Action field. the context level shold on /text level.

Former Member
0 Kudos

Sorry there is a small nmistake in my target structure

ztext(0:40)

---zaction(0:1)

---Action(1:999)

@enivas

When i mapped with null , It's throwing error at the 3rd occurance as action(childnode) is required

former_member191435
Contributor
0 Kudos

Hi,

The occurence of zaction is 0..1, if it can be changed to 0..999

then it wont be a problem

Regards,

Sreenivas

abhradeepbasu
Participant
0 Kudos

Check your context level as well..

former_member200962
Active Contributor
0 Kudos
Action(0:999)

---zaction(0:1)

I mapped them as text--ztext and Action--zaction

in my opinion your mapping Action--zaction is not correct....why are you mapping a 0..999 occuring node to 0..1 occuring node?

former_member191435
Contributor
0 Kudos

Hi,

Map the target field zaction with null constant and check your mapping, do not map it with Action.

Try this.

Regards,

Sreenivas.

Former Member
0 Kudos

tats the parent node. When i ignore it. It's not creating the child node