Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Message Transformation Utilities: StructurePlainToXML- RecordSet Sequence missing #116

Open
hiteshwarmanni opened this issue Dec 30, 2024 · 3 comments

Comments

@hiteshwarmanni
Copy link

Describe the bug
Multiple recordset nodes are created even if it follows a single recordset structure.

To Reproduce
Steps to reproduce the behavior:

  1. Lets take example from community package Iflow MessageTransformBean - StructurePlainToXML - TC1

  2. Change the property xml.recordsetStructure with NameA,1,NameB,,NameC, and deploy the flow.
    NameA to occur once, and NameB and C to occur multiple times.

  3. Input Payload:AA1234567890
    BBABCABC
    BBXYZXYZ
    CC12345
    BBABCABC
    BBXYZXYZ
    CC12345

  4. Expected output format is different than SAP PO.
    Expected behavior
    Ideally, it should have single recordset node with multiple child nodes as below:
    <ns1:root xmlns:ns1="http://xi.com/test">

AA 1234567890 ABC ABC XYZ XYZ 12345 ABC ABC XYZ XYZ 12345

Error Output:
<ns1:root xmlns:ns1="http://xi.com/test">


AA
1234567890


ABC
ABC


XYZ
XYZ


12345




ABC
ABC


XYZ
XYZ


12345


</ns1:root>

Screenshots
Image
is repeating multiple times
Image

Desktop (please complete the following information):
Any OS, Browser and Version.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@hiteshwarmanni hiteshwarmanni changed the title Issue with Message Transformation Utilities Issue with Message Transformation Utilities: StructurePlainToXML Dec 30, 2024
@hiteshwarmanni
Copy link
Author

Basically, the feature of recordset sequence = variable or ascending is missing in this utility.

@hiteshwarmanni hiteshwarmanni changed the title Issue with Message Transformation Utilities: StructurePlainToXML Issue with Message Transformation Utilities: StructurePlainToXML- RecordSet Sequence missing Dec 31, 2024
@bertrandhenkel
Copy link

Hello,

thanks for the feedback. We are currently investigating this and will come back to you once we have a result of the analysis.
BR

@bertrandhenkel
Copy link

Hi,
we have resolved the issue. It will be available within the next release.
BR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants