前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP IDoc Post不成功,报错 - A company code cannot be determined for –

SAP IDoc Post不成功,报错 - A company code cannot be determined for –

原创
作者头像
SAP虾客
修改2021-11-24 18:52:52
3970
修改2021-11-24 18:52:52
举报
文章被收录于专栏:SAP供应链SAP供应链

SAP IDoc Post不成功,报错 - A company code cannot be determined for LI 0000100061 –

IDoc#4096出现如下报错:A company code cannot be determined for LI 0000100061

SAP IDoc 报错 - A company code cannot be determined for LI 100061 –
SAP IDoc 报错 - A company code cannot be determined for LI 100061 –

详细报错信息,

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的,如下图:

SAP IDoc 报错 - A company code cannot be determined for LI 100061 –
SAP IDoc 报错 - A company code cannot be determined for LI 100061 –

在如下的IDoc segment E1EDK14-011里, ORGID的值是ZNMI.

SAP IDoc 报错 - A company code cannot be determined for LI 100061 –
SAP IDoc 报错 - A company code cannot be determined for LI 100061 –

我将OBCA的配置改成如下:

SAP IDoc 报错 - A company code cannot be determined for LI 100061 –
SAP IDoc 报错 - A company code cannot be determined for LI 100061 –

重新process这个IDoc,还是报相同的错误。

恢复配置,修改IDoc的segment E1EDK14-011里的公司代码,

SAP IDoc 报错 - A company code cannot be determined for LI 100061 –
SAP IDoc 报错 - A company code cannot be determined for LI 100061 –

重新process这个IDoc,不再报错了!

-完-

写于2021-11-23.

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档