<?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 help need in selection query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719946#M314293</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;I have a field(test) in ztable(zxxx) whose length is 12 char and while updating it&lt;/P&gt;&lt;P&gt;only 10 digits were updated and there are no zeros in front of the value in order to make it&lt;/P&gt;&lt;P&gt;12 digit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need this parameter to be included in another program selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have given it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter :  test(12) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine when it has an entry , when it is blank i has to retrieve all records but in this case &lt;/P&gt;&lt;P&gt;i won't because it has a value of 000000000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noe when i declare like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;paramter : test like zxxx-test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when my input is 123456, it won't fetch me any value because it has to be 0000123456 because it has been updated like in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was a purpose in updating this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my code is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : test(10) type n.&lt;/P&gt;&lt;P&gt;select-options :   kostl for zxxx-kostl NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      p_uname for zxxx-uname NO-EXTENSION NO INTERVALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if test is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zxxx into table itab where kostl in kostl and uname in p_uname.&lt;/P&gt;&lt;P&gt;                               &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;select * from zxxx into table itab where aufnr  = order and&lt;/P&gt;&lt;P&gt;                               kostl in kostl and uname in p_uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE SUGGEST ME IF THERE IS AN ALTERNATE BETTER WAY.&lt;/P&gt;&lt;P&gt;or this is the best way&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 20:09:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-28T20:09:59Z</dc:date>
    <item>
      <title>help need in selection query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719946#M314293</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;I have a field(test) in ztable(zxxx) whose length is 12 char and while updating it&lt;/P&gt;&lt;P&gt;only 10 digits were updated and there are no zeros in front of the value in order to make it&lt;/P&gt;&lt;P&gt;12 digit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need this parameter to be included in another program selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have given it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter :  test(12) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine when it has an entry , when it is blank i has to retrieve all records but in this case &lt;/P&gt;&lt;P&gt;i won't because it has a value of 000000000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noe when i declare like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;paramter : test like zxxx-test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when my input is 123456, it won't fetch me any value because it has to be 0000123456 because it has been updated like in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was a purpose in updating this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my code is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : test(10) type n.&lt;/P&gt;&lt;P&gt;select-options :   kostl for zxxx-kostl NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      p_uname for zxxx-uname NO-EXTENSION NO INTERVALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if test is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zxxx into table itab where kostl in kostl and uname in p_uname.&lt;/P&gt;&lt;P&gt;                               &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;select * from zxxx into table itab where aufnr  = order and&lt;/P&gt;&lt;P&gt;                               kostl in kostl and uname in p_uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE SUGGEST ME IF THERE IS AN ALTERNATE BETTER WAY.&lt;/P&gt;&lt;P&gt;or this is the best way&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 20:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719946#M314293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T20:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: help need in selection query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719947#M314294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you need to select all records in case if you do not provide any value in your selection criteria - the parameter is not going to work here and your approach with NO-Extension No Intervals is the right one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 20:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719947#M314294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T20:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: help need in selection query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719948#M314295</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;as per my knowledge what you have done is right.&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>Tue, 28 Nov 2006 21:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719948#M314295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T21:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: help need in selection query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719949#M314296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;any thoughts on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 13:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719949#M314296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T13:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: help need in selection query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719950#M314297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi deepthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam sorry . It was intended to my post .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 13:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-in-selection-query/m-p/1719950#M314297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T13:55:13Z</dc:date>
    </item>
  </channel>
</rss>

