<?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: Multiple entries in the same row. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995245#M1163408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got the sample code I was looking for through the answers of others.&lt;/P&gt;&lt;P&gt;In anycase your answer provided me with some help though its not the same&lt;/P&gt;&lt;P&gt;logic that I have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyways.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2009 09:41:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-08T09:41:28Z</dc:date>
    <item>
      <title>Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995235#M1163398</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 a requirement wherein i have to display some columns in my output table.&lt;/P&gt;&lt;P&gt;These all values are fetched froma single table MSEG&lt;/P&gt;&lt;P&gt;Among them one of the column is material number and other is unit of entry.&lt;/P&gt;&lt;P&gt;For the same material number there clould be multiple entries conataining different&lt;/P&gt;&lt;P&gt;unit of entry. I want all these entries in single row for the same material number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible by using field symbol or any other way.&lt;/P&gt;&lt;P&gt;Please respond as soon as possible.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 15:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995235#M1163398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T15:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995236#M1163399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Sort the internal table by MATNR.  &lt;/P&gt;&lt;P&gt;  Looping through the internal table, Use the control break statements AT NEW Matnr.  you can write the same material number and different unit of entry in one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 16:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995236#M1163399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T16:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995237#M1163400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this thread on dynamic columns&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="420539"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can append all ur entries in a string and display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Jan 5, 2009 10:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 17:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995237#M1163400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995238#M1163401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide me a sample code for the same.&lt;/P&gt;&lt;P&gt;I don't know how to use the control break statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 16:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995238#M1163401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995239#M1163402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to display each unit of entry then you need to use Field Symbols or if you need to display it in one column separated by comma or colon etc the you can use Control break statement. As there could be different number of line items in each Material Document and not static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 16:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995239#M1163402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T16:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995240#M1163403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this in the ALV format.&lt;/P&gt;&lt;P&gt;As of now I have completed in the most crude manner,&lt;/P&gt;&lt;P&gt;but still I want to know it for further use.&lt;/P&gt;&lt;P&gt;If you could provide me with some sample code it &lt;/P&gt;&lt;P&gt;would be a great help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 16:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995240#M1163403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T16:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995241#M1163404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can you give me the output layout i.e your ALV Report Structure, with one example record so i can see how could it be done as i have also not done it earlier but could help you with the logic or code if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 16:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995241#M1163404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995242#M1163405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create an internal table of type tline  and append ur all entries which u want in a single row to that internal table. like itab-tdlines = field1 + field2 .......&lt;/P&gt;&lt;P&gt;then dispaly it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 16:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995242#M1163405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T16:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995243#M1163406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sumit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sample code for the Control Break Statement is as follow,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at it1_eobi_ded into wa_it1_eobi_ded.
 
    at new year.
      check_year = 'X'.
      clear wa_year_total.
    endat.
 
    if check_year = 'X'.
      clear check_year.
    else.
      wa_it1_eobi_ded-year = ''.
    endif.
 
    add: wa_it1_eobi_ded-p_staff to wa_year_total-p_staff,
         wa_it1_eobi_ded-p_ded to wa_year_total-p_ded,
         wa_it1_eobi_ded-dw_staff to wa_year_total-dw_staff,
         wa_it1_eobi_ded-dw_ded to wa_year_total-dw_ded,
         wa_it1_eobi_ded-total_ded to wa_year_total-total_ded.
 
    append wa_it1_eobi_ded to it2_eobi_ded.
 
    at end of year.
      wa_year_total-month_name = 'Year T'.
      append wa_year_total to it2_eobi_ded.
    endat.
 
    at last.
      sum.
      wa_it1_eobi_ded-month_name = 'Grand T'.
      append wa_it1_eobi_ded to it2_eobi_ded.
    endat.
 
  endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Replay if you need more help regarding Control Break Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 18:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995243#M1163406</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-07T18:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995244#M1163407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sumit,&lt;/P&gt;&lt;P&gt;This can be done something like this. &lt;/P&gt;&lt;P&gt;Create an internal table with first filed as MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : begin of itab occurs 0,
matnr like mseg-matnr,
uom like mseg-meins,
end of itab.
data : uom_str(100).
Then sort the itab - sort itab by matnr uom.

loop at itab.
concatenate uom_str itab-uom into uom_str.
at end of matnr.
write : /iatb-matnr,uom_str.
endat.
clear uom_str.

endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 2:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 19:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995244#M1163407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T19:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple entries in the same row.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995245#M1163408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got the sample code I was looking for through the answers of others.&lt;/P&gt;&lt;P&gt;In anycase your answer provided me with some help though its not the same&lt;/P&gt;&lt;P&gt;logic that I have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyways.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:41:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-entries-in-the-same-row/m-p/4995245#M1163408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T09:41:28Z</dc:date>
    </item>
  </channel>
</rss>

