<?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 Change hardcoded account values..Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732790#M1457314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report which uses GL account value in hard-coded form as:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF P_RVLTBL = 'X'.
    SELECT * FROM T030H WHERE KTOPL = 'CAWW'
  RANGE_HKONT-OPTION = 'EQ'.
      RANGE_HKONT-SIGN = 'I'.
      RANGE_HKONT-LOW = T030H-HKONT.
      APPEND RANGE_HKONT.
    ENDSELECT.
    RANGE_HKONT-OPTION = 'BT'.
    RANGE_HKONT-SIGN = 'I'.
    RANGE_HKONT-LOW = '0000100000'.
    RANGE_HKONT-HIGH = '0000100999'.
    APPEND RANGE_HKONT.
    RANGE_HKONT-OPTION = 'BT'.
    RANGE_HKONT-SIGN = 'I'.
    RANGE_HKONT-LOW = '0000104100'.
    RANGE_HKONT-HIGH = '0000104301'.
    APPEND RANGE_HKONT.
  ELSE.
    RANGE_HKONT[] = S_HKONT[].
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change it to a set and update as when desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what does the set here mean?&lt;/P&gt;&lt;P&gt;Create a set with SETNAME: ZCASH_EXPOSURE_ACCTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of hardcoding users can change it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: HKONT is a selection screen input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mishra.Manas on Feb 24, 2010 10:21 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mishra.Manas on Feb 24, 2010 10:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 09:14:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-24T09:14:19Z</dc:date>
    <item>
      <title>Change hardcoded account values..Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732790#M1457314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report which uses GL account value in hard-coded form as:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF P_RVLTBL = 'X'.
    SELECT * FROM T030H WHERE KTOPL = 'CAWW'
  RANGE_HKONT-OPTION = 'EQ'.
      RANGE_HKONT-SIGN = 'I'.
      RANGE_HKONT-LOW = T030H-HKONT.
      APPEND RANGE_HKONT.
    ENDSELECT.
    RANGE_HKONT-OPTION = 'BT'.
    RANGE_HKONT-SIGN = 'I'.
    RANGE_HKONT-LOW = '0000100000'.
    RANGE_HKONT-HIGH = '0000100999'.
    APPEND RANGE_HKONT.
    RANGE_HKONT-OPTION = 'BT'.
    RANGE_HKONT-SIGN = 'I'.
    RANGE_HKONT-LOW = '0000104100'.
    RANGE_HKONT-HIGH = '0000104301'.
    APPEND RANGE_HKONT.
  ELSE.
    RANGE_HKONT[] = S_HKONT[].
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change it to a set and update as when desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what does the set here mean?&lt;/P&gt;&lt;P&gt;Create a set with SETNAME: ZCASH_EXPOSURE_ACCTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of hardcoding users can change it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: HKONT is a selection screen input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mishra.Manas on Feb 24, 2010 10:21 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mishra.Manas on Feb 24, 2010 10:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 09:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732790#M1457314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change hardcoded account values..Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732791#M1457315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use transaction GS01 to create a SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 09:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732791#M1457315</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-02-24T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change hardcoded account values..Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732792#M1457316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raymond...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the process to create a set for my above requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mishra.Manas on Feb 24, 2010 10:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 09:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732792#M1457316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T09:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change hardcoded account values..Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732793#M1457317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- Read [Set Creation |http://help.sap.com/saphelp_40b/helpdata/EN/5b/d2297e43c611d182b30000e829fbfe/content.htm] - Transaction GS01 - use the Z-name and select table BSEG field HKONT - create hierarchy with the ranges of your actual program (individual values and ranges)&lt;/P&gt;&lt;P&gt;- In your report/program provide an input field for the set name. Check if the set provided is correct via FM [G_SET_GET_INFO|http://forums.sdn.sap.com/search.jspa?objID=c42&amp;amp;q=G_SET_GET_INFO] (0000, Z-name -&amp;gt; check INFO-TABNAME and -FLD), get the values to be mapped to an internal RANGE of account number via [G_SET_TREE_IMPORT|http://forums.sdn.sap.com/search.jspa?objID=c42&amp;amp;q=G_SET_TREE_IMPORT] (beware SETID = class '0000' + name 'Z-name', -&amp;gt; internal table SET_VALUES-FROM and -TO) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 09:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-hardcoded-account-values-help/m-p/6732793#M1457317</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-02-24T09:57:22Z</dc:date>
    </item>
  </channel>
</rss>

