cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping error

Former Member
0 Kudos

my interface is File to proxy,

source

<HEADER> occurence is (1,1)

<INDI>

<RFQ_NUM>

<DOC_TYPE>

<VENDOR_QUA_NUM>

<VENDOR_REM_LINE4>

</HEADER>

<LINE> (0,unbounded)

<INDI>

<RFQ_NUM>

<RFQ_LINE_ITEM>

<VENDOR_MATERIAL>

<QUOTED_QTY>

<UNIT_PRICE>`

<REQUIRED_DATE>

target

<HEADER> occurence is (1,1)

<INDI>

<RFQ_NUM>

<DOC_TYPE>

<VENDOR_QUA_NUM>

<VENDOR_REM_LINE4>

</HEADER>

<LINE> (0,unbounded)

<INDI>

<RFQ_NUM>

<RFQ_LINE_ITEM>

<VENDOR_MATERIAL>

<QUOTED_QTY>

<UNIT_PRICE>`

<REQUIRED_DATE>

but while testing i am duplicated line mulitple times , but it is giving only one line

please help me

thanking you

sridhar

Edited by: sridhar loganathan on Nov 19, 2008 8:24 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

SudhirT
Active Contributor
0 Kudos

Hi,

Just select the top nodes of source and target(As source and target structure is same in your case) and click on 1 to 1 Mapping Icon. and test your scenario again.

Thanks!

Former Member
0 Kudos

it is not identical as i am using a one more node for source as recordset

thnaking you

Sridhar

SudhirT
Active Contributor
0 Kudos

Actually you dint mention in your source structure. Paste exactly what is the source structure.

Thanks!

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

Could you please give us the complete structure and include the recordset there.

Regards

Former Member
0 Kudos

sorce structure

<RECORDSET>

<HEADER>

<INDI/>

<RFQ_NUM>ZZ</RFQ_NUM>

<DOC_TYPE/>

<VENDOR_QUA_NUM/>

<VALIDITY/>

<PAYMENT_MODE/>

<CURRENCY/>

<INCOTERMS1/>

<INCOTERMS2/>

<MODE_OF_TRANS/>

<VENDOR_REM_LINE1/>

<VENDOR_REM_LINE2/>

<VENDOR_REM_LINE3/>

<VENDOR_REM_LINE4/>

</HEADER>

<LINE>

<INDI>

<RFQ_NUM>

<RFQ_LINE_ITEM/>

<VENDOR_MATERIAL/>

<QUOTED_QTY/>

<UNIT_PRICE/>

<REQUIRED_DATE/>

<ESTIMATE_DELIEVERY_DATE/>

<CONFLICT_OF_INTERST/>

<ITEM_REMARK/>

<ADDITIONAL_REMARK/>

<LEAD_TIME/>

<SCALE1_QTY/>

<SCALE1_AMT/>

<SCALE2_QTY/>

<SCALE2_AMT/>

<SCALE3_QTY/>

<SCALE3_AMT/>

</LINE>

</RECORDSET>

target

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Shridhar,

I'm assuming that the occurrence of your recordset is 1..unbounded or 0..unbounded?

Regards,

Former Member
0 Kudos

Hi,

Make sure that in your target Structure

<LINE> (0,unbounded)

<INDI> is mapped to the same occurance of the Source structure

If INDI is 0..1 means you have to mapp with 0..1 occurance node from Source

Regards

Seshagiri

Former Member
0 Kudos

my INDI IS 1,1 FOR SOURCE AND FOR TARGET ALSO 1,1

only

thanking you

Former Member
0 Kudos

Hi,

As your Source & Target Structures are same, Just do like this

Place the cursor on Source & target Top nodes----and click on the button in the mapping editor mapp selected fields and substructures if fields are Idetical

This will do One-one mapping

Regards

Seshagiri

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

Just do one-to-one mapping (no node manipulations) and your scenario will be fine.

Regards