<?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: find mistake in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466200#M553872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Write the Conversion exit for VBELN &lt;/P&gt;&lt;P&gt;&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 14:27:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-27T14:27:40Z</dc:date>
    <item>
      <title>find mistake</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466195#M553867</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;please tell what is the wrong in the below select query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this one is not working even i provide right data&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get payer number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE kunnr adrnr&lt;/P&gt;&lt;P&gt;    FROM vbpa&lt;/P&gt;&lt;P&gt;    INTO (l_payer_n, l_adrnr_py)&lt;/P&gt;&lt;P&gt;    WHERE vbeln = v_vbeln&lt;/P&gt;&lt;P&gt;      AND parvw = 'RG'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466195#M553867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: find mistake</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466196#M553868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your WHERE clause should have tehy field POSNR also. Only thne the SELECT SINGLE will return the matching entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466196#M553868</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-06-27T14:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: find mistake</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466197#M553869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shobhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a structure tvbpa like vbpa and then write code like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE kunnr adrnr
FROM tvbpa
INTO (l_payer_n, l_adrnr_py)
WHERE vbeln = v_vbeln
AND parvw = 'RG'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466197#M553869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: find mistake</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466198#M553870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
I think there is no problem with the select statement.

Check the table VBPA for the below combination of the record is availble or not
SELECT SINGLE kunnr adrnr
FROM vbpa
INTO (l_payer_n, l_adrnr_py)
WHERE vbeln = v_vbeln
AND parvw = 'RG'. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466198#M553870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: find mistake</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466199#M553871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 .while using SELECT SINGLE you have mention all the key fields in the   WHERE condition , you have to give POSNR also in WHERE condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. check if v_vbeln is with LEADING ZEROES or not , or else use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT         = v_vbeln&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   OUTPUT        = v_vbeln .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE kunnr adrnr
FROM vbpa
INTO (l_payer_n, l_adrnr_py)
WHERE vbeln = v_vbeln
AND parvw = 'RG'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466199#M553871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: find mistake</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466200#M553872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Write the Conversion exit for VBELN &lt;/P&gt;&lt;P&gt;&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466200#M553872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: find mistake</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466201#M553873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     First check whether v_Vbeln is prefixed with zeros or not and then check whetrher that combination exixt in the table r not by going to SE11 by debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:30:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/find-mistake/m-p/2466201#M553873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:30:52Z</dc:date>
    </item>
  </channel>
</rss>

