<?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 Regarding ALV. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/3208199#M764782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an internal table and i want to use ALV on that internal table and i want the o/p display of ALV on my self defined subscreen. how can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz tell me the right procedure and  simple code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz mind it i don't have a database table to select into the internal table.&lt;/P&gt;&lt;P&gt;i have only internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2007 07:22:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-17T07:22:24Z</dc:date>
    <item>
      <title>Regarding ALV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/3208199#M764782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an internal table and i want to use ALV on that internal table and i want the o/p display of ALV on my self defined subscreen. how can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz tell me the right procedure and  simple code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz mind it i don't have a database table to select into the internal table.&lt;/P&gt;&lt;P&gt;i have only internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 07:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/3208199#M764782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T07:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ALV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/3208200#M764783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vishal thakur,&lt;/P&gt;&lt;P&gt; use reuse_alv_fieldcatlog_merge function module to get the field catalog internal table then use reuse_alv_popup_list_display func. mod. to put in your sub screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 07:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/3208200#M764783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ALV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/3208201#M764784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; wa_itab-name = 'abc'.&lt;/P&gt;&lt;P&gt;append wa_itab to it_itab.&lt;/P&gt;&lt;P&gt;  (inthis way u can fill ur internal table)&lt;/P&gt;&lt;P&gt;(after filling the internal table.)&lt;/P&gt;&lt;P&gt;call screen 100.&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&amp;amp;      Module  STATUS_0100  OUTPUT&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;       text&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;MODULE STATUS_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;   fs_struct type zcl_empdata,&lt;/P&gt;&lt;P&gt;   fs_cat type  LVC_s_FCAT,&lt;/P&gt;&lt;P&gt;   it_fcat type  LVC_T_FCAT.&lt;/P&gt;&lt;P&gt;  data: g_alv type ref to CL_GUI_CUSTOM_CONTAINER,&lt;/P&gt;&lt;P&gt;        G_GRID TYPE REF to CL_GUI_ALV_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT G_ALV&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     CONTAINER_NAME             = 'DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;perform put_data_fieldcat using 'IT_DATA' 'WORK_DATE' 1 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'PROJECTID' 2 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'PROJECTNAME' 3 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'OBJECTID' 4 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'OBJECT_DESC' 5 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'ACTIVITYID' 6 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'ACTIVITY_DESC' 7 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'TIME_WORKED' 8 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'DESCRIPTION' 9 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'STATUS' 10 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'BILL_STATUS' 11 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'APPROVED_STATUS' 12 'projectid'.&lt;/P&gt;&lt;P&gt;perform put_data_fieldcat using 'IT_DATA' 'WORKINGSTATUS' 13 'projectid'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT G_GRID&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;       I_PARENT          = G_ALV.&lt;/P&gt;&lt;P&gt;  CALL METHOD G_grid-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY&lt;/P&gt;&lt;P&gt;              CHANGING&lt;/P&gt;&lt;P&gt;                IT_OUTTAB                     = it_data&lt;/P&gt;&lt;P&gt;                IT_FIELDCATALOG               = it_fcat&lt;/P&gt;&lt;P&gt;              EXCEPTIONS&lt;/P&gt;&lt;P&gt;                INVALID_PARAMETER_COMBINATION = 1&lt;/P&gt;&lt;P&gt;                PROGRAM_ERROR                 = 2&lt;/P&gt;&lt;P&gt;                TOO_MANY_LINES                = 3&lt;/P&gt;&lt;P&gt;                others                        = 4&lt;/P&gt;&lt;P&gt;                    .&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;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  put_data&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;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0187   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0188   text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 put_data_fieldcat  USING  p_tabname  type lvc_s_fcat-tabname&lt;/P&gt;&lt;P&gt;                               p_fieldname type LVC_s_FCAT-fieldname&lt;/P&gt;&lt;P&gt;                               p_col_pos type LVC_s_FCAT-col_pos&lt;/P&gt;&lt;P&gt;                               p_coltext type LVC_s_FCAT-coltext.&lt;/P&gt;&lt;P&gt;  fs_cat-tabname =  p_tabname.&lt;/P&gt;&lt;P&gt;  fs_cat-FIELDNAME = p_fieldname.&lt;/P&gt;&lt;P&gt;  FS_CAT-ROW_POS = 1.&lt;/P&gt;&lt;P&gt;  FS_CAT-COL_POS = p_col_pos.&lt;/P&gt;&lt;P&gt;  FS_CAT-colTEXT = p_coltext.&lt;/P&gt;&lt;P&gt;  append fs_cat to it_fcat.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " put_data_fieldcat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 07:41:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/3208201#M764784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T07:41:28Z</dc:date>
    </item>
  </channel>
</rss>

