cancel
Showing results for 
Search instead for 
Did you mean: 

graphical MM help

Former Member
0 Kudos

Hello,

Source RFC:

ZZRFC

+ZSEG1(1....1)

++item(1...unbounded)

+++item_data(1....1)

Reciever field:

ZZitem

+seg1(1...unbounded)

++data

I have mapped data with item_data(graphical maping)

now the requirement is :

ZZRFC

+ZSEG1(1....1)

++item

+++item_data ---> I entry

++item

+++item_data ---> II entry

++item

+++item_data ---> III entry

If above is the source data coming in (with item repeated n no of times), I have to create a file on the destination as

one single file and each item data must be specified as one record delimitted by "|"

Regards,

Nikhil.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi nikhil,

do the mapping as follows:

item --> seg

item_data --> data

[reward if helpful]

regards,

latika.

Message was edited by:

Latika Sethi

Former Member
0 Kudos

did as Latika and venkatesh adviced

no use

Former Member
0 Kudos

vats d error?

the structure is similar at source and target as far as contexts are concerned.

regards,

latika.

Former Member
0 Kudos

no error

the MM is succesful but only the first item data gets displayed

like if I have 4 item data values, only the first one is mapped to the receiver field

thanks

Nikhil

Former Member
0 Kudos

check if u have posted the correct structure in ur query above.

if yes... ur structure says the number of item = the number of item data as each item contains one item data.

the structure at target side also gives no of seg = number of data (assuming occurence of data is 1..1 as u havnt mentioned there)

and the requirement is to have no of item = no of seg. is it rite?

if so if u have mapped item with seg and item data with data... it shud give u correct ans

regards,

latika.

Former Member
0 Kudos

its working now

thanks

Answers (1)

Answers (1)

venky_b
Participant
0 Kudos

Hello venkat,

do the following mapping

+item(1...unbounded) ->exist ->Createif->Splitbyvalue->seg1(1...unbounded)

++item(1...unbounded)->exist->ifWithoutelse then ++item_data(1....1)->+data

Regards,

venkatesh B.S.