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。

clip_image002

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

Step1: define partner profile for vendor CNIIB

clip_image003

clip_image004

Port: P06800 definition WE21

The RFC destination was maintained in SM59 with ABAP connection.

clip_image005

clip_image006

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

clip_image007

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

clip_image008

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:

clip_image009

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.

clip_image011

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

clip_image013

clip_image014

Get ship to party number by combination of customer and external partner.

Step 6: how the material no determined in SO.

Use the vendor material no. maintained in info record.

clip_image015

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

clip_image016

clip_image017

Partner profile: Q08800

clip_image018

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

clip_image020

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

clip_image022

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

clip_image024

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

clip_image026

Message type DESADV is used in partner profile.

clip_image027

clip_image028

Same message type will be used Inbound partner profile.

clip_image029

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

clip_image031

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

clip_image033

T-code VL33N to check inbound delivery note.

clip_image035

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.

clip_image037

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.

clip_image038

OUTPUT TYPE ZRE4 will be triggered in VF03.

clip_image039

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

clip_image041

clip_image043

MIR4: Display the vendor invoice document

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

clip_image045

转载于:https://www.cnblogs.com/chrisrockdl/p/9539392.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值