<?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: Background Execution Problem-Docking Container with 2 ALV Grids in one scre in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604642#M1277146</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;I experienced a similar if not exact problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was displaying one ALV grid, handling a button click(or in background just executing the appropriate form)  and then displaying a second ALV grid.&lt;/P&gt;&lt;P&gt;When I ran this job in background the job log showed only one spool list had been created and it contained only the output from one of the ALV grids.  However, if I went to sp02/sp01 from the link in the job log I found that there were actually 2 spool lists created.  One for each of the ALV grids. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps a bit.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2009 14:36:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-06T14:36:53Z</dc:date>
    <item>
      <title>Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604636#M1277140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have created 2 ALV Grids in one screen - one below another using DOCKING CONTAINER.&lt;/P&gt;&lt;P&gt;The objects are 'g_dock_cont' and 'g_dock_cont1'.&lt;/P&gt;&lt;P&gt;I am getting the foreground output as expected with 2 ALV Grids.&lt;/P&gt;&lt;P&gt;While executing in background (F9), I am getting only output of first ALV grid. Second ALV is not getting displayed in BACKGROUND(F9) mode.&lt;/P&gt;&lt;P&gt;How to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM create_objects.
* Materials with data
  IF   g_dock_cont IS INITIAL.
   IF sy-batch NE 'X'.
*CREATE THE OBJECT FOR DOCKING CONTAINER
    CREATE OBJECT g_dock_cont
      EXPORTING
        side                  = cl_gui_docking_container=&amp;gt;dock_at_top
        extension             = 300.
    ENDIF.
*CREATE THE OBJECT FOR ALV GRID
    CREATE OBJECT g_alvgrid
           EXPORTING i_parent = g_dock_cont.
    wa_layout-grid_title =
          'Materials with Data'.
  ENDIF.
*
IF NOT I_DETAIL[] IS INITIAL.
CALL METHOD g_alvgrid-&amp;gt;set_table_for_first_display
  EXPORTING
    IS_VARIANT                    = WA_VARIANT_STX
    IS_LAYOUT                     = wa_layout
  CHANGING
    it_outtab                     = I_DETAIL
    IT_FIELDCATALOG               = LIT_FIELDCATALOG[]
  EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR                 = 2
    TOO_MANY_LINES                = 3
    others                        = 4
        .
IF sy-subrc &amp;lt;&amp;gt; 0.
ENDIF.
ENDIF.
*MATERIALS WITHOUT DATA
  IF   g_dock_cont1 IS INITIAL.
   IF sy-batch NE 'X'.
*CREATE THE OBJECT FOR DOCKING CONTAINER
    CREATE OBJECT g_dock_cont1
      EXPORTING
        side                  = cl_gui_docking_container=&amp;gt;dock_at_bottom
        extension             = 300.
   ENDIF.
*CREATE THE OBJECT FOR ALV GRID
    CREATE OBJECT g_alvgrid1
           EXPORTING i_parent = g_dock_cont1.
    wa_layout1-grid_title =
          'Materials without Data'.
  ENDIF.
*
IF NOT I_MARA[] IS INITIAL.
CALL METHOD g_alvgrid1-&amp;gt;set_table_for_first_display
  EXPORTING
    IS_LAYOUT                     = wa_layout1
  CHANGING
    it_outtab                     = I_MARA
    IT_FIELDCATALOG               = i_fieldcat[]
  EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR                 = 2
    TOO_MANY_LINES                = 3
    others                        = 4
        .
IF sy-subrc &amp;lt;&amp;gt; 0.
ENDIF.
ENDIF.

ENDFORM.                    " create_objects&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viji.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 09:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604636#M1277140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604637#M1277141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  ALV Grids by default do not work in the background mode.&lt;/P&gt;&lt;P&gt;You have to use the method: cl_gui_alv_grid=&amp;gt;offline( ) for background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the code here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=83243" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=83243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 09:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604637#M1277141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T09:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604638#M1277142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;I have used the code as suggested by you.&lt;/P&gt;&lt;P&gt;But still I am getting the FIRST ALV GRID while executing in BACKGROUND.&lt;/P&gt;&lt;P&gt;Code pasted for your reference.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viji.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  IF   g_dock_cont IS INITIAL.
    IF cl_gui_alv_grid=&amp;gt;offline( ) IS INITIAL.

      CREATE OBJECT g_dock_cont
      EXPORTING
        side                  = cl_gui_docking_container=&amp;gt;dock_at_top
        extension             = 300.

      CREATE OBJECT g_alvgrid
             EXPORTING i_parent = g_dock_cont.

    ELSE.
* If it is in backround:
      CREATE OBJECT g_alvgrid
             EXPORTING i_parent = g_dock_cont.
    ENDIF.
IF NOT I_DETAIL[] IS INITIAL.
CALL METHOD g_alvgrid-&amp;gt;set_table_for_first_display
  EXPORTING
    IS_LAYOUT                     = wa_layout
  CHANGING
    it_outtab                     = I_DETAIL
    IT_FIELDCATALOG               = LIT_FIELDCATALOG[]
  EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR                 = 2
    TOO_MANY_LINES                = 3
    others                        = 4.
       IF sy-subrc &amp;lt;&amp;gt; 0.
       ENDIF.
