<?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 with SELECT statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905416#M936690</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;It internally uses CONVERSION ROUTINE. That is the problem in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use G2 instead CR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise use FM &lt;STRONG&gt;CONVERSION_EXIT_AUART_INPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2008 06:52:36 GMT</pubDate>
    <dc:creator>asik_shameem</dc:creator>
    <dc:date>2008-06-02T06:52:36Z</dc:date>
    <item>
      <title>Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905411#M936685</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;I have written a select statment to get the the Sales order Type from VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln auart from VBAK&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_vbeln&lt;/P&gt;&lt;P&gt;for all entries in it_main&lt;/P&gt;&lt;P&gt;where vbeln = it_main-aubel&lt;/P&gt;&lt;P&gt;and auart = 'CR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though the database table VBAK-AUART is having the value as 'CR', the select statment is unable to fetch this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905411#M936685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T06:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905412#M936686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Before this querry,please check whether the internal table it_main is filled.&lt;/P&gt;&lt;P&gt;   Add the statement before select querry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_main is not initial.&lt;/P&gt;&lt;P&gt;select.........&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check whether the it_main contains valid 'AUBEL'.It should be matching with VBELN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905412#M936686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T06:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905413#M936687</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 is conversion routine for it.Sales order type is stored in different format in database table. you have to use the internal format of the order type in select condition.Try to use 'G2' instead of 'CR' in the select query.you can use the function modules CONVERSION_EXIT_AUART_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_AUART_OUTPUT for getting the corresponding sales types and conversions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veeresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: veereshbabu ponnada on Jun 2, 2008 12:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905413#M936687</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2008-06-02T06:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905414#M936688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln auart from VBAK&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_vbeln&lt;/P&gt;&lt;P&gt;for all entries in it_main&lt;/P&gt;&lt;P&gt;where vbeln = it_main-aubel&lt;/P&gt;&lt;P&gt;and auart = 'CR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using:&lt;/P&gt;&lt;P&gt;select vbeln auart from VBAK&lt;/P&gt;&lt;P&gt;into table i_vbeln&lt;/P&gt;&lt;P&gt;for all entries in it_main&lt;/P&gt;&lt;P&gt;where vbeln = it_main-aubel&lt;/P&gt;&lt;P&gt;and auart = 'CR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905414#M936688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T06:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905415#M936689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Pawan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even Though You wrote&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln auart from VBAK&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_vbeln&lt;/P&gt;&lt;P&gt;for all entries in it_main&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where vbeln = it_main-aubel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and auart = 'CR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to check internal table which having AUBEL corresponding that in VBAK values are there and Doc type is CR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905415#M936689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T06:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905416#M936690</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;It internally uses CONVERSION ROUTINE. That is the problem in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use G2 instead CR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise use FM &lt;STRONG&gt;CONVERSION_EXIT_AUART_INPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905416#M936690</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2008-06-02T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905417#M936691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the table TAUUM. here, enter CR in the AUART_SPR field and you will see that it has a conversion. In our case, we have assigned 'CR' to the standard order type 'G2' of SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905417#M936691</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-06-02T06:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SELECT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905418#M936692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;I think you should check  AUBEL and VBELN is of same type..&lt;/P&gt;&lt;P&gt;I am sure problem with the data type..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 07:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-select-statement/m-p/3905418#M936692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T07:14:57Z</dc:date>
    </item>
  </channel>
</rss>

