cancel
Showing results for 
Search instead for 
Did you mean: 

doubt about idoc adapter

Former Member
0 Kudos

hai friends ,

iam doing idoc to mdm secinario in this

iam sendig idocs to R3 system.

my doubt is

in my idoc some segments are repetativly comming in the same segment .

for example

<seg>

<f1>abc</f1>

</seg>

<seg>

<f1>xyz</f1>

</seg>

<seg>

<f1>asdf</f1>

</seg>

<seg>

<f1>lkj</f1>

</seg>

like this

iam getting the segments

these segments are randamly chaenging

means some times it may have 1 segment next time it may have 5 or 6 and some time it may not have also

finally

it may have to convert into one segment and send to mdm system.

for example the above format should conver into like this

<seg>

<f1>abc,xyz,asdf,lkj</f1>

</seg>

like this i want to get the out put

how can i do this

in idoc structur i have segment like this

<seg>

<f1></f1>

</seg>and it occusrence is 9999.

pls help me is it posible to convert in to above format

pls help me it's orzent.

with regards

srikanth vipparla.

Edited by: srikanth vipparla on Apr 21, 2008 7:51 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srikanth,

I am little confused by these 2 statements.

iam sendig idocs to R3 system.

finally

it may have to convert into one segment and send to mdm system.

are you sending this to R/3 or from R/3.

if from R/3 , you are using MDM_CLNT_EXTR ?

if to R/3 . are you creating single file of records from syndicator ?

+ An

Former Member
0 Kudos

iam sending R3 system to MDM system.

multiple segments will came into xi

i need to convert into one segment.

with regards

srikanth vipparla

Former Member
0 Kudos

I hope you are using the MDM_CLNT_EXTR for the IDocs. so I am not which segment you are referring.

If you meant header segment is repeating , (example multiple vendor header segment is repeating then its not an problem)

Please suggest your IDoc type and segment also to help specifically.

+ An

Former Member
0 Kudos

Srikant,

Its for N:1 mapping logic of XI, please put this question on XI forum, you will find the accurate solution.

But from my point of view, you dont need any logic in mapping, just map the source to target in XI and put the same occurence for target segment also. you will get all the values in one file. and MDM is capable of handling these kind of files using value mapping. because if you will take all those data in one field, then again after taking it in mdm, you have to do partition by field/value in import manager while importing that file. So just send that file using the same target occurences as of source in XI.

Reward if found useful.

BR,

Alok