您好,欢迎访问三七文档
EDITestingDocumentbyAiryBillingEDIINVL&INVF(BillingIDOC自动生成MIRO及应付会计凭证)Billing保存时利用EDI技术,依据Output中的输出配置以及WE20中定义的partnerprofile来生成IDOC。其中WE20中partnerprofile分为客户的出站参数和供应商的入站参数。WE20由于出站和入站需要按照每个客户和供应商的参数,所以一般billing自动MIRO的配置一般用于公司间的交易。1.出站参数WE20进入partnerprofile选择PartnerTypeKUcustomer下的伙伴参数信息,如果不存在选择新增伙伴参数本文以1187客户为例,在出站参数中,新增BPINVOICEDITestingDocumentbyAiryOutputoptionsMessageType:INVOICIDOCTYPEBASICTYPE:INVOIC01Invoice/BillingDocumentMESSAGECODE:MM发票校验,FI应付凭证EDITestingDocumentbyAiryMessagecontrol2.入站参数1.跨公司销售中公司间发票,A公司对B公司开票,B公司直接产生应付会计凭证。ProcessCode:INVF2.第三方交易之跨公司STO,A公司SO自动产生对B公司的跨公司STO单,B公司发货后对A公司开billing会产生A公司自动发票校验。Processcode:INVL。EDITestingDocumentbyAiryWE20PartnerTypeLIVendorInboundOptionsProcesscode:INVL发票校验EDITestingDocumentbyAiryProcessCode可以用事务代码WE42查看EDITestingDocumentbyAiryProcesscodeINVLDescriptionINVOICMMLogisticsinvoiceverification(MM)IdentificationIDOC_INPUT_INVOIC_MRMProcesscodeINVFDescriptionINVOICFIInvoicereceipt(FinancialAccounting)IdentificationIDOC_INPUT_INVOIC_FI3.NACE配置output相关设置outputtypeEDITestingDocumentbyAiryRD04RD04默认为非立即发送。可以在这个地方改,但一般情况下在前台维护。如果想Debug出站的数据,必须选择1后手工用程序执行时,断点方可生效。如果选择4则无法debugEDITestingDocumentbyAiryEDITestingDocumentbyAiry设置ProcedureEDITestingDocumentbyAiry4.V/31按合作伙伴功能输出类型配置配置输出类型,RD04,A(ALE),BP(这个可以不配置)5.VV31按合作伙伴功能输出主数据创建VV31、VV32设置输出类型,消费者,功能(BP),EDITestingDocumentbyAiry这个是配置默认输出类型。功能:BP发票媒介:6/AEDI/ALE日期/时间:4立即发送如果要debugoutput的function,必须时间日期选择1后用程序运行方可跟踪。如果用4,设置断点后无法跟踪!6.供应商和客户号分配WEL1Avendormustbeassignedpercompanycodeandcustomerforintercompanybilling(transactionWEL1)Example:Data:Deliveringcompanycode:0001Customer:0000000001,createdindeliveringcompanycodeSellingcompanycodekreis:0099Vendor:ALECRED01,createdomsellingcompanycodeEDITestingDocumentbyAirySettings:Application:V3Logicaladdress00010000000001ismadeupof:a)4placedeliveringcompanycode:0001b)10placecustomernumber:0000000001Target:Companycode:0099Vendor:ALECRED01如果是INVL自动MIRO需要以下配置1.OBCA配置供应商及逻辑系统对应入账的公司代码信息EDITestingDocumentbyAiry2.定价过程的税条件类型的打印标志需要=S,只有=S产生IDOC时才会创建E1EDK04抬头税额的段信息。EDITestingDocumentbyAiryEDITestingDocumentbyAiryPrintIDforconditionlinesControlsissueofconditionlineswhenprintingdocumentssuchasorderconfirmationsorinvoices.UseInreleasespreviousto4.0,thefollowingprintindicatorsareavailable:'':Conditionlineisnotprinted'X':Conditionlineisprintedatitemlevel'S':ConditionlineisprintedintotalsblockThefollowingstandardlogicissetoutfortheseprintingindicators:oItemPOSofthelastconditionlineisdeterminedwith'X'.oAllconditionlinesthatcontainanitemsmallerthanPOSinthepricingprocedureareonlyprintedifprintindicators'X'or'S'areset.EDITestingDocumentbyAiryoAllconditionlinesthatcontainanitemlargerthanPOSinthepricingprocedure,thatcomebeforethefirsttaxconditionlineandwhichhaveanon-statisticalVATcondition,receiveprintingindicator'S'.ThesameappliesforconditionlinesthatcontainanitemlargerthanPOSinthepricingprocedure,thatcomeafterthefirsttaxconditionlineandanactivenon-statisticalVATcondition.oConditionlinesthatrepresentataxconditiontypearealwaysprintedintotalsblockswithprintindicator'S'(setinternallyorexternally).oConditionlinesthatrepresentaconditiontypethatisnotataxconditiontypeareonlyprintedwithprintindicator'S'(setexternallyorinternally)iftheconditionvalueoftheconditionlineisnotzero.Conditionlinesthatdonotrepresentaconditiontype(i.e.subtotals)areonlyprintedwithprintindicator'S'or'X'(setexternallyorinternally)iftheconditionvalueoftheconditionlineisdifferentfromtheconditionvalueofthepreviousconditionlineinthepricingprocedure.Toprovideabetteroverviewofthisprocess,8moreprintparametersareavailableasofRelease4.0.Theseprintindicatorscannot,howeverbemixedwiththethreepreviousprintindicators'','X'and'S'inthepricingprocedure.Thismeansthatthenewindicatorsareonlytakenintoaccountifanoconditionlinesinthepricingprocedurecontainprintingindicators'X'or'S'.Thenewprintingindicatorshavethefollowingsettings,andcorrespondinginfluenceonprocessing.o'A':intotal:generalo'B':intotal:ifvaluezeroo'C':intotal:ifvaluevalueofpredecessoro'D':intotal:ifvaluezeroandvaluevalueofpredecessoro'a':atitem:generalo'b':atitem:ifvaluezeroo'c':atitem:ifvaluevalueofpredecessoro'd':atitem:ifvaluezeroandvaluevalueofpredecessorIDOC段里面E1EDP02QUALF=001取客户采购订单IFMessageCode=MM,则会将Deliveryitem中的参考单据号写入001段!EDITestingDocumentbyAiryQUALF=002当供应商物料号IFVendorMat.No.=SO中的Material,则生成凭证时可读取002段的数据EDITestingDocumentbyAiry不完整性检查,PO号和ITEM号是必须字段改状态EDITestingDocumentbyAiry如果是INVF应付凭证需要以下配置1.OBCB定义入账科目EDITestingDocumentbyAiryINVL&INVF公共配置信息1.OBCE定义入账相关参数2.OBCD配置税码转换EDITestingDocumentbyAiry国家可以为空,有些taxrate需要三位小数点,有些不需要,具体是否需要可以看IDOC报错信息来调整。3.OBCC附加入账配置(CO)EDITestingDocumentbyAiryEDITestingDocumentbyAiryTroubleshootingSLG1
本文标题:Billing-EDI-INVL&INVF(Billing-IDOC自动生成MIRO及应付会计凭证)
链接地址:https://www.777doc.com/doc-6392286 .html