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. 解決 centos -bash: vim: command not found

    i. 那么如何安裝 vim 呢?输入rpm -qa|grep vim 命令, 如果 vim 已经正确安裝,会返回下面的三行代码: root@server1 [~]# rpm -qa|grep vim ...

  2. makefile中的wildcard 、patsubst、

    在Makefile规则中,通配符会被自动展开.但在变量的定义和函数引用时,通配符将失效. 这种情况下如果需要通配符有效,就需要使用函数“wildcard”,它的用法是:$(wildcard PATTE ...

  3. python笔记二

    一 运算符 1算术运算+ - * /  % ** //其中%为取余,**为取幂如2**10=1024    9//4=2 需要注意的是python2.7中如9/2=4 需要正确表示,则在开头添加 fr ...

  4. [Codeforces441E]Valera and Number

    Problem 给定一个数x,有p%的概率乘2,有1-p%的概率加1,问操作k次,其二进制数下末尾零的个数的期望. Solution 每次操作只会影响到最后的8位 我们用dp[i][j]表示i个操作后 ...

  5. 指导手册05:MapReduce编程入门

    指导手册05:MapReduce编程入门   Part 1:使用Eclipse创建MapReduce工程 操作系统: Centos 6.8, hadoop 2.6.4 情景描述: 因为Hadoop本身 ...

  6. 对TCP协议握手的理解(转)

    reference:https://www.cnblogs.com/awkflf11/p/9191708.html 目录: 31.Tcp握手的一些问题? 21.Tcp三次握手及SYN攻击: 四次握手? ...

  7. ionic3 自定义组件 滑动选择器 ion-multi-picker

    1.ionic3中有一个 ion-datatime 给大家选择时间提供了一个很方便的组件 效果如图  链接  https://ionicframework.com/docs/api/component ...

  8. 剑指Offer 32. 把数组排成最小的数 (数组)

    题目描述 输入一个正整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个.例如输入数组{3,32,321},则打印出这三个数字能排成的最小数字为321323. 题目地址 h ...

  9. 神州数码OSPF基于区域认证(简单、MD5认证)

    实验要求:掌握基于区域的简单认证及MD5认证 拓扑如下 简单认证 R1 enable 进入特权模式 config 进入全局模式 hostname R1 修改名称 interface l0 进入端口 i ...

  10. SQL注入之Sqli-labs系列第三十三关(基于宽字符逃逸注入)

    开始挑战第三十三关(Bypass addslashes) 0x1查看源码 本关和第三十二关其实是一样的,只是这里用到了addslashes()函数 function check_addslashes( ...