<?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: Issue in using radio button in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-using-radio-button-in-module-pool/m-p/8342250#M1639163</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 need to make the Grouping for these Radio button on the screen &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Search for how to make Radio buttons grouping&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="741417"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCDWBTUT/BCDWBTUT.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCDWBTUT/BCDWBTUT.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and search for Radio button Group in this document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign a Function Code for one of the radio buttons(It allows for only one Radio Button)&lt;/P&gt;&lt;P&gt;This triggers automatic PAI so when you take the F4 Help this is readily available&lt;/P&gt;&lt;P&gt;In TOP include make sure you define the variables corresponding to the Radio buttons on the screen and also provide default value X to one of the Radio buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this serves your purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2011 10:35:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-23T10:35:54Z</dc:date>
    <item>
      <title>Issue in using radio button in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-using-radio-button-in-module-pool/m-p/8342248#M1639161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For same field I need 2 different search help. Based on radio button on screen I need company codeu2019s from different table. Issue is, at execution radio button remains blank. Radio button works only when I use them in PAI under CASE SY-UCOMM. WHEN u2018DONEu2019. IF Normal_Run = u2018Xu2019u2026u2026&lt;/P&gt;&lt;P&gt;Can I use radio button with the below code. Please refer the below code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS ON VALUE-REQUEST.
FIELD COMP_CODE MODULE POPULATE_COMP_CODE.

MODULE POPULATE_COMP_CODE INPUT.
IF REPEAT_RUN = 'X'.
PERFORM COMP_CODE_POPULATE.
ELSEIF NORMAL_RUN = 'X'.
PERFORM COMP_CODE_POPULATE_N.
ENDIF.
ENDMODULE.   

FORM COMP_CODE_POPULATE .
    SELECT COMP_CODE
      FROM  ZIFRS_D_PROCESS
      INTO  CORRESPONDING FIELDS OF TABLE VALUES_TAB_CC
      WHERE PROC_NAME = 'DEPRECIATION RUN'.
  READ TABLE VALUES_TAB INDEX 1.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      RETFIELD    = 'COMP_CODE'
      DYNPPROG    = PROGNAME
      DYNPNR      = DYNNUM
      DYNPROFIELD = 'COMP_CODE'
      VALUE_ORG   = 'S'
    TABLES
      VALUE_TAB   = VALUES_TAB_CC.
ENDFORM.                    " COMP_CODE_POPULATION

FORM COMP_CODE_POPULATE_N .
  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
      TABNAME     = '/BI0/SCOMP_CODE'
      FIELDNAME   = 'COMP_CODE'
      DYNPPROG    = PROGNAME
      DYNPNR      = DYNNUM
      DYNPROFIELD = 'COMP_CODE'.
ENDFORM.                    " COMP_CODE_POPULATE_N&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator Message: Please use "code" tags to format the code snippet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Nov 23, 2011 5:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 09:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-using-radio-button-in-module-pool/m-p/8342248#M1639161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T09:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in using radio button in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-using-radio-button-in-module-pool/m-p/8342249#M1639162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will not be available inside it. What you can do is call one module and use function DYNP_VALUES_READ inside it. Also select both the radio buttons in the screen layout, right click and group it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;in PBO&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CLEAR: field_value, dynpro_values.
  field_value-fieldname = 'P1'.
  APPEND field_value TO dynpro_values.
    field_value-fieldname = 'P2'.
  APPEND field_value TO dynpro_values.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In POV&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'DYNP_VALUES_READ'
       EXPORTING
            dyname             = progname
            dynumb             = dynnum
            translate_to_upper = 'X'
       TABLES
            dynpfields         = dynpro_values.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now The radio button and the value for which its marked will be available, now based on the option process the logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 10:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-using-radio-button-in-module-pool/m-p/8342249#M1639162</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-23T10:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in using radio button in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-using-radio-button-in-module-pool/m-p/8342250#M1639163</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 need to make the Grouping for these Radio button on the screen &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Search for how to make Radio buttons grouping&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="741417"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCDWBTUT/BCDWBTUT.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCDWBTUT/BCDWBTUT.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and search for Radio button Group in this document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign a Function Code for one of the radio buttons(It allows for only one Radio Button)&lt;/P&gt;&lt;P&gt;This triggers automatic PAI so when you take the F4 Help this is readily available&lt;/P&gt;&lt;P&gt;In TOP include make sure you define the variables corresponding to the Radio buttons on the screen and also provide default value X to one of the Radio buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this serves your purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 10:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-using-radio-button-in-module-pool/m-p/8342250#M1639163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T10:35:54Z</dc:date>
    </item>
  </channel>
</rss>

