<?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: Checkbox in Module Pool. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290999#M1023615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the following steps.&lt;/P&gt;&lt;P&gt;1) Place a check box in layout editor for the screen&lt;/P&gt;&lt;P&gt;2)Double click on it to display the 'attributes' dialog box&lt;/P&gt;&lt;P&gt;3) Give a funciton code (Fct Code) and the funciton type (Fct Type) as ''E'.&lt;/P&gt;&lt;P&gt;4) In the PAI  module of the screen , add 'AT EXIT-COMMAND'&lt;/P&gt;&lt;P&gt;  For eg :&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
       MODULE STATUS_9000.
     PROCESS AFTER INPUT.
     MODULE USER_COMMAND_9000 AT EXIT-COMMAND.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;5)In the module  do the following coding &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : ok_code type sy-ucomm,
         check type c.
      if ok_code = the Fct Code of check box.
     if Check &amp;lt;&amp;gt; 'X'.
          " Do coding for the pop up"
      End if.
    Endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;ok_code is also declared in the element list  of the screen .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check is the name of the check box defined in the screen layout&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2008 06:32:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-04T06:32:07Z</dc:date>
    <item>
      <title>Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290989#M1023605</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;This is a very easy question for most of you here. But I cant figure it out by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is a checkbox in a module pool. &lt;/P&gt;&lt;P&gt;When checkbox is tick, it will perform pop up message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure where the checking should take it place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 01:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290989#M1023605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T01:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290990#M1023606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check box you can find it from Screen painter , screen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you place the checkbox to the layout screen, double click on that , a pop with all the attributes related to checkbox appears. There you can enter Function code.&lt;/P&gt;&lt;P&gt;This function code will be useful when rising the message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when ever you check it, this FUnction will be tirggered. then in PAI you catch the Ok_code and give the message appropriately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 03:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290990#M1023606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T03:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290991#M1023607</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;check this program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validation in PAI....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM demo_dynpro_check_radio .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: radio1(1) TYPE c, radio2(1) TYPE c, radio3(1) TYPE c,&lt;/P&gt;&lt;P&gt;      field1(10) TYPE c, field2(10) TYPE c, field3(10) TYPE c,&lt;/P&gt;&lt;P&gt;      box TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_ok TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0100 INPUT.&lt;/P&gt;&lt;P&gt;  save_ok = ok_code.&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  CASE save_ok.&lt;/P&gt;&lt;P&gt;    WHEN 'RADIO'.&lt;/P&gt;&lt;P&gt;      IF radio1 = 'X'.&lt;/P&gt;&lt;P&gt;        field1 = 'Selected!'.&lt;/P&gt;&lt;P&gt;        CLEAR: field2, field3.&lt;/P&gt;&lt;P&gt;      ELSEIF radio2 = 'X'.&lt;/P&gt;&lt;P&gt;        field2 = 'Selected!'.&lt;/P&gt;&lt;P&gt;        CLEAR: field1, field3.&lt;/P&gt;&lt;P&gt;      ELSEIF radio3 = 'X'.&lt;/P&gt;&lt;P&gt;        field3 = 'Selected!'.&lt;/P&gt;&lt;P&gt;        CLEAR: field1, field2.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'CANCEL'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is same program,which you can find in tcode ABAPDOCU, processing--&lt;DEL&gt;&amp;gt;screens&lt;/DEL&gt;--&amp;gt;checkboxes and radiobuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapmaterial.com/files/handaling_errors.pdf" target="test_blank"&gt;http://www.sapmaterial.com/files/handaling_errors.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a standard tcode TZ31 which will assist you for the check box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mohinder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mohinder Singh Chauhan on Aug 4, 2008 5:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 03:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290991#M1023607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T03:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290992#M1023608</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;You can code like this in your PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if check_box1 = 'X'.&lt;/P&gt;&lt;P&gt;&amp;lt; here call function 'POPUP_TO_CONFIRM' &amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 03:57:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290992#M1023608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T03:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290993#M1023609</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;Please see my code. I do not know which part goes wrong and there is nothing happen when I tick on the checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROGRAM demo_dynpro_check_radio .

DATA: radio1(1) TYPE c, radio2(1) TYPE c, radio3(1) TYPE c,
      checkbox1(1) TYPE c, checkbox2(1) TYPE c, checkbox3(1) TYPE c,
      field1(10) TYPE c, field2(10) TYPE c, field3(10) TYPE c,
      box TYPE c.

DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm.

CALL SCREEN 0100.

