<?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 put display-only condition in a custom include program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308165#M160801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i made a couple changes and it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Apr 2006 22:36:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-26T22:36:04Z</dc:date>
    <item>
      <title>how to put display-only condition in a custom include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308161#M160797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to make a custom include program that will be used instead of the already available 'bdcrecx1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of questions and would appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a parameter with a checkbox. When this checkbox is 'X' the following 2 fields need to be greyed out, otherwise user should be able to enter values in them. How can I grey out the fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using my include I should have just the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)parameter with checkbox &lt;/P&gt;&lt;P&gt;(if 'X', session and user greyed out)&lt;/P&gt;&lt;P&gt;2)Session Name&lt;/P&gt;&lt;P&gt;3)User Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there a way I can avoid putting the following onto the screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Keep session (this will always be defaulted to 'X'&lt;/P&gt;&lt;P&gt;2)No Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; I made a copy of 'bdcrecx1'and i'm doing changes according to my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 20:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308161#M160797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T20:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to put display-only condition in a custom include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308162#M160798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For your first question.&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;assign user command for checkbox say 'CLICK'..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group3 = 'VALUE' and checkbox condition.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;screen-active = 1.&lt;/P&gt;&lt;P&gt;endloop.&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;To make sure that the user enters the data in fields if checkbox is not grayed,&lt;/P&gt;&lt;P&gt;do it in event &lt;/P&gt;&lt;P&gt;start-of selection.&lt;/P&gt;&lt;P&gt;if field is initial.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;go back to previous screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for removing 'keep session' , check out for exits..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;Please mark helpful answers&lt;/P&gt;&lt;P&gt;Sorry about the previous error in reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Tanveer Shaikh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 20:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308162#M160798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T20:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to put display-only condition in a custom include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308163#M160799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameteR : TEST TYPE CHECKBOX DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER : USER(20),&lt;/P&gt;&lt;P&gt;            SESSION(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;           IF TEST = 'X'.&lt;/P&gt;&lt;P&gt;           LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;           CASE SCREEN-NAME.&lt;/P&gt;&lt;P&gt;           WHEN 'SESSION'.&lt;/P&gt;&lt;P&gt;            SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;            MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;            WHEN 'USER' .&lt;/P&gt;&lt;P&gt;            SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;            MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;            ENDCASE.&lt;/P&gt;&lt;P&gt;           ENDLOOP.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;           start-of-selection.&lt;/P&gt;&lt;P&gt;           end-of-selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 20:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308163#M160799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T20:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to put display-only condition in a custom include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308164#M160800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i put the test parameter 'type', it works. But when i put parameter: test as checkbox, the 'session' and 'user' are not greyed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And is there a way i can hide: Keep session and No Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 21:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308164#M160800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T21:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to put display-only condition in a custom include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308165#M160801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i made a couple changes and it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 22:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-put-display-only-condition-in-a-custom-include-program/m-p/1308165#M160801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T22:36:04Z</dc:date>
    </item>
  </channel>
</rss>

