<?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 executing alv in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-executing-alv-in-background/m-p/6337813#M1397056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ALV its not possible to print single heading in Back Ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ways it displays in classical list format only, in order to avoid that you can use Data Set concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-batch NE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     RUN YOUR ALV IN FOREGROUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   DATA: zfileext(50) TYPE c.  &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;             zfileext    =    'give your Sequential file path'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Extract data on Application server&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CONCATENATE zfileext 'EXTRACTED_FILE.TXT'&lt;/P&gt;&lt;P&gt;                                              INTO zfile.&lt;/P&gt;&lt;P&gt;  OPEN DATASET zfile FOR OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;  IF sy-batch NE 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;File could not be opened for writing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WRITE: / 'File can not be open:', zfile.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    LOOP AT it_ext INTO wa_ext.&lt;/P&gt;&lt;P&gt;      TRANSFER wa_ext TO zfile.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CLOSE DATASET zfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont find any other solution apart from this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any doubt revert back me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2009 09:06:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-13T09:06:50Z</dc:date>
    <item>
      <title>problem in executing alv in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-executing-alv-in-background/m-p/6337812#M1397055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI  EXPERTS,&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;            when i am running the alv in foreground , it is working properly.but ,when i tried to run it in background,it displayed  the  column headings in every page. but i need column headings only in first page.what should i do to resolve this problem?&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 06:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-executing-alv-in-background/m-p/6337812#M1397055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T06:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem in executing alv in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-executing-alv-in-background/m-p/6337813#M1397056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ALV its not possible to print single heading in Back Ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ways it displays in classical list format only, in order to avoid that you can use Data Set concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-batch NE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     RUN YOUR ALV IN FOREGROUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   DATA: zfileext(50) TYPE c.  &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;             zfileext    =    'give your Sequential file path'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Extract data on Application server&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CONCATENATE zfileext 'EXTRACTED_FILE.TXT'&lt;/P&gt;&lt;P&gt;                                              INTO zfile.&lt;/P&gt;&lt;P&gt;  OPEN DATASET zfile FOR OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;  IF sy-batch NE 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;File could not be opened for writing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WRITE: / 'File can not be open:', zfile.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    LOOP AT it_ext INTO wa_ext.&lt;/P&gt;&lt;P&gt;      TRANSFER wa_ext TO zfile.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CLOSE DATASET zfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont find any other solution apart from this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any doubt revert back me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 09:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-executing-alv-in-background/m-p/6337813#M1397056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T09:06:50Z</dc:date>
    </item>
  </channel>
</rss>

