Billing EDI INVL&INVF(Billing IDOC自动生成MIRO及应付会计凭证) 下载本文

Billing EDI INVL&INVF(Billing IDOC自动生成MIRO及应付会计凭证)

Billing保存时利用EDI技术,依据Output中的输出配置以及WE20中定义的partner profile来生成IDOC。其中WE20中partner profile分为客户的出站参数和供应商的入站参数。

WE20

由于出站和入站需要按照每个客户和供应商的参数,所以一般billing自动MIRO的配置一般用于公司间的交易。

1. 出站参数

WE20进入partner profile

选择Partner Type KU customer下的伙伴参数信息,如果不存在选择新增伙伴参数

本文以1187客户为例,在出站参数中,新增BP INVOIC

EDI Testing Document by Airy

Output options

Message Type:INVOIC IDOC TYPE

BASIC TYPE:INVOIC01 Invoice/Billing Document MESSAGE CODE:MM发票校验,FI应付凭证

EDI Testing Document by Airy

Message control

2. 入站参数

1. 跨公司销售中公司间发票,A公司对B公司开票,B公司直接产生应付会计凭证。Process

Code:INVF

2. 第三方交易之跨公司STO,A公司SO自动产生对B公司的跨公司STO单,B公司发货

后对A公司开billing会产生A公司自动发票校验。Process code:INVL。

EDI Testing Document by Airy

WE20

Partner Type LI Vendor

Inbound Options

Process code:INVL 发票校验

EDI Testing Document by Airy

Process Code可以用事务代码WE42查看

EDI Testing Document by Airy

Process code INVL

Description INVOIC MM Logistics invoice verification (MM) Identification IDOC_INPUT_INVOIC_MRM

Process code INVF

Description INVOIC FI Invoice receipt (Financial Accounting) Identification IDOC_INPUT_INVOIC_FI

3. NACE 配置output相关 设置output type

EDI Testing Document by Airy

RD04

RD04默认为非立即发送。可以在这个地方改,但一般情况下在前台维护。

如果想Debug出站的数据,必须选择1后手工用程序执行时,断点方可生效。如果选择4则无法debug

EDI Testing Document by Airy

EDI Testing Document by Airy

设置Procedure

EDI Testing Document by Airy

4. V/31 按合作伙伴功能输出类型配置 配置输出类型,RD04 ,A(ALE),BP(这个可以不配置)

5. VV31 按合作伙伴功能输出主数据创建

VV31、VV32 设置输出类型,消费者,功能(BP),

EDI Testing Document by Airy

这个是配置默认输出类型。 功能:BP 发票 媒介:6/A EDI/ALE 日期/时间:4 立即发送

如果要debug output的function,必须时间日期选择1后用程序运行方可跟踪。如果用4,设置断点后无法跟踪!

6. 供应商和客户号分配WEL1

A vendor must be assigned per company code and customer for intercompany billing (transaction WEL1) Example: Data:

Delivering company code: 0001

Customer: 0000000001, created in delivering company code Selling company codekreis: 0099

Vendor: ALECRED01, created om selling company code

EDI Testing Document by Airy

Settings: Application: V3

Logical address 00010000000001 is made up of:

a) 4 place delivering company code : 0001 b) 10 place customer number : 0000000001

Target:

Company code: 0099 Vendor : ALECRED01

如果是INVL自动MIRO需要以下配置

1. OBCA配置供应商及逻辑系统对应入账的公司代码信息

EDI Testing Document by Airy

2. 定价过程的税条件类型的打印标志需要=S,只有=S产生IDOC时才会创建E1EDK04抬头

税额的段信息。

EDI Testing Document by Airy

EDI Testing Document by Airy

Print ID for condition lines

Controls issue of condition lines when printing documents such as order confirmations or invoices.

Use

In releases previous to 4.0, the following print indicators are available :

? ? ?

' ' : Condition line is not printed

'X' : Condition line is printed at item level 'S' : Condition line is printed in totals block

The following standard logic is set out for these printing indicators:

o Item POS of the last condition line is determined with 'X'.

o All condition lines that contain an item smaller than POS in the pricing procedure are

only printed if print indicators 'X' or 'S' are set.

EDI Testing Document by Airy

o All condition lines that contain an item larger than POS in the pricing procedure, that

come before the first tax condition line and which have a non-statistical VAT condition, receive printing indicator 'S'. The same applies for condition lines that contain an item larger than POS in the pricing procedure, that come after the first tax condition line and an active non-statistical VAT condition.

o Condition lines that represent a tax condition type are always printed in totals blocks

with print indicator 'S' (set internally or externally).

o Condition lines that represent a condition type that is not a tax condition type are only

printed with print indicator 'S' (set externally or internally) if the condition value of the condition line is not zero. Condition lines that do not represent a condition type (i.e. subtotals) are only printed with print indicator 'S' or 'X' (set externally or internally) if the condition value of the condition line is different from the condition value of the previous condition line in the pricing procedure.

To provide a better overview of this process, 8 more print parameters are available as of Release 4.0. These print indicators cannot, however be mixed with the three previous print indicators ' ', 'X' and 'S' in the pricing procedure. This means that the new indicators are only taken into account if a no condition lines in the pricing procedure contain printing indicators 'X' or 'S'.

The new printing indicators have the following settings, and corresponding influence on processing.

o 'A' : in total: general o 'B' : in total: if value <> zero

o 'C' : in total: if value <> value of predecessor

o 'D' : in total: if value <> zero and value <> value of predecessor o 'a' : at item : general o 'b' : at item : if value <> zero

o 'c' : at item : if value <> value of predecessor

o 'd' : at item : if value <> zero and value <> value of predecessor

IDOC段里面 E1EDP02

QUALF = 001取客户采购订单

IF Message Code = MM,则会将Delivery item中的参考单据号写入001段!

EDI Testing Document by Airy

QUALF = 002 当供应商物料号

IF Vendor Mat.No. = SO中的Material,则生成凭证时可读取002段的数据

EDI Testing Document by Airy

不完整性检查,PO号和ITEM号是必须字段

改状态

EDI Testing Document by Airy

如果是INVF应付凭证需要以下配置 1. OBCB定义入账科目

EDI Testing Document by Airy

INVL&INVF公共配置信息 1. OBCE定义入账相关参数

2. OBCD配置税码转换

EDI Testing Document by Airy

国家可以为空,有些tax rate需要三位小数点,有些不需要,具体是否需要可以看IDOC报错信息来调整。

3. OBCC附加入账配置(CO)

EDI Testing Document by Airy

EDI Testing Document by Airy

Trouble shooting SLG1

EDI Testing Document by Airy