SAP Billing IDOC自动生成MIRO及应付会计凭证
- 格式:pdf
- 大小:1.42 MB
- 文档页数:23
SAP Billing IDOC自动生成MIRO及应付会计凭证(Billing EDI INVL&INVF)Billing保存时利用EDI技术,依据Output中的输出配置以及WE20中定义的partner profile 来生成IDOC。
其中WE20中partner profile分为客户的出站参数和供应商的入站参数。
WE20由于出站和入站需要按照每个客户和供应商的参数,所以一般billing自动MIRO的配置一般用于公司间的交易。
1.出站参数WE20进入partner profile选择Partner Type KU customer下的伙伴参数信息,如果不存在选择新增伙伴参数本文以1187客户为例,在出站参数中,新增BP INVOICOutput optionsMessage Type:INVOICIDOC TYPEBASIC TYPE:INVOIC01 Invoice/Billing DocumentMESSAGE CODE:MM发票校验,FI应付凭证Message control2.入站参数1.跨公司销售中公司间发票,A公司对B公司开票,B公司直接产生应付会计凭证。
ProcessCode:INVF2.第三方交易之跨公司STO,A公司SO自动产生对B公司的跨公司STO单,B公司发货后对A公司开billing会产生A公司自动发票校验。
Process code:INVL。
WE20Partner Type LI VendorInbound OptionsProcess code:INVL发票校验Process Code可以用事务代码WE42查看Process code INVLDescription INVOIC MM Logistics invoice verification (MM) Identification IDOC_INPUT_INVOIC_MRMProcess code INVFDescription INVOIC FI Invoice receipt (Financial Accounting) Identification IDOC_INPUT_INVOIC_FI3.NACE 配置output相关设置output typeRD04RD04默认为非立即发送。
可以在这个地方改,但一般情况下在前台维护。
如果想Debug出站的数据,必须选择1后手工用程序执行时,断点方可生效。
如果选择4则无法debug设置Procedure4.V/31 按合作伙伴功能输出类型配置配置输出类型,RD04 ,A(ALE),BP(这个可以不配置)5.VV31 按合作伙伴功能输出主数据创建VV31、VV32 设置输出类型,消费者,功能(BP),这个是配置默认输出类型。
功能:BP 发票媒介:6/A EDI/ALE日期/时间:4 立即发送如果要debug output的function,必须时间日期选择1后用程序运行方可跟踪。
如果用4,设置断点后无法跟踪!6.供应商和客户号分配WEL1A vendor must be assigned per company code and customer for intercompany billing (transaction WEL1)Example:Data:Delivering company code: 0001Customer: 0000000001, created in delivering company codeSelling company codekreis: 0099Vendor: ALECRED01, created om selling company codeSettings:Application: V3Logical address 00010000000001is made up of:a) 4 place delivering company code : 0001b) 10 place customer number : 0000000001Target:Company code: 0099Vendor : ALECRED01如果是INVL自动MIRO需要以下配置1.OBCA配置供应商及逻辑系统对应入账的公司代码信息2. 定价过程的税条件类型的打印标志需要=S ,只有=S 产生IDOC 时才会创建E1EDK04抬头税额的段信息。
Print ID for condition linesControls issue of condition lines when printing documents such as order confirmations or invoices. UseIn 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 blockThe 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 areonly printed if print indicators 'X' or 'S' are set.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 itemlarger than POS in the pricing procedure, that come after the first tax condition lineand 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 thecondition 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) ifthe condition value of the condition line is different from the condition value of theprevious 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: generalo'B' : in total: if value <> zeroo'C' : in total: if value <> value of predecessoro'D' : in total: if value <> zero and value <> value of predecessoro'a' : at item : generalo'b' : at item : if value <> zeroo'c' : at item : if value <> value of predecessoro'd' : at item : if value <> zero and value <> value of predecessorIDOC段里面E1EDP02QUALF = 001取客户采购订单IF Message Code = MM,则会将Delivery item中的参考单据号写入001段!IF Vendor Mat.No. = SO中的Material,则生成凭证时可读取002段的数据不完整性检查,PO号和ITEM号是必须字段改状态1.OBCB定义入账科目INVL&INVF公共配置信息1.OBCE定义入账相关参数2.OBCD配置税码转换错信息来调整。