Vous êtes sur la page 1sur 14

GetStarted

Solutions

Partner

Community

Support

About

Training

Community

Developer

Blogs

RebuildPMInfostructures
(LIS)
June1,2016

| 97Views |
JogeswaraRaoK
morebythisauthor

PLMEnterpriseAssetManagement(EAM)/PlantMaintenance(PM)
Solution | abap

share
0

share
0

tweet

Follow

Friends,
This subject is of a frequently asked nature and the documentation of
knowledge I have on the subject, has been pending since long. When I
rebuilt the first infostructure (S070) around 3years ago, my learning started
on this. As you know learning does not happen in a single event, it took
considerable time to know about various aspects of LIS rebuilding. I had
been replying to queries with the then knowledge I had. I delayed
documentingofthesameuntilnow,withanobjectiveofcontentenrichment.
The stuff here answers the FAQ, most of our SAPPM users / consultants
askabout.

share
0

1
like

Actions

Sotheobjectiveisto
Share my knowledge about how I rebuild SAPPM
infostructureswheneverneedarises.
IunderstoodtheLIStablesthisway:
LIS, namely the Logistic Info Structure is a table having rows
withaggregatedvaluesofdatafromregulartables.
Means,whenuserscreateNotifications,eachNotificationdata
is stored in tables such as QMEL, QMFE, QMSM, QMUR,
QMMAandsoon,asonerowforeachNotification.Similarlyin
case of Orders the data is filled in tables AUFK, AFIH, AFVC,
AFRUandsoon.ThesearetheregulartablesIamreferringto
as.
NowabouthowtheLISisrelatedtothesetables?Forexample
my QMEL table is having 10,000 rows of Breakdown
Notification, which were created on say 100 Equipments, then
the related LIS namely S070 will be containing the summery
data for these 100 Equipments monthwise. Means here the
rows will far less than 10,000, because these give Equipment
wisetotalsforaperiod.Hopeyoucouldfollow.
Andthen,howthisLIStableisfilled?Beginnersoftenexpectto
seethedatachangesinLISrelatedtcodes(PMISreportsinour
context)assoonasaNotificationattainsNOCO.Butitdoesnot
happen so. A standard LIS update frequency is set via tcode
OMOS which usually is Monthly. We can change it to as
frequent as Daily in these settings. (But it is a rare practice to
alter).
HerecomestheneedofRebuild.
Supposethereisabusinessrequirementinthelastdays
of a month to see the uptodate PMIS reports on
Breakdowns like MCJB, MCJC, MCI4 etc. including the
currentmonththen,IwouldneedtoupdatetheLISS070
manually.
OR if I doubt inconsistencies in the data displayed by
these PMIS tcodes then I would need to rebuild the
correspondingLIS.

Incaseslikethesethepresentposthelps.

Andmostimportantly,therowsofaLISwithversionvalue000
only are considered for the PMIS reports. (This applies to LIS
basedreportsofothermodulesalso)

TheObjectsofRebuildingInfostructureinSAPPM:
ThetcodesinvolvedhereareOLPMandOLIX.

Beforeweseewhatthesetcodesareabout,weseetheLISlistrelevantto
SAPPM.Theseare:

(ExpectingnottoreceiveanyquerieshereonspecificLISoftheabovelist,
asthisisnotthepresenttopic)

