<?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: problem in header and item data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-header-and-item-data/m-p/2124364#M445729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Nishu Gupta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want Header data and Item data in a single line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the program where you are writing the content to list,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There make sure that there are &amp;lt;b&amp;gt;no '\n' in write or SKIP statements.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can get it by just &amp;lt;b&amp;gt;removing  those(  '\n' ,SKIP).&amp;lt;/b&amp;gt; in your report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps you.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rama.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2007 11:24:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-18T11:24:27Z</dc:date>
    <item>
      <title>problem in header and item data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-header-and-item-data/m-p/2124362#M445727</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 m using this *****************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RFTBCF00 EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;              AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;listobject = list_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;not_found = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL FUNCTION 'WRITE_LIST'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;listobject = list_tab.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;listasci = i_ascii&lt;/P&gt;&lt;P&gt;listobject = list_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;empty_list = 1&lt;/P&gt;&lt;P&gt;list_index_invalid = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the current scenario i m getting data like&lt;/P&gt;&lt;P&gt;header &lt;/P&gt;&lt;P&gt;  line item data(detail)&lt;/P&gt;&lt;P&gt;header &lt;/P&gt;&lt;P&gt;   line item data(detail)&lt;/P&gt;&lt;P&gt;so  on.... what i want is tha data shud come altogether like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;header data item data&lt;/P&gt;&lt;P&gt;header data item data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way ....&lt;/P&gt;&lt;P&gt;so dat i can get data dis way only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx points will be assigned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 07:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-header-and-item-data/m-p/2124362#M445727</guid>
      <dc:creator>former_member189410</dc:creator>
      <dc:date>2007-04-18T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in header and item data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-header-and-item-data/m-p/2124363#M445728</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;You can use two internal tables, one for the header and one for the item data.&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;Types: begin of it_header_struct,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;end of it_header _struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of it_line_item_struct,&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;end of it_line_item _struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:it_header type table of it_header_struct.&lt;/P&gt;&lt;P&gt;data:it_line_item type table of it_line_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:wa_it_header like line of it_header struct.&lt;/P&gt;&lt;P&gt;data: wa_it_line_iitem like line of it_line_item_struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then ,you can fetch the data in these corresponding tables, and then display it using ALV.&lt;/P&gt;&lt;P&gt;Fot this, the fieldcatalog will be the same, only the fieldnames and the reference table names will change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Prerna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 11:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-header-and-item-data/m-p/2124363#M445728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T11:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem in header and item data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-header-and-item-data/m-p/2124364#M445729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Nishu Gupta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want Header data and Item data in a single line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the program where you are writing the content to list,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There make sure that there are &amp;lt;b&amp;gt;no '\n' in write or SKIP statements.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can get it by just &amp;lt;b&amp;gt;removing  those(  '\n' ,SKIP).&amp;lt;/b&amp;gt; in your report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps you.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rama.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 11:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-header-and-item-data/m-p/2124364#M445729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T11:24:27Z</dc:date>
    </item>
  </channel>
</rss>

