<?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: At selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633205#M282449</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;Tables:vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:itab like vbak occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p_vkgrp like vbak-vkgrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from vbak into table itab&lt;/P&gt;&lt;P&gt;where vkgrp = p_vkgrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message e000(z) with 'sales group does not exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowjanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2006 08:42:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-17T08:42:16Z</dc:date>
    <item>
      <title>At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633199#M282443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check the entries for the sales group.&lt;/P&gt;&lt;P&gt;vbak-vkgrp(Parameter).&lt;/P&gt;&lt;P&gt;can you pls write the statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 09:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633199#M282443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T09:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633200#M282444</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;tables: TVKGR.&lt;/P&gt;&lt;P&gt;select single * from TVKGR where VKGRP eq vbak-vkgrp.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;  message i002(sy) with 'Sales group not exists'.&lt;/P&gt;&lt;P&gt;  exit. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 09:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633200#M282444</guid>
      <dc:creator>rajeshkumar_kaveti</dc:creator>
      <dc:date>2006-10-16T09:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633201#M282445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venu,&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;P&gt;       For checking the values in the selection screen..u need to check the check table associated with that field..for this it is TVBVK..so u write the select statement for this table....and put a message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Badri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 10:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633201#M282445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T10:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633202#M282446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN.

IF not p_vkgrp is initial.

  select single vkgrp from &amp;lt;b&amp;gt;TVBVK&amp;lt;/b&amp;gt; into vbak-vkgrp where
            vkgrp = p_vkgrp.
  if sy-subrc ne 0.
     *display error message her
  endif.

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 10:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633202#M282446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633203#M282447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PARAMETERS : p_vkgrp   type VKGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ws_VKGRP type VKGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single VKGRP&lt;/P&gt;&lt;P&gt;        into ws_VKGRP&lt;/P&gt;&lt;P&gt;        from TVKGR&lt;/P&gt;&lt;P&gt;       where VKGRP eq p_vkgrp.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;message s000 'Invalid Sales Group'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;exit. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 11:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633203#M282447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T11:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633204#M282448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;hope this will help you out.&lt;/P&gt;&lt;P&gt;tables: TVKGR.&lt;/P&gt;&lt;P&gt;data : l_vkgrp.&lt;/P&gt;&lt;P&gt;select single vkgrp from TVKGR into l_vkgrp where VKGRP eq p_vkgrp.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;message e002(sy) with 'Sales group not exists'.&lt;/P&gt;&lt;P&gt;exit. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 11:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633204#M282448</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-10-16T11:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633205#M282449</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;Tables:vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:itab like vbak occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p_vkgrp like vbak-vkgrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from vbak into table itab&lt;/P&gt;&lt;P&gt;where vkgrp = p_vkgrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message e000(z) with 'sales group does not exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowjanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 08:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633205#M282449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T08:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633206#M282450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see, as it is a parameter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can check like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;at selection screen.&lt;/P&gt;&lt;P&gt;if &amp;lt;parameter&amp;gt; = '...'. / check not &amp;lt;parameter is initial/ write &amp;lt;parameter&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any of the above statement will check/ give param value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is select-option,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check not &amp;lt;select-option&amp;gt;[] is initial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 09:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/1633206#M282450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T09:16:43Z</dc:date>
    </item>
  </channel>
</rss>

