<?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: Check box checked - Field should be editable - Dialog Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718937#M1297768</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;in dialog program, u need to code in PAI event under module user_command.&lt;/P&gt;&lt;P&gt;before that u need to assign function conde to ur radiobutton field in properties of checkbox field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the user_command module check sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your checkbox is checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = ''your field name'&lt;/P&gt;&lt;P&gt;screen input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&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;regards&lt;/P&gt;&lt;P&gt;vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Jun 2009 15:21:53 GMT</pubDate>
    <dc:creator>Vijay</dc:creator>
    <dc:date>2009-06-07T15:21:53Z</dc:date>
    <item>
      <title>Check box checked - Field should be editable - Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718936#M1297767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!!&lt;/P&gt;&lt;P&gt;Please help me out with the following probelm:&lt;/P&gt;&lt;P&gt;I am writing a dialog program with several screens. Now, I need a requirement like: there will be a check box and a corresponding field for that on a screen. When the box is checked, then only the field should become editable, else non-editable. How can I achieve this? &lt;/P&gt;&lt;P&gt;In reports, we can achieve this through AT SELECTION-SCREEN OUTPUT. But in dialog programming, how can we?&lt;/P&gt;&lt;P&gt;Please help me out. Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2009 13:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718936#M1297767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-07T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Check box checked - Field should be editable - Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718937#M1297768</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;in dialog program, u need to code in PAI event under module user_command.&lt;/P&gt;&lt;P&gt;before that u need to assign function conde to ur radiobutton field in properties of checkbox field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the user_command module check sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your checkbox is checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = ''your field name'&lt;/P&gt;&lt;P&gt;screen input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&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;regards&lt;/P&gt;&lt;P&gt;vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2009 15:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718937#M1297768</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2009-06-07T15:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Check box checked - Field should be editable - Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718938#M1297769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a Module Pool Program in se38&lt;/P&gt;&lt;P&gt;go to se51,give the screen no and click on layout&lt;/P&gt;&lt;P&gt;select the checkbox icon and place it on the layout&lt;/P&gt;&lt;P&gt;enter the name for it as C1.&lt;/P&gt;&lt;P&gt;data : C1 as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the input/output field icon and place it &lt;/P&gt;&lt;P&gt;on the layout &amp;amp; name it as wk_field.&lt;/P&gt;&lt;P&gt;data : wk_field(10) type c. &lt;/P&gt;&lt;P&gt;save &amp;amp; activate the layout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in se51&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;Module_status_0800.&lt;/P&gt;&lt;P&gt;Module_checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;Module_usercommand_0800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module_checkbox_o/p.&lt;/P&gt;&lt;P&gt;if c1 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'WK_FIELD'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = '1'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '1'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'WK_FIELD'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = '1'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2009 15:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718938#M1297769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-07T15:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Check box checked - Field should be editable - Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718939#M1297770</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;it needs two actions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Capture the action in PBO -by using  ON CHAIN or ON REQUEST additions .Make a temp flag 'X' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second by using that flag in PAI make the corresponding field Editable or Disable as you wish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2009 16:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box-checked-field-should-be-editable-dialog-programming/m-p/5718939#M1297770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-07T16:49:44Z</dc:date>
    </item>
  </channel>
</rss>

