<?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: Logic need for my selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466079#M1416346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;rb_alv RADIOBUTTON GROUP g2 user-command 'RAD', " Radio 1&lt;/P&gt;&lt;P&gt;rb_pc RADIOBUTTON GROUP g2, " Radio 2&lt;/P&gt;&lt;P&gt;rb_unix RADIOBUTTON GROUP g2. " Radio 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*File path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: pa_ftxt TYPE rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if rb_pc = 'X'.&lt;/P&gt;&lt;P&gt;pa_ftxt = 'c:\temp\veninfo.txt'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;clear pa_ftxt.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value request for pa_ftxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_location_flag = 'A'&lt;/P&gt;&lt;P&gt;i_server = ' '&lt;/P&gt;&lt;P&gt;i_path = ' ' "here you can give the path of the server directory&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;o_path = l_path&lt;/P&gt;&lt;P&gt;abend_flag = l_abend_flag&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;communication_failure = 1&lt;/P&gt;&lt;P&gt;system_failure = 2&lt;/P&gt;&lt;P&gt;rfc_error = 3.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;p_file = l_path.        "This gives you the path&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF l_abend_flag = 'X'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;Move l_path to your screen field pa_ftxt.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2010 11:59:52 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-01-20T11:59:52Z</dc:date>
    <item>
      <title>Logic need for my selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466077#M1416344</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 designed my selection screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;  rb_alv   RADIOBUTTON GROUP g2,                                                        " Radio 1&lt;/P&gt;&lt;P&gt;  rb_pc    RADIOBUTTON GROUP g2,                                                        " Radio 2&lt;/P&gt;&lt;P&gt;  rb_unix  RADIOBUTTON GROUP g2.                                                        " Radio 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*File path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: pa_ftxt TYPE rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below isMy requirement is :How to do it???please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not hard-code the directory output for Unix. Just make sure the selection logic checks to make sure a value exists in the path field if either download option (pc/unix) is set). For the PC default, use u2018c:\temp\veninfo.txtu2019 as a constant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;asis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:50:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466077#M1416344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T11:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Logic need for my selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466078#M1416345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to loop system internal table SCREEN in At selection screen output event. And make default the path based on rb_pc and rb_unix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466078#M1416345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T11:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Logic need for my selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466079#M1416346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;rb_alv RADIOBUTTON GROUP g2 user-command 'RAD', " Radio 1&lt;/P&gt;&lt;P&gt;rb_pc RADIOBUTTON GROUP g2, " Radio 2&lt;/P&gt;&lt;P&gt;rb_unix RADIOBUTTON GROUP g2. " Radio 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*File path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: pa_ftxt TYPE rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if rb_pc = 'X'.&lt;/P&gt;&lt;P&gt;pa_ftxt = 'c:\temp\veninfo.txt'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;clear pa_ftxt.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value request for pa_ftxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_location_flag = 'A'&lt;/P&gt;&lt;P&gt;i_server = ' '&lt;/P&gt;&lt;P&gt;i_path = ' ' "here you can give the path of the server directory&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;o_path = l_path&lt;/P&gt;&lt;P&gt;abend_flag = l_abend_flag&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;communication_failure = 1&lt;/P&gt;&lt;P&gt;system_failure = 2&lt;/P&gt;&lt;P&gt;rfc_error = 3.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;p_file = l_path.        "This gives you the path&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF l_abend_flag = 'X'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;Move l_path to your screen field pa_ftxt.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 11:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466079#M1416346</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-20T11:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Logic need for my selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466080#M1416347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please do not post your requirements and ask the forum to do your work for you - post locked&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 14:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-need-for-my-selection-screen/m-p/6466080#M1416347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T14:26:54Z</dc:date>
    </item>
  </channel>
</rss>

