<?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 Error when calling BAPI_ALM_ORDER_GET_DETAIL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-bapi-alm-order-get-detail/m-p/4523005#M1069288</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 problem a problem when calling this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I call the BAPI_ALM_ORDERHEAD_GET_LIST where I search for orders entered by myself (with IW31 in the webgui, plant maintenance orders).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns a response with 4 orders and their header data, so far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I call the BAPI_ALM_ORDER_GET_DETAIL with the following XML &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;n:BAPI_ALM_ORDER_GET_DETAIL xmlns:n="urn:sap-com:document:sap:rfc:functions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;NUMBER&amp;gt;000000815943&amp;lt;/NUMBER&amp;gt;	&lt;/P&gt;&lt;P&gt;&amp;lt;/n:BAPI_ALM_ORDER_GET_DETAIL&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I get this in the response:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;RETURN&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;TYPE&amp;gt;E&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ID&amp;gt;CO&amp;lt;/ID&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;NUMBER&amp;gt;112&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE&amp;gt;Enter order number&amp;lt;/MESSAGE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_NO/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_MSG_NO&amp;gt;000000&amp;lt;/LOG_MSG_NO&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V1/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V2/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V3/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V4/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;PARAMETER/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ROW&amp;gt;0&amp;lt;/ROW&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;FIELD/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;SYSTEM&amp;gt;CF5CLNT800&amp;lt;/SYSTEM&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;TYPE&amp;gt;E&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ID&amp;gt;IWO_BAPI&amp;lt;/ID&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;NUMBER&amp;gt;121&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE&amp;gt;Error reading the order  in the document tables&amp;lt;/MESSAGE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_NO/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_MSG_NO&amp;gt;000000&amp;lt;/LOG_MSG_NO&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V1/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V2/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V3/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V4/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;PARAMETER/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ROW&amp;gt;0&amp;lt;/ROW&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;FIELD/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;SYSTEM&amp;gt;CF5CLNT800&amp;lt;/SYSTEM&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/RETURN&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I search for that ID with the webgui then it is found and I can see the details. The ID is also one of the four orders returned by the BAPI_ALM_ORDERHEAD_GET_LIST call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&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;/Anders&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anders Berglund on Oct 6, 2008 1:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 11:38:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-06T11:38:53Z</dc:date>
    <item>
      <title>Error when calling BAPI_ALM_ORDER_GET_DETAIL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-bapi-alm-order-get-detail/m-p/4523005#M1069288</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 problem a problem when calling this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I call the BAPI_ALM_ORDERHEAD_GET_LIST where I search for orders entered by myself (with IW31 in the webgui, plant maintenance orders).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns a response with 4 orders and their header data, so far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I call the BAPI_ALM_ORDER_GET_DETAIL with the following XML &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;n:BAPI_ALM_ORDER_GET_DETAIL xmlns:n="urn:sap-com:document:sap:rfc:functions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;NUMBER&amp;gt;000000815943&amp;lt;/NUMBER&amp;gt;	&lt;/P&gt;&lt;P&gt;&amp;lt;/n:BAPI_ALM_ORDER_GET_DETAIL&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I get this in the response:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;RETURN&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;TYPE&amp;gt;E&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ID&amp;gt;CO&amp;lt;/ID&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;NUMBER&amp;gt;112&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE&amp;gt;Enter order number&amp;lt;/MESSAGE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_NO/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_MSG_NO&amp;gt;000000&amp;lt;/LOG_MSG_NO&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V1/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V2/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V3/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V4/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;PARAMETER/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ROW&amp;gt;0&amp;lt;/ROW&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;FIELD/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;SYSTEM&amp;gt;CF5CLNT800&amp;lt;/SYSTEM&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;TYPE&amp;gt;E&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ID&amp;gt;IWO_BAPI&amp;lt;/ID&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;NUMBER&amp;gt;121&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE&amp;gt;Error reading the order  in the document tables&amp;lt;/MESSAGE&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_NO/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;LOG_MSG_NO&amp;gt;000000&amp;lt;/LOG_MSG_NO&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V1/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V2/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V3/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;MESSAGE_V4/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;PARAMETER/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;ROW&amp;gt;0&amp;lt;/ROW&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;FIELD/&amp;gt;&lt;/P&gt;&lt;P&gt;			&amp;lt;SYSTEM&amp;gt;CF5CLNT800&amp;lt;/SYSTEM&amp;gt;&lt;/P&gt;&lt;P&gt;		&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;/RETURN&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I search for that ID with the webgui then it is found and I can see the details. The ID is also one of the four orders returned by the BAPI_ALM_ORDERHEAD_GET_LIST call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&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;/Anders&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anders Berglund on Oct 6, 2008 1:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 11:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-bapi-alm-order-get-detail/m-p/4523005#M1069288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T11:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error when calling BAPI_ALM_ORDER_GET_DETAIL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-bapi-alm-order-get-detail/m-p/4523006#M1069289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, it works if i remove this: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like a bug but at least it works now..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-bapi-alm-order-get-detail/m-p/4523006#M1069289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:27:23Z</dc:date>
    </item>
  </channel>
</rss>

