SAP Knowledge Base Article - Public

3339071 - In Scheduled XML File Output Integration, configured sequence order of fields is not same in output file.

Symptom

While creating an IC to generate XML. From XLM in IC, you can configure the sequence (using move item up and move item down). Whenever you change order of fields, in preview it is working perfectly but when you generate the xml file, the order is wrong.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors HXM Suite
    • Integrations
      • Integration Center

Reproducing the Issue

  1. Goto Integration center -> My Integrations
  2. click on create button and Select "Scheduled XML File Output Integration".
  3. Configure the integration based on your requirement.
  4. Goto Configure fields -> switch to detailed view and use move item up and move item down buttons to change the order of the fields as shown in below image,

            As you can see in above image, under preview, field order is based on order you maintained in left side. You can change that order using those up and down buttons.

        5. SFTP output:

         6. As you can see in above image, field order got changed, now it is ordered in Alphabetical order.

      

Cause

This is expected behavior. We are not sorting the attributes in the code, by default the DOM parser is doing.

Resolution

Sorry to inform that, this behavior cannot be changed.

We are not sorting the attributes in the code, by default the DOM parser is doing it and we checked internally, there is no way to change this behavior. 

As this is an expected behavior of the Product, the only suggestion I can provide you is to submit an enhancement request via the Influence page. Once submitted, customers will have an opportunity to view and support your request with the hope that if enough support is gathered, Product Management may include this functionality within a future product release.

KBA - 2090228 - How to Submit Ideas for SAP SuccessFactors Products - SAP for Me 

See Also

XML Output | SAP Help Portal

2320854 - How to use the option “Scheduled XML File Output Integration” in Integration Center (sap.com)

Keywords

Scheduled XML File Output Integration, field order, move item up, move item down, up arrow, down arrow, XML, integration center, configure fields, detailed view, alphabetical sort, Successfactors, SF , KBA , LOD-SF-INT-INC , Integration Center , How To

Product

SAP SuccessFactors HXM Suite 2305

Attachments

Pasted image.png