<?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: selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748348#M324507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replies.&lt;/P&gt;&lt;P&gt;But how you validate the entry for p_vkorg..&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;We have to validate only in At selection-screen event.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;So after validationg how can we disable next paramater?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2006 13:21:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-12T13:21:32Z</dc:date>
    <item>
      <title>selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748343#M324502</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;I have 2 parameters in selection screen.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_vkorg like vbak-vkorg,&lt;/P&gt;&lt;P&gt;                  p_kunnr like vbak-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the enterd value in p_vkorg does not exist in vbak i want to disable p_kunnr..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748343#M324502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748344#M324503</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 use the event 'AT SELECTION SCREEN ON OUTPUT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use the propperty of the SCREEN table field INPUT set to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek Kute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748344#M324503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748345#M324504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the example here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/change-the-input-fields-dynamically-in-a-screen.htm" target="test_blank"&gt;http://www.sap-img.com/abap/change-the-input-fields-dynamically-in-a-screen.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748345#M324504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748346#M324505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know whether i got you right &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;normal you do tis validation&lt;/P&gt;&lt;P&gt;At selction-screen on p_vkorg&lt;/P&gt;&lt;P&gt;IF NOT S_PERNR IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE VKORG&lt;/P&gt;&lt;P&gt;         FROM VBAK&lt;/P&gt;&lt;P&gt;         INTO VBAK-PERNR&lt;/P&gt;&lt;P&gt;         WHERE VKORG = P_VKORG.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE E000(ZMESS).&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;If you want to validate two fields then put else condition&lt;/P&gt;&lt;P&gt;and write seond v alidation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748346#M324505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748347#M324506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION_SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;select single vkorg from &amp;lt;tab1&amp;gt; where vkorg = p_vkorg&lt;/P&gt;&lt;P&gt;if sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = p_kunnr.&lt;/P&gt;&lt;P&gt;screen-input = '0'.&lt;/P&gt;&lt;P&gt;screen-visible = '0'&lt;/P&gt;&lt;P&gt;modify screen.&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;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748347#M324506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748348#M324507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replies.&lt;/P&gt;&lt;P&gt;But how you validate the entry for p_vkorg..&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;We have to validate only in At selection-screen event.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;So after validationg how can we disable next paramater?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748348#M324507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748349#M324508</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 use like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters p1 as checkbox modif id z1.&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-group1 = 'Z1'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&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;&lt;/P&gt;&lt;P&gt;you can check for p_vkorg is exist in vbak or not.. and disable p_kunnr..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748349#M324508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748350#M324509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Initially you can hide the parameter P_KUNNR and when the user enters a value in P_VKORG, it can be enabled :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_vkorg like vbak-vkorg,&lt;/P&gt;&lt;P&gt;p_kunnr like vbak-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;if p_vkorg is initial.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name = 'P_KUNNR'.&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;else.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name = 'P_KUNNR'.&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;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748350#M324509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748351#M324510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT YCHATEST LINE-SIZE 350.

TABLES : VBAK.

PARAMETERS: P_VKORG LIKE VBAK-VKORG,
            P_KUNNR LIKE VBAK-KUNNR.

AT SELECTION-SCREEN OUTPUT.

  SELECT SINGLE VKORG FROM VBAK INTO VBAK-VKORG  WHERE VKORG = P_VKORG.
  IF SY-SUBRC NE 0.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'P_KUNNR'.
        SCREEN-INPUT = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSE.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'P_KUNNR'.
        SCREEN-INPUT = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748351#M324510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748352#M324511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Did u check my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748352#M324511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748353#M324512</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;Thanks..It works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 13:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1748353#M324512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T13:28:25Z</dc:date>
    </item>
  </channel>
</rss>

