<?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 selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882781#M677135</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;        i am having a selection screen with two selection screen blocks b1 and b2.&lt;/P&gt;&lt;P&gt;in b1 i have two radiobuttons rad1 and rad2.&lt;/P&gt;&lt;P&gt;in b2 i have a select option and parameter field.&lt;/P&gt;&lt;P&gt;i want to execute the code based on the selection of the block.&lt;/P&gt;&lt;P&gt;i.e. if b1 is selected then execution takes plac on the basis of radiobutton,&lt;/P&gt;&lt;P&gt;if b2 is selected then on the basis of selection-options and parameter field.&lt;/P&gt;&lt;P&gt;and i don't want to add a radiobutton in selection screen block b2.&lt;/P&gt;&lt;P&gt;help guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2007 06:04:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-26T06:04:17Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882781#M677135</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;        i am having a selection screen with two selection screen blocks b1 and b2.&lt;/P&gt;&lt;P&gt;in b1 i have two radiobuttons rad1 and rad2.&lt;/P&gt;&lt;P&gt;in b2 i have a select option and parameter field.&lt;/P&gt;&lt;P&gt;i want to execute the code based on the selection of the block.&lt;/P&gt;&lt;P&gt;i.e. if b1 is selected then execution takes plac on the basis of radiobutton,&lt;/P&gt;&lt;P&gt;if b2 is selected then on the basis of selection-options and parameter field.&lt;/P&gt;&lt;P&gt;and i don't want to add a radiobutton in selection screen block b2.&lt;/P&gt;&lt;P&gt;help guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 06:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882781#M677135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T06:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882782#M677136</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 the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: pa0000, pa0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk1 with frame.&lt;/P&gt;&lt;P&gt;parameters: p_rad1 radiobutton group rad1 default 'X' user-command rusr,&lt;/P&gt;&lt;P&gt;p_rad2 radiobutton group rad1.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk2 with frame.&lt;/P&gt;&lt;P&gt;select-options: s_stat2 for pa0000-stat2 modif id DEF.&lt;/P&gt;&lt;P&gt;parameters: p_werks like pa0001-werks modif id DEF.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = 'DEF'.&lt;/P&gt;&lt;P&gt;IF p_rad2 = 'X'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&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;&lt;/P&gt;&lt;P&gt;*note&lt;/P&gt;&lt;P&gt;*Select the radio button P_rad2.&lt;/P&gt;&lt;P&gt;*then you can get select option and parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Velangini Showry Maria Kumar Bandanadham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 06:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882782#M677136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T06:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882783#M677137</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;   i don't want to execute based on the selection of radiobutton,but on the basis that in which selection screen block is selected .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 06:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882783#M677137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T06:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882784#M677138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shailendra,&lt;/P&gt;&lt;P&gt;Try this COde...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara,aufk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_bukrs LIKE aufk-bukrs  modif id AB.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matkl FOR mara-matkl modif id AB.   "Mat Group&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END   OF BLOCK b1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter : r1   radiobutton group a DEFAULT 'X' modif id EE USER-COMMAND check,&lt;/P&gt;&lt;P&gt;          : r2   radiobutton group a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF  r1 = 'X'.&lt;/P&gt;&lt;P&gt;      if screen-group1 = 'AB'.&lt;/P&gt;&lt;P&gt;        screen-active = 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;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 06:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882784#M677138</guid>
      <dc:creator>former_member194152</dc:creator>
      <dc:date>2007-09-26T06:19: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/2882785#M677139</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 that case, you will need to do processing based on the values entered in selection screen. If there is some input given in Block B1 fields, then implement some logic and if there is some input given in Block B2 fields, then implement other logic. Also you will have to validate that the user will not input in fields in both the Blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 06:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882785#M677139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T06:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882786#M677140</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; Try This......&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK block1.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;do all checks&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK block2.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;do all checks&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 08:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2882786#M677140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T08:24:04Z</dc:date>
    </item>
  </channel>
</rss>

