cancel
Showing results for 
Search instead for 
Did you mean: 

Error while Checking Mapping

Former Member
0 Kudos

Hi,

iam getting following error while testing my mapping .

Can any one help me out.

Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element

Thanks in Advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check in the occurances of the source and the target structure nodes.

It seems to be a problem with some node whose occurance is not getting created properly

Mudit

justin_santhanam
Active Contributor
0 Kudos

Dinesh,

If u give the source n target structure it will be esy for us to suggest.

Best regards,

raj.

Former Member
0 Kudos

This is Source

<?xml version="1.0" encoding="UTF-8" ?>

- <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

- <ns0:Message1>

- <YFIPEXR2002>

- <IDOC BEGIN="1">

- <EDI_DC40 SEGMENT="1">

<TABNAM>EDI_DC40</TABNAM>

<MANDT>202</MANDT>

<DOCNUM>0000000000495689</DOCNUM>

<DOCREL>640</DOCREL>

<STATUS>30</STATUS>

<DIRECT>1</DIRECT>

<OUTMOD>2</OUTMOD>

<IDOCTYP>PEXR2002</IDOCTYP>

<CIMTYP>YFIPEXR2002</CIMTYP>

<MESTYP>PAYEXT</MESTYP>

<SNDPOR>SAPDR0</SNDPOR>

<SNDPRT>LS</SNDPRT>

<SNDPRN>DR0CLNT202</SNDPRN>

<RCVPOR>A000000019</RCVPOR>

<RCVPRT>B</RCVPRT>

<RCVPRN>0029999001</RCVPRN>

<CREDAT>20070626</CREDAT>

<CRETIM>161822</CRETIM>

<SERIAL>20070626161822</SERIAL>

</EDI_DC40>

- <E1IDKU1 SEGMENT="1">

<BGMTYP>PEX</BGMTYP>

<BGMNAME>EXTENDED PAYMENT ORDER</BGMNAME>

<BGMREF>2000000001</BGMREF>

<BGMLEV>ORG</BGMLEV>

<BGMACC>001</BGMACC>

</E1IDKU1>

- <E1EDK03 SEGMENT="1">

<IDDAT>011</IDDAT>

<DATUM>20070626</DATUM>

<UZEIT>161822</UZEIT>

</E1EDK03>

- <E1EDK03 SEGMENT="1">

<IDDAT>028</IDDAT>

<DATUM>20070626</DATUM>

</E1EDK03>

- <E1EDK03 SEGMENT="1">

<IDDAT>018</IDDAT>

<DATUM>20070626</DATUM>

</E1EDK03>

- <E1EDK02 SEGMENT="1">

<QUALF>022</QUALF>

<BELNR>2000000001</BELNR>

</E1EDK02>

- <E1IDKU2 SEGMENT="1">

<BUSFUN>001</BUSFUN>

<BUSGEO>IN</BUSGEO>

<BUSZFO>001</BUSZFO>

</E1IDKU2>

- <E1IDKU3 SEGMENT="1">

<PAIRZAWE>Y</PAIRZAWE>

<PAYRUNCC>X101</PAYRUNCC>

<PAYRUNID>FIP1</PAYRUNID>

<PAYRUNDT>20070626</PAYRUNDT>

<RELNUM>000000025411</RELNUM>

</E1IDKU3>

- <E1IDKU5 SEGMENT="1">

<MOAQUAL>002</MOAQUAL>

<MOABETR>19000.00</MOABETR>

<CUXWAERZ>EUR</CUXWAERZ>

</E1IDKU5>

- <E1IDB02 SEGMENT="1">

<FIIQUALI>BA</FIIQUALI>

<FIIBKENN>0000000001</FIIBKENN>

<FIIBKCDE>004</FIIBKCDE>

<FIIBKNAM>BOISSIERE FINANCE</FIIBKNAM>

<FIIBKORT>RUEIL MALMAISON</FIIBKORT>

<FIIBLAND>FR</FIIBLAND>

<FIIKONTO>12345678907</FIIKONTO>

<FIIKWAER>EUR</FIIKWAER>

<FIIBKONT>01</FIIBKONT>

</E1IDB02>

- <E1IDB02 SEGMENT="1">

<FIIQUALI>BB</FIIQUALI>

<FIIBKENN>SOGEFRPP</FIIBKENN>

<FIIBKCDE>002</FIIBKCDE>

<FIIBKUKN>3000301015</FIIBKUKN>

<FIIBKUCD>004</FIIBKUCD>

<FIIBKNAM>SOCIETE GENERALE</FIIBKNAM>

<FIIBKORT>MEYLAN</FIIBKORT>

<FIIBLAND>FR</FIIBLAND>

<FIIKONTO>FR7630003010150005258275766</FIIKONTO>

<FIIKNAME>OG PAYEE</FIIKNAME>

<FIIBKONT>66</FIIBKONT>

</E1IDB02>

- <E1EDKA1 SEGMENT="1">

