<?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: Running Object Oriented ALV in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698540#M1104129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't have to write additional code. Look at the example that SAP provides:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  SALV_DEMO_TABLE_REAL_SIMPLE.

data: gt_outtab type table of SFLIGHT.
data: gr_table  type ref to cl_salv_table.

*... Select data
  select * from SFLIGHT into corresponding fields of table gt_outtab.

*... Create Instance
  call method cl_salv_table=&amp;gt;factory
    IMPORTING
      R_SALV_TABLE = gr_table
    changing
      t_table      = gt_outtab.


*... Display table
  gr_table-&amp;gt;display( ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program runs perfectly in background. The ALV class switches automatically to a list display when it discovers that it was called by a background task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jörg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2008 08:54:02 GMT</pubDate>
    <dc:creator>jrgkraus</dc:creator>
    <dc:date>2008-11-12T08:54:02Z</dc:date>
    <item>
      <title>Running Object Oriented ALV in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698536#M1104125</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 normal report in which i am displaying the output as a grid using object oriented ALV.&lt;/P&gt;&lt;P&gt;I have not created any screens for this.I am using Factory functions.&lt;/P&gt;&lt;P&gt;Now this program should also run in background.Is job scheduling in SM36 is enough or should I write any special code for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 07:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698536#M1104125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T07:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Running Object Oriented ALV in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698537#M1104126</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;No the OO ALV will take care of this and switch to a printed version in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 07:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698537#M1104126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T07:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running Object Oriented ALV in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698538#M1104127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean to say that I can directly schedule the job in SM36?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 07:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698538#M1104127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T07:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Running Object Oriented ALV in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698539#M1104128</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;Can any one please answer this question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 08:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698539#M1104128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T08:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Running Object Oriented ALV in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698540#M1104129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't have to write additional code. Look at the example that SAP provides:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  SALV_DEMO_TABLE_REAL_SIMPLE.

data: gt_outtab type table of SFLIGHT.
data: gr_table  type ref to cl_salv_table.

*... Select data
  select * from SFLIGHT into corresponding fields of table gt_outtab.

*... Create Instance
  call method cl_salv_table=&amp;gt;factory
    IMPORTING
      R_SALV_TABLE = gr_table
    changing
      t_table      = gt_outtab.


*... Display table
  gr_table-&amp;gt;display( ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program runs perfectly in background. The ALV class switches automatically to a list display when it discovers that it was called by a background task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jörg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 08:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698540#M1104129</guid>
      <dc:creator>jrgkraus</dc:creator>
      <dc:date>2008-11-12T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Running Object Oriented ALV in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698541#M1104130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you soo much for your suggestion.&lt;/P&gt;&lt;P&gt;It is very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 09:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-object-oriented-alv-in-background/m-p/4698541#M1104130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T09:25:01Z</dc:date>
    </item>
  </channel>
</rss>

