<?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: reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806192#M346021</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;If you want to get this is selection screen then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specify ...your code in AT SELECTION SCREEN event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA1.&lt;/P&gt;&lt;P&gt;if it_ekko[] is initial.&lt;/P&gt;&lt;P&gt;message e000(e4) with 'Service data not available for the Purchase document'.&lt;/P&gt;&lt;P&gt;*set screen 1000.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;PERFORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;PERFORM DISPLAY_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*REWARD if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2006 05:11:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-14T05:11:46Z</dc:date>
    <item>
      <title>reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806191#M346020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i got one code like&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  PERFORM GET_DATA1.&lt;/P&gt;&lt;P&gt;  if it_ekko[] is initial.&lt;/P&gt;&lt;P&gt;  message e000(e4) with 'Service data not available for the Purchase document'.&lt;/P&gt;&lt;P&gt;*set screen 1000.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;  PERFORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;  PERFORM DISPLAY_DATA.&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;if i give the code like this wht happens is if i_ekko is empty i will get an error screen apart from selection-screen saying tht 'Service data not available for the Purchase document'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I want to get the message 'Service data not available for the Purchase document' in the same selection-screen.Pls give me a logic for this with a sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806191#M346020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806192#M346021</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;If you want to get this is selection screen then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specify ...your code in AT SELECTION SCREEN event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA1.&lt;/P&gt;&lt;P&gt;if it_ekko[] is initial.&lt;/P&gt;&lt;P&gt;message e000(e4) with 'Service data not available for the Purchase document'.&lt;/P&gt;&lt;P&gt;*set screen 1000.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;PERFORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;PERFORM DISPLAY_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*REWARD if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806192#M346021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806193#M346022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;message e000(e4) with 'Service data not available for the Purchase document'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this message if u use S000(e4) ur message will be displayed in the same screen in the status bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u use I000(e4) u will get a pop up in the same screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806193#M346022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806194#M346023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;message S000(e4) with 'Service data not available for the Purchase document'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUs write 'S' instead of E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U will get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806194#M346023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806195#M346024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  What i understand is that you want to get the selection screen back so that you can execute the program with another set of data .&lt;/P&gt;&lt;P&gt;If my understanding is correct , then test the condition in AT SELECTION-SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN 
PERFORM GET_DATA1.
if it_ekko[] is initial.
message e000(e4) with 'Service data not available for the Purchase document'.
*set screen 1000.
ENDIF

START-OF-SELECTION.


PERFORM GET_DATA.
PERFORM PROCESS_DATA.
PERFORM DISPLAY_DATA.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of query please revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reward point if found helplful&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806195#M346024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806196#M346025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message S(e4) with 'Service data not available for the Purchase document'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S- for status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;P&gt;Reward if helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806196#M346025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806197#M346026</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;give the code as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA1.&lt;/P&gt;&lt;P&gt;if it_ekko[] is initial.&lt;/P&gt;&lt;P&gt;message e000(e4) .&lt;/P&gt;&lt;P&gt;*set screen 1000.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; here i've jus removed that.. with 'Service data not available for the Purchase document'..after ur error message.&lt;/P&gt;&lt;P&gt;try it this way. else it's better for u to give as a information msg rather than error msg,as i've given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OR&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA1.&lt;/P&gt;&lt;P&gt;if it_ekko[] is initial.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;message i000(e4) .&amp;lt;/b&amp;gt;  "give the message as an information message.&lt;/P&gt;&lt;P&gt;*set screen 1000.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by giving as information msg, it'll pop up in the selction screen itself. once enter,again ur selction parameters becomes available for u to enter ur inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;'Service data not available for the Purchase document'&amp;lt;/b&amp;gt; is wat u hav mentioned in ur message class rite(beside e4)!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try all this..&lt;/P&gt;&lt;P&gt;if useful,reward points.&lt;/P&gt;&lt;P&gt;all the best.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1806197#M346026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:16:18Z</dc:date>
    </item>
  </channel>
</rss>