<PARVW>AG</PARVW>

<NAME1>CORE COMPANY CODE X101</NAME1>

<STRAS>2ND FLOOR, 408 STRAND</STRAS>

<ORT01>LONDON</ORT01>

<PSTLZ>WC2R 0NE</PSTLZ>

<LAND1>GB</LAND1>

<SPRAS>E</SPRAS>

<ANRED>MR.</ANRED>

<REGIO>WC</REGIO>

<ISOAL>GB</ISOAL>

</E1EDKA1>

- <E1EDKA1 SEGMENT="1">

<PARVW>ZE</PARVW>

<PARTN>0019000999</PARTN>

<NAME1>OG PAYEE</NAME1>

<STRAS>ARC DE TRIOMPHE</STRAS>

<ORT01>PARIS</ORT01>

<PSTLZ>75000</PSTLZ>

<LAND1>FR</LAND1>

<ISOAL>FR</ISOAL>

<SPRAS_ISO>EN</SPRAS_ISO>

</E1EDKA1>

- <E1EDKA1 SEGMENT="1">

<PARVW>BE</PARVW>

<PARTN>0019000902</PARTN>

<NAME1>VENDOR TEST FIP</NAME1>

<STRAS>3 RUE DU LAC</STRAS>

<ORT01>ANNECY</ORT01>

<PSTLZ>74000</PSTLZ>

<LAND1>FR</LAND1>

<ISOAL>FR</ISOAL>

<SPRAS_ISO>EN</SPRAS_ISO>

</E1EDKA1>

- <E1IDPU1 SEGMENT="1">

<DOCNAME>INV</DOCNAME>

<DOCNUMMR>PAYEE</DOCNUMMR>

<DOCDATUM>20070101</DOCDATUM>

- <E1IDPU5 SEGMENT="1">

<MOAQUAL>004</MOAQUAL>

<MOABETR>19000.00</MOABETR>

<CUXWAERZ>EUR</CUXWAERZ>

</E1IDPU5>

- <E1IDPU5 SEGMENT="1">

<MOAQUAL>003</MOAQUAL>

<MOABETR>0.00</MOABETR>

<CUXWAERZ>EUR</CUXWAERZ>

</E1IDPU5>

- <E1IDPU5 SEGMENT="1">

<MOAQUAL>005</MOAQUAL>

<MOABETR>0.00</MOABETR>

<CUXWAERZ>EUR</CUXWAERZ>

</E1IDPU5>

- <E1IDPU5 SEGMENT="1">

<MOAQUAL>006</MOAQUAL>

<MOABETR>19000.00</MOABETR>

<CUXWAERZ>EUR</CUXWAERZ>

</E1IDPU5>

- <E1EDP03 SEGMENT="1">

<IDDAT>016</IDDAT>

<DATUM>20070101</DATUM>

</E1EDP03>

- <E1EDP03 SEGMENT="1">

<IDDAT>015</IDDAT>

<DATUM>20070101</DATUM>

</E1EDP03>

- <E1EDP02 SEGMENT="1">

<QUALF>009</QUALF>

<BELNR>PAYEE</BELNR>

</E1EDP02>

- <E1EDP02 SEGMENT="1">

<QUALF>010</QUALF>

<BELNR>0100000006</BELNR>

</E1EDP02>

</E1IDPU1>

- <E1IDLU5 SEGMENT="1">

<MOAQUAL>002</MOAQUAL>

<MOABETR>19000.00</MOABETR>

<CUXWAERZ>EUR</CUXWAERZ>

</E1IDLU5>

- <E1IDLU5 SEGMENT="1">

<MOAQUAL>003</MOAQUAL>

<MOABETR>0.00</MOABETR>

<CUXWAERZ>EUR</CUXWAERZ>

</E1IDLU5>

</IDOC>

</YFIPEXR2002>

</ns0:Message1>

</ns0:Messages>

Former Member
0 Kudos

Target is this .

but values is varied

<?xml version="1.0" encoding="utf-8" ?>

- <MT_ExtendedOrderPayment>

- <message>

- <general>

<original_name_file>000000003912</original_name_file>

<ordering_customer_name>X101</ordering_customer_name>

<debited_account>00000000011234567890601</debited_account>

<debited_account_currency>USD</debited_account_currency>

<original_creation_datetime>26/06/2006 14:53:58</original_creation_datetime>

<ordering_customer_country>FR</ordering_customer_country>

<date_format>fr-FR</date_format>

<amount_format>.</amount_format>

</general>

- <ordering_payment_list>

- <ordering_payment>

<type_opfina>20</type_opfina>

<amount>200.00</amount>

<currency>USD</currency>

<execution_date>26/06/2006</execution_date>

<reference>2000000048</reference>

- <parties>

- <payee>

- <identification>

<payee_name>MEXICAN SYMWARE X101 FIP</payee_name>

<local_identifier>SWC920404DA3</local_identifier>

<si_code>0019000011</si_code>

