<?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: screen navigation between  two report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869569#M1593690</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;As u said u have developed 2 reports means it will be alv reports. So,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in REUSE_ALV_GRID_DISPLAY pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'  
I_CALLBACK_PROGRAM = sy-repid
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

FORM USER_COMMAND  USING r_ucomm LIKE sy-ucomm
                                   rs_selfield TYPE slis_selfield.
 if  r_ucomm = 'BUTTON_CLICKED'.  " function code of button clicked
     submit prog_name via selection-screen and return.
endif.
endform.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps u...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mihir6666 on May 4, 2011 8:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2011 06:09:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-04T06:09:49Z</dc:date>
    <item>
      <title>screen navigation between  two report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869567#M1593688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;can anyone help me out in this:&lt;/P&gt;&lt;P&gt;I have created two reports,i have placed button in one  program and when i press button it  should go to second report selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module USER_COMMAND_0100 input.&lt;/P&gt;&lt;P&gt;*case sy-ucomm.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; when 'enter'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   SUBMIT Zreport via selection-screen and RETURN.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   endcase.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please can anyone tell me how to navigate from button in one program to another program selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 02:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869567#M1593688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-04T02:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: screen navigation between  two report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869568#M1593689</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;U created 2 reports say., rep1 and rep 2. when u press button in rep1 it should call report 2 ., so., u &lt;STRONG&gt;create a tcode for rep2&lt;/STRONG&gt; let say &lt;STRONG&gt;zrep2&lt;/STRONG&gt; (hope u know how to create a tcode., goto se93 transaction enter tcode name then enter report name and create a tcode). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in ur program., (report 1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when button pressed., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'ZREP2' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply u  need some more clarifications.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 03:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869568#M1593689</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-05-04T03:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: screen navigation between  two report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869569#M1593690</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;As u said u have developed 2 reports means it will be alv reports. So,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in REUSE_ALV_GRID_DISPLAY pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'  
I_CALLBACK_PROGRAM = sy-repid
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

FORM USER_COMMAND  USING r_ucomm LIKE sy-ucomm
                                   rs_selfield TYPE slis_selfield.
 if  r_ucomm = 'BUTTON_CLICKED'.  " function code of button clicked
     submit prog_name via selection-screen and return.
endif.
endform.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps u...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mihir6666 on May 4, 2011 8:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 06:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869569#M1593690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-04T06:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: screen navigation between  two report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869570#M1593691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Looks like you are doing a dialog program,If you are having only buttons in your first screen then create another screen with your desired selection screen in the same program, get the values in that selection and then pass it to the next report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you are having a selection screen and a button in your first dialog program then I don't think there is a necessity for another selection screen to appear in your second report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 10:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-navigation-between-two-report/m-p/7869570#M1593691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-04T10:15:21Z</dc:date>
    </item>
  </channel>
</rss>

