<?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: About SET ID. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-set-id/m-p/3537337#M851089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;check the following link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="46939"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelatha gullapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2008 08:41:05 GMT</pubDate>
    <dc:creator>sreelatha_gullapalli</dc:creator>
    <dc:date>2008-03-13T08:41:05Z</dc:date>
    <item>
      <title>About SET ID.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-set-id/m-p/3537335#M851087</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;Could you please help me to know the use and importance of SET ID?Also how to use the  TC GS01 to create one set id.&lt;/P&gt;&lt;P&gt;How do we use the SET ID in our programs?What is the real importance of it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandeep Ram on Mar 13, 2008 1:58 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-set-id/m-p/3537335#M851087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T08:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: About SET ID.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-set-id/m-p/3537336#M851088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main purpose of Set id is to group G/L accounts. i.e represent the G/L a/cs in hierarchical format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means segregate the GL accounts into different category  and assign GL account numbers to that particular category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: Current quarter details,&lt;/P&gt;&lt;P&gt;       Open Items details.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find the code below to retrieve Set data.&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;  CALL FUNCTION 'G_SET_ENCRYPT_SETID'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      SETCLASS  = GSETC_FISL_SETCLASS   "Other classes: Type pool GSETC&lt;/P&gt;&lt;P&gt;      SHORTNAME = G_SET               "Set id&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      SETID     = P_SETID.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check existence of set, send error message if set does not exist&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'G_SET_GET_INFO'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      SETNAME = P_SETID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*..... Constants ..................................................... *&lt;/P&gt;&lt;P&gt;  CONSTANTS: CONTROL_BLOCK  LIKE SY-TABIX     VALUE 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*..... Information about the set ..................................... *&lt;/P&gt;&lt;P&gt;  DATA: HEADER LIKE RGSMH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*..... Set index for differentiation of concurrently processed sets . *&lt;/P&gt;&lt;P&gt;  DATA: SETINDEX LIKE SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..... Read set into the buffer of the set manager (library GSSM) ....&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     (repeated call of G_SET_INSERT for the same set&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      will not lead to repeated database access)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'G_SET_INSERT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      SETNAME = U_SETID&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      HEADER  = HEADER&lt;/P&gt;&lt;P&gt;      INDEX   = SETINDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*..... Make entry for root set in table SETTAB ....................... *&lt;/P&gt;&lt;P&gt;  SETTAB-SETID    = HEADER-SETNR.&lt;/P&gt;&lt;P&gt;  SETTAB-SETNAME  = HEADER-SHORTNAME.&lt;/P&gt;&lt;P&gt;  SETTAB-LEVEL    = 0.&lt;/P&gt;&lt;P&gt;  SETTAB-POINTER  = 0.&lt;/P&gt;&lt;P&gt;  APPEND SETTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Processing according set type&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;  IF HEADER-TYPE CA 'BD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;... When basic or data sets =&amp;gt; read values ........................ *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM INSERT_VALUES&lt;/P&gt;&lt;P&gt;      USING HEADER-SETNR HEADER-SHORTNAME HEADER-SEQNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;... When single or multi set =&amp;gt; read all subsets and values ........*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'G_SET_GET_NEXT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        CONTROL_BLOCK = CONTROL_BLOCK&lt;/P&gt;&lt;P&gt;        INDEX         = SETINDEX&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        HEADER        = HEADER&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        END_OF_SETS   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHILE SY-SUBRC EQ 0.    "Until all sets of hierarchy are read&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ... Store subset of current line ................................. *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SETTAB-SETID    = HEADER-SETNR.&lt;/P&gt;&lt;P&gt;      SETTAB-SETNAME  = HEADER-SHORTNAME.&lt;/P&gt;&lt;P&gt;      SETTAB-LEVEL    = HEADER-LEVEL.&lt;/P&gt;&lt;P&gt;      SETTAB-POINTER  = HEADER-PUP.&lt;/P&gt;&lt;P&gt;      APPEND SETTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ... Read values, if existing .....................................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF HEADER-TYPE EQ 'B'.&lt;/P&gt;&lt;P&gt;        PERFORM INSERT_VALUES&lt;/P&gt;&lt;P&gt;          USING HEADER-SETNR HEADER-SHORTNAME HEADER-SEQNR.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ... Retrieve next set ............................................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL FUNCTION 'G_SET_GET_NEXT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          CONTROL_BLOCK = CONTROL_BLOCK&lt;/P&gt;&lt;P&gt;          INDEX         = SETINDEX&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          HEADER        = HEADER&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          END_OF_SETS   = 1.&lt;/P&gt;&lt;P&gt;    ENDWHILE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*..... reset this control block so the next call of this routine       *&lt;/P&gt;&lt;P&gt;*..... will not get the exception 'END_OF_SETS' right away             *&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'G_CONTROL_BLOCK_RESET'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      CONTROL_BLOCK = CONTROL_BLOCK.&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;Reward points if helpful................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-set-id/m-p/3537336#M851088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T08:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: About SET ID.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-set-id/m-p/3537337#M851089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;check the following link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="46939"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelatha gullapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-set-id/m-p/3537337#M851089</guid>
      <dc:creator>sreelatha_gullapalli</dc:creator>
      <dc:date>2008-03-13T08:41:05Z</dc:date>
    </item>
  </channel>
</rss>

