cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Issue

Former Member
0 Kudos

Hi

I have a mapping Issue

MY RFC Structure:

ZRFCHDR

Item 0..Unbound

name

Lname

ZRFCRX

Item 0..Unbound

DAW

NUM

ZRFCIDEN

Item 0..Unbound

Code

Des

MY Webservice Structure

RX_Int

PAT 0..Unbound

Name

Lname

Doctor 0..Unbound

DAW

NUM

DocIDEn 0..1

DOCIDEN_INT 0..Unbound

CODE 0..1

DES 0..1

I want the output like for multiple RX_INT there can be Multiple DOCIDEN_INT

Input DAta:

ZRFCHDR

Item

name VEN

Lname SED

Item

name RUD

Lname SER

ZRFCRX

Item

DAW 001

NUM 002

Item

DAW 003

NUM 004

ZRFCIDEN

Item

Code 1

Des 2

Item

Code 3

Des 4

OutputDAta:

I want the ouput in the below format..

RX_Int

PAT

Name VEN

Lname SED

Doctor

DAW 001

NUM 002

DocIDEn

DOCIDEN_INT

CODE 1

DES 2

DOCIDEN_INT

CODE 3

DES 4

RX_Int

PAT

Name RUD

Lname SER

Doctor

DAW 003

NUM 004

DocIDEn

DOCIDEN_INT

CODE 1

DES 2

DOCIDEN_INT

CODE 3

DES 4

Edited by: S V on Oct 7, 2008 6:20 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Not aswered yet

Former Member
0 Kudos

i can only thing of UDF for now...did u solve?

Former Member
0 Kudos

no

markangelo_dihiansan
Active Contributor
0 Kudos

Hi SV,

What about for the receiving structure?Are they of the same hierarchy?

Regards,

Former Member
0 Kudos

Hi

Receiving Structure

RX_Int

---> PAT 0...Unbound

Name

Lname

---> Doctor 0..Unbound

DAW

NUM

Under doctor node i have these two nodes

DocIDEn 0..1

---> DOCIDEN_INT 0..Unbound

CODE 0..1

DES 0..1

markangelo_dihiansan
Active Contributor
0 Kudos

Hi SV,

Kindly be more specific with your source and target structure. Are they on the same hierarchy e.g

ZRFCHDR

Item 0..Unbound

name

Lname

ZRFCRX

Item 0..Unbound

DAW

NUM

ZRFCIDEN

Item 0..Unbound

Code

Des

or more like this

ZRFCHDR

-


>Item 0..Unbound

-


>name

-


>Lname

-


>ZRFCRX

-


>Item 0..Unbound

-


>DAW

-


>NUM

-


>ZRFCIDEN

-


>Item 0..Unbound

-


>Code

-


>Des

Regards,

Former Member
0 Kudos

Hi

they are on same Hierarchy struture:

ZRFCHDR

---> Item 0..Unbound

name

Lname

ZRFCRX

-


> Item 0..Unbound

DAW

NUM

ZRFCIDEN

-


> Item 0..Unbound

Code

Des

Edited by: S V on Oct 7, 2008 3:44 PM

Former Member
0 Kudos

hi

Item-->RemoveContext->SplitByValue---->DOCIDEN_INT

try like this.....

Former Member
0 Kudos

Hi

I tried that ..

Then its creating the only onr DRIDEN_INT at first line item level RX_INT...

its not generating the DEIDEN_INT at the secnod line item level RX_INT..

Former Member
0 Kudos

Try this,

Mapping for the node

Item-->RemoveContext->SplitByValue-->CollapseContext->DOCIDEN_INT

Mapping for the Feild

Item-->RemoveContext->SplitByValue---->DOCIDEN_INT

Cheers,

Sunil.

Former Member
0 Kudos

HI

I tried that i getting

But its genarating multiple DOCIDEN_INT only at the first RX_Interface...

Its not generating at the second RX_Interafce level...

Edited by: S V on Oct 7, 2008 7:40 AM