Академический Документы
Профессиональный Документы
Культура Документы
GetStarted
Solutions Support Training Community Developer
Partner About
Community / Blogs
SecondaryIndexonInfoObject
masterdatatablesinRSD1
November29,2013 | 179Views |
AndreasSchuth
morebythisauthor
BW(SAPBusinessWarehouse)
share
0 share
0 tweet share
0
Follow
Howdy,
todayIfoundsomethingusefulinSAPSupportPortalwhichItried
outandwantedtoshowthattoyall
SoIfoundnote1898395SecondaryIndexonInfoObjectmaster
datatables.
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 1/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
Thisnoteenablesyoutogeneratesecondaryindeceson
masterdatatablesviaRSD1bysimplycheckingacheckbox.
NoSe11hassleforindexcreationrequired
Weallknowthatsecondaryindicesarequiteusefulinmanyways
inthedatawarehouseworld.
ThisdoesalsoapplytoInfoObjectsbutkeepinmindnottocreate
tomanyindicesatoncesincethiscanloweryourloading
performance.
Theonlythingthatisnotthatcoolisdoingsomemanualwork(no
transportinnoteattached)buttheresultisworthitinmyopinion:
Whatyouneedinadvance:
1.AccesstogenerateSCCRRegistrationCodesforObjects
2.Creationof2datatypes,modificationof1tableand2structures
(fromSAP)
3.MaintenanceoftableRSADMINusingSE38
4.SAPBW7.37.317.40
Ready?Interested?letdothis:
(Somepartsofthisdescriptionaredirectlyfromthenote//
screenshotsareinGermanbutyougettheidea)
1.Create2dataelementsintransactionSE11
a)SE11>Datatypes>RSDATRINDXFL
IntheDatatype,typeinvalue:RSDATRINDXFL
ClickCreatebutton
SelectDataelement
ClickOk
UndertheDataTypetab
IntheDomain,typeinvalue:RSDCNVFL
UndertheAttributestab
InthePackage,typeinvalue:RSD(Ididitwhensavingand
activatingtheobject)
IfloggedinEnglish,
EntertheShortDescriptionas:Indicatorastowhetherthe
attributewillbepartofindex
UndertheFieldLabeltab
Short10IndexAttr.
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 2/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
Medium19Indexattribute
Long30Indexattribute
Heading30Indexattribute
Saveandactivatetheelement
b)SE11>Datatypes>RSINDXFL
IntheDatatype,typeinvalue:RSINDXFL
ClickCreatebutton
SelectDataelement
ClickOk
UndertheDataTypetab
IntheDomain,typeinvalue:BOOLE
UndertheAttributestab
InthePackage,typeinvalue:RSD
IfloggedinEnglish,
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 3/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
EntertheShortDescriptionas:Indicatorastowhetherthe
attributewillbepartofindex
UndertheFieldLabeltab
Short10IndexAttr.
Medium19Indexattribute
Long30Indexattribute
Heading30Indexattribute
Saveandactivate
2.Modify2structuresintransactionSE11
a)SE11>Structure>RSDO_S_ATR
IntheDatatype,typeinvalue:RSDO_S_ATR
ClickontheChangebutton
IntheComponentstab
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 4/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
UsingtheInsertRowbutton,betweenComponentATRTIMFLand
ComponentF4ORDER,insertanewComponent.
IntheComponentcolumn,typeinvalue:ATRINDXFL
IntheComponentTypecolumn,typeinvalue:RSDATRINDXFL
Activate
b)SE11>Structure>RSDGSCATR
IntheDatatype,typeinvalue:RSDGSCATR
ClickontheChangebutton
IntheComponentstab
UsingtheInsertRowbutton,aftertheAPPENDNMComponent,
insertanewComponent.
IntheComponentcolumn,typeinvalue:INDXFL
IntheComponentTypecolumn,typeinvalue:RSINDXFL
Activate
3.Modify1transparenttableintransactionSE11
a)SE11>Tables>RSDBCHATR
IntheDatabasetable,typeinvalue:RSDBCHATR
ClickontheChangebutton
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 5/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
UsingtheInsertRowbutton,betweenFieldATRTIMFLandField
F4ORDER,insertanewfield.
IntheFieldcolumn,typeinvalue:ATRINDXFL
ChecktheInitialValuescheckbox
IntheDataelementcolumn,typeinvalue:RSDATRINDXFL
Activate
AlmostdonebutwestillneedtomaintaintableRSADMIN,solets
go:
4.MaintainRSADMINusingProgramSE38>
SAP_RSADMIN_MAINTAIN
a.EnableMasterDataSecondaryIndex(forBW7.30and7.31
ONLY)
GotoTransactionSE38
RunreportSAP_RSADMIN_MAINTAIN
EnterRS_ENABLE_MD_SECONDARY_INDEXESforObjectand
XforValue
SelecttheINSERTradiobutton
ExecutethereporttocreatethenewentryintableRSADMIN
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 6/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
b.RemovekeyfromSecondaryIndex(forBW7.30,7.31AND7.40
ONLY)
Bydefault,thetechnicalkey(DATETO/DATEFROM/Current
InfoObject/OBJVERS)willbeincludedaspart
ofsecondaryindex.Toremovethetechnicalkey,youmustmaintain
aRSADMINparameter.
GotoTransactionSE38
RunreportSAP_RSADMIN_MAINTAIN
EnterRS_NO_TECH_FIELDS_SEC_INDEXESforObjectandX
forValue
SelecttheINSERTradiobutton
ExecutethereporttocreatethenewentryintableRSADMIN
Stillthere?
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 7/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
Wealmostgotitnowdownloadnote1898395viatransaction
SNOTEandimplementthenote.
Sincewedidallwewereaskedofwearegoodtogo.
Sooonowhowdoesitlooklike?
Andifwecheckthetablesofthecharacteristic?
Howdoesitlooklike?
NowweareabletocreatesecondaryindicesonCharacteristics
andallwillbedoneautomatically.
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 8/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
Iamnotsurewhen,how,ifthisnotewillbeimplementedofficially
butIkindalikethis.
Onenoteattheend:
Ifyouwanttoremovetheindexandaddanotherone,makesureto
removethe
indexfirstandactivate,thenaddthenewindexandactivate.
Solong,
Andreas
AlertModerator
9Comments
YoumustbeLoggedontocommentorreplytoapost.
seshuP
December2,2013at5:33am
KrishnaChaitanya
December3,2013at7:02am
Reallyveryusefulcontent.Thanksforsharing
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 9/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
RolandKramer
December3,2013at9:05am
NiceDoc.BestRegardsRoland
CHRaman
December3,2013at9:55am
Veryusefulblog.Thanksforsharing.
AdrianLukeSlade
July30,2014at12:29pm
Veryusefulthanks.Workedperfectly.
AndreasSchuth Postauthor
July30,2014at2:38pm
GladIcouldcontribute
PrasannaKumarKorada
August12,2014at3:42am
HiAndreas,
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 10/11
1/9/2017 SecondaryIndexonInfoObjectmasterdatatablesinRSD1|SAPBlogs
WeareonBW731SPlevel003andsystemisnotallowingusto
implementthisnote.
Anysuggestionsonthis???
AndreasSchuth Postauthor
August12,2014at7:19am
HelloPrasanna,
Itsnotpossibletoimplementthisnotcositisnotvalidfor
SP3.
-> Release 731 SAPKW73105 SAPKW73110
IfyouplantoupgradeanytimesoonhigherthanSP11,youcan
enablethefeatureusing.
RSADMIN-Parameter -> RS_ENABLE_MD_SECONDARY_INDEXES.
Hopethishelps
SumanChakravarthyK
August26,2014at8:26am
Veryvitaltoreadmasterdatafaster. Thankyou
https://blogs.sap.com/2013/11/29/secondaryindexoninfoobjectmasterdatatablesinrsd1/ 11/11