PO & SO Integration By IDOC in CNABB

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[1]

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

Step1: define partner profile for vendor CNIIB

clip_image003[1]

clip_image004[1]

Port: P06800 definition WE21

The RFC destination was maintained in SM59 with ABAP connection.

clip_image005[1]

clip_image006[1]

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

clip_image007[1]

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

clip_image008[1]

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

image

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[1]

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[1]

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[1]

clip_image014[1]

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.

clip_image015[1]

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[1]

clip_image017[1]

Partner profile: Q08800

clip_image018[1]

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

clip_image020[1]

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

clip_image022[1]

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.

clip_image024[1]

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

clip_image026[1]

Message type DESADV is used in partner profile.

clip_image027[1]

clip_image028[1]

Same message type will be used Inbound partner profile.

clip_image029[1]

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

clip_image031[1]

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

clip_image033[1]

T-code VL33N to check inbound delivery note.

clip_image035[1]

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[1]

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[1]

Maintain company code for incoming invoice.

clip_image040[1]

clip_image042[1]

OUTPUT TYPE ZRE4 will be triggered in VF03.

clip_image043[1]

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

clip_image045[1]

clip_image047[1]

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

clip_image049[1]

clip_image051[1]

MIR4: Display the vendor invoice document

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

clip_image053[1]

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

clip_image055[1]

clip_image057[1]

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值