MODULE user_command_0100 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
  WHEN 'RADIO'.
    IF radio1 = 'X'.
      field1 = 'Selected!'.
      CLEAR: field2, field3.
    ELSEIF radio2 = 'X'.
      field2 = 'Selected!'.
      CLEAR: field1, field3.
    ELSEIF radio3 = 'X'.
      field3 = 'Selected!'.
      CLEAR: field1, field2.
    ENDIF.

  WHEN 'CHECKBOX'.
    IF checkbox1 = 'X'.
      field1 = 'Selected!'.
      CLEAR: field2, field3.
    ELSEIF checkbox2 = 'X'.
      field2 = 'Selected!'.
      CLEAR: field1, field3.
    ELSEIF checkbox3 = 'X'.
      field3 = 'Selected!'.
      CLEAR: field1, field2.
    ENDIF.

  WHEN 'CANCEL'.
    LEAVE PROGRAM.
  ENDCASE.
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 04:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290993#M1023609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T04:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290994#M1023610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;WHEN 'CHECKBOX'.
    IF checkbox1 = 'X'.
      field1 = 'Selected!'.
      message 'check1 selected' type 'I'.
      CLEAR: field2, field3.
    ELSEIF checkbox2 = 'X'.
      field2 = 'Selected!'.
      message 'check2' selected' type 'I'.
      CLEAR: field1, field3.
    ELSEIF checkbox3 = 'X'.
      field3 = 'Selected!'.
       message 'check3' selected' type 'I'.
      CLEAR: field1, field2.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above code if you want some messae then you have to use message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 04:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290994#M1023610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T04:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290995#M1023611</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;You dont get the function code for the checkbox... so you use IF condition... like IF Checkbox1 = 'X' ..... ENDIF.&lt;/P&gt;&lt;P&gt;Specify the condition in PAI module... so after the screen has appeared and if you check the checkbox and execute the program then it will check the condition in PAI module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your program Checkbox does not return SY-UCOMM  value ie Function code.. if you want to cross check you can do it in Debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 04:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290995#M1023611</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-08-04T04:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290996#M1023612</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;Thanks for the answers.&lt;/P&gt;&lt;P&gt;Finally I know why the CHECKBOX was not working in my Module pool. It is because I didnt set the CHECKBOX in the Function code for pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 04:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290996#M1023612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T04:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290997#M1023613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once go through this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create  four checkboxes in module pool program. name the first checkbox as CBOX1,second  as CBOX2, third as CBOX3, fourth as LEAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep the FCT code as common for the first second and third checkboxs i.e, CBOX&lt;/P&gt;&lt;P&gt;for the fourth one, the FCT code name is 'LEAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: CBOX1 TYPE C,&lt;/P&gt;&lt;P&gt;      CBOX2 TYPE C,&lt;/P&gt;&lt;P&gt;      CBOX3 TYPE C,&lt;/P&gt;&lt;P&gt;      LEAVE TYPE C,&lt;/P&gt;&lt;P&gt;      OK_CODE TYPE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module USER_COMMAND_0100 input.&lt;/P&gt;&lt;P&gt;  CASE OK_CODE.&lt;/P&gt;&lt;P&gt;    WHEN 'CBOX'.&lt;/P&gt;&lt;P&gt;        IF CBOX1 = 'X'.&lt;/P&gt;&lt;P&gt;          CLEAR: CBOX2, CBOX3.&lt;/P&gt;&lt;P&gt;          MESSAGE 'FIRST BOX IS SELECTED ' TYPE 'I'.&lt;/P&gt;&lt;P&gt;        ELSEIF CBOX2 = 'X'.&lt;/P&gt;&lt;P&gt;            CLEAR: CBOX3, CBOX1.&lt;/P&gt;&lt;P&gt;          MESSAGE 'SECOND BOX IS SELECTED ' TYPE 'I'.&lt;/P&gt;&lt;P&gt;        ELSEIF CBOX3 = 'X'.&lt;/P&gt;&lt;P&gt;            CLEAR: CBOX1, CBOX2.&lt;/P&gt;&lt;P&gt;          MESSAGE 'THIRD BOX IS SELECTED ' TYPE 'I'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'LEAVE'.&lt;/P&gt;&lt;P&gt;          LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " USER_COMMAND_0100  INPUT&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;S.Gangireddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 04:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290997#M1023613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T04:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290998#M1023614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi myahsam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur PAI u need to write : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if check_box = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;     titlebar                    = ' check-box Pop-Up '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DIAGNOSE_OBJECT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      text_question               = 'Do you like to save the changes??'&lt;/P&gt;&lt;P&gt;     text_button_1               = 'YES'(001)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ICON_BUTTON_1               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     text_button_2               = 'NO'(002)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ICON_BUTTON_2               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DEFAULT_BUTTON              = '1'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DISPLAY_CANCEL_BUTTON       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    USERDEFINED_F1_HELP         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    START_COLUMN                = 25&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    START_ROW                   = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    POPUP_TYPE                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IV_QUICKINFO_BUTTON_1       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IV_QUICKINFO_BUTTON_2       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     answer                      = answer&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    PARAMETER                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TEXT_NOT_FOUND              = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OTHERS                      = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In TOP declare&lt;/P&gt;&lt;P&gt;data :  answer type c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;saurabh asthana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 05:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290998#M1023614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T05:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290999#M1023615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the following steps.&lt;/P&gt;&lt;P&gt;1) Place a check box in layout editor for the screen&lt;/P&gt;&lt;P&gt;2)Double click on it to display the 'attributes' dialog box&lt;/P&gt;&lt;P&gt;3) Give a funciton code (Fct Code) and the funciton type (Fct Type) as ''E'.&lt;/P&gt;&lt;P&gt;4) In the PAI  module of the screen , add 'AT EXIT-COMMAND'&lt;/P&gt;&lt;P&gt;  For eg :&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
       MODULE STATUS_9000.
     PROCESS AFTER INPUT.
     MODULE USER_COMMAND_9000 AT EXIT-COMMAND.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;5)In the module  do the following coding &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : ok_code type sy-ucomm,
         check type c.
      if ok_code = the Fct Code of check box.
     if Check &amp;lt;&amp;gt; 'X'.
          " Do coding for the pop up"
      End if.
    Endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;ok_code is also declared in the element list  of the screen .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check is the name of the check box defined in the screen layout&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 06:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-module-pool/m-p/4290999#M1023615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T06:32:07Z</dc:date>
    </item>
  </channel>
</rss>

