SAP IDoc Post不成功,报错 - A company code cannot be determined for LI 0000100061 –
IDoc#4096出现如下报错:A company code cannot be determined for LI 0000100061
详细报错信息,
A company code cannot be determined for LI 0000100061
Message no. FD006
Diagnosis
The system cannot determine the relevant company code since the allocation of the data transferred in the invoice is missing in Financial Accounting customizing.
The company code can be determined outside of the system and be put into the intermediate document (for example, from the EDI subsystem). Then the company code must be put into the E1EDK14 segment and ORGID field and the value "011" used as the qualifier.
Procedure
Determine the company code for LI 0000100061 in Financial Accounting customizing.
Proceed
背景是:这个IDoc是一个公司间STO的流程里,Billing过账后自动通过输出类型RD04触发的。
后台的配置OBCA,是有为LI/100061指派公司代码0001的,如下图:
在如下的IDoc segment E1EDK14-011里, ORGID的值是ZNMI.
我将OBCA的配置改成如下:
重新process这个IDoc,还是报相同的错误。
恢复配置,修改IDoc的segment E1EDK14-011里的公司代码,
重新process这个IDoc,不再报错了!
-完-
写于2021-11-23.