SAP ECC连接器 - BAPI提交无法正常工作 [英] SAP ECC Connector - BAPI Commit not working

查看:104
本文介绍了SAP ECC连接器 - BAPI提交无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图调用BAPI" BAPI_SALESORDER_CREATEFROMDAT2 "使用数据
网关在SAP ECC实例中创建销售订单。 salesOrder创建后,发送" BAPI_TRANSACTION_COMMIT "提交销售订单。但是我们是
没有看到这个销售订单在SAP中提交,并且在提交事务响应中没有看到任何错误。以下是提交请求和响应消息。

Am trying to call BAPI "BAPI_SALESORDER_CREATEFROMDAT2" to create sales order in SAP ECC instance with the data gateway. Once the salesOrder created, am sending "BAPI_TRANSACTION_COMMIT" to commit the sales order. But we are not seeing this Sales order got commited in SAP, and am not seeing any error on commit transaction response. Following are the Commit request and response messages.

BAPI_TRANSACTION_COMMIT请求:

BAPI_TRANSACTION_COMMIT request:

< ns0:BAPI_TRANSACTION_COMMIT xmlns:ns0 =" ; HTTP://Microsoft.LobServices.Sap/2007/03/Rfc/"的xmlns:NS3 = QUOT; HTTP://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< NS0:WAIT> X< / NS0:WAIT>< / NS0:BAPI_TRANSACTION_COMMIT>

BAPI_TRANSACTION_COMMIT响应:

< BAPI_TRANSACTION_COMMITResponse xmlns =" http: //Microsoft.LobServices.Sap/2007/03/Rfc/">

  <返回>

  &NBSP; < TYPE xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / TYPE>

  &NBSP; < ID xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / ID>

  &NBSP; < NUMBER xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"> 0< / NUMBER>

  &NBSP; < MESSAGE xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / MESSAGE>

  &NBSP; < LOG_NO xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / LOG_NO>

  &NBSP; < LOG_MSG_NO xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"> 0< / LOG_MSG_NO>

  &NBSP; < MESSAGE_V1 xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / MESSAGE_V1>

  &NBSP; < MESSAGE_V2 xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / MESSAGE_V2>

  &NBSP; < MESSAGE_V3 xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / MESSAGE_V3>

  &NBSP; < MESSAGE_V4 xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / MESSAGE_V4>

  &NBSP; < PARAMETER xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / PARAMETER>

  &NBSP; < ROW xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"> 0< / ROW>

  &NBSP; < FIELD xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / FIELD>

  &NBSP; < SYSTEM xmlns =" http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">< / SYSTEM>

  < / RETURN>

< / BAPI_TRANSACTION_COMMITResponse>

<BAPI_TRANSACTION_COMMITResponse xmlns="http://Microsoft.LobServices.Sap/2007/03/Rfc/">
  <RETURN>
    <TYPE xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></TYPE>
    <ID xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></ID>
    <NUMBER xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">0</NUMBER>
    <MESSAGE xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></MESSAGE>
    <LOG_NO xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></LOG_NO>
    <LOG_MSG_NO xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">0</LOG_MSG_NO>
    <MESSAGE_V1 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></MESSAGE_V1>
    <MESSAGE_V2 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></MESSAGE_V2>
    <MESSAGE_V3 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></MESSAGE_V3>
    <MESSAGE_V4 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></MESSAGE_V4>
    <PARAMETER xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></PARAMETER>
    <ROW xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/">0</ROW>
    <FIELD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></FIELD>
    <SYSTEM xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Rfc/"></SYSTEM>
  </RETURN>
</BAPI_TRANSACTION_COMMITResponse>

谢谢,

Praveen




Praveen

推荐答案

来自
Document

" only a单个发送到SAP呼叫或消息与tRFC一起使用。不支持业务应用程序编程接口(BAPI)提交模式,例如在同一会话中进行多个tRFC调用。"

查看您是否正在使用同样的限制。

See if you are hitting with the same limitation.


这篇关于SAP ECC连接器 - BAPI提交无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