OLPM
OLPM is a tcode used to setup a version for PM Infostructures
whose list is shown above. Now we see what is a version in LIS
table:
A version is a 3char field in the LIS table. Rows with version value
000 are meant for reports. In the process of rebuilding, often we
create temporary versions with values like &(0 , &(1 . I repeat
here,forPMISreportsonlytherowswithversionvalue000matter.
There is no role of rows with version values other than 000 those
areexistingintheLIStable.
Coming back to OLPM tcode, it is a tool to set up a version >A
temporaryversionorareportsversion(000).

OLIX
ThentcodeOLIXisusedto:
DeleteaversionfromaInfostructure.(OptionDeleteversion)
CopyasourceversiontoaTargetversion.(OptionCopyversion)
Copy a source version to a Target version and at the same time
deletethesourceversion.(OptionCopy+delete)

NOTE:
OLIX tcode is common across LIS of all SAP modules for the purpose of
abovelistedfunctions,butOLPMisexclusivelyforSAPPMandeveryLIS
ofothermoduleswillhaveitsowntcodeequivalenttoOLPM.

NowaboutHowtheLISisrebuilt
Suppose I am in a situation already described as an example in the
beginning, where I can not wait for OMOS scheduled update of LIS to
happen and I need to do it manually say for LIS S070. (Another example
situationcanbeaninconsistencyinPMISreports,whichcouldforceyouto
rebuildtheLIS).

Step1OLPM

Saveunderversion:Wegavetemporaryversionname&(0.Incase
rowsalreadyexistinginLISwiththisversionvalue,systemasksyou
whethertodelete,youshouldacceptthisORyoushouldgiveanew
versionnamesuchas&(1.
NumberofParallelprocesses:Putvalue1here.
Block all documents : Better Tick this to prevent creation of more
data by users during this rebuild, which would not reflect in the
PMISreports.ForexampleduringthisrunwithwiththisTick,ifyou
create any Notification it will be prevented from Saving by throwing
anerrormessagelikethis:

(Itisadifferentmaterthat,suchNotificationnumbersarelostforever.You
willnotfindthisNotificationnumberinthesystem.Andthenextsuccessful
Notificationnumberwillbeanumbernexttothisnumber.)

NowExecute.

My experience here is that this step is the time consuming one. My


systemtakesabout90to120minforthistaskwheretherelatedtables
have around 2000K records. Then it displays the information like this
one.

Step2OLIX
Now you are ready with aTemporary version records to be copied to Final
versionnamely000.
Asafirststephere,usetheDeleteversionoption>Givevalue000
in the field > Give value 000 in the Source version and Execute.
Withthisactyouaredeletingall000rowsfromtheLIS.Ifthisisnot
done your present rebuild will double the statistics in the PMIS
reports.
Now come back to the initial screen of OLIX and click on Copy +
delete.In the next screen ensure that you have &(0yourtemporary
versionintheSourceversionfieldand000intheTargetversionfield.
Seethispicture.

NowExecute.

Thisstepwillnottakemuchtime(under5min).Yougetinformationsimilar
totheabovepictureinthecaseofOLPM.

Thatsall,theRebuildiscomplete.

Note:
IhaveexperimentedthefollowingwaybyreducingtheroleofOLIX.
FirstIdeletedtheversion000usingOLIX.
ThenIexecutedOLPMinthesamemannerasexplainedabovebuy
with Save under version as 000 . This means without creating a

TemporaryversionandcopyingittoTargetversion000inOLIX,we
arecreating000directlyusingOLPM.
Ifoundnoissues.
But it is believed that above mentioned procedure of Temporary
version Copying to 000 version using OLIX is believed to be the
Bestpractice.

I think the job is done and it is time to stop. Hope members will be
benefitedwiththiswriteup.
Here is a related post after knowing the above concepts: Hierarchical

EquipmentAvailabilityCalculationsonF/Locns
Authorsotherposts
Regards

KJogeswaraRao

AlertModerator

20Comments

PSR
June2,2016at4:53am

HiSir,
Yourwriteupsarealwayshelpful,nodoubtitwillbebeneficialtoall
membersasneedarises.Theinformationwhatyousharedonrebuild

SAPPMinfostructuresisquiteinterestingandthanksalotforthesame.
WarmRegards,
PSR

ShubhamGupta
June2,2016at5:35am

ThanksJogeshwaraSir,
Thisisverygooddocument.IwasLookingforsuchdocument.
Regards,
Shubham

JogeswaraRaoK Postauthor
June2,2016at6:03am

MypleasureShubhamandPSR.
Regards

KJogeswaraRao

SameerSinha
June3,2016at9:28am

Nicedocumentsir.
wheniamrunningthelaststepthatiscopy+deletesysutemisaskingfor
copymethod.whatkindofcopymethodshouldiassignthereastherewere
noF4helpoptions.
Regards,
Sameer

JogeswaraRaoK Postauthor
June3,2016at9:55am

HelloSameer,
ItwasduetowrongoptionshowingintheearlierOLIXscreen
shot(lastpictureofthepost)whereanunintentionalmouse
clickchangedtheoptionintheTransformationblock.Itwas

showingAutomaticdataenhancement.ButitshouldbetheNo
copymethodwhichcomesbydefault.
Ihavecorrectedit.Thankyou.
Regards

KJogeswaraRao

GauravSolanki
June7,2016at5:56am

HiSir
Greatdocumentsir.Itsveryhelpfull
Regards
gauravSolanki

JogeswaraRaoK Postauthor
June7,2016at6:13am

ThankyouGaurav
Regards

KJogeswaraRao

LazaroEduardoDiazGomez
June12,2016at12:19pm

NicedocumentthanksforsharingSR.
Bestregards

JogeswaraRaoK Postauthor
June12,2016at12:23pm

ThankyouEduardo
Youareverykind.

Regards

KJogeswaraRao

LALITSEJWAL
June15,2016at8:28am

HiSir,
Itsreallyhelpful&informativewriteup.
BR
LalitSejwal

JogeswaraRaoK Postauthor
June15,2016at8:31am

SoniceofyoucommunicatingyouropiniononthispostLALIT.
Regards

KJogeswaraRao

MuradAhmedShaikh
June21,2016at7:36am

DearJogeswara..
Thanks..Straightandsimplehittingnailtothepoint.
Whilefollowingyourdocumentlinetoline,wordtoword,iobservedsome
typoerrorwhichidoubthaveoccuredwhilewritingthepost.Kindlycorrect
thesame:
*Deleteaversionfromainfostructure.(OptionDeleteversion)
*CopyasourceversiontoaTargetversion.(OptionCopyVersion)

Regards
Murad

JogeswaraRaoK Postauthor
June21,2016at8:42am

Murad
Thankyouforthepraiseforthepost.Iappreciateyour
keennessingoingthroughthepostwordtowrod.Andthankyou
fornoticingthetypoandinforming.Icorrecteditimmediately.
Regards

KJogeswaraRao
PS:YoumayRatethepostaswellatMyRating.

HariKrishnaKoppisetti
June27,2016at7:02am

Nicedocumentandyourpostsaremostvaluableforthelearnersaswellas
experiencedteams

ShubhamGupta
June30,2016at3:25am

DearJogeshwaraSir,
Ihadadoubt,TcodeOMOSwherewedefineupdatefrequency,isit
updatingtheInfoStructureautomaticallyorwehavetorunTcodeOLPM
wheneverweneedtoupdateLIS.
Secondly,IwanttofindtheprogramfortheInfoStructure,howcanifindit
asuserwantstocreatebatchjobforupdatingdataininfostructure
Regards,
Shubham

JogeswaraRaoK Postauthor
June30,2016at3:58am

HiShubham

InthecaseofOMOS(standardsettingwithevery
implementation),youneednotbotheraboutRebuilding(OLPM
etc).
Inthesecondquery,youareaskingaboutaprogramwhich
updatestheLIS.Inourcaseitistheprogramwhichhasthe
tcodeOLPM.i.e.,RIPMS001.
Inthisconnection,pleasegothroughapostreferredatthe
endofthethispost,whichgivesyouanidea.

Regards

KJogeswaraRao

ShubhamGupta
June30,2016at5:12am

ThanksJogeshwaraSir,
IficheckTCodeOMOS,theUserdefinedinfo
structureshasUpdatesCarriedoutatPosting
Periodisselected.SoitmeansthatInfoStructure
datawillberebuildoneveryPeriod??
Dowerequireanybatchjobforupdatinginfo
structureseparately??
Regards,
Shubham

JogeswaraRaoK Postauthor
June30,2016at5:23am

Perhaps,
Weneedtostudyit.Mystandard
settingssincebeginningisMonthly.I
observedthatalso.
Tostudyyourcase,takeanEquipment
andruntheMCJB.Keepascreen
shot.NowcreateaMalfunction
NotificationonthisEquipmentandTick

theBreakdownindicatorandfillMalfn
Enddatetime,andSavetheNotifn.
NowyourunMCJB.Seethe
difference.Iftheoutputhaschanged
takingintoaccountthenewlycreated
Notification,thenitshowsthatitis
updatinginstantaneously.Inthiscase
obviouslyBackgroundjobisnot
required.
Ifitisnotso,ithasgotdifferent
meaningwhichweneedtounderstand
(throughresearch)
Regards

KJogeswaraRao

ShubhamGupta
June30,2016at5:36am

IncaseofMonthly
update,itwillgetupdated
monthly,andweneednot
runOLPMTcode??

JogeswaraRaoK
Postauthor
June30,2016at5:58am

Yes.

Commentsareclosed.

Share & Follow

Privacy

TermsofUse

LegalDisclosure

Copyright

Trademark

Sitemap

Newsletter

Vous aimerez peut-être aussi