<telephone_number />

<contact />

<fax_number />

<email />

- <address_payee>

<line_1>PLAZA MAJOR</line_1>

<line_2 />

<postal_code>10001</postal_code>

<town>MEXICO CITY</town>

<state />

<country_code>MX</country_code>

</address_payee>

</identification>

- <payee_bank>

<bank_name>BANCO 2</bank_name>

<country_code_account>MX</country_code_account>

<account_type />

<local_account_identifier>4024126971</local_account_identifier>

<currency_code />

<iban_key />

<domiciliation />

<bic_code />

- <address_payee_bank>

<line_1 />

<line_2 />

<postal_code />

<town>GUADELAJARA</town>

<state />

<country_code>MX</country_code>

</address_payee_bank>

</payee_bank>

</payee>

- <beneficiary>

<beneficiary_name />

<contact />

<fax_number />

<email />

- <address_beneficiary>

<line_1 />

<line_2 />

<postal_code />

<town />

<state />

<country_code />

</address_beneficiary>

</beneficiary>

</parties>

<documents_nb>1</documents_nb>

- <documents_list>

- <document>

<document_type>380</document_type>

<document_type_montant>9</document_type_montant>

<document_libelle>DP REQUEST</document_libelle>

<document_piece_comptable>1700000001</document_piece_comptable>

<document_numero_doctiers>DP REQUEST</document_numero_doctiers>

<document_date_doctiers>26/06/2006</document_date_doctiers>

<document_amount>200.00</document_amount>

<document_currency>USD</document_currency>

</document>

</documents_list>

</ordering_payment>

- <ordering_payment>

<type_opfina>20</type_opfina>

<amount>3500.00</amount>

<currency>USD</currency>

<execution_date>26/06/2006</execution_date>

<reference>2000000047</reference>

- <parties>

- <payee>

- <identification>

<payee_name>MEXICAN SYMWARE X101 FIP</payee_name>

<local_identifier>SWC920404DA3</local_identifier>

<si_code>0019000011</si_code>

<telephone_number />

<contact />

<fax_number />

<email />

- <address_payee>

<line_1>PLAZA MAJOR</line_1>

<line_2 />

<postal_code>10001</postal_code>

<town>MEXICO CITY</town>

<state />

<country_code>MX</country_code>

</address_payee>

</identification>

- <payee_bank>

<bank_name>BANCO 2</bank_name>

<country_code_account>MX</country_code_account>

<account_type />

<local_account_identifier>4024126971</local_account_identifier>

<currency_code />

<iban_key />

<domiciliation />

<bic_code />

- <address_payee_bank>

<line_1 />

<line_2 />

<postal_code />

<town>GUADELAJARA</town>

<state />

<country_code>MX</country_code>

</address_payee_bank>

</payee_bank>

</payee>

- <beneficiary>

<beneficiary_name />

<contact />

<fax_number />

<email />

- <address_beneficiary>

<line_1 />

<line_2 />

<postal_code />

<town />

<state />

<country_code />

</address_beneficiary>

</beneficiary>

</parties>

<documents_nb>3</documents_nb>

- <documents_list>

- <document>

<document_type>380</document_type>

<document_type_montant>9</document_type_montant>

<document_libelle>BUILD V4 P76</document_libelle>

<document_piece_comptable>1900000033</document_piece_comptable>

<document_numero_doctiers>BUILD V4 P76</document_numero_doctiers>

<document_date_doctiers>19/06/2006</document_date_doctiers>

<document_amount>250.00</document_amount>

<document_currency>USD</document_currency>

</document>

- <document>

<document_type>380</document_type>

<document_type_montant>9</document_type_montant>

<document_libelle>BUILD V4 P76</document_libelle>

<document_piece_comptable>1900000034</document_piece_comptable>

<document_numero_doctiers>BUILD V4 P76</document_numero_doctiers>

<document_date_doctiers>19/06/2006</document_date_doctiers>

<document_amount>250.00</document_amount>

<document_currency>USD</document_currency>

</document>

- <document>

<document_type>380</document_type>

<document_type_montant>9</document_type_montant>

<document_libelle>ZONPP</document_libelle>

<document_piece_comptable>5100000024</document_piece_comptable>

<document_numero_doctiers>ZONPP</document_numero_doctiers>

<document_date_doctiers>01/12/2005</document_date_doctiers>

<document_amount>3000.00</document_amount>

<document_currency>USD</document_currency>

</document>

</documents_list>

</ordering_payment>

</ordering_payment_list>

<ordering_payment_nb>2</ordering_payment_nb>

<total_amount>3700.00</total_amount>

</message>

</MT_ExtendedOrderPayment>

henrique_pinto
Active Contributor
0 Kudos

remove the hifens ("-") between the tags.

You're using the "view" of the xml, not the xml itself.

If you are copying that from SXMB_MONI, use the "view source" option, with mouse right click, in order to get proper xml.

Regards,

Henrique.