<?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: What does this code mean? please help!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154116#M1369113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Oct 2009 19:49:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-04T19:49:40Z</dc:date>
    <item>
      <title>What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154109#M1369106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF NOT p_htkl IS INITIAL.&lt;/P&gt;&lt;P&gt;    r_htkl-sign='I'.&lt;/P&gt;&lt;P&gt;    r_htkl-option='EQ'.&lt;/P&gt;&lt;P&gt;    r_htkl-low=p_htkl.&lt;/P&gt;&lt;P&gt;APPEND r_htkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is written after SELECTION-SCREEN block. I got the SELECTION-SCREEN part but I couldn't get this code. Please help me to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154109#M1369106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154110#M1369107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;r_htkl must be a range table. check the declaration part of it.&lt;/P&gt;&lt;P&gt;p_htkl is a parameter on selection screen i hope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, there are four fields on a range table.(range table are similar to your select options)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. SIGN ( I or E  - Inclusive or Exculsive)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. OPTION(options like EQ = euqal, BT = Between, CP = contains pattern etc)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. LOW (value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. HIGH (value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT p_htkl IS INITIAL. " checks if some thing is being passed to the parameter
r_htkl-sign='I'. " give the sign a value I i.e it make inclusive sign
r_htkl-option='EQ'. " EQ to option means you value will be checked for a equal to condition
r_htkl-low=p_htkl. " the low field in now assigned the same value of the parameter p_hktl
APPEND r_htkl. " the range table is appended.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so this range table can be used in select statements as : &lt;/P&gt;&lt;P&gt;select * from abcd into gt where xyz in r_hktl. ==&amp;gt; this will check for a EQ condition with value in r_hktl-low in database or&lt;/P&gt;&lt;P&gt;in if statements like : if abc in r_hktl. ==&amp;gt; this will check the EQ condition of abc with the r_hktl-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had it been&lt;/P&gt;&lt;P&gt;r_htkl-sign='E'.&lt;/P&gt;&lt;P&gt;then the condition is same but with a NOT.. that means NOT EQ or NOT BT etc.&lt;/P&gt;&lt;P&gt;as exclusive of the option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND PLEASE CLOSE THE OTHER THREAD (duplicate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:18:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154110#M1369107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154111#M1369108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here, Are we getting data from data base or adding data to the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154111#M1369108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154112#M1369109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No...&lt;/P&gt;&lt;P&gt;Append just adds one row to the range table r_hktl. its an internal table like a temp storage in ABAP memory.. it has nothing to do with database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and append is not used for database tables, nor the assigning can fecth data from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only statements like SELECT fetch data from database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154112#M1369109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154113#M1369110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then why SELECTION-SCREEN is used before the code that I wrote first? As I know, SELECTION-SCREEN formats the selection screen. If we don't get data from the screen, why do we used it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154113#M1369110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154114#M1369111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you have it in &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;this event is triggered as the last event in selection screen and before start-of-selection. so your code is filling value before any other part starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show me the code for &lt;/P&gt;&lt;P&gt;selection screen and the code you are asking about as they are written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154114#M1369111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154115#M1369112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154115#M1369112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: What does this code mean? please help!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154116#M1369113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 19:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-code-mean-please-help/m-p/6154116#M1369113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T19:49:40Z</dc:date>
    </item>
  </channel>
</rss>

