<?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: validating 'Initial Values' checkbox in the table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865892#M365063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a very big thanks for ur answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2007 10:04:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-23T10:04:12Z</dc:date>
    <item>
      <title>validating 'Initial Values' checkbox in the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865887#M365058</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 requirement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to put a condition based on the 'Initial values' checkbox of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: let us say I have a table KNA1&lt;/P&gt;&lt;P&gt;and i have fields KUNNR, LAND1 and NAME1 in my table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if 'Initial values' checkbox for KUNNR is checked i need to put my condition&lt;/P&gt;&lt;P&gt;and if 'Initial values' checkbox for LAND1 is checked i need to put another condition&lt;/P&gt;&lt;P&gt;and if 'Initial values' checkbox of NAME1 field is checked i need to put some other condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the similar way as per my requirement i need to put conditions for almost all the fields available in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me how to write the above logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865887#M365058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: validating 'Initial Values' checkbox in the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865888#M365059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vamshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ch1 - check box for kunnr&lt;/P&gt;&lt;P&gt;ch2 - check box for Land1&lt;/P&gt;&lt;P&gt;ch3 - check box for name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ch1 = 'X' .&lt;/P&gt;&lt;P&gt;   put u r condition.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ch2 = 'X'.&lt;/P&gt;&lt;P&gt;   put u r condition.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ch3 = 'X'.&lt;/P&gt;&lt;P&gt;   put u r condition.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865888#M365059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: validating 'Initial Values' checkbox in the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865889#M365060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. one way is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. First take all records with all field values, in one ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : tabix like sy-tabix.&lt;/P&gt;&lt;P&gt;data : delflag type c.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt; tabix = sy-tabix.&lt;/P&gt;&lt;P&gt;   clear delflag.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;   if not condit1. &lt;/P&gt;&lt;P&gt;  delflag = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if not condit2. &lt;/P&gt;&lt;P&gt;  delflag = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; ..... other if conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;   if delflag = 'X'.&lt;/P&gt;&lt;P&gt;   delete itab index tabix.&lt;/P&gt;&lt;P&gt;  endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865889#M365060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: validating 'Initial Values' checkbox in the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865890#M365061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the table DD03L and give the TABNAME as KNA1 and FIELDNAME as KUNNR, LAND1, etc..&lt;/P&gt;&lt;P&gt;Now for teh record that you get from DD03L for teh above selection, check the value of column NOTNULL. It determines if teh table field is initial or not. Based on that, you can give your conditions for all the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points please..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 09:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865890#M365061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T09:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: validating 'Initial Values' checkbox in the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865891#M365062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: cb_kunnr AS Checkbox,
                         cb_land1 AS Checkbox,
                         cb_name1 AS Checkbox.


IF cb_kunnr = 'X'.
 perform...
ELSEIF cb_land1 = 'X'.
 perform....
ELSE.
 perform...
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this not fine please let me know what you want exactly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 09:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865891#M365062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T09:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: validating 'Initial Values' checkbox in the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865892#M365063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a very big thanks for ur answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 10:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-initial-values-checkbox-in-the-table/m-p/1865892#M365063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T10:04:12Z</dc:date>
    </item>
  </channel>
</rss>

