<?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: unusual problem(in table selection screen) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624796#M279215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean to say i need to add leading zeros while saving in database so as to make 12 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i t is possible to retrieve data using this fm &lt;/P&gt;&lt;P&gt;alpha_exit_conversion_output or input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLS LET ME KNOW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2006 13:48:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-06T13:48:31Z</dc:date>
    <item>
      <title>unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624789#M279208</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 HAVE A ZTABLE IN WHICH I HAVE A AUFNR FIELD.&lt;/P&gt;&lt;P&gt;i have records with my username and for that record i have&lt;/P&gt;&lt;P&gt;a order no i.e aufnr has a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i give the only the order number in my selection screen(se11&lt;/P&gt;&lt;P&gt;) it says&lt;/P&gt;&lt;P&gt;no records found ,if i put a star at the end for the order then it &lt;/P&gt;&lt;P&gt;gives me the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The length of the field is 12 char&lt;/P&gt;&lt;P&gt;and it has convers routine ALPHA for the domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values for my record is of length 6,even if i add zeros in the front, iam not able to get that record thisis in the selection screen of SE11.&lt;/P&gt;&lt;P&gt;i HAVE to RETRIEVE DATA BASED ON THIS FIELD USING SELECT statement ,BUT IT ALWAYS RETURN SY-SUBRC 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cAN SOMEBODY EXPLAIN AS TO WHY IS THIS HAPPENNING AND WHAT SHOULD I DO TO OVER COME THIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kajol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624789#M279208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T13:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624790#M279209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to use LIKE statement in your SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from Ztable&lt;/P&gt;&lt;P&gt;where aufnr like '1234%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if it returns the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624790#M279209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T13:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624791#M279210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Check your where clause .&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;erwan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624791#M279210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624792#M279211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ARe you sure that the data is being stored with leading zeros in the db table?  Go to SE16 and run a query, does the AUFNR field have leading zeros?  If not, then this is your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624792#M279211</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-06T13:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624793#M279212</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;My value in the table is 0001234567,the length of the field is 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i give the value 1234567in table selection screen,it says no record found&lt;/P&gt;&lt;P&gt;i tried this way 0001234567,000001234567,it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I GIVE THIS WAY, IT WORKS,&lt;STRONG&gt;1234567&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;KAJOL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624793#M279212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T13:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624794#M279213</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;The data is storing in as 0001234567,because iam storing it 10 digit because the max length for this field in my company iss10 so we are adding leading zeros while storing to make the length 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the value 1234 then we would add 0000001234 and save in datebase , but the problem is while retrieving the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kajol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624794#M279213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T13:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624795#M279214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really think that the length of the field needs to be 12 in the database, you should change it to the same as any other AUFNR in the system. Like AUFK-AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:41:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624795#M279214</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-06T13:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624796#M279215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean to say i need to add leading zeros while saving in database so as to make 12 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i t is possible to retrieve data using this fm &lt;/P&gt;&lt;P&gt;alpha_exit_conversion_output or input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLS LET ME KNOW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624796#M279215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T13:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: unusual problem(in table selection screen)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624797#M279216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really think that you need to keep to the length of 12 for this field in the database and yes it would have leading zeros in the db table.  Make the field in your DB table 12,  you may have to write a conversion program to convert the field values already in the DB to 12 instead of the 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question(just curious)  why did you make the field 10 instead of 12?  Someone tell you to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion when working with custom tables that use "Standard" table fields, like AUFNR or VBELN etc, is to always use the data element which from the standard table, this way you know that the value will be stored the same way, and all will be consistant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 13:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unusual-problem-in-table-selection-screen/m-p/1624797#M279216</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-06T13:52:34Z</dc:date>
    </item>
  </channel>
</rss>

