<?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: me51n screen exit problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990680#M1605587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aydnbk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place below code in PBO of Screen 0111.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE status_0111 OUTPUT.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

  DATA: alv_grid  TYPE REF TO cl_gui_alv_grid,
        alv_custom_container TYPE REF TO cl_gui_custom_container.
  DATA: it_mara TYPE STANDARD TABLE OF mara,
        wa_mara TYPE mara.

  SELECT *
    UP TO 10 ROWS
    INTO CORRESPONDING FIELDS OF TABLE it_mara
    FROM mara.

  IF alv_custom_container IS INITIAL.
    CREATE OBJECT alv_custom_container
      EXPORTING
        container_name = 'CC1'. " CC1 is Name of Custom Control

    CREATE OBJECT alv_grid
      EXPORTING
        i_parent = alv_custom_container.

    CALL METHOD alv_grid-&amp;gt;set_table_for_first_display
      EXPORTING
        i_structure_name = 'MARA'
      CHANGING
        it_outtab        = it_mara.
  ENDIF.
ENDMODULE.                 " STATUS_0111  OUTPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please Reply if any issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2011 10:59:04 GMT</pubDate>
    <dc:creator>faisalatsap</dc:creator>
    <dc:date>2011-06-24T10:59:04Z</dc:date>
    <item>
      <title>me51n screen exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990677#M1605584</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;im using the user exit for me51n screen. (MEREQ001).&lt;/P&gt;&lt;P&gt;I added "customer data" tab to tabstrip at this screen. I want to display an ALV in this new tab.&lt;/P&gt;&lt;P&gt;When i add a custom container to this screen and call an  ALV, this alv is shown on the top of the screen, not on the tab that i added. Has anyone tried this before? should i try table control or is there an other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I tried to put one single input or a text field to this tab and there is no problem. But when i try to put a custom container in the same layout, it appears on the top of screen in another split screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 13:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990677#M1605584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-23T13:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: me51n screen exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990678#M1605585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aydnbk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried with ALV and it is working fine for me, how you are trying to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 15:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990678#M1605585</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2011-06-23T15:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: me51n screen exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990679#M1605586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faisal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your interest. I put the custom container into layout of screen 0111.  Then i created all of the datas and the report at the pbo of 0111 screen.&lt;/P&gt;&lt;P&gt;Where did you create your custom container and your alv objects?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 08:19:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990679#M1605586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-24T08:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: me51n screen exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990680#M1605587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aydnbk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place below code in PBO of Screen 0111.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE status_0111 OUTPUT.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

  DATA: alv_grid  TYPE REF TO cl_gui_alv_grid,
        alv_custom_container TYPE REF TO cl_gui_custom_container.
  DATA: it_mara TYPE STANDARD TABLE OF mara,
        wa_mara TYPE mara.

  SELECT *
    UP TO 10 ROWS
    INTO CORRESPONDING FIELDS OF TABLE it_mara
    FROM mara.

  IF alv_custom_container IS INITIAL.
    CREATE OBJECT alv_custom_container
      EXPORTING
        container_name = 'CC1'. " CC1 is Name of Custom Control

    CREATE OBJECT alv_grid
      EXPORTING
        i_parent = alv_custom_container.

    CALL METHOD alv_grid-&amp;gt;set_table_for_first_display
      EXPORTING
        i_structure_name = 'MARA'
      CHANGING
        it_outtab        = it_mara.
  ENDIF.
ENDMODULE.                 " STATUS_0111  OUTPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please Reply if any issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 10:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990680#M1605587</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2011-06-24T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: me51n screen exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990681#M1605588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your interest..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 11:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me51n-screen-exit-problem/m-p/7990681#M1605588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-24T11:05:10Z</dc:date>
    </item>
  </channel>
</rss>

