<?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: report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094037#M435735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do screen validations for report under events,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN &amp;lt;ON FILEDNAME&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if this helps,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tejas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2007 11:45:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-09T11:45:42Z</dc:date>
    <item>
      <title>report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094033#M435731</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; how do i do screen validations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094033#M435731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094034#M435732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If its a selection screen then u can do the validsations in AT SELECTION SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a module Pool then u can do validations in the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. If u need to do validations on the Material in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can write after defining the selection screen:&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;Select single * from mara where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE e000(0k) with 'Material doesnt exists'.&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;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Himanshu Aggarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094034#M435732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094035#M435733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen validations can be done by using the events such as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At-selection screen.&lt;/P&gt;&lt;P&gt;At-selection screen on &amp;lt;parameter name&amp;gt;&lt;/P&gt;&lt;P&gt;At-selection screen on value request.&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;Regards,&lt;/P&gt;&lt;P&gt;Thasneem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094035#M435733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094036#M435734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;say your selection screen is like this:&lt;/P&gt;&lt;P&gt;select-options:s_bukrs for t001-bukrs no intervals no-extension&lt;/P&gt;&lt;P&gt;                                                     obligatory,&lt;/P&gt;&lt;P&gt;               s_vkorg for tvko-vkorg no intervals no-extension,&lt;/P&gt;&lt;P&gt;               s_vtweg for tvtw-vtweg no intervals no-extension,&lt;/P&gt;&lt;P&gt;               s_spart for tspa-spart no intervals no-extension,&lt;/P&gt;&lt;P&gt;In at selection screen: you do the validations like:&lt;/P&gt;&lt;P&gt;form screen_check.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation of Sales Organization&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear tvko.&lt;/P&gt;&lt;P&gt;  if not s_vkorg-low is initial.&lt;/P&gt;&lt;P&gt;    select vkorg from tvko up to 1 rows&lt;/P&gt;&lt;P&gt;           into tvko-vkorg&lt;/P&gt;&lt;P&gt;           where vkorg in s_vkorg.&lt;/P&gt;&lt;P&gt;    endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;      message e009.  " Invalid Sales Organization&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation of Distribution Channel&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear tvtw.&lt;/P&gt;&lt;P&gt;  if not s_vtweg-low is initial.&lt;/P&gt;&lt;P&gt;    select vtweg from tvtw up to 1 rows&lt;/P&gt;&lt;P&gt;           into tvtw-vtweg&lt;/P&gt;&lt;P&gt;           where vtweg in s_vtweg.&lt;/P&gt;&lt;P&gt;    endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;      message e010.  " Invalid Distribution Channel&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation of Division&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear tspa.&lt;/P&gt;&lt;P&gt;  if not s_spart-low is initial.&lt;/P&gt;&lt;P&gt;    select spart from tspa up to 1 rows&lt;/P&gt;&lt;P&gt;           into tspa-spart&lt;/P&gt;&lt;P&gt;           where spart in s_spart.&lt;/P&gt;&lt;P&gt;    endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;      message e011.  " Invalid Division&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation for company code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear t001.&lt;/P&gt;&lt;P&gt;  if not s_bukrs-low is initial.&lt;/P&gt;&lt;P&gt;    select single bukrs from t001&lt;/P&gt;&lt;P&gt;         into t001-bukrs&lt;/P&gt;&lt;P&gt;         where bukrs in s_bukrs.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      message e007.   " Enter valid Company Code&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ANJI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094036#M435734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094037#M435735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do screen validations for report under events,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN &amp;lt;ON FILEDNAME&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if this helps,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tejas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094037#M435735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094038#M435736</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;here is the sample code for validations&lt;/P&gt;&lt;P&gt;in the PAI of the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single &amp;lt;field name&amp;gt; into &amp;lt;variable&amp;gt; from itab.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e01(&amp;lt;message class&amp;gt;).  * create message class in se91&lt;/P&gt;&lt;P&gt;&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;this will clear ur doubt.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:54:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094038#M435736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094039#M435737</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;here is the sample code for validations&lt;/P&gt;&lt;P&gt;in the PAI of the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single &amp;lt;field name&amp;gt; into &amp;lt;variable&amp;gt; from itab.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e01(&amp;lt;message class&amp;gt;).  * create message class in se91&lt;/P&gt;&lt;P&gt;&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;this will clear ur doubt.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2094039#M435737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:55:32Z</dc:date>
    </item>
  </channel>
</rss>

