PO & SO Integration By IDOC in CNABB

话说博主来ABB一个多月时间了,虽然对ABB系统内的流程和配置不是很了解,但对ABB系统内使用的PO和SO通过idoc自动创建的这个solution还是比较感兴趣的,正好抽这个周六的下午来对这种方案做一个总结和demo.

下面这张flow就很清楚的阐述了每一个流程节点和单据是怎么流转的在buyer和seller之间。几乎每一个buyer和seller之间的inter-transaction 都是通过IDOC来实现的。从SO的创建,order acknowledge, shipping notification,以及最终的invoice verification。

下面就以CNABB 向CNIIB(北京低压)进行采购的业务为例,看下系统的配置点和操作流程。

Step1: define partner profile for vendor CNIIB

Port: P06800 definition WE21

The RFC destination was maintained in SM59 with ABAP connection.

Step2: maintain condition record for output type NEU T-code MN04

Step 3: define partner profile for inbound message type; LS Q08800 the name is as same as logical system name.

partner profile status: you need to activate this pratner before use.

This partner profile is responsible for creating incoming SO. And the data is used in outbound IDOC.

STEP4: sales area and order type determination for SO. T-code VOE2;

The sold to party is determined from vendor master data as below:

However in the real case, customized logic exists in user-exit to determine the real sold to party.

FUNCTION MODULE: IDOC_INPUT_ORDERS

EXIT_SAPLVEDA_011

For example, vendor 300004 is maintained with acct w/vendor 3000003. But in idoc sold to party 3000004 is used.

Step 5: ship to party determination; VOE4

Here sap use 3000003 instead of 3000004 to determine ship to party;

External partner: we can get LIFNR from idoc segment E1EDKA1 WE

Get ship to party number by combination of customer and external partner. Here the 1006 is the plant in the purchase info record. You have to maintain this inorder to determine ship to party for incoming SO.

Step 6: how the material no determined in SO.

Use the vendor material no. maintained in info record.

Till now, the internal so will be created by idoc successfully.

Step 7: order confirmation transfer back into po by IDOC

Message type: BA00

Partner profile: 3000004

Partner profile: Q08800

After the message type BA00 was successfully issued, there ‘ll be two idoc generated at the same time.

After inbound idoc has be outputted with status 53. Check up PO confirmation tab in ME23N.

Before OA message issue, the confirmation key needs to be maintain in po# or pre-defined in vendor master data or info-record.

Pls note: if rejection code exist on SO item, the error will be sent in inbound IDOC.

Step8: after OTD is issued, OUTPUT TYPE LALE will be triggered and shipping notification will be created in purchase side.

Message type DESADV is used in partner profile.

Same message type will be used Inbound partner profile.

Two IDOC(Inbox and outbox) will be created simultaneously.

Status 52/53 shows up on the inbound IDOC. Inbound delivery note has been created.

T-code VL33N to check inbound delivery note.

Normally user could user VL32N to post inbound goods delivery. Due to EWM is used in CNABB, so that inbound delivery needs to be posted in EWM.

Step8: After billing create for end customer, IV document will be generated through IDOC.

Message type INVOIC will be used in both inbound and outbound idoc.

Maintain company code for incoming invoice.

OUTPUT TYPE ZRE4 will be triggered in VF03.

If dispatch time is maintained as 1, in vv31. Then you will not get the data in T-code VF31.

Same as above steps, two idoc will be created at the same time.

MIR4: Display the vendor invoice document

这里IV的配置应该和cross-company sales的IV不太一样,cross-company sale因为没有PO所以要设置其他的东西,这个在之前关于cross company scenario 的博文里有讲到。

If the following error shoots, go to t-code SLG1 for more application log details.

