<?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: very small doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138208#M450062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you should give v_vbeln = '0090000613'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 13:24:30 GMT</pubDate>
    <dc:creator>kostas_tsioubris</dc:creator>
    <dc:date>2007-04-04T13:24:30Z</dc:date>
    <item>
      <title>very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138207#M450061</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;I m facing a very small / silly / very imp doubt.&lt;/P&gt;&lt;P&gt;Plz go through the follwing code and help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_SELECT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;parameters : p_vbeln type vbeln.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data : v_adrnr type adrnr,&lt;/P&gt;&lt;P&gt;       v_vbeln type vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      v_vbeln = '90000613'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT single adrnr FROM vbpa INTO v_adrnr where vbeln EQ v_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Write : 'sy-subrc:',sy-subrc,&lt;/P&gt;&lt;P&gt;         / v_adrnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: for paramaters , its working fine.&lt;/P&gt;&lt;P&gt;If i give vbeln directly (hardcoding) its not fetching data.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138207#M450061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138208#M450062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you should give v_vbeln = '0090000613'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138208#M450062</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2007-04-04T13:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138209#M450063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;v_vbeln = '0090000613'.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it is of type C of size 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while u r using screens it will take care of leading zeroes(in case of parameters). &lt;/P&gt;&lt;P&gt;But , when u hard code u need to take care of zeroes also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rammohan Nagam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138209#M450063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138210#M450064</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;check in ur database table if there are any laeding zeros in vbeln hard coded value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes give them too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navjot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpfull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138210#M450064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138211#M450065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thankx sir!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138211#M450065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138212#M450066</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;REPORT ZTEST_SELECT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;parameters : p_vbeln type vbeln.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data : v_adrnr type adrnr,&lt;/P&gt;&lt;P&gt;v_vbeln type vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_vbeln = '90000613'.&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;  field = v_vbeln&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt; field = v_vbeln&lt;/P&gt;&lt;P&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT single adrnr FROM vbpa INTO v_adrnr where vbeln EQ v_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write : 'sy-subrc:',sy-subrc,&lt;/P&gt;&lt;P&gt;/ v_adrnr.&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, 04 Apr 2007 13:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138212#M450066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138213#M450067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138213#M450067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138214#M450068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT ZTEST_SELECT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;parameters : p_vbeln type vbeln.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data : v_adrnr type adrnr,&lt;/P&gt;&lt;P&gt;v_vbeln type vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_vbeln = '90000613'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;You have to use the appropriate conversion exit to get the leading zeroes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;          exceptions&lt;/P&gt;&lt;P&gt;              others  = 1.&lt;/P&gt;&lt;P&gt;SELECT single adrnr FROM vbpa INTO v_adrnr where vbeln EQ v_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write : 'sy-subrc:',sy-subrc,&lt;/P&gt;&lt;P&gt;/ v_adrnr.&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138214#M450068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: very small doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138215#M450069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  The reason for this is when you give a parameter or select option the input automatically gets converted to the internalt format.&lt;/P&gt;&lt;P&gt;What i would suggest , put a paramater and debug the program and see what is the value of your parameter.&lt;/P&gt;&lt;P&gt;This will help you better.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 13:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/very-small-doubt/m-p/2138215#M450069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T13:28:14Z</dc:date>
    </item>
  </channel>
</rss>

