SAP移动类型和评估类型详解ByStone.Fu2004---如有错误,望高手指点某公司为例:company:1000plants:1100,1200,1300,1400.1.Activatesplitmaterialvaluation激活分割物料评估,同一个物料的库存在不同的工厂,不同时期或同一工厂的物料可多种评估比如by采购类型等,by批次等.2.关于valuation的几个概念Valuationtype:Uniquelyidentifiesstocksofamaterialthataresubjecttosplitvaluation.唯一表示物料库存评估Valuationcategory:Thevaluationcategorydefinesthevaluationtypesallowedforamaterial.Determineswhetherstocksofthematerialarevaluatedtogetherorseparately.thatis,thecriteriabywhichstockscanbevaluated.定义使用何种评估类型,怎样评估Valuationarea:Ifvaluationatyourcompanyisatplantlevel,thevaluationareaistheplant.Ifvaluationisatcompanycodelevel,thevaluationareaisthecompanycode.评估范围:工厂级或公司级.比如某company1000下有四个plant,则自动建立了和plant同名的四个valuationarea.Valuationgroup:Thevaluationgroupingcodemakesiteasiertosetautomaticaccountdetermination.Withinthechartofaccounts,youassignthesamevaluationgroupingcodetothevaluationareasyouwanttoassigntothesameaccount.Valuationgroupingcodeseitherreflectafinedistinctionwithinachartofaccountsortheycorrespondtoachartofaccounts.Valuationgroup的作用是将评估范围分组,比如你有多个公司其中每公司又有多个plants,就可以使用分组SAP标准:Werecommendthatyouonlyuseavaluationgroupingcodewithinachartofaccountsinordertopreventaccountdeterminationfrombecomingconfusing.如有公司2000下有2100,2200两plants可在建立一个valuationgroup2100………………20002200………………..2000Valuationclass:简单说真正对应到会计科目SAP对其功能这样说1.允许将同一物料post到不同GLaccount,比如不同工厂公司相同物料为了核算的可对应到不同的科目2.不同的物料到同一科目3.对应到和评估相关的(会产生会计凭证)movementtype给出会计科目3.T-code:OMWC(配置分割评估)Enter后选取localdefinitions.系统自动带出定义的四个工厂,4.T-code:OMWM(激活valuationgroupingcode)5.T-code:OMWD将valuationareagrouping6.T-code:OMSK选第一按钮Accountcat.Reference,看到SAP预设的9种类accountcategory按第三个按钮materialtype/accontcategoryreference如图.我记得有个问题是改materialtype,姑且不谈物料视图的问题,只要accountcategory相同的比如下面rawmaterial,packaging,indirect就可使用t-codeL:MMAM任意互相更改.第二按钮定义valuationclass.(省略).7.T-code:OMJJ通常你可以copy一个已经存在的movementtype然后稍微修改它就可使用.Shorttexts描述,allowedtransactions在此T-code出现,比如MB1C就看不到movementtype101,看看accountgrouping.val.string,postingstringvalue定义movementtype对应的科目规则,TEKey(transaction/EventKey)决定会计科目和Lineitem的postingkeys,有SAP定义的一套,KON,GBB,PRD就是其中一部分transaction/EventKey,不能增加或修改,详细看报OBYC.Acctmodif可理解为在同一个Transaction/Event中将对应的会计科目再细分出来.Acctmodif通常是一个SAP自定义的accountgrouping,必要时也可自己定义关于此,必须清楚accountgroup和accounttype等的概念,这儿省略.AccountgroupingforGBB(附)Forthetransaction/eventGBB(offsettingentryforinventoryposting),thefollowingaccountgroupingshavealreadybeenassignedtotherelevantmovementtypes:AUF:forgoodsreceiptsforproductionorderswithaccountassignmentBSA:forintialentriesofstockbalancesINV:forexpense/revenuefrominventorydifferencesVAX:forgoodsissuesforsalesorderswithoutaccountassignmentobjectVAY:forgoodsissuesforsalesorderswithaccountassignmentobjectVBO:forconsumptiomfromstockofmaterialprovidedtovendorVBR:forinternalgoodsissues(e.g.,forcostcenter)VKA:forconsumptionforsalesorderwithoutSDVNG:forscapping/destructionVQP:forsamplingZOB:forgoodsreceiptswithoutpurchaseordersZOF:forgoodsreceiptswithoutproductionorders看下图更容易理解(FromT-code:OBYC)TB3是自定义的acct.modif.用来表示出售原料,包装材料和间接物料所对应的会计科目8:T-code:OMWBEnter后按第一按钮accountassignment到T-code:OBYC第三按钮GLaccounts看个valuationarea(Plant级)对应的GLAccountsT-code:OBYC,OMJJ和OBYC是两个最重要的Newamovementtype的t-code.9.T-Code:OBYC(Accountassignment)Enter.看一个BSXaccount的assignment.首先ChooseBSX后doubleclick将valuationmodif.Andvaluationclass都选上.Why?记得Valuationgroup吗?就是说如可能多公司多工厂如何分配account,如何区别?比如有两公司1000,(有plants1100,1200,1300,1400),company2000(plants:2100,2200).对应一个chartsofaccount.还记得物料accounting1view.比如物料A在两公司的某plant都有.对company1000.Valuationmodif.填1000对company2000.Valuationmodif.填2000然后valuationclass和会计科目可以相同.这样就唯一标识出了一个valuationclass开始assignaccount(省略)后续!