[Issue]
Hi
I am creating a multiple line sales order from Idoc and using the FM IDOC_INPUT_ORDERS. The idoc is processed with status 51 with error message RV45A-VBAP_SELKZ (2) is not input field.
It only happens for Idocs that are processed 1st time (re-processing is succesfull) and only in the background (if processed first time in foreground - it is ok).
Have you ever seen this message?
Thanks,
Magda
-----------------------------------------------------------------------------------------
[Proposal]
from FM IDOC_INPUT_ORDERS sap calls VA01 directly using call transaction statement. And as u know in foreground and in background screen flows can be different for same transaction...that's why in foreground it is working but not in background. So to identify ur prob. run VA01 from SHDB in background mode. It will show u the error location.
Regards, Joy.
-----------------------------------------------------------------------------------------
|
[Solution]
Hi Joy
Thanks for an idea of creating a BDC from bdcdata before calling VA01 from an IDoc. I could analyze it and to correct an error I added some code in the user exit ZXVEDU04. I simply replaced all concurrencies of RV45A-VBAP_SELKZ (2) with RV45A-VBAP_SELKZ (1) and it worked:
* MW Replace RV45A-VBAP_SELKZ(2) with RV45A-VBAP_SELKZ(1)
move dxvbak to i_dxvbak.
if i_dxvbak-bsark = 'WINT' and dxbdcdata-fval eq 'SICH'.
dxbdcdata-fnam = 'RV45A-VBAP_SELKZ(1)'.
modify dxbdcdata transporting fnam
where fnam = 'RV45A-VBAP_SELKZ(2)'.
exit.
endif.
This is called only once when dxbdcdata-fval = 'SICH'.
Hope it helps.
Magda
分享到:
相关推荐
IDOC_EDI.pdf sap idoc 经典资料
SAP ABAP IDOC基本教程。
什么是IDOC,以及IDOC的步骤 创建IDOC: 第一步:WE31 创建IDOC所包含的字段. 第二步:WE30 创建IDOC 把Segment分配给IDOC 第三步:WE81 创建信息类型
泰兴市水务局花卉租摆养护措施、承诺idoc_招投标招标案例模版.doc
Chapter 2 Useful Programs 8 2.1 Function Modules 8 2.1.1 USEREXIT_KOMKBV1_FILL. 8 2.1.2 MASTER_IDOC_DISTRIBUTE 8 2.1.3 IDOC_STATUS_WRITE_TO_DATABASE 8 2.1.4 IDOC_TYPE_COMPLETE_READ 8 2.2 Programs 12 ...
InterCompany_Billing_IDoc
2,目标系统接收IDOC生成销售订单(LS - 逻辑系统) 3,目标系统生成销售订单后,消息输出回写源系统采购订单确认 (KU - 客户售达方) 4,逻辑系统(源系统)接收采购订单确认 5,目标系统生成交货单,消息输出 ...
The purpose of this exercise is to implement a simple one way Asynchronous link between a file sender and SAP R/3 system using SAP XI/PI. Custom XML Document Containing Vendor information is picked up...
3.8.9 WHERE IN IMG IS A TABLE CONFIGURED..32 3.8.10 EDITOR TIPS (*EJECT AND *$*$)............32 2.2 PROGRAMS---------------------------------------11 3.8.11 LIST OF WAYS TO TRANSPORT VARIANTS..32 ...
用于 EDI 目的的 tRFC 处理程序。 目前可以接收和发送(至翻译)IDOC_INBOUND_ASYNCHRONOUS 以及 INBOUND_IDOC_PROCESS
IDoc 的理论这里就不说了,网上都有,反正我们知道IDoc 是用来与在系统之间进行数据传输的工具 即可。
IDOC 的配置以及相关的T-CODE. T-CODE包括主菜单,IDoc监视/检查,测试,IDocs再处理
sapjidoc30P_14-10009485-SAP Java IDoc Class Library 3.0 Patch 14 (SDK)
第九步:WE20 Define a Partner Profiles( Also creat a Outbound parameters with Port, or Inbound parameters with Process code ) 管理IDOC: WE02 显示IDOC,可以根据时间,IDOC类型查找IDOC,查看成功,出错...
ECC系统发送供应商主数据(IDoc) 到SAP_PI系统的配置步骤
Patch 9 for SAP Java Connector IDoc Library 1.0 JCO
SAP Patch 5 for SAP Java Base IDoc Library 1.0 JCO
Configuration steps in Integration Repository: This is the IDOC structure we are going to use in our scenario.
跟着文档做,idoc is so eazy~
利用系统自带的IDOC TYPE和MESSAGE TYPE,以及处理函数,通过IDOC将发送方在ABAP中的数据传入接收方并利用这些数据实现物料的创建