SAP Knowledge Base Article - Preview

2915745 - MRQ Magnetic Media - Known XML validation errors and how to solve them

Symptom

You are using program Year End Reporting, Canada: Magnetic Media - MRQ XML (RPCYERK3_MRQ_XML) to generate XML file for your REL1 Year-end run and face the following error:

  • XML file validation completed; XML file contains errors (5K322)

Since your XML has errors in accordance with the schema used, a TXT file will be created for you to detail the errors found. Then, you open the TXT file and see one or more of the following errors:

  1. Error Code: -1072898028
    Location:
    ["Transmission"]
    ["Groupe01"][1]
    ["R"][1]
    ["Montants"][1]
    ["O_AutreRevenu"][1]
    ["SourceCaseO"][1]
    Reason: Element 'SourceCaseO' is unexpected according to content model of parent element 'O_AutreRevenu'.
    Expecting: MontantCaseO.

  2. Error Code: -1072898028
    Location:
    ["Transmission"]
    ["Groupe01"][1]
    ["R"][1]
    ["CaseRensCompl"][5]
    Reason: Element 'CaseRensCompl' is unexpected according to content model of parent element 'R'.

  3. Error Code: -1072897687
    Location:
    ["Transmission"]
    ["Groupe01"][1]
    ["A"][2]
    ["Adresse"][1]
    ["Ligne1"][1]
    Reason: '' violates minLength constraint of '1'.
    The element 'Ligne1' with value '' failed to parse.

  4. Error Code: -1072897687
    Location:
    ["Transmission"]
    ["Groupe01"][1]
    ["R"][1]
    ["Identification"][1]
    ["Employe"][1]
    ["NAS"][1]
    Reason: '' violates pattern constraint of '\d'.
    The element 'NAS' with value '' failed to parse.

  5. Error Code: -1072897687
    Location:
    ["Transmission"]
    [Groupe01"][2]
    [R"][1]
    [Identification"][1]
    [Employe"][1]
    [NomFamille"][1]
    Reason: '' violates minLength constraint of '1'.
    The element 'NomFamille' with value '' failed to parse.

  6. Error Code: -1072897687
    Location:
    [Transmission"]
    [Groupe01"][2]
    [R"][1]
    [Identification"][1]
    [Employe"][1]
    [Prenom"][1]
    Reason: '' violates minLength constraint of '1'.
    The element 'Prenom' with value '' failed to parse.


Read more...

Environment

  • Human Capital Management (HCM)
  • SAP R/3
  • SAP ERP Core Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA  

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP HANA, platform edition all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

Relevé, Releve, REL1, RL1, PC00_M07_CCYR, RPCYERK0, XML error, XML validation, schema, YE, SourceCaseO, CaseRensCompl, Ligne1 , KBA , PY-CA-YE , Year End for Canada , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.