<?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 Urgent :  Query on select statement!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729914#M633653</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 am trying to get the customer number from VBPA table into my work area based on vbeln and parvw values. but it is giving me an sysubrc value is 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select single kunnr into wa_i_vbpa&lt;/P&gt;&lt;P&gt;                      from vbpa&lt;/P&gt;&lt;P&gt;                      where vbeln = p_i_vbeln&lt;/P&gt;&lt;P&gt;                      and   parvw = 'SP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check and let me know whether this is correct or not? if not, please correct it and send it to me back.&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>Tue, 04 Sep 2007 16:18:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-04T16:18:39Z</dc:date>
    <item>
      <title>Urgent :  Query on select statement!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729914#M633653</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 am trying to get the customer number from VBPA table into my work area based on vbeln and parvw values. but it is giving me an sysubrc value is 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select single kunnr into wa_i_vbpa&lt;/P&gt;&lt;P&gt;                      from vbpa&lt;/P&gt;&lt;P&gt;                      where vbeln = p_i_vbeln&lt;/P&gt;&lt;P&gt;                      and   parvw = 'SP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check and let me know whether this is correct or not? if not, please correct it and send it to me back.&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>Tue, 04 Sep 2007 16:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729914#M633653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T16:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent :  Query on select statement!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729915#M633654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Use Conversion FM before the select statement in this way ...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    INPUT         = p_i_vbeln
 IMPORTING
   OUTPUT        = p_i_vbeln&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729915#M633654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T16:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent :  Query on select statement!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729916#M633655</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;Please try this instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select single kunnr into wa_i_vbpa
from vbpa
where vbeln = p_i_vbeln
and parvw = 'AG'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729916#M633655</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-09-04T16:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent :  Query on select statement!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729917#M633656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    input  = p_i_vbeln
  IMPORTING
    output = p_i_vbeln.

SELECT SINGLE kunnr INTO wa_i_vbpa
  FROM vbpa
  WHERE vbeln = p_i_vbeln
    AND parvw = 'SP'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729917#M633656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T16:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent :  Query on select statement!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729918#M633657</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;No its not working. still i am getting Sy-sUBRC is 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729918#M633657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent :  Query on select statement!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729919#M633658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Ferry Lianto mentioned,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single kunnr into wa_i_vbpa&lt;/P&gt;&lt;P&gt;from vbpa&lt;/P&gt;&lt;P&gt;where vbeln = p_i_vbeln&lt;/P&gt;&lt;P&gt;and parvw = 'AG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should work...Even after using this code, it doesn't work means there is no record in the database table with this selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:36:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729919#M633658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T16:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent :  Query on select statement!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729920#M633659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then there's no record there for these values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-query-on-select-statement/m-p/2729920#M633659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T16:38:26Z</dc:date>
    </item>
  </channel>
</rss>

