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. 常用模块Part(1)

    collections模块 time模块 random模块 os模块 sys模块 collections模块 这个模块实现了一些很好的数据结构,它们能帮助你解决各种实际问题 在这里主要介绍几种数据结构 ...

  2. 201621123075作业07-Java GUI编程

    1. 本周学习总结 1.1 思维导图:Java图形界面总结 1.2 可选:使用常规方法总结其他上课内容. 2.书面作业 1. GUI中的事件处理 1.1 写出事件处理模型中最重要的几个关键词. 事件源 ...

  3. 内建函数之:reduce()使用

    #!/usr/bin/python#coding=utf-8'''Created on 2017年11月2日 from home @author: James zhan ''' print reduc ...

  4. mvvm框架

    了解mvvm框架吗 vue.js react.js angular.js 谈谈你对mvvm的认识 mvc View :用来把数据以某种方式呈现给用户 Model :其实就是数据 Controller  ...

  5. mongodb的db.collection is not function

    mongodb的3.0版本之前: 如2.3版本,可以直接使用db调用collection来操作数据 但在3.0版本以上,会报错:db.collection is not a function 3.0版 ...

  6. 论坛短信息(JSP项目)

    if("list".equals(action)){ String username = request.getSession().getAttribute("login ...

  7. ARTS(一)

    ARTS第一周,2019年3月17日,星期日,天气晴. A:算法学习(Algorithm) 将一个给定字符串根据给定的行数,以从上往下.从左到右进行 Z 字形排列. 比如输入字符串为 "LE ...

  8. java面向对象编程(五)--四大特征之抽象、封装

    1.抽象 我们在前面去定义一个类时候,实际上就是把一类事物的共有的属性和行为提取出来,形成一个物理模型(模版).这种研究问题的方法称为抽象. 2.封装 封装就是把抽象出来的数据和对数据的操作封装在一起 ...

  9. centos7.3 64位 安装git

    1.安装编译git时需要的包 # yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel # yum ins ...

  10. 用IDEA时,类/方法提示"class/method **** is never used"

    https://segmentfault.com/q/1010000005996275?_ea=978306 清理下缓存试下.在 File -> Invalidate Caches 下,会重启 ...