<?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 G_SET_GET_ALL_VALUES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/g-set-get-all-values/m-p/3288109#M786635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can any one tell me how to use the above FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know what exact value is to be given for SETNR .&lt;/P&gt;&lt;P&gt;I am trying to fetch details for account group ie all account numbers assigned at different levels .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i give the name of setid which i enter in transaction GS03 for the SETNR field FM gives me message " Account group does not exists" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For class Field i am giving 0109 (account group)&lt;/P&gt;&lt;P&gt;what else need to be given ,or how differently am i supposed to send the data to the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 11:50:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T11:50:09Z</dc:date>
    <item>
      <title>G_SET_GET_ALL_VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/g-set-get-all-values/m-p/3288109#M786635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can any one tell me how to use the above FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know what exact value is to be given for SETNR .&lt;/P&gt;&lt;P&gt;I am trying to fetch details for account group ie all account numbers assigned at different levels .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i give the name of setid which i enter in transaction GS03 for the SETNR field FM gives me message " Account group does not exists" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For class Field i am giving 0109 (account group)&lt;/P&gt;&lt;P&gt;what else need to be given ,or how differently am i supposed to send the data to the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/g-set-get-all-values/m-p/3288109#M786635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: G_SET_GET_ALL_VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/g-set-get-all-values/m-p/3288110#M786636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You cannot use the setid from GS03 as SETNR. Instead use this function moduel first.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'G_SET_GET_ID_FROM_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      shortname                = gv_setname&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      new_setid                = gv_setid&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_set_found             = 1&lt;/P&gt;&lt;P&gt;      no_set_picked_from_popup = 2&lt;/P&gt;&lt;P&gt;      wrong_class              = 3&lt;/P&gt;&lt;P&gt;      wrong_subclass           = 4&lt;/P&gt;&lt;P&gt;      table_field_not_found    = 5&lt;/P&gt;&lt;P&gt;      fields_dont_match        = 6&lt;/P&gt;&lt;P&gt;      set_is_empty             = 7&lt;/P&gt;&lt;P&gt;      formula_in_set           = 8&lt;/P&gt;&lt;P&gt;      set_is_dynamic           = 9&lt;/P&gt;&lt;P&gt;      OTHERS                   = 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the set name from GS03 as gv_setname in above and get the ID from gv_setid. Then use this setid in ur functio nmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...award points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/g-set-get-all-values/m-p/3288110#M786636</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-01-11T12:00:02Z</dc:date>
    </item>
  </channel>
</rss>

