SAP BW学习方法总结.docx
《SAP BW学习方法总结.docx》由会员分享,可在线阅读,更多相关《SAP BW学习方法总结.docx(14页珍藏版)》请在冰豆网上搜索。
SAPBW学习方法总结
SAPBW学习方法总结
SAP培训:
目录
目录..................................................................................................................................................1
1.在源系统中设置BW传输参数。
Frequency一般设置为5-10............................32.LOLIS的区别.........................................................................................................53.LBWE中维护默认的LO数据源...........................................................................64.Directdelta/Queueddelta/UnserializedV3update...............................................85.主数据DELTA.........................................................................................................96.DeltaManagement中的一些定义...........................................................................97.几种更新模式(UpdateMode)..................................................................................98.Deltatype................................................................................................................109.UpdateMode:
Repeat..............................................................................................1010.DataSource在R/3和BW中的表.....................................................................1111.ReturnTable........................................................................................................1112.从CSV文件上传中文.......................................................................................1213.RSA7DeltaUpdate和DeltaRepetition...........................................................1214.Query跳转时显示如下消息.............................................................................1415.Query中交通灯仅在合计行显示......................................................................1816.在不同层次的合计行用不同的颜色显示.........................................................1917.BW中的SD凭证流..........................................................................................2318.如何减少维度表的大小.....................................................................................2419.删除PSA数据...................................................................................................2420.RSRV检查..........................................................................................................2621.在MultiProvider中,要连接的特性必须是一样的?
而不能是参考?
.........2622.在SD凭证流Infoset中,如何解决KPI重复计算的问题?
........................2623.LO中的PP数据源,生产订单需要设置:
....................................................2724.LBWQ的数据无法进入RSA7.........................................................................2825.CELL...................................................................................................................2926.几个ODS同时激活,需要设置RSODSO_SETTINGS,和RZ10的参数文件.3327.设置RSODSO_SETTINGS,和RZ10的参数文件后仍然不能激活ODS数据,用SM50查看BW处理进程,并保证GBD空闲进程至少三个。
...................3528.在query里显示当期日期,可以创建一个公式变量,用客户退出。
..........3529.无法在formula中使用keyfigure的result.......................................................3630.对采购收货,会产生2条delta。
已收货数量等字段会被更新....................3731.对发票出具会计凭证时,能够产生delta........................................................3732.ExceptionTYPELOAD_NEW_VERSION........................................................3733.为BICONTENT数据源添加keyfigure字段时,一般数量、金额字段取反。
SAP培训:
单价字段不取反。
.........................................................................................................3734.在角色里隐藏文件夹按钮:
设置S_RS_FOLD为X......................................3735.Updaterule激活时报错,Emptyorinvalidformula.........................................3836.Workbook里几个query用到相同的输入条件................................................3837.开发机的query传输到生产机之后,可以在RSA1的传输连接里点“BEX请求”。
之后修改query将不在报错..............................................................................3838.对导航属性设置权限.........................................................................................3839.执行Infopackage用户的权限...........................................................................3940.打上“小写字母”,激活有主数据的信息对象时,去掉alpha...................3941.系统自动生成的信息包:
自建ODS更新到新的ODS时,要复制源数据..........................................................................................................................4042.修改系统自带提取结构后,提取数据时出错问题处理.................................4243.设备运转率报表连接到R/3系统事务代码:
.................................................4544.合并资产负债表,损益表0ECCS_C01该模型在R/3中版本以后都要求手工生成该数据源3EC_CS_1A...................................................................................4645.1CL_OEQU001数据源不能取出数据,前台新增特性设置:
......................46
SAP培训:
1.在源系统中设置BW传输参数。
Frequency一般设置为5-10.
SAP培训:
SAP培训:
2.LOLIS的区别
XX/irj/sdn/threadmessageID=290544#290544
LISisoldtechniquethroughwhichwecanloadthelodata.Hereweusetypicaldeltaandfullup-loadingtechniquestogetdatafromanlogisticsapplication,itusesV1andV2update,itmeansthatitwasasynchronousorasynchronousupdatefromtheapplicationdocumentstoLISstructuresatthetimewhentheapplicationdocumentwasposted.
LOCockpitisnewtechniqueithinkfrombw(iamnotsure)whichusesV3whichisanupdatethatyoucanschedule,soitdoesnotupdateatthetimewhenyouprocesstheapplicationdocuments,butitwillbepostedatalaterstage.
AnotherbigdifferencebetweenLOandLISisthat,
Youhaveseparatedatasourcesforheaderlevel,itemlevelandschedulelinelevelavailableinLO,youcanchooseatwhichlevelyouwanttoextractyourdataandswitchoffothers,whichresultsinreduceddata.
wedonothavethisflexibilitywithLISstructures.
LOEXTRACTOR的好处:
__ThenewLOextractorhasthefollowingadvantageswhenxxparedwiththeprocessofextractingdatausingtransferstructuresandinformationstructures:
__Improvedperformanceandreducedvolumesofdata__Simplehandling
__StandardizedsolutionforallLogisticsapplications__NouseofLISfunctions
SAP培训:
3.LBWE中维护默认的LO数据源
点数据源后的Maintenance,再跳出的窗口中选择要添加的列。
选择好之后点确定。
完成之后交通灯变成红色。
点Maintenance后面的数据源名称,看到熟悉的DataSource维护界面,把添加Field的HideFlag去掉。
保存后交通灯变成黄色。
SAP培训:
点Inactive,激活数据源,交通灯变为绿色。
此时再做Initialization。
在RSA3中可以看到,这个数据源已经有了新添加的列,而且自动取到了值。
SAP培训:
4.Directdelta/Queueddelta/UnserializedV3update
__Directdelta:
一个单据产生一个LUW,直接加到DeltaQueue
Witheverydocumentposting,theextractiondataistransferreddirectlyintotheBWdeltaqueue.EachdocumentpostingwithdeltaextractionbexxesexactlyoneLUWinthecorrespondingBWdeltaqueue.
__Queueddelta:
多个单据产生一个LUW。
先放在extractionqueue,经过Updatecollectionrun加到DeltaQueue
Theextractiondatafromtheapplicationiscollectedinanextractionqueueinsteadofasupdatedata,andcanbetransferredtotheBWdeltaqueuebyanupdatecollectionrun,asintheV3update.
Dependingontheapplication,upto10000deltaextractionsofdocumentsperDataSourcearesummarizedintooneLUWintheBWdeltaqueue.
__UnserializedV3update:
先写入updatetable。
经过Updatecollectionrun,加到DeltaQueue。
这种方法不考虑数据的顺序。
AV3updatemodulewritestheextractiondatafortheapplicationtothe
updatetablesasbefore.Theextractiondataisstoredintheupdatetablesuntilitisreadand
processedbyanupdatecollectionrun.ThedifferencebetweenthismethodandtheserializedV3updatemethodisthatthesequenceofthedataisnottakenintoconsiderationwhentheupdatecollectionrunreadsthedatafromtheupdatetablesandtransfersittotheBWdeltaqueue.
QueuedDelta:
能够确保单据按照顺序,适合数据量更大的用户。
比V3效率高,也没有多语言问题。
SAP建议一个小时跑一次Collection。
SAP培训:
5.主数据DELTA
ALEchangepointer控制,已经在SAPR/3使用多年,用来在不同的R/3系统之间传输主数据。
6.DeltaManagement中的一些定义
ServiceAPI:
Layerinthesourcesystemthatsendsrequestsandstartsextractors.
DeltaManagement:
Agroupofprogramsforthedeltaqueuethatcontrolsthetransactiondatadelta.
DeltaTypes:
Atermthatdescribeshowthedatagetsintothedeltaqueue.
Serialization:
ThesequenceinwhichthedatarecordsarriveinBW.
RecordMode:
Adescriptionofthecontentsofarecord.
DeltaMethod:
Atermthatclassifiesadatasourceaccordingtorecordmode,serialization,anddeltatype.
DeltaQueue:
Aholdingareafornewandmodified(delta)recordsintheSAPsystem.
7.几种更新模式(UpdateMode)
FFull
CDeltainitializationDDelta
RRepeat只有在delta更新出错是才有,系统会提示是否要repeatA主数据Delta
SAP培训:
8.Deltatype
E:
PULLEDDELTA.例如LIS/COPAD:
PUSHEDDELTA.例如FILO
9.UpdateMode:
Repeat
__Iftheloadfails,thedeltaqueuedisplaysaREDtrafficlightontheR/3side.Ifthishappens,BW
makesasecondrequestforthedeltaofthisparticularDataSource.Thesystemdoesnotsendanynewdeltarecords.Itresendsthesamerecordsasbefore(exception:
LIS).
SAP培训:
10.DataSource在R/3和BW中的表
R/3:
R/3的数据源
BW:
RSOLTPSOURCE复制过的数据源
11.ReturnTable
UpdateKeyFigure:
ReturnTable
Ifyouusearoutineforakeyfigurewiththeupdaterule,theninsteadofasinglevalue,youcanalsoreturnatable.YouhavetosettheReturnTableflag.Thenseveraldatarecordsarewritteninthedatatargetfortherespectivekeyfigurevalue.
Example:
Youcanuseareturntabletodistributethekeyfigurevaluetoseveraldatarecords.
Figure60:
KeyFigureUpdateRule:
ReturnTable
SAP培训:
12.从CSV文件上传中文
13.RSA7DeltaUpdate和DeltaRepetition
在RSA7查看queue的时候可以看到2个选择,DeltaUpdate和DeltaRepetition。
DeltaupdatewillshowdatainthedeltaqueuethatisreadytoextracttoBW.Deltarepetitionwillshowdatafromlastdeltaextract.
R/3retainsthelastdeltaextractincasethereisanissuewithadeltaextract.Thisallowsyoutoextractthepriordeltadatawithoutdisturbingnewdeltadatawaitinginthequeue.
SAP培训:
如果DELTAUPDATE失败,重新进入Infopackage的时候,系统会提示:
点再次请求之后,系统弹出之前的对话框: