<?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: SSCRN Modifications in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sscrn-modifications/m-p/4033451#M964028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample for 2 radio buttons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Selection screen
*Radiobuttons for selecting single material or range of BOM components
SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .

*Radiobutton for selecting material
PARAMETERS:rb_mat RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND com1.

*Radiobutton for selecting BOM components
PARAMETERS:rb_comp RADIOBUTTON GROUP g1.

SELECTION-SCREEN END OF BLOCK b1.


*Enter BOM header and details
SELECTION-SCREEN BEGIN OF BLOCK sub1 WITH FRAME TITLE text-002.
PARAMETERS:p_matnr TYPE mara-matnr MODIF ID id1.                 "Material Number
PARAMETERS:p_werks TYPE marc-werks MODIF ID id1.                 "Plant
PARAMETERS:p_stlan TYPE mast-stlan MODIF ID id1.                 "BOM usage
PARAMETERS:p_stlal TYPE mast-stlal MODIF ID id1.                 "Alternative BOM
PARAMETERS:p_capid TYPE rc29l-capid MODIF ID id1.                "BOM Application
SELECTION-SCREEN END OF BLOCK sub1.

*Enter BOM components
SELECTION-SCREEN BEGIN OF BLOCK sub2 WITH FRAME TITLE text-003.
SELECT-OPTIONS:s_matnr FOR marc-matnr MODIF ID id2.              "Material Number(BOM component)
SELECTION-SCREEN END OF BLOCK sub2.

*Enter document details
SELECTION-SCREEN BEGIN OF BLOCK sub3 WITH FRAME TITLE text-004.
*Document number
PARAMETERS:p_doknr TYPE draw-doknr.
*Document Type
PARAMETERS:p_dokar TYPE draw-dokar.
*Document Part
PARAMETERS:p_doktl TYPE draw-doktl DEFAULT '000'.
*Document Version
PARAMETERS:p_dokvr TYPE draw-dokvr DEFAULT '00'.
SELECTION-SCREEN END OF BLOCK sub3.

*Display screen based on selection of radio button
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF rb_mat = 'X'.
      IF screen-group1 = 'ID2'.
        screen-active = 0.
      ENDIF.
    ELSEIF rb_comp = 'X'.
      IF screen-group1 = 'ID1'.
        screen-active = 0.
      ENDIF.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 12:24:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-24T12:24:45Z</dc:date>
    <item>
      <title>SSCRN Modifications</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sscrn-modifications/m-p/4033450#M964027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 Radiobuttons(RB1,RB2,RB3) on my SSCRN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each Radio Button there are ceratin I/P FIelds.&lt;/P&gt;&lt;P&gt;For RB1 There are Input fields as well as one Checkbox CB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Intention is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When either of the Radiobutton is selected the I/P Fields of the other radiobuttons must be INITIALIZED and shud be DEACTIVATED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine for the first time.&lt;/P&gt;&lt;P&gt;But when 2nd time the CB1 value is not getting correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e say when RB1 is pressed the I/P fields of RB2 and RB3 shud get cleared and deactivated.&lt;/P&gt;&lt;P&gt;This is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when RB1 is pressed and CB1 is also pressed and then RB2 is pressed --&amp;gt; &lt;/P&gt;&lt;P&gt;then the CB1 check box is not getting cleared instead it's getting deactivated with the checkbox checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to debug this but when I debug it's working abs. fine.&lt;/P&gt;&lt;P&gt;But when outside debugging it's failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not kidding .The problem is in that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u guys help me out ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sscrn-modifications/m-p/4033450#M964027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T12:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: SSCRN Modifications</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sscrn-modifications/m-p/4033451#M964028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample for 2 radio buttons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Selection screen
*Radiobuttons for selecting single material or range of BOM components
SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .

*Radiobutton for selecting material
PARAMETERS:rb_mat RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND com1.

*Radiobutton for selecting BOM components
PARAMETERS:rb_comp RADIOBUTTON GROUP g1.

SELECTION-SCREEN END OF BLOCK b1.


*Enter BOM header and details
SELECTION-SCREEN BEGIN OF BLOCK sub1 WITH FRAME TITLE text-002.
PARAMETERS:p_matnr TYPE mara-matnr MODIF ID id1.                 "Material Number
PARAMETERS:p_werks TYPE marc-werks MODIF ID id1.                 "Plant
PARAMETERS:p_stlan TYPE mast-stlan MODIF ID id1.                 "BOM usage
PARAMETERS:p_stlal TYPE mast-stlal MODIF ID id1.                 "Alternative BOM
PARAMETERS:p_capid TYPE rc29l-capid MODIF ID id1.                "BOM Application
SELECTION-SCREEN END OF BLOCK sub1.

*Enter BOM components
SELECTION-SCREEN BEGIN OF BLOCK sub2 WITH FRAME TITLE text-003.
SELECT-OPTIONS:s_matnr FOR marc-matnr MODIF ID id2.              "Material Number(BOM component)
SELECTION-SCREEN END OF BLOCK sub2.

*Enter document details
SELECTION-SCREEN BEGIN OF BLOCK sub3 WITH FRAME TITLE text-004.
*Document number
PARAMETERS:p_doknr TYPE draw-doknr.
*Document Type
PARAMETERS:p_dokar TYPE draw-dokar.
*Document Part
PARAMETERS:p_doktl TYPE draw-doktl DEFAULT '000'.
*Document Version
PARAMETERS:p_dokvr TYPE draw-dokvr DEFAULT '00'.
SELECTION-SCREEN END OF BLOCK sub3.

*Display screen based on selection of radio button
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF rb_mat = 'X'.
      IF screen-group1 = 'ID2'.
        screen-active = 0.
      ENDIF.
    ELSEIF rb_comp = 'X'.
      IF screen-group1 = 'ID1'.
        screen-active = 0.
      ENDIF.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sscrn-modifications/m-p/4033451#M964028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T12:24:45Z</dc:date>
    </item>
  </channel>
</rss>

