<?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: Issue while fetching data from custom table.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737488#M1301027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jainam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS : p_belnr type ztable_belnr.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    INPUT         = p_belnr "12345
 IMPORTING
   OUTPUT        =  p_belnr."000012345

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    INPUT         = p_belnr "000012345
 IMPORTING
   OUTPUT        =  p_belnr."12345

Now write the select statement Accordingly..
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2009 03:26:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-10T03:26:43Z</dc:date>
    <item>
      <title>Issue while fetching data from custom table....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737485#M1301024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a field in custom table called BELNR with data elemnt type BELNR_D (character 10). Now on selection of a custom report , I have this field as parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foe example, one of records have data "444005" in BELNR in custom table. But if I put "444005" for BELNR on selection screen, nothing is retrieved from table but if I put 444005*, then only record 444005 is retrieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why this happening. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help..&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;Jainam..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jainam Shah on Jun 9, 2009 10:01 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jainam Shah on Jun 9, 2009 10:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 20:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737485#M1301024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T20:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while fetching data from custom table....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737486#M1301025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run the value through FM &lt;STRONG&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/STRONG&gt; before doing the SELECT. This will append the leading zeroes.&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, 09 Jun 2009 20:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737486#M1301025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T20:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while fetching data from custom table....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737487#M1301026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BELNR_D have the domain BELNR that contains a conversion exit. so before fetching the data (ie making the select on your parameter) you need to use fm CONVERSION_EXIT_ALPHA_INPUT convert and then use this value in the select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 20:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737487#M1301026</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-06-09T20:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while fetching data from custom table....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737488#M1301027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jainam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS : p_belnr type ztable_belnr.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    INPUT         = p_belnr "12345
 IMPORTING
   OUTPUT        =  p_belnr."000012345

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    INPUT         = p_belnr "000012345
 IMPORTING
   OUTPUT        =  p_belnr."12345

Now write the select statement Accordingly..
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 03:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737488#M1301027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-10T03:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while fetching data from custom table....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737489#M1301028</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;&lt;/P&gt;&lt;P&gt;The domain has a conversion exit attached to it. Therefore, before using it you have to use the FM 'CONVERSION_EXIT_ALPHA_INPUT'. This will resolve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 03:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737489#M1301028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-10T03:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while fetching data from custom table....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737490#M1301029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jainam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought in a diffrent manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT and CONVERSION_EXIT_ALPHA_OUTPUT are good as they are mentioned in domain of belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;con't we write like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_belnr type belnr_d default '123'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pack p_belnr to p_belnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;condense p_belnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;write:/ p_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if  I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar Bandanadham.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 05:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-fetching-data-from-custom-table/m-p/5737490#M1301029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-10T05:20:46Z</dc:date>
    </item>
  </channel>
</rss>