PO & SO Integration By IDOC in CNABB的更多相关文章

  1. idoc 和 bapi 和 rfc 之间的区别

        se37 写出来的叫function,其中可以远程调用的叫rfc,remote-enabled function,abap语法和输入输出参数就会有一些限制.bapi是sap做好的实现特定业务操 ...

  2. 使用WBI SAP Adapter 实现IDoc的同步处理(转)

    1. 应用背景 某汽车制造企业(以下称为厂商A)与其仓储系统提供商(以下称为厂商B)需要进行数据交换.汽车厂商A使用SAP系统作ERP管理,所有数据都要进入SAP进行处理,仓储系统提供商使用的是自有的 ...

  3. IREP_SOA Integration程序注释语法Annotations(概念)

    20150506 Created By BaoXinjian

  4. PO核准通知界面修改

    想在notification頁面把供應商的稅捐代碼帶出來,添在如下紅框中 PO_WF_PO_NOTIFICATION head information:get_po_approve_msg line ...

  5. SAP IDOC 通过采购订单输出消息生成销售订单

    题记: 在网络上看到一篇类似的公众号文章,叫<通过IDoc逐步指导PO&SO集成>,个人觉得整个配置过程中还是少了一些重点配置,也少了说明整个功能的核心逻辑,那么,趁着这个机会,就 ...

  6. SAP IDOC

    物料主数据 供应商主数据 价格档案 采购订单 采购计划协议 srm发货单 物料凭证 发票校验 发票校验过账或删除信息返回 CALL FUNCTION 'BAPI_INCOMINGINVOICE_PAR ...

  7. 在 Laravel 中使用图片处理库 Integration/Image

    系统需求 PHP >= 5.3 Fileinfo Extension GD Library (>=2.0) … or … Imagick PHP extension (>=6.5.7 ...

  8. 【SAP业务模式】之ICS(七):IDOC配置

    这是ICS业务模式系列的最后一篇了,主要讲解IDOC的配置. 一.指定EDI传输的供应商逻辑地址 事务代码:WEL1 注意:上面逻辑地址是生产公司+内部客户.有以下两种情形: 1.如果内部客户都是纯数 ...

  9. Selenium的PO模式(Page Object Model)[python版]

     Page Object Model 简称POM  普通的测试用例代码: .... #测试用例 def test_login_mail(self): driver = self.driver driv ...

随机推荐

  1. Spring Security Oauth2 单点登录案例实现和执行流程剖析

    Spring Security Oauth2 OAuth是一个关于授权的开放网络标准,在全世界得到的广泛的应用,目前是2.0的版本.OAuth2在“客户端”与“服务提供商”之间,设置了一个授权层(au ...

  2. .net Monitor产生SynchronizationLockException异常的原因

    有时在使用Monitor进行并发同步编程时,会产生SynchronizationLockException异常,抛出的异常内容是"Object synchronization method ...

  3. Java容器解析系列(5) AbstractSequentialList LinkedList 详解

    AbstractSequentialList为顺序访问的list提供了一个骨架实现,使实现顺序访问的list变得简单; 我们来看源码: /** AbstractSequentialList 继承自 A ...

  4. linux 执行脚本1.补充命令 2.后台执行

    nohup是永久执行&是指在后台运行2>&1 是将标准出错重定向到标准输出,这里的标准输出已经重定向到了out.file文件,即将标准出错也输出到out.file文件中.最后一个 ...

  5. python的安装和配置

    第一步,我们先来安装Python,博主选择的版本是最新的3.4.2版本.windows下面的Python安装一般是通过软件安装包安装而不是命令行,所以我们首先要在Python的官方主页上面下载最新的P ...

  6. 高级数据类型--字典(dict)

    一.字典介绍 dict(字典) 是 除列表以外 Python 之中 最灵活 的数据类型.字典同样可以用来 存储多个数据,通常用于存储 描述一个 物体 的相关信息 和列表的区别: 列表 是 有序 的对象 ...

  7. 北大poj- 1032

    Parliament Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 18707   Accepted: 7941 Descr ...

  8. vue 安卓5.1 ios9 兼容性 白屏问题

    // 针对安卓4.4/ios的兼容 import 'babel-polyfill' import Es6Promise from 'es6-promise' require('es6-promise' ...

  9. DAX创建带有过滤器的超链接

    在这篇文章中,我们将创建一个DAX公式,根据报表中的过滤器生成超链接. 该度量包含2个部分,第一部分是使用DAX生成目标报告的正确URL,第二部分是将过滤器传递给该报告. 浏览器支持的MAX网址长度定 ...

  10. Python全栈之路----编程基本情况介绍

    1.多种编程语言的区别 (1)C\C++:学习成本高,学习周期长,偏系统底层,在开发硬件驱动.嵌入式.游戏引擎开发等领域有广泛应用. (2)JAVA:目前使用最广泛的编程语言,第一个跨平台运行的语言, ...