<?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: Regarding select query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017440#M412449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ...do this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while retrieving details using prps make declare the length of the prps-posid in internal table as length of vbap-ps_psp_pnr...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then by using for all entries pass the values by using internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either ways u link u have to shift the declaration length which will be helpful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2007 09:22:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-16T09:22:05Z</dc:date>
    <item>
      <title>Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017433#M412442</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; There are two tables PRPS &amp;amp; VBAP&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; I am going to link this both table by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PRPS-POSID = VBAP-PS_PSP_PNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The Data type of both the fields are different &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; POSID data Type is  CHar24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PS_PSP_PNR data type is NUMC 8&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;selecting from vbap &lt;/P&gt;&lt;P&gt;for all entries of prps&lt;/P&gt;&lt;P&gt;where ps_psp_pnr = posid.&lt;/P&gt;&lt;P&gt;gives an error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;becouse of different data elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i do to run this query?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 08:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017433#M412442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T08:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017434#M412443</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;You need find out Primary key for joining 2 tables. otherwise it will show error.&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;sasmita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 08:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017434#M412443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017435#M412444</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 think the length and domain are different then joining will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of joinning these two tables, you can fetch the records from one table and make an internal table, and use the "for all entries" option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;R. Rengaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 08:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017435#M412444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017436#M412445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;link this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;prps-posid = vbap-PS_PSP_PNR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhumitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017436#M412445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T09:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017437#M412446</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 think you will have equate PRPS-PSPNR = VBAP-PS_PSP_PNR and not &lt;/P&gt;&lt;P&gt;PRPS-POSID = VBAP-PS_PSP_PNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSPNR field is the one holding the WBS Elements in the table PRPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017437#M412446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T09:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017438#M412447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I come across the same problem when I was working for PS module.&lt;/P&gt;&lt;P&gt;The solution is,&lt;/P&gt;&lt;P&gt;U need to select the data from two individual tables based on the condition specified and then loop in one table, and read another table equating both the fileds, and if they are equal, consider that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this may add a bit to u.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujatha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:14:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017438#M412447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T09:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017439#M412448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  U need to select the data from two individual tables based on the condition specified and then loop in one table, and read another table equating both the fileds, and if they are equal, consider that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   read table 2 with key mapping field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017439#M412448</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-03-16T09:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017440#M412449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ...do this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while retrieving details using prps make declare the length of the prps-posid in internal table as length of vbap-ps_psp_pnr...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then by using for all entries pass the values by using internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either ways u link u have to shift the declaration length which will be helpful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017440#M412449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T09:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017441#M412450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use subset of the field which is longer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:24:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017441#M412450</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2007-03-16T09:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017442#M412451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017442#M412451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T09:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017443#M412452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you declare the length of the prps-posid in the internal table as length of vbap-ps_psp_pnr???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 18:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-query/m-p/2017443#M412452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T18:39:39Z</dc:date>
    </item>
  </channel>
</rss>

