<?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 report query1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837323#M664403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to develop a Ztcode(Report transaction). When user run this ZTcode, a screen with four pushbuttons will appear. Here one pushbutton is for one report. The user has to select all these pushbuttons one after another as they appear in screen. When user push one button the contol leads to respective report's selection screen. Suppose The user directly push second pushbutton without push first pushbutton (ie without executing first report), an error merssage " please run the first report" should be raised, which means, the user has to run reports in sequence. can anybody suggest what is logic to implement this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zakir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2007 09:56:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-25T09:56:41Z</dc:date>
    <item>
      <title>report query1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837323#M664403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to develop a Ztcode(Report transaction). When user run this ZTcode, a screen with four pushbuttons will appear. Here one pushbutton is for one report. The user has to select all these pushbuttons one after another as they appear in screen. When user push one button the contol leads to respective report's selection screen. Suppose The user directly push second pushbutton without push first pushbutton (ie without executing first report), an error merssage " please run the first report" should be raised, which means, the user has to run reports in sequence. can anybody suggest what is logic to implement this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zakir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 09:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837323#M664403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: report query1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837324#M664404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zakir,&lt;/P&gt;&lt;P&gt;declare an integer a = 0.&lt;/P&gt;&lt;P&gt;and assign in the sy-ucomm.&lt;/P&gt;&lt;P&gt;when Push 1    : a = 1.&lt;/P&gt;&lt;P&gt;when Push 2    : if a = 1. call report. a = 2. else. message 'pls run the first report'.&lt;/P&gt;&lt;P&gt;when Push 3    : a = 3.&lt;/P&gt;&lt;P&gt;when Push 4    : a = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like that u can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 10:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837324#M664404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T10:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: report query1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837325#M664405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make one global report in which put 4 push buttons.&lt;/P&gt;&lt;P&gt;now declare one variable as FLAG type  I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when user click on first button make its value FLAG = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when the second button is clicked ..check the following conditoin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if FLAG = 1.&lt;/P&gt;&lt;P&gt;     call second program..&lt;/P&gt;&lt;P&gt;     FLAG = 2.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;     message ' please run the first program.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same now check for the other buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 10:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837325#M664405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T10:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: report query1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837326#M664406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI zakir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a  Variable in the Global data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : V_SEQ TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each  button click assign a particular value for the Sequence variable .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHEN 'BUTTON1'.&lt;/P&gt;&lt;P&gt;     IF V_SEQ NE 0.&lt;/P&gt;&lt;P&gt;           MESSAGE 'Execute the Report1 First' type 'E'.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;       V_SEQ = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHEN 'BUTTON2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     IF V_SEQ NE 1.&lt;/P&gt;&lt;P&gt;           MESSAGE 'Execute the Report2 First' type 'E'.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;       V_SEQ = '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHEN 'BUTTON3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     IF V_SEQ NE 2.&lt;/P&gt;&lt;P&gt;           MESSAGE 'Execute the Report2 First' type 'E'.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;       V_SEQ = '3'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful. &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 10:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837326#M664406</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-25T10:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: report query1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837327#M664407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zakir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Declare one  Temp Variable [Temp] . Give the condition in first program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     When 'First Button'  -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; When user clicks the First Buttom.&lt;/P&gt;&lt;P&gt;     Temp = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  Then You have to write the condition in second Push Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      when 'Second Button'.&lt;/P&gt;&lt;P&gt;      if temp ne x.&lt;/P&gt;&lt;P&gt;      message 'Please Click The First Button' Type 'I'.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 10:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837327#M664407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: report query1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837328#M664408</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;do like this.&lt;/P&gt;&lt;P&gt;PARAMETERS:rad1 RADIOBUTTON GROUP rad default 'X',&lt;/P&gt;&lt;P&gt;            rad2 RADIOBUTTON GROUP rad,&lt;/P&gt;&lt;P&gt;            rad3 RADIOBUTTON GROUP rad,&lt;/P&gt;&lt;P&gt;            rad4 RADIOBUTTON GROUP rad.&lt;/P&gt;&lt;P&gt;data:temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GET PARAMETER ID 'sample' FIELD temp.&lt;/P&gt;&lt;P&gt;if rad1 = 'X' and temp = ' '.&lt;/P&gt;&lt;P&gt;  temp = 1.&lt;/P&gt;&lt;P&gt;  write:/ 'report1'.&lt;/P&gt;&lt;P&gt;ELSEIF rad2 = 'X' and temp = '1'.&lt;/P&gt;&lt;P&gt;  temp = 2.&lt;/P&gt;&lt;P&gt;  write:/ 'report2'.&lt;/P&gt;&lt;P&gt;ELSEIF rad3 = 'X' and temp = '2'.&lt;/P&gt;&lt;P&gt;  temp = 3.&lt;/P&gt;&lt;P&gt;  write:/ 'report3'.&lt;/P&gt;&lt;P&gt;ELSEIF rad4 = 'X' and temp = '3'.&lt;/P&gt;&lt;P&gt;  temp = ' '.&lt;/P&gt;&lt;P&gt;  write:/ 'report4'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  temp = ' '.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'sample' field temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 10:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837328#M664408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T10:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: report query1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837329#M664409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ur ans is very helpful. But the thing is whenever user try to execute second radiobutton without first, an error message should be displayed. i.e. user has to perform all reports in sequence. Can u pls suggest this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zakir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 14:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-query1/m-p/2837329#M664409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T14:06:05Z</dc:date>
    </item>
  </channel>
</rss>

