<?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: How to validate Checkbox in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938530#M1151849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii all,|&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to have a check on checkbox whixh when checkbox='x' it allows vlaue 0 in a parameter period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when period is from 0- 8, it calculate the sum??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2011 06:08:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-27T06:08:27Z</dc:date>
    <item>
      <title>How to validate Checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938526#M1151845</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;can any one tell the code for this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate if checkbox is checked or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If the checkbox is checked then follow below steps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Create 713 record by populating u2018Xu2019 in the field ZORIG_DFI_NAME, if user checked the &lt;/P&gt;&lt;P&gt; Checkbox.         &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; Prompt the user whether to create correspondence bank details or not.         &lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt; When user clicks u201CYesu201D button, then display the new screen u201CCorrespondent Bank informationu201D &lt;/P&gt;&lt;P&gt;  to enter 718 record specific data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Store the above entered records into an internal table u201Cgt_iat_er_datau201D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; When user clicks on   icon, we call the function module u201CZIAT_DATA_EDITu201D by &lt;/P&gt;&lt;P&gt;  passing the internal table gt_iat_er_data as input as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Function module u201CZIAT_DATA_EDITu201D will validate the u201Cgt_iat_er_datau201D data and return an &lt;/P&gt;&lt;P&gt;  exception if an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If an exception is returned then&lt;/P&gt;&lt;P&gt; Display a message :  u201CCorrespondence Bank information is incomplete&lt;/P&gt;&lt;P&gt;  End.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; After clicking on   button, control should go to Step 5, so that the user can re-edit 718 &lt;/P&gt;&lt;P&gt; records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Dec 2008 08:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938526#M1151845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-28T08:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate Checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938527#M1151846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check my code snippets in bold below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate if checkbox is checked or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Paramters: CX_BOX as CHECKBOX   " Check box declaration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For validation: IF CX_BOX is initial.  " Not checked&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-----Validation/Error messages&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the checkbox is checked then follow below steps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF CX_BOX is not initial.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create 713 record by populating u2018Xu2019 in the field ZORIG_DFI_NAME, if user checked the &lt;/P&gt;&lt;P&gt;Checkbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To update the table; use command UPDATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prompt the user whether to create correspondence bank details or not. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use the FM : POPUP_TO_CONFIRM - Pop-up dialog confirm an action before it is carried out. .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user clicks u201CYesu201D button, then display the new screen u201CCorrespondent Bank informationu201D &lt;/P&gt;&lt;P&gt;to enter 718 record specific data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store the above entered records into an internal table u201Cgt_iat_er_datau201D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user clicks on icon, we call the function module u201CZIAT_DATA_EDITu201D by &lt;/P&gt;&lt;P&gt;passing the internal table gt_iat_er_data as input as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module u201CZIAT_DATA_EDITu201D will validate the u201Cgt_iat_er_datau201D data and return an &lt;/P&gt;&lt;P&gt;exception if an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an exception is returned then&lt;/P&gt;&lt;P&gt;Display a message : u201CCorrespondence Bank information is incomplete&lt;/P&gt;&lt;P&gt;End. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After clicking on button, control should go to Step 5, so that the user can re-edit 718 &lt;/P&gt;&lt;P&gt;records.&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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Dec 2008 10:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938527#M1151846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-28T10:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate Checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938528#M1151847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Few more additions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate if checkbox is checked or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the checkbox is checked then follow below steps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create 713 record by populating u2018Xu2019 in the field ZORIG_DFI_NAME, if user checked the &lt;/P&gt;&lt;P&gt;Checkbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prompt the user whether to create correspondence bank details or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user clicks u201CYesu201D button, then display the new screen u201CCorrespondent Bank informationu201D &lt;/P&gt;&lt;P&gt;to enter 718 record specific data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store the above entered records into an internal table u201Cgt_iat_er_datau201D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user clicks on icon, we call the function module u201CZIAT_DATA_EDITu201D by &lt;/P&gt;&lt;P&gt;passing the internal table gt_iat_er_data as input as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module u201CZIAT_DATA_EDITu201D will validate the u201Cgt_iat_er_datau201D data and return an &lt;/P&gt;&lt;P&gt;exception if an error occurs.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION "ZIAT_DATA_EDIT"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---Pass the relevant paramters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an exception is returned then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display a message : u201CCorrespondence Bank information is incomplete&lt;/P&gt;&lt;P&gt;End. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF SY-SUBRC NE 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;message e000 with "Correspondence Bank information is incomplete".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONTINUE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After clicking on button, control should go to Step 5, so that the user can re-edit 718 &lt;/P&gt;&lt;P&gt;records&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Dec 2008 10:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938528#M1151847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-28T10:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate Checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938529#M1151848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets say CB_BOX is ur check box ..You have to code something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF CB_BOX  eq 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Create 713 record by populating u2018Xu2019 in the field ZORIG_DFI_NAME, if user checked the&lt;/P&gt;&lt;P&gt;Checkbox. &lt;/P&gt;&lt;P&gt;ITAB-ZORIG_DFI_NAME  = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prompt the user whether to create correspondence bank details or not. &lt;/P&gt;&lt;P&gt;CALL 'POPUP_TO_CONFIRM'.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;//When user clicks u201CYesu201D button, then display the new screen&lt;/P&gt;&lt;P&gt;IF RETURN = 'Y'.&lt;/P&gt;&lt;P&gt;MESSAGE I000(XX) WITH   u201CCorrespondent Bank informationu201D&lt;/P&gt;&lt;P&gt;to enter 718 record specific data.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Dec 2008 10:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938529#M1151848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-28T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate Checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938530#M1151849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii all,|&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to have a check on checkbox whixh when checkbox='x' it allows vlaue 0 in a parameter period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when period is from 0- 8, it calculate the sum??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 06:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-validate-checkbox/m-p/4938530#M1151849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-27T06:08:27Z</dc:date>
    </item>
  </channel>
</rss>

