Beruflich Dokumente
Kultur Dokumente
ERPSCM / / LogisticsInvoiceVerification
Valuation
CreatedbyGuest,lastmodifiedbyCarlaBussoloonDec03,2015
Purpose
ThepurposeofthispageistogiveanoverviewaboutValutioninInvoiceVerificationarea.
Overview
ThefollowingsectionswillexplainhowValutionprocessworksinInvoiceVerificationarea,showingsometipsthatmayhelpduringinvoicescreationandissueresolution.
WRXpostinglogic
GeneralruleforGR/IRamount(WRXamount):
Incaseofgoodsreceiptquantityisequaltotheinvoicedquantityandviceversa,theGR/IRaccountshouldbecompletelycleared.
DebuggingtipsinInvoiceVerification:
Functionmodule:MR_POSTING_GENERATE
Include:LGNB8F03
Routine:FORMRE_ZUGANG_N
WRXamountforinvoice
Example1:GRalreadyreceived
CaseA:invoicewouldpost5EURtoGR/IRaccountwiththesamelogicaswecleartheGR/IRaccountduringgoodsreceipt.thesamelogicisvalidforinvoiceswhenhittingthealreadyreceivedquantity.
Theclearingvalueinthatcase(EKBEAREWR)wouldbethesameasthevaluepostedtotheGR/IRaccount.
Purchaseorder:10PC1,00EUR/PC
GR(101):5PC
Invoice:5PC1,5EUR/PC
GR IR
Vendor 7,50
CaseB:theWRXvaluewillbe4EUR.TheinvoicewillclearWRXpartiallywithrespecttothereceiptquantityinvoicedquantity.
Purchaseorder:10PC1,00EUR/PC
GR(101):5PC
Invoice:4PC1,5EUR/PC
GR IR
Vendor 6,00
CaseC:GR/IRamountcalculatesas5EURinordertoclearthevalueforthereceived5pieces+9EUR/6fortheremaining1piece=1,5EUR.Thislogicwillgohandinhandwiththelogicduring
goodsreceipts,becausethenextgoodsreceiptwillbecalculatedbythepricefromtheinvoice.
Purchaseorder:10PC1,00EUR/PC
GR(101):5PC
Invoice:6PC1,5EUR/PC
GRGR IR
Vendor 9,00+
Example2:GRnotyetreceived
Here,quantityofsubsequentdebitishigherthanthequantitydelivered(notyetdelivered).WholeamountofsubsequentdebitispostedonWRX(becausenotyetaGR).PostingsforSubsequentCredit
arethesame,onlywithdifferentsign.
Purchaseorder:10PC1,00EUR/PC
Invoice:5PC2,00EUR/PC
IR
Stockaccount(BSX)
GR/IRaccount(WRX) 10,00+
Vendor 10,00
Example3:GRnotyetreceived
CaseA:Quantityofsubsequentdebit>quantitydelivered(notyetdelivered).WholeamountofsubsequentdebitispostedonWRX(becausenotyetaGR).PostingsforSubsequentCreditarethesame,
onlywithdifferentsign.
Purchaseorder:10PC1,00EUR/PC
Invoice:5PC1,00EUR/PC
Subsequentdebit/credit:5PC0,30EUR/PC
IR SubsequentDebit
Stockaccount(BSX)
CaseB:Quantityofsubsequentdebit=quantitydelivered,thereforenoWRXposting(sameifquantityofsubsequentdebit<quantitydelivered).PostingsforSubsequentCreditarethesame,onlywith
differentsign.
Purchaseorder:10PC1,00EUR/PC
GR(101):5PC
Invoice:5PC1,00EUR/PC
Subsequentdebit/credit:5PC0,30EUR/PC
GR IR SubsequentDebit
CaseC:Quantityofsubsequentdebit>quantitydelivered.ThepartforwhichnotyettheGRiscreatedispostedonWRXtheotherpartonBSX.PostingsforSubsequentCreditarethesame,onlywith
differentsign.
Purchaseorder:10PC1,00EUR/PC
GR(101):5PC
Invoice:6PC1,00EUR/PC
Subsequentdebit/credit:6PC0,30EUR/PC
GR IR SubsequentDebit
WRXamountforcancellinginvoices
DebuggingtipsinInvoiceVerification:
FunctionModuleMR_POSTING_GENERATE
Include:LGNB8F03
Routine:FORMRE01>FORMRE_STORNO_N
Example1:IRsurplusalreadyinvoicedquantityisgreaterthanalreadyreceivedquantity.
CaseA:thevaluepostedtoGR/IRaccountisonlydependentfromthecreditedquantitybutindependentfromthecreditedvalue.
Purchaseorder:10PC1,00EUR/PC
GR(101):10PC
Invoice:15PC1,5EUR/PC
Creditmemo:2PC1,5EUR/PC
GR IR CreditMemo
CaseB:thevaluepostedtoGR/IRaccountisonlydependentfromthecreditedquantitybutindependentfromthecreditedvalue.
Purchaseorder:10PC1,00EUR/PC
Invoice1:5PC3,0EUR/PC
GR(101):10PC
Invoice2:10PC2,0EUR/PC
Creditmemo:8PC1,5EUR/PC
UMB:Revaluationduetostockshortage
Example:Intheinvoicethereisapricedeviationof1EUR/PCfor10PCtheseare10EUR.Thiswillbepostednormallytothestockaccount(ifthereisenoughstockcoverage).Inthepreviousperiod
wehavestill10PCinthestock,sothewhole10EURcanbepostedtoBSX.Inthecurrentperiodthestockisonly5PC.Theinvoicehasaquantityof10PC,thatmeansthatonlyapartofthevalue(50%
inthiscase)canbepostedtothestockaccount.ThereforetheBSXaccountisreducedforthecurrentperiodby5EUR.Soforthecurrentperiodthereareonly5EURwhichwerepostedtoBSX.The
other5EURispostedtotheUMBaccount.ThepostinglogicisdescribedinSAPnote402856.
Mainvalues:
Stocksituationbeforeposting:nostock(MBEWLBKUM=0,MBEWSALK3=0)
Purchaseorder:10PC10EUR/PC
GoodsReceiptinpreviousperiod:10PC
GoodsIssueincurrentperiod:5PC
IRpostedtopreviousperiod:10PC11EUR/PC
TechnicaldetailsandDebuggingtips
FunctionGroup:GNB8
FunctionMRM_INVOICE_POST
PERFORMzeile_generieren
CALLFUNCTION'MR_STRING_DETERMINE'
CALLFUNCTION'MR_POSTING_GENERATE'
FunctionCKMV_AC_DOCUMENT_CREATE
InternaltableXACCIT:KTOSL,KOART,BUZID,HKONT,POSNR
InternaltableXACCCR:POSNR,CURTP,WAERS,WRBTR
Valuestrings
EIN+EKG+FRE:Purchaseaccountandoffsetposting
Purchaseaccountisapostingrequiredinsomecountries,asexampleFrance,SpainandItaly.Thevalueofallpurchasedgoodshastobepostedinadditionintooneaccount,thepurchaseaccount.The
lawsfortheexactvaluedodifferfromcountrytocountry.
Thecustomizingforthepurchaseaccountisdoneviathefollowingpath:
ThepurchaseaccounthastobeactivatedforthecompanycodeviaOMWOtransaction.TheflagT001XEINKisset,ifthePOaccountisactivatedforthecompanycode.Incustomizingpoint"Calculation
ofvalueforpurchaseaccount"itissetifthepurchasevalueorthestockvalueisusedforthePOaccountposting(flagT001KXEWRX).FordetailsreadSAPnotes184770and62139.Thisaccountisnot
postedifthePOhasanaccountassignment(readSAPnote128752).
IncaseofsubcontractingandpurchaseaccountreadSAPnote108844.
IffreightcostsarepostedduringtheGR,incaseofactivepurchaseaccount,anadditionalpostinglineisgenerated:FRE.InthiscasetheoffsetpostingoftheFRNispostedtoFREinsteadofPRD.Read
SAPnote184770.
Example:
Purchaseorder:10PC12EUR/PC
Standardpricematerial:10EUR/PC
Goodsreceipt:10PC
GR 10+ 12 10+ 10 2+
Stockvalue
GR 10+ 12 12+ 12 2+
Purchasevalue
KDM:ExchangeratedifferenceduringGR
ThevaluationlogictogetherwithsomeexamplesisdescribedwithinSAPnote191927.
KDMisonlypostedduringgoodsreceiptifthefieldt169pxplcuisinitialandso,KDMwillnotbepostedduringincominginvoice.
ThefieldT001ACURDTforthecompanycodewilldeterminewhichdateisrelevanttocalculatetheexchangeratedifference.So,thevalueforKDMcalculatesasdifferencebetweenGR/IRamountin
localcurrencyminustheGR/IRamountinforeigncurrency*exchangerate.
AftertheimplementationofSAPnote381900,exchangeratedifferencesareonlydeterminedduringgoodsreceiptifoneofthefollowingrequirementsisfulfilled:
Theexchangerateisfixedinthepurchaseorderanddeviatesfromtheexchangerateforthepostingdate.
Thegoodsreceiptispostedaftertheinvoicereceipt.Thismeans,thatthequantityofgoodsreceivedposteduptonowissmallerthanthepreviouslycalculatedquantity.
Inthecaseofagoodsissue,forexample,reversalorreturndelivery,thequantitytobepostedisgreaterthanthequantitystilltobecalculated.Thisensuresthatexchangeratedifferencesposted
beforeduringgoodsreceiptarealsodeterminedduringreversal.
Note:AsageneralruleKDMisperdefinitionneverpostedindocumentcurrency.
Example:
Purchaseorder:10PC10USD/PC
Localcurrency:EUR
Transactioncurrency:USD
Invoice:1PC10USD/PC(Exchangerate:1USD=2,5EUR)
Goodsreceipt:1PC(Exchangerate:1USD=2EUR)
Formula:
KDMamount=WRXamountinlocalcurrency(WRXamountintransactioncurrency*exchangerate)
KDMamount=25EUR10USD*2EUR/USD
KDMamount=5EUR
IR 10USD+ 10USD
25EUR+ 25EUR
GR 10USD+ 10USD
KDM:ExchangeratedifferenceduringIR
ThevaluationlogictogetherwithsomeexamplesisdescribedinSAPnote331910.
KDMisonlypostedduringinvoicereceiptifthefieldt169pxplcuisinitialandthematerialhasstandardpricecontrol.
ThefieldT001ACURDTforthecompanycodewilldeterminewhichdateisrelevanttocalculatetheexchangeratedifference.So,thevalueforKDMcalculatesasdifferencebetweenGR/IRamountin
localcurrencyminustheGR/IRamountinforeigncurrency*exchangerate.
Exchangeratedifferencesareonlydeterminedduringinvoicereceiptifoneofthefollowingrequirementsisfulfilled:
Theexchangerateisfixedinthepurchaseorderanddeviatesfromtheexchangerateforthepostingdate.
Theinvoicereceiptispostedafterthegoodsreceipt.Thismeansthatthequantityofgoodsreceivedposteduptonowissmallerthanthepreviouslycalculatedquantity.
Inthecaseofacreditmemo,forexample,thequantitytobepostedisgreaterthanthequantitystilltobecalculated.Thisensuresthatexchangeratedifferencespostedbeforeduringinvoicereceipt
arealsodeterminedduringreversal.
Note:AsageneralruleKDMisperdefinitionneverpostedindocumentcurrency.
Example:
Purchaseorder:10PC10USD/PC
Localcurrency:EUR
Transactioncurrency:USD
Goodsreceipt:1PC(Exchangerate:1USD=2EUR)
Invoice:1PC10USD/PC(Exchangerate:1USD=2,5EUR)
Formula:
KDMamount=WRXamountinlocalcurrency(WRXamountintransactioncurrency*exchangerate)
KDMamount=20EUR+10USD*2,50EUR/USD
KDMamount=5EUR
GR 10USD+ 10USD
20EUR+ 20EUR
IR 10USD+ 10USD
PurchaseAccountManagement
ForeignCurrencyTranslation
RelatedSAPNotes/KBAs
SAPNote980402KDMforPOswithaccountassignment,MApricematerial
SAPNote335608Trnslnof2ndand3rdlclcrcyfm1stlcl/trnscrcy
SAPNote331910MR1M,MIRO:Postingsinforeigncurrency/localcurrency
SAPNote191927Postinglogic:GRforforeigncurrencyPO
SAPNote116250MR08/MR8M:Cancellation+exchangeratediffrnces(KDM)
ContactUs SAPHelpPortal
Privacy TermsofUse LegalDisclosure Copyright FollowSCN