<?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: control report program by using pushbuttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904741#M1328749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a custom screen in your program(module pool). create the push button, text box  in that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO and PAI, write your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2009 12:21:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-17T12:21:49Z</dc:date>
    <item>
      <title>control report program by using pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904740#M1328748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a selection screen with text boxes, radio buttons and Push buttons. Whenever I enter some value in text box and press the PUSHBUTTON, the report should upload one file from local drive(like &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; C: or Desktop) and need to update one custom table with those entries and it should display those entries like a normal report works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; PUSHBUTTONs are used to control the selection screen rathar than report. ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way that a report program with PUSHBUTTONs will works like a normal program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise give me some suggestions how do I proceed further...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 12:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904740#M1328748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T12:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: control report program by using pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904741#M1328749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a custom screen in your program(module pool). create the push button, text box  in that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO and PAI, write your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 12:21:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904741#M1328749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T12:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: control report program by using pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904742#M1328750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;   have two bushbuttons in the report.&lt;/P&gt;&lt;P&gt;1. for Upload&lt;/P&gt;&lt;P&gt;2. For report display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you select upload push button the upload details will come below then select the file and upload it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you select report display push button it will show the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have use of at-selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just see a example code how can we control using radio button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS       : p_r1 RADIOBUTTON GROUP rad
                        USER-COMMAND clk DEFAULT 'X'.            " upload Radio Button
SELECTION-SCREEN COMMENT 5(35) text-003.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN : BEGIN OF BLOCK 001 WITH FRAME TITLE text-001.
PARAMETERS: p_upl       LIKE rlgrap-filename MODIF ID a           "Upload File
                         DEFAULT 'c:\temp\parbmat.xls',
            p_werks     like t001w-werks MODIF ID a,              "Plant

PARAMETERS: p_rest      LIKE rlgrap-filename MODIF ID a           "Dwonload File Path
                         DEFAULT 'c:\temp\Success.xls'.
SELECTION-SCREEN : END OF BLOCK 001.

SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p_r2 RADIOBUTTON GROUP rad.
SELECTION-SCREEN COMMENT 5(35) text-004.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN : BEGIN OF BLOCK 002 WITH FRAME TITLE text-002.
PARAMETERS     : p_plant  LIKE marc-werks MODIF ID b.                "Plant
SELECT-OPTIONS : s_dat FOR  mara-ersda MODIF ID b.                  "Date on Record Created
PARAMETERS     : p_down LIKE rlgrap-filename MODIF ID b
                  DEFAULT 'c:\temp\Material Master.xls'.           "Download File Path
SELECTION-SCREEN : END OF BLOCK 002.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use of at-selection screen to show or hide.&lt;/P&gt;&lt;P&gt;see the below example code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
T SELECTION-SCREEN OUTPUT.
*Inactive Fields depending on the radio button
  LOOP AT SCREEN.
    IF p_r1 = 'X'.
      IF screen-group1 = 'B'.
        screen-active = 0.
      ENDIF.
    ELSEIF p_r2 = 'X'.
      IF screen-group1 = 'A'.
        screen-active = 0.
      ENDIF.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: suresh suresh on Jul 17, 2009 2:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 12:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904742#M1328750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T12:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: control report program by using pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904743#M1328751</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;Please see following Code for selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME&lt;/P&gt;&lt;P&gt;                                     TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declaration of sel screen buttons&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON (20) w_button USER-COMMAND BUT1.   Push Button 1&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON (25) w_but2 USER-COMMAND BUT2.      Push Button 2&lt;/P&gt;&lt;P&gt;&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 END OF BLOCK block1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do following at Start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If  sy-ucom eq BUT1&lt;/P&gt;&lt;P&gt;    use function Module gui_dowmload&lt;/P&gt;&lt;P&gt;elseif  sy-ucom eq BUT2.&lt;/P&gt;&lt;P&gt;    use function Module gui_dowmload to downlad at particular location in your Presentaion Server&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 12:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904743#M1328751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T12:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: control report program by using pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904744#M1328752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;used normal abap code and it works fine now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 12:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-report-program-by-using-pushbuttons/m-p/5904744#M1328752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T12:10:25Z</dc:date>
    </item>
  </channel>
</rss>

