<?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 Making a radiobutton default after calling tcode... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454276#M214792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my report, when a user presses back, I am calling the tcode of my report. Now, is it possible that&lt;/P&gt;&lt;P&gt;when I call the tcode the last radiobutton that the user clicked will be the default after calling&lt;/P&gt;&lt;P&gt;the tcode? for example, I have 3 radiobuttons in my selection-screen namely display, add and edit. &lt;/P&gt;&lt;P&gt;when the user chooses to add and then he decides to cancel(BACK) I will call the tcode but on the selection-screen&lt;/P&gt;&lt;P&gt;the default now is the add radiobutton?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would be greatly appreciated. Again, thanks a lot guys and have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jul 2006 02:19:07 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2006-07-04T02:19:07Z</dc:date>
    <item>
      <title>Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454276#M214792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my report, when a user presses back, I am calling the tcode of my report. Now, is it possible that&lt;/P&gt;&lt;P&gt;when I call the tcode the last radiobutton that the user clicked will be the default after calling&lt;/P&gt;&lt;P&gt;the tcode? for example, I have 3 radiobuttons in my selection-screen namely display, add and edit. &lt;/P&gt;&lt;P&gt;when the user chooses to add and then he decides to cancel(BACK) I will call the tcode but on the selection-screen&lt;/P&gt;&lt;P&gt;the default now is the add radiobutton?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would be greatly appreciated. Again, thanks a lot guys and have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 02:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454276#M214792</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-04T02:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454277#M214793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Viray,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I think if you set the pf status it may solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status  pfstat. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 02:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454277#M214793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-04T02:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454278#M214794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of calling the tcode, why not submit the abap and set the radiobutton in the call?&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;SUBMIT (sy-repid) VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;   WITH p_rad eq 'X''.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 03:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454278#M214794</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-07-04T03:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454279#M214795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the helpful reply. Anyway, I have another problem, After writing the results, when I press BACK it does not go to the selection-screen instead it goes back to the surce code, which is wrong. By the way, I have 2 selection-screens in my report. So what I want to do is that after displaying the results(this is normal display not ALV) and when I press BACK/CANCEL/EXIT it would go back to the previous selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would be appreciated. Thanks a lot and have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 03:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454279#M214795</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-04T03:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454280#M214796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viraylab,&lt;/P&gt;&lt;P&gt;could you please post the selection screen definitions so that i can see what the two screens are?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 03:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454280#M214796</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-07-04T03:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454281#M214797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viray,&lt;/P&gt;&lt;P&gt; This is regarding when u press back it should go back to the previous screen but not to the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If it is normal report display, anyway it comes back to the previuos selection-screen.&lt;/P&gt;&lt;P&gt;2) If it is a screen display, then u need to do the following.&lt;/P&gt;&lt;P&gt;*-- In flow logic &lt;/P&gt;&lt;P&gt; PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_0200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- Module definition&lt;/P&gt;&lt;P&gt;MODULE user_command_0200 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT' OR  'CANC'.&lt;/P&gt;&lt;P&gt;      PERFORM f4000_free_objects.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;      PERFORM f4000_free_objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;b&amp;gt;SET SCREEN '0'.&lt;/P&gt;&lt;P&gt;      LEAVE SCREEN.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      PERFORM f4000_free_objects.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0200  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u in some way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 04:06:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454281#M214797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-04T04:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454282#M214798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code for the 2 selection-screens:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection-screen for controllers&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_upld RADIOBUTTON GROUP grp2 USER-COMMAND ucomm1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:\'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_list1 RADIOBUTTON GROUP grp2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection-screen for non-controllers.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1500.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_dcode LIKE vbak-kunnr,&lt;/P&gt;&lt;P&gt;            p_name1 LIKE kna1-name1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_list2 RADIOBUTTON GROUP grp USER-COMMAND ucomm2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_add  RADIOBUTTON GROUP grp.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_edit RADIOBUTTON GROUP grp.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 03(20) text-a12 FOR FIELD p_code.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_code LIKE zts0001-cdseq.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE kunnr comp_flag INTO (gc_kunnr,v_compflag)&lt;/P&gt;&lt;P&gt;    FROM zsoemailid&lt;/P&gt;&lt;P&gt;   WHERE bname = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE i000 WITH&lt;/P&gt;&lt;P&gt;         'You are not authorised to use this transaction'.&lt;/P&gt;&lt;P&gt;    LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF v_compflag = 'X'.&lt;/P&gt;&lt;P&gt;    CALL SCREEN 500.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CALL SCREEN 1500.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 04:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454282#M214798</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-04T04:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454283#M214799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you do the submit set the new parameter 'p_cflag' from the current value and TRY THIS:&lt;/P&gt;&lt;P&gt;Hi again, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code for the 2 selection-screens:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection-screen for controllers&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_upld RADIOBUTTON GROUP grp2 USER-COMMAND ucomm1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:\'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_list1 RADIOBUTTON GROUP grp2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection-screen for non-controllers.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1500.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_dcode LIKE vbak-kunnr,&lt;/P&gt;&lt;P&gt;p_name1 LIKE kna1-name1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_list2 RADIOBUTTON GROUP grp USER-COMMAND ucomm2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_add RADIOBUTTON GROUP grp.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS: pr_edit RADIOBUTTON GROUP grp.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 03(20) text-a12 FOR FIELD p_code.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_code LIKE zts0001-cdseq.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1500.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;parameters p_cflag no-display.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;SELECT SINGLE kunnr comp_flag INTO (gc_kunnr,&amp;lt;b&amp;gt;p_cflag&amp;lt;/b&amp;gt;)&lt;/P&gt;&lt;P&gt;FROM zsoemailid&lt;/P&gt;&lt;P&gt;WHERE bname = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE i000 WITH&lt;/P&gt;&lt;P&gt;'You are not authorised to use this transaction'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;at selection-screen.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;IF &amp;lt;b&amp;gt;p_cflag&amp;lt;/b&amp;gt; = 'X'.&lt;/P&gt;&lt;P&gt;CALL SCREEN 500.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;CALL SCREEN 1500.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 05:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454283#M214799</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-07-04T05:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454284#M214800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello viraylab,&lt;/P&gt;&lt;P&gt;  As i know , if u r using call transaction at click back it means that ur program will run initially no data will remain, so that it is not possible because i used this trick in my module programming but it's not worked.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  with regard&lt;/P&gt;&lt;P&gt; chetan vishnoi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 05:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454284#M214800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-04T05:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454285#M214801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Neil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the very helpful reply. Anyway, I have another question if its not too much. After displaying my report, when I press BACK/CANCEL/EXIT buttons it is going back to the source code and not on the selection-screen(either 500 or 1500). I want it to go back to the previous selection-screen. Also, I cannot capture its sy-ucomm when I press back. How do I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 05:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454285#M214801</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-04T05:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454286#M214802</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 with using event ON EXIT-COMMAND like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION_SCREEN ON EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;IF sy-dynnr EQ 'scr.no'.&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN 'scr.no'&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;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 05:49:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454286#M214802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-04T05:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Making a radiobutton default after calling tcode...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454287#M214803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the selection screen fields to remember the user last entered value (within the same session.) just use the addition MEMORY ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: kokrs like csks-kokrs memory id abc  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 05:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-radiobutton-default-after-calling-tcode/m-p/1454287#M214803</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-07-04T05:58:04Z</dc:date>
    </item>
  </channel>
</rss>

