<?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: When is Value table called? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954421#M1489130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have beautifully expained ...in a very systematic &amp;amp; logical way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found the below differrence in many places....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value table - It's a field in a domain it helps in domain level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check table - unlike value table it helps in feild level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to understand what is domain level  validatiation ....&amp;amp; when it is used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 May 2010 09:25:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-28T09:25:26Z</dc:date>
    <item>
      <title>When is Value table called?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954417#M1489126</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;&lt;/P&gt;&lt;P&gt;I have created a z table  , with two fields  pernr &amp;amp; kostl .&lt;/P&gt;&lt;P&gt;I have kept pernr as primary key. For kostl field I have created same name for data element and domain "zkostl".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside domain zkostl i have defined value table zcsks where 1 record exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute the table , kostl field there is no input help from value table (zcsks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the use of value table ? &lt;/P&gt;&lt;P&gt;can we keep value table and check table differrent ?&lt;/P&gt;&lt;P&gt;if so, which will be called first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rachel on May 27, 2010 2:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 12:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954417#M1489126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-27T12:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: When is Value table called?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954418#M1489127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer our discussion on value table &lt;SPAN __jive_macro_name="thread" id="1635491"&gt;&lt;/SPAN&gt;. You will get the anwser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 12:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954418#M1489127</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-05-27T12:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: When is Value table called?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954419#M1489128</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;&lt;/P&gt;&lt;P&gt;"The check table must have a key field which has the same domain as the check field of the foreign key table."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above means that when I use domain(which contains value table ) the same domain must be there in check table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that means value  table and check table are always same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By defining only value table i cannot get input help , i  have to have check table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then what is the use of value table ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whlile creating  z field i can directly use a check table without defining a value table in domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly explain me the use of value table in terms of adding zfield .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 06:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954419#M1489128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T06:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: When is Value table called?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954420#M1489129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The check table must have a key field which has the same domain as the check field of the foreign key table."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above means that when I use domain(which contains value table ) the same domain must be there in check table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Yes, the domain must be the same for &lt;EM&gt;check field&lt;/EM&gt; (some field in ztable which you want input help for) and for key field of check table (which we match with check field). &lt;/P&gt;&lt;P&gt;I.e. when you look at table &lt;EM&gt;SPFLI&lt;/EM&gt; you can see field &lt;EM&gt;CARRID&lt;/EM&gt; (this is &lt;STRONG&gt;check field&lt;/STRONG&gt; ) . Click on it and select &lt;EM&gt;Foreign keys&lt;/EM&gt; (key icon button). You will see &lt;EM&gt;SCARR&lt;/EM&gt; (this is &lt;STRONG&gt;check table&lt;/STRONG&gt; )  and matching keys &lt;EM&gt;MANDT&lt;/EM&gt; and &lt;EM&gt;CARRID&lt;/EM&gt; (foreign keys for them are SPFLI-MANDT and SPFLI-CARRID). Then you go to check table SCARR and look at field CARRID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The domain must be equal for &lt;STRONG&gt;check field&lt;/STRONG&gt; (SPFLI-CARRID) and corresponding &lt;STRONG&gt;check table&lt;/STRONG&gt; field (SCARR-CARRID). Only then the input help will be provided correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that means value table and check table are always same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Not necessarly, but most often yes. This is because &lt;STRONG&gt;value table&lt;/STRONG&gt; serves only the purpose of providing default table for foregin key relationship (when you want to define one), but you are allowed to change that assignment during relationship creation. No other "value" comes with using &lt;EM&gt;value table&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By defining only value table i cannot get input help , i have to have check table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Correct!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then what is the use of value table ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As explained above, only for developer to have proposed this value table as a check table during foreign key definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whlile creating z field i can directly use a check table without defining a value table in domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Yes, you can. Nevertheless you will have to provide &lt;EM&gt;check table&lt;/EM&gt; yourself. System will not suggest one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly explain me the use of value table in terms of adding zfield .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;No sure if correctly understand you here. ZFIELD can use value table, but without check table it is useless. It will not provide you any input help, nor will check entry for that field when used i.e. on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still feel not good with above explanations please refer [Value table|http://help.sap.com/saphelp_bw/helpdata/en/e2/667092730811d2959500a0c929b3c3/frameset.htm] and [Creating foreign keys|http://help.sap.com/saphelp_bw/helpdata/en/e2/667092730811d2959500a0c929b3c3/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 07:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954420#M1489129</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-05-28T07:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: When is Value table called?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954421#M1489130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have beautifully expained ...in a very systematic &amp;amp; logical way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found the below differrence in many places....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value table - It's a field in a domain it helps in domain level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check table - unlike value table it helps in feild level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to understand what is domain level  validatiation ....&amp;amp; when it is used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 09:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954421#M1489130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T09:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: When is Value table called?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954422#M1489131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcin . &lt;/P&gt;&lt;P&gt;You have beautifully expained in a very systematic &amp;amp; logical way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found the below differrence in many places....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value table - It's a field in a domain it helps in domain level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check table - unlike value table it helps in feild level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to understand what is domain level  validatiation ....&amp;amp; when it is used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rachel on May 28, 2010 11:30 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 09:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954422#M1489131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: When is Value table called?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954423#M1489132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to this [link|http://www.sap-img.com/abap/difference-between-a-check-table-and-a-value-table.htm] &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever you use this Domain, the system will forces you to enter only these values. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;system will not allow us to enter value out of range (not in value table). But for me this is untrue. The proof &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS pa_conn type s_conn_id.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;S_CONN_ID&lt;/EM&gt; uses domain &lt;EM&gt;S_CONN_ID&lt;/EM&gt; which has value table &lt;EM&gt;SPFLI&lt;/EM&gt; . There is neither check made when you enter data to that field, nor any input help provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what I found in &lt;STRONG&gt;BC430&lt;/STRONG&gt; course about value table is&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The value range of a field can also be defined by specifying a value table in the domain. &lt;/P&gt;&lt;P&gt;- In contrast to fixed values, however, simply specifying a value table does not cause the input to be checked. There is no F4 help either.&lt;/P&gt;&lt;P&gt;- If you enter a value table, the system can make a proposal for the foreign key definition. &lt;/P&gt;&lt;P&gt;- A value table only becomes a check table when a foreign key is defined.&lt;/P&gt;&lt;P&gt;If you refer to a domain with a value table in a field, but no foreign key was defined at field level, there is no check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So this follows our discussion and understanding of input help provider. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if you say&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value table - It's a field in a domain it helps in domain level data validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think this is untrue. There is no mechanism in SAP which provides such kind of &lt;STRONG&gt;validation&lt;/STRONG&gt; . The true is (and what author  most probably meant) that value table defines the range of possible values for field which uses that domain. This is similar to saying "here are the values which you should use only, but unless you provide check table for that field, I am unable to verify your entry".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Domain itself describes technical attributes. If you create an empty domain without value restriction of type INT1, you in fact are defining a range for (only integer values less then 255). Then use that domain in any zdata element and type parameter in the screen with that. You will see that you are only allowed to enter val &amp;lt; 255, otherwise system will shout. In contrary when you maintain value range you are allowed to enter any value, but if you use it on i.e. listbox, you will be restricted only to these values. &lt;/P&gt;&lt;P&gt;The value table seems to don't work in any of these cases (no validation, no input help). So this is just a matter of being aware that only values from this value table are allowed, nothing else I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 10:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-is-value-table-called/m-p/6954423#M1489132</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-05-28T10:41:16Z</dc:date>
    </item>
  </channel>
</rss>

