Hope this simple guide will help when you want Schedule pas admin load procedures.
Guideto scheduleloading
processeswithinPASAdministrator
You must createa dedicated userto runtheimplementation timetableproceedings (this isthe recommendation of theofficial manualofSAP), the user must
have administrator permissions(security
level =supervisor)
Forproceduresrun automatically
loadsthe current periodonly
to uploaddatato
thecurrentday
ormonth(depending
onfrequency), two lines of code
are used, the first indicatesif the periodis monthly,or diary, etcwith
SETMONTHLYPERIOD,
SET PERIOD DAILY, etc,and the secondtells
youpull thecurrentmonth ordaywith
SET PERIOD TODAY.
Thisloading procedurein thesectionwhere
theKPIis specified andrefreshdimensionsand
the time periodto be loadedand beforethe connection andquery.
You must create afile (orseveral) with
the instructions to executeduring
loading/schedulingtoeasethis file
is placed in thehome directorylocationwithin thePAS
AdministratorforMuniguate, the full path andnameof the test filecommand
is:
C:\ ProgramFiles
\SAPBusinessObjects\StrategyManagement \
ApplicationServer\ home\ejecutarprocedures.batch
Ifnot put it inthis
directoryHOME, at the time of
schedulingor run the filefrom
the console, you must pass the full path andnot just the name. This file contains the
script youwantto
schedule, andhecould putmultiplecalls
cargoprocedures, not just one,
so you could callall proceduresin one file, or create a filefor each procedure.
The scriptshould
containinstructionsfor running
proceduresthat would be usedfromthe command lineof
thePASAdministrator, ie:
USE to selectwhichdatabase/ hubuse
andJOBto
execute a procedurewithin thatnature,
but alsothis,before
selectingthe database/cubethe scriptrequires
thatall connections tonature
are killed,this is achieved by:
CONNTOKILL
SUPcube_name
Theycould performproceduresrunsmultiple
cubeswithin a singlefile,
youshouldonly
have aSUPCONN
TOKILLnature
andnatureUSE
EXCfor each cube.
When you finish makingprocedure calls,
indicate the end of thelogand filewith the following lines:
TRACEOFFBOTH
EXITCLEAR
proceduresto runanother cube
CONNTOKILL
SUPCubo2
USEEXCCubo2
JOBprocedimiento4
JOBprocedimiento5
.......
Stopgeneration...
bitacora
TRACEOFFBOTH
Exit andclean...
EXITCLEAR
Below, you can see the outline
or structureof a file thatexecutes various processeswithinmultiple cubesas follows:
Generation... Turnthelogandarchivelognaming the
TRACEBOTH'ejecutarprocedures.txt'; extUPDATE
Sure...there are no connectionsto the hubtoupdate
CONNTOKILL
SUPcubo1
Usethemodel
...inexclusive
mode
USEEXCcubo1
Call...proceduresto be executedin the bucket
JOBprocedure1
JOBprocedure.2
JOBproceeding3
Callmoreprocedures
...
Perform...steps
similar tothe aboveprocedures
to runanother cube
CONNTOKILL
SUPCubo2
USEEXCCubo2
JOBprocedimiento4
JOBprocedimiento5
Stopgeneration...
bitacora
TRACEOFFBOTH
Exit andclean...
EXITCLEAR