<?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 About select option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809518#M916313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my alv report there is one field SERNR serial number, for this i have to put select option. My problem is this field doesn't exist in the table(Zmanifest) from where i'm fetching data. So i'm not able to mention this select option in my select query for that particular table. This field is existing in EQUI table and have no relation defined between zmanifest table &amp;amp; EQUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my internal table i have all fields of zmanifest &amp;amp; this sernr; to fulfill this field logic is&lt;/P&gt;&lt;P&gt;Serial Number is combination of P_PREFIX-(dash)P_SERIAL fields in zmanifest. I have fetch all data including SERNR by above logic at my grid; but facing problem in defining SELECT-OPTIONS for Sernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Points Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anshuman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2008 16:49:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-16T16:49:26Z</dc:date>
    <item>
      <title>About select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809518#M916313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my alv report there is one field SERNR serial number, for this i have to put select option. My problem is this field doesn't exist in the table(Zmanifest) from where i'm fetching data. So i'm not able to mention this select option in my select query for that particular table. This field is existing in EQUI table and have no relation defined between zmanifest table &amp;amp; EQUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my internal table i have all fields of zmanifest &amp;amp; this sernr; to fulfill this field logic is&lt;/P&gt;&lt;P&gt;Serial Number is combination of P_PREFIX-(dash)P_SERIAL fields in zmanifest. I have fetch all data including SERNR by above logic at my grid; but facing problem in defining SELECT-OPTIONS for Sernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Points Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anshuman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 16:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809518#M916313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-16T16:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: About select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809519#M916314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you give the code.&lt;/P&gt;&lt;P&gt;Not clear with ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 16:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809519#M916314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-16T16:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: About select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809520#M916315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;do like this.&lt;/P&gt;&lt;P&gt;take the lenght of P_PREFIX &lt;/P&gt;&lt;P&gt;take the lenght of P_SERIAL&lt;/P&gt;&lt;P&gt;add the length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for exmaple :&lt;/P&gt;&lt;P&gt;P_PREFIX  size is 4.&lt;/P&gt;&lt;P&gt;P_SERIAL  size is 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now declare the variable like this.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data : v_selop(15).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : 4&lt;EM&gt;10&lt;/EM&gt;1 = 15, so i declared the variable with lenght of 15.&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select-options : so_field for v_selop.&lt;/STRONG&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;Sandeep Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandeep Reddy on May 16, 2008 7:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 17:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809520#M916315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-16T17:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: About select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809521#M916316</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;do like this.&lt;/P&gt;&lt;P&gt;take the lenght of P_PREFIX&lt;/P&gt;&lt;P&gt;take the lenght of P_SERIAL&lt;/P&gt;&lt;P&gt;add the length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for exmaple :&lt;/P&gt;&lt;P&gt;P_PREFIX size is 4.&lt;/P&gt;&lt;P&gt;P_SERIAL size is 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now declare the variable like this.&lt;/P&gt;&lt;P&gt;data : v_selop(15).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : 4&lt;EM&gt;10&lt;/EM&gt;1 = 15, so i declared the variable with lenght of 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : so_field for v_selop.&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use off-set in your select query like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;where PREFIX = v_selop+0(4)&lt;/P&gt;&lt;P&gt;   and SERIAL = v_selop+5(10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work if you are using variable v_selop as a parameter else if you are using select option you have to break v_selop into two different select option like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_prefix type prefix,&lt;/P&gt;&lt;P&gt;s_serial type serial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at v_selop.&lt;/P&gt;&lt;P&gt;s_prefix-* = v_selop-&lt;STRONG&gt;. "      (&lt;/STRONG&gt;  = sign, option)&lt;/P&gt;&lt;P&gt;s_serial-* = v_selop-*.&lt;/P&gt;&lt;P&gt;s_prefix-low = v_selop-low+0(4).&lt;/P&gt;&lt;P&gt;s_serial-low = v_selop-low+5(10).&lt;/P&gt;&lt;P&gt;s_prefix-high = v_selop-high+0(4).&lt;/P&gt;&lt;P&gt;s_serial-high = v_selop-high+5(10).&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use following select query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;where PREFIX in s_prefix&lt;/P&gt;&lt;P&gt;   and SERIAL in s_serial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will surely wrok.&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;Gagan Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz Reward if need full. also close the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gagan Kumar on May 18, 2008 7:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2008 09:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/3809521#M916316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-18T09:25:06Z</dc:date>
    </item>
  </channel>
</rss>

