<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tHMap tSAPIDOCOutput multiple loop in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280728#M55484</link>
    <description>&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will work if you build an intermediate step between in and out.&lt;/P&gt;&lt;P&gt;Hope it works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Jvl7&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 13:22:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-20T13:22:23Z</dc:date>
    <item>
      <title>tHMap tSAPIDOCOutput multiple loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280725#M55481</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt; 
&lt;P&gt;I'm actually trying to write an IDOC for purchase order from an XML file to be sent to a SAP S4 System. In my IDOC structure (PORDCR103) I've two Loops that need to be implemented. Attached you'll find an example of my XML file and a screenshot of IDOC structure.&lt;/P&gt; 
&lt;P&gt;Can you please help how to use tHMap to achieve what I need?&lt;/P&gt; 
&lt;P&gt;Loops mean:&lt;/P&gt; 
&lt;P&gt;- 1st loop on company (we can have 1 to n companies)&lt;/P&gt; 
&lt;P&gt;- 2nd loop on item (we can have 1 to n items)&lt;/P&gt; 
&lt;P&gt;I really don't know how to do that.&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;-Jacob&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IDOC_PORDCR103_Structure.png" style="width: 531px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Vc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133348i2D7EF01BD38D7F2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Vc.png" alt="0683p000009M7Vc.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280725#M55481</guid>
      <dc:creator>FMV_IT</dc:creator>
      <dc:date>2024-11-16T05:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap tSAPIDOCOutput multiple loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280726#M55482</link>
      <description>&lt;P&gt;Jacob,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I look to the metadata of the IDOC I see 1 loop element and not 2.&lt;/P&gt;
&lt;P&gt;You retrieved the metadata from SAP and SAP calls the segment "Loop-E2PORDCR101", but it is not a loop element otherwise it had the same information behind it "0:99999999".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend to build an intermediate step between input and output because if your input is completely different then your output, it is not possible to build your IDOC correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have questions, let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kr,&lt;/P&gt;
&lt;P&gt;Jvl&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 14:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280726#M55482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-09T14:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap tSAPIDOCOutput multiple loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280727#M55483</link>
      <description>&lt;P&gt;Hi JVL,&lt;/P&gt;&lt;P&gt;Thansk for your answer. According to my XML file you'll say it will work as it? (you could see it attached to my 1st post).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Jacob&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 15:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280727#M55483</guid>
      <dc:creator>FMV_IT</dc:creator>
      <dc:date>2019-08-12T15:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap tSAPIDOCOutput multiple loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280728#M55484</link>
      <description>&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will work if you build an intermediate step between in and out.&lt;/P&gt;&lt;P&gt;Hope it works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Jvl7&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 13:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280728#M55484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-20T13:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap tSAPIDOCOutput multiple loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280729#M55485</link>
      <description>&lt;P&gt;Hi JVL,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think I need more infos to fully understand the way to make it works. First step are perfectly run by my job but in the middle of the process it stops generating the IDoc with following error messages:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2: Warning - An element that loops is missing a loop expression. All mapping at and beneath this element is ignored. To avoid this warning, use the FixedLoop function with a number of times of zero (to omit) or one (to include once). (218) (OUTPUT)&lt;BR /&gt;Map Element: Maps/Jobs/Test_S4HANA_IDOC_GeCom/tHMap_2.xml - Map Element: out$/PORDCR103/Loop-E2PORDCR1001/E2BPMEPOITEMX009&lt;/P&gt; 
&lt;P&gt;3: Warning - An element that loops is missing a loop expression. All mapping at and beneath this element is ignored. To avoid this warning, use the FixedLoop function with a number of times of zero (to omit) or one (to include once). (218) (OUTPUT)&lt;BR /&gt;Map Element: Maps/Jobs/Test_S4HANA_IDOC_GeCom/tHMap_2.xml - Map Element: out$/PORDCR103/Loop-E2PORDCR1001/E2BPMEPOACCOUNT002&lt;/P&gt; 
&lt;P&gt;4: Warning - An element that loops is missing a loop expression. All mapping at and beneath this element is ignored. To avoid this warning, use the FixedLoop function with a number of times of zero (to omit) or one (to include once). (218) (OUTPUT)&lt;BR /&gt;Map Element: Maps/Jobs/Test_S4HANA_IDOC_GeCom/tHMap_2.xml - Map Element: out$/PORDCR103/Loop-E2PORDCR1001/E2BPMEPOACCOUNTX003&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As they not loop elements why did I receive this messages?&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;-Jacob&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 15:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280729#M55485</guid>
      <dc:creator>FMV_IT</dc:creator>
      <dc:date>2019-08-21T15:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap tSAPIDOCOutput multiple loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280730#M55486</link>
      <description>&lt;P&gt;Hi JVL,&lt;/P&gt; 
&lt;P&gt;I'm still stucked with my IDOC. I've the following error messages when generating the message:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2: Warning - An element that loops is missing a loop expression. All mapping at and beneath this element is ignored. To avoid this warning, use the FixedLoop function with a number of times of zero (to omit) or one (to include once). (218) (OUTPUT)&lt;BR /&gt;Map Element: Maps/Jobs/Test_S4HANA_IDOC_GeCom/tHMap_2.xml - Map Element: out$/PORDCR103/Loop-E2PORDCR1001/E2BPMEPOITEMX009&lt;/P&gt; 
&lt;P&gt;3: Warning - An element that loops is missing a loop expression. All mapping at and beneath this element is ignored. To avoid this warning, use the FixedLoop function with a number of times of zero (to omit) or one (to include once). (218) (OUTPUT)&lt;BR /&gt;Map Element: Maps/Jobs/Test_S4HANA_IDOC_GeCom/tHMap_2.xml - Map Element: out$/PORDCR103/Loop-E2PORDCR1001/E2BPMEPOACCOUNT002&lt;/P&gt; 
&lt;P&gt;4: Warning - An element that loops is missing a loop expression. All mapping at and beneath this element is ignored. To avoid this warning, use the FixedLoop function with a number of times of zero (to omit) or one (to include once). (218) (OUTPUT)&lt;BR /&gt;Map Element: Maps/Jobs/Test_S4HANA_IDOC_GeCom/tHMap_2.xml - Map Element: out$/PORDCR103/Loop-E2PORDCR1001/E2BPMEPOACCOUNTX003&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;According to IDOC structure this 3 elements are not loop element. I don't understand why I get this error. Upper elements are all generated correctly (in part with my XML file).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do you have any clue? I've tried the "Unroll from Loop" for this 3 elements but it still doesn't work.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;-Jacob&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 07:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-tSAPIDOCOutput-multiple-loop/m-p/2280730#M55486</guid>
      <dc:creator>FMV_IT</dc:creator>
      <dc:date>2019-08-22T07:05:15Z</dc:date>
    </item>
  </channel>
</rss>