ENDIF.
ENDIF.
*****************************************
  IF   g_dock_cont1 IS INITIAL.
    IF cl_gui_alv_grid=&amp;gt;offline( ) IS INITIAL.

      CREATE OBJECT g_dock_cont1
      EXPORTING
        side                  = cl_gui_docking_container=&amp;gt;dock_at_BOTTOM
        extension             = 300.

      CREATE OBJECT g_alvgrid1
             EXPORTING i_parent = g_dock_cont1.

    ELSE.
* If it is in backround:
      CREATE OBJECT g_alvgrid1
             EXPORTING i_parent = g_dock_cont1.
    ENDIF.
IF NOT I_MARA[] IS INITIAL.
CALL METHOD g_alvgrid1-&amp;gt;set_table_for_first_display
  EXPORTING
    IS_LAYOUT                     = wa_layout1
  CHANGING
    it_outtab                     = I_MARA
    IT_FIELDCATALOG               = i_fieldcat[]
  EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR                 = 2
    TOO_MANY_LINES                = 3
    others                        = 4.
IF sy-subrc &amp;lt;&amp;gt; 0.
ENDIF.
ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 10:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604638#M1277142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T10:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604639#M1277143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;Is there any other ways to get both grids in BACKGROUND execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 12:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604639#M1277143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T12:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604640#M1277144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;Anyone encountered this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Viji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: VijayaLakshmi Krishnaswamy on May 6, 2009 3:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 05:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604640#M1277144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T05:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604641#M1277145</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;There is always a problem with the ALV in background if u use Containers / Grid to display more than one List at a time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround solution u can try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the perform where you are displaying the ALVs check for the background mode ( SY-BATCH = 'X' ) and then call REUSE_ALV_LIST_DISPLAY one after another with the data you need to display. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-BATCH EQ 'X'.&lt;/P&gt;&lt;P&gt;   PERFORM LIST_DISPLAY1.   &lt;/P&gt;&lt;P&gt;   PERFORM LIST_DISPLAY2. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the LIST_DISPLAY1 &amp;amp; LIST_DISPLAY2 call REUSE_ALV_LIST_DISPLAY to display the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can control the SPOOL with IS_PRINT parameter of REUSE_ALV_LIST_DISPLAY.&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;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 13:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604641#M1277145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604642#M1277146</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;I experienced a similar if not exact problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was displaying one ALV grid, handling a button click(or in background just executing the appropriate form)  and then displaying a second ALV grid.&lt;/P&gt;&lt;P&gt;When I ran this job in background the job log showed only one spool list had been created and it contained only the output from one of the ALV grids.  However, if I went to sp02/sp01 from the link in the job log I found that there were actually 2 spool lists created.  One for each of the ALV grids. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps a bit.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 14:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604642#M1277146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T14:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604643#M1277147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the same using SY-BATCH NE 'X'.&lt;/P&gt;&lt;P&gt;But I am getting only one GRID in the OUTPUT. Another GRID is missing.&lt;/P&gt;&lt;P&gt;Is there any other way to get this done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 06:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604643#M1277147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T06:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604644#M1277148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What i was saying is that you need to code again for background mode of execution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END OF SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-BATCH EQ 'X'.&lt;/P&gt;&lt;P&gt;  PERFORM DISPLAY1.&lt;/P&gt;&lt;P&gt;  PERFORM DISPLAY2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In DISPLAY1 use REUSE_ALV_LIST_DISPLAY to display data from outtab1.&lt;/P&gt;&lt;P&gt;In DISPLAY2 use REUSE_ALV_LIST_DISPLAY to display data from outtab2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;For example : execute this report in background mode.this will not execute in online mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After execution you will get two spools one for KNA1 and one for LFA1 data. Spool can be controlled via IS_PRINT structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zrbackground.&lt;/P&gt;&lt;P&gt;data gt_lfa1 type standard table of lfa1.&lt;/P&gt;&lt;P&gt;data gt_kna1 type standard table of kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  select * from lfa1 into table gt_lfa1 up to 10 rows.&lt;/P&gt;&lt;P&gt;  select * from kna1 into table gt_kna1 up to 20 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;  if sy-batch eq 'X'.&lt;/P&gt;&lt;P&gt;    perform display_lfa1.&lt;/P&gt;&lt;P&gt;    perform display_kna1.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  DISPLAY_LFA1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form display_lfa1 .&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_callback_program = sy-repid&lt;/P&gt;&lt;P&gt;      i_structure_name   = 'LFA1'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      t_outtab           = gt_lfa1&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      program_error      = 1&lt;/P&gt;&lt;P&gt;      others             = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " DISPLAY_LFA1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  DISPLAY_KNA1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form display_kna1 .&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_callback_program = sy-repid&lt;/P&gt;&lt;P&gt;      i_structure_name   = 'KNA1'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      t_outtab           = gt_kna1&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      program_error      = 1&lt;/P&gt;&lt;P&gt;      others             = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " DISPLAY_KNA1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if its not clear or you need more info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek sinha on May 8, 2009 7:42 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek sinha on May 8, 2009 8:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 17:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604644#M1277148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T17:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604645#M1277149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Used download option for the Second grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 05:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604645#M1277149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T05:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Background Execution Problem-Docking Container with 2 ALV Grids in one scre</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604646#M1277150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VijayaLakshmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the same trouble, how have you got the solution.. Please share..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 13:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-execution-problem-docking-container-with-2-alv-grids-in-one-scre/m-p/5604646#M1277150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-20T13:05:12Z</dc:date>
    </item>
  </channel>
</rss>

