<?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 Multiple rows to single row in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-rows-to-single-row/m-p/6972455#M1491505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement were I need form one row by using ABAP logic for the below format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Custno. | Adress| House No.|Region| Country |Contact umber &lt;/P&gt;&lt;P&gt;10001 | Mount Road |  |  |  |  | &lt;/P&gt;&lt;P&gt;10001 |                     | 35 |  |  | &lt;/P&gt;&lt;P&gt;10001 |                    |      | Sounth | |&lt;/P&gt;&lt;P&gt;10001 |                  |    |    |  US | &lt;/P&gt;&lt;P&gt;10001 |                     |    |    |   | 925666666                    &lt;/P&gt;&lt;P&gt;10002 | Ten down|   | | | |&lt;/P&gt;&lt;P&gt;10002 |       |  | | | &lt;/P&gt;&lt;P&gt;10002 |       |  | North |  |&lt;/P&gt;&lt;P&gt;10002 |      |   |          | US |&lt;/P&gt;&lt;P&gt;10002 |     |   |    |   | 222298882&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make above format in to one row using ABAP logic for each customer for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10001 | Mount Road |  35| south|US| 925666666&lt;/P&gt;&lt;P&gt;10002 | Ten down |  | North | US|   222298882&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write logic for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jun 2010 05:54:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-15T05:54:49Z</dc:date>
    <item>
      <title>Multiple rows to single row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-rows-to-single-row/m-p/6972455#M1491505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement were I need form one row by using ABAP logic for the below format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Custno. | Adress| House No.|Region| Country |Contact umber &lt;/P&gt;&lt;P&gt;10001 | Mount Road |  |  |  |  | &lt;/P&gt;&lt;P&gt;10001 |                     | 35 |  |  | &lt;/P&gt;&lt;P&gt;10001 |                    |      | Sounth | |&lt;/P&gt;&lt;P&gt;10001 |                  |    |    |  US | &lt;/P&gt;&lt;P&gt;10001 |                     |    |    |   | 925666666                    &lt;/P&gt;&lt;P&gt;10002 | Ten down|   | | | |&lt;/P&gt;&lt;P&gt;10002 |       |  | | | &lt;/P&gt;&lt;P&gt;10002 |       |  | North |  |&lt;/P&gt;&lt;P&gt;10002 |      |   |          | US |&lt;/P&gt;&lt;P&gt;10002 |     |   |    |   | 222298882&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make above format in to one row using ABAP logic for each customer for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10001 | Mount Road |  35| south|US| 925666666&lt;/P&gt;&lt;P&gt;10002 | Ten down |  | North | US|   222298882&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write logic for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 05:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-rows-to-single-row/m-p/6972455#M1491505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T05:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple rows to single row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-rows-to-single-row/m-p/6972456#M1491506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The below is a raw logic .......please modify according Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT NEW CUSTOMER.&lt;/P&gt;&lt;P&gt;         CLEAR &amp;lt;STRING&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT ITAB_WA AT '|' INTO TABLE &amp;lt;YOUR tab&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;yourtab&amp;gt;&lt;/P&gt;&lt;P&gt; CONCATINATE FIELD INTO &amp;lt;string&amp;gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 06:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-rows-to-single-row/m-p/6972456#M1491506</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-06-15T06:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple rows to single row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-rows-to-single-row/m-p/6972457#M1491507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; I wolud like to add the the given anup's  logic tat make sure the the cutomer no is the first column in the internal table &amp;amp; &lt;/P&gt;&lt;P&gt;sort the internal table b4 the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 06:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-rows-to-single-row/m-p/6972457#M1491507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T06:38:44Z</dc:date>
    </item>
  </channel>
</rss>

