cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Mapping

Former Member
0 Kudos

Hi,

Theres some thing going wrong with my context mapping.can you guys suggest where i am going wrong..

My source side structure:

ZBillHeader(1:1)----


Billno (0:1)

ZParty(0:unbound)----


Company(0:1)

My target field

Details(0:unboun)----


Billdetails(0:1)

i mapped Zparty-----Details nodes

and as per my requirement i have to concatinate Billno & company to billdetails on outbound side..

For one occurance of Zparty node my mapping is working fine..for multiple occurances of Zparty node i am getting an error no enough elements in queue cant create billdetails.. what is going wrong.

Accepted Solutions (1)

Accepted Solutions (1)

RKothari
Contributor
0 Kudos

Billno field in source has occurance 1.

How are you trying to concatenate multiple Company field values with 1 Billno???

I guess, you need to replicate Billno value (if occuring only once) for all the Company field occurances.

Try useOneAsMany node function or a UDF.

Former Member
0 Kudos

Answered

Edited by: prabhas465 on Mar 10, 2011 7:56 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think you can use copy value function


billno-->copy value[0] \
                         concat[]--->billdetails
               company /

map zparty from source to target details node.

Hope it helps,

Anand