<?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: SLIS Type Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600453#M269603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laxmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any soft copy of the notes for field catalog?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Renjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 09:01:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T09:01:45Z</dc:date>
    <item>
      <title>SLIS Type Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600450#M269600</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 anyone explain me for what the SLIS type pool is used for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain me the following sub-routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_fieldcat USING 'SGTXT'    'Cheque Details'  50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_eventcat CHANGING eventcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_top_of_page  CHANGING list_top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM start_list_viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_fieldcat USING b_alvfield b_text b_size.&lt;/P&gt;&lt;P&gt;  ADD 1 TO fieldcat_ln-col_pos.&lt;/P&gt;&lt;P&gt;  fieldcat_ln-fieldname = b_alvfield.&lt;/P&gt;&lt;P&gt;  fieldcat_ln-seltext_l = b_text.&lt;/P&gt;&lt;P&gt;  fieldcat_ln-outputlen = b_size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND fieldcat_ln TO fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " get_fieldcat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_eventcat CHANGING p_event_cat TYPE slis_t_event.&lt;/P&gt;&lt;P&gt;  CONSTANTS:&lt;/P&gt;&lt;P&gt;  formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;  DATA : ln_event TYPE slis_alv_event.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            i_list_type     = 0&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            et_events       = p_event_cat&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            list_type_wrong = 1&lt;/P&gt;&lt;P&gt;            OTHERS          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE p_event_cat WITH KEY name = slis_ev_top_of_page&lt;/P&gt;&lt;P&gt;                                 INTO ln_event.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    MOVE formname_top_of_page TO ln_event-form.&lt;/P&gt;&lt;P&gt;    APPEND ln_event TO p_event_cat.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " get_eventcat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_top_of_page CHANGING p_list_top_of_page.&lt;/P&gt;&lt;P&gt;  DATA: topline TYPE slis_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR topline.&lt;/P&gt;&lt;P&gt;  topline-typ  = 'H'.&lt;/P&gt;&lt;P&gt;  CONCATENATE  'User  : '  sy-uname&lt;/P&gt;&lt;P&gt;                INTO topline-info.&lt;/P&gt;&lt;P&gt;  APPEND topline TO list_top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  topline = ' '.&lt;/P&gt;&lt;P&gt;  APPEND topline TO list_top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  topline-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  topline-info = 'Last 4 months Average Sales'.&lt;/P&gt;&lt;P&gt;  APPEND topline TO list_top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " get_top_of_page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM start_list_viewer.&lt;/P&gt;&lt;P&gt;  DATA :  pgm LIKE sy-repid, t1(30) TYPE c.&lt;/P&gt;&lt;P&gt;  t1  = 'USER_COMMAND'.&lt;/P&gt;&lt;P&gt;  pgm = sy-repid.&lt;/P&gt;&lt;P&gt;&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      = pgm&lt;/P&gt;&lt;P&gt;            i_callback_user_command = t1&lt;/P&gt;&lt;P&gt;            is_layout               = layout&lt;/P&gt;&lt;P&gt;            it_fieldcat             = fieldcat&lt;/P&gt;&lt;P&gt;            i_save                  = 'A'  "To save variants&lt;/P&gt;&lt;P&gt;            it_events               = eventcat[]  "heading&lt;/P&gt;&lt;P&gt;            is_print                = printalv&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab                = i_bsad&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " start_list_viewer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this type of programming. Please explain me this sub-routines. Good explaination will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Renjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 07:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600450#M269600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T07:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: SLIS Type Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600451#M269601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Type pool SLIS contains all the declarations related to buliding of following -&lt;/P&gt;&lt;P&gt;Fieldcatalog&lt;/P&gt;&lt;P&gt;Layout&lt;/P&gt;&lt;P&gt;Events&lt;/P&gt;&lt;P&gt;Grid Heading, and more &lt;/P&gt;&lt;P&gt;related to display an ALV on the screen.&lt;/P&gt;&lt;P&gt;We have to include it call all the definition in the program for usage.&lt;/P&gt;&lt;P&gt;Its simply like using a Perform where you are passing the values to assign to variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 07:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600451#M269601</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2006-10-18T07:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: SLIS Type Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600452#M269602</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;Its nothing but abap code,&lt;/P&gt;&lt;P&gt;where some bunch of&lt;/P&gt;&lt;P&gt;TYPES (data types) and some data declaration,&lt;/P&gt;&lt;P&gt;is already done.&lt;/P&gt;&lt;P&gt;(which we can use in other programs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(as the name suggests,&lt;/P&gt;&lt;P&gt;it is a pool (bunch)&lt;/P&gt;&lt;P&gt;of TYPES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is type-pool (bunch of types)&lt;/P&gt;&lt;P&gt;required for ALV purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(eg. variable for field catalogue, alv layout etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantage is that we have to use such types,&lt;/P&gt;&lt;P&gt;just by referring, them, (bcos they are already defined)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types-Pool contains the TYPE declaration which is global and can be used across any program.Once we write &lt;/P&gt;&lt;P&gt;TYPE-POOL : &amp;lt;pool name&amp;gt; &lt;/P&gt;&lt;P&gt;It will include all declariuon in the program and we can refer those.&lt;/P&gt;&lt;P&gt;There are many standard types pool provided by SAP&lt;/P&gt;&lt;P&gt;like SLIS,ICON,ABAP etc.&lt;/P&gt;&lt;P&gt;However also,we can create our own Type-Pool using &lt;/P&gt;&lt;P&gt;SE11-&amp;gt;Type Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Laxmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 08:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600452#M269602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T08:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: SLIS Type Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600453#M269603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laxmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any soft copy of the notes for field catalog?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Renjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 09:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slis-type-pool/m-p/1600453#M269603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T09:01:45Z</dc:date>
    </item>
  </channel>
</rss>

