Process Chains-Sap Academy

44
0 SAP AG 2003 C ontents D esign ofprocess chains Properties ofprocess chains Process C hains © SAP AG BW360 10-1

description

Process chain from Academy

Transcript of Process Chains-Sap Academy

0 SAP AG 2003Contents Design of process chains Properties of process chainsProcess Chains SAP AG BW360 10-10.2 SAP AG 2003Process Chains: Unit ObjectivesAt the conclusion of this unit, you will be able to: Use process chains SAP AG BW360 10-20.3 SAP AG 2003Process Chains: Overview DiagramArchitecture and CustomizingInfoCube Data Mode !ransport Management"eporting Performance!ransactiona Data !argets#$%tatisticsPartitioningAggregatesInde&ing'&traction and DataoadProcess ChainsOD% Objects SAP AG BW360 10-30.4 SAP AG 2003Introduction: !(pica Data )oad C(ceData Load MonitorData Target MaintenanceData Target Maintenance)oad into P%A)oad into OD%Activate Data in OD%)oad into Cube#uid Indices#uid D# %tatistics"o up AggregatesDrop Indices SAP AG BW360 10-40.5 SAP AG 2003*ob %cheduing and Monitoring with #$ +,-#.+,/CMonitoring of entire oad process not possibe 0different ogs for InfoCubes1 attribute changerun1 drop inde&1 23Compe& event chain scenarios necessar(Compicate restart of terminated processes There were certain limitations of event chains BW 2!"#$ which have %een solve& with the intro&'ction of (rocess chains! P) monitorin* e"ten&s %e+on& the &ata loa& (rocess itself! ,ovin* res(onsi%ilit+ means that the (re&ecessor (rocess is not res(onsi%le to start the s'ccessor (rocesses#! When a (rocess is com(lete$ an event is raise& to in&icate the com(letion of the (rocess! This event tri**ers the s'ccessor (rocess to receive the stat's of the (re&ecessor$ re-'est an+ nee&e& a&&itional information$ an& then e"ec'te! The s'ccessor (rocess is res(onsi%le to *ather information an& r'n correctl+! SAP AG BW360 10-.0.6 SAP AG 2003!ransaction "%PC: Process Chains MaintenenceGeneral ServicesStart ProcessAND (Last)OR (Each)EXOR (First)ABAP ProgramOperating Sstem !omman"Local Process !hainRemote Process !hainLoa" Process an" S#$se%#ent ProcessingData Loa"ing ProcessRea" PSA an" #p"ate "ata targetSave &ierarchF#rther Processing o' ODS O$(ect DataData E)port into E)ternal SstemsDelete Overlapping Re%#ests 'rom *n'o!#$eData +arget A"ministrationDelete *n"e)Generate *n"e)!onstr#ct Data$ase Statistics*nitial Fill o' Ne, AggregatesRoll -p o' Fille" Aggregates!ompression o' the *n'o!#$eActivate ODS O$(ect Data!omplete Deletion o' Data +arget !ontentsOther B.ProcessesAttri$#te !hange R#nA"(#stment o' +ime/Depen"ent AggregatesDeletion o' Re%#ests 'rom PSAStartP! *mme"iateLoa" DataP! !#stomer Attri$#tesAttri$0 !hangeP! !hange R#nData +arget !ontentsP! !#$e DeletionLoa" DataP! +ransaction DataODSO DataP! Activate (#st loa"e" re%#estANDP! !#$e "elete" an" ODS "ata activate" /as+ creation of (rocess chains via 0ra* 1 0ro(! )reation of items (ossi%le! SAP AG BW360 10-60.7 SAP AG 2003StartTRLoad DataTR TextsAttrib. ChangeTR Characteristics"%PC User Interface: #uiding a Process ChainDrag and dropDraw ine to connect processes Loa" Process an" S#$se%#ent ProcessingData Loa"ing ProcessRea" PSA an" #p"ate "ata targetSave &ierarchF#rther Processing o' ODS O$(ect DataData E)port into E)ternal SstemsDelete Overlapping Re%#ests 'rom *n'o!#$eData +arget A"ministrationDelete *n"e)Generate *n"e)!onstr#ct Data$ase Statistics*nitial Fill o' Ne, AggregatesRoll -p o' Fille" Aggregates!ompression o' the *n'o!#$eActivate ODS O$(ect Data!omplete Deletion o' Data +arget !ontentsOther B.ProcessesAttri$#te !hange R#nA"(#stment o' +ime/Depen"ent AggregatesDeletion o' Re%#ests 'rom PSAGeneral ServicesStart ProcessAND (Last)OR (Each)EXOR (First) When +o' &raw a line to connect (rocesses$ +o' are (rom(te& to in&icate whether the s'%se-'ent (rocess sho'l& e"ec'te %ase& on the s'ccess or the fail're of the (re&ecessor (rocess! 2n other wor&s$it is (ossi%le to sche&'le a (rocess to r'n onl+ if the (re&ecessor (rocess fails! SAP AG BW360 10-30.8 SAP AG 2003Automatic Insertion of Corresponding Process !(pesExample: 4ou drag and drop a data oad process to (our process chain1 the Inde& drop and the Inde& create process are automatica( inserted,f (ou want no corresponding processes to be inserted automatica(1 fag the 0user specific3 setting in the menu under %ettings Defaut Chainsf a process is inserted into the process chain the corresponding process variants are inserted into the process chain automatica(: SAP AG BW360 10-40.9 SAP AG 2003Coector ProcessesCoectors are used to manage mutipe processes that feed into the same subse5uent process, !he coectors avaiabe for #$ are: A6D: A of the processes that are direct predecessors must send an event in order for subse5uent processes to be e&ecuted O": A east one predecessor process must send an event !he first predecessor process that sends an event triggers the subse5uent process '7O": '&cusive 8O"9 %imiar to reguar 8O"91 but there is on( O6' e&ecution of the successor processes1 even if severa predecessor processes raise an event )ollector (rocesses allow the &esi*ner of a (rocess chain to tri**er a s'%se-'ent (rocess %ase& on whether certain con&itions are met %+ m'lti(le (re&ecessor (rocesses! A((lication (rocesses are the other t+(e of (rocesses 5 these re(resent BW activities s'ch as a**re*ate roll'($ etc! Altho'*h the 6A708 con&ition is im(lemente& for (rocess chains 'sin* the event chain f'nctionalit+from 2!"$ this event chain is internal an& cannot %e e&ite&! SAP AG BW360 10-90.10 SAP AG 2003Appication ProcessesAppication processes represent #$ activities that are t(pica( performed as part of #$ operations, '&ampes incude: Data oad Attribute.:ierarch( Change run Aggregate roup "eporting Agent %ettings!ther specia t(pes of appication processes e&ist: %tarter ; process that e&ists to trigger process chain e&ecution A#AP program Another process chain "emote process chains Operating %(stem command Customer buit process A starter (rocess is (art of ever+ (rocess chain! SAP AG BW360 10-100.11 SAP AG 2003%tart ProcessDirect scheduing:Job BIPR!C"SSTRIGG"R #i$$ be sched%$ed #hen the &rocess chain is acit'ated.%tart using Meta Chain of API:6o BIPR!C"SSTRIGG"R #i$$ be sched%$ed.Start o( the &rocess chain ha'e to be done'ia )* +RSPCAPIC,AI-START. or #ith another &rocess chain%cheduing Options for %AP #asis ; *ob %cheduer0on( used when ariant name and description The (rocess variant co'l& %e 'se& :'st %+ one (rocess chain! /ach (rocess chain co'l& %e starte& man'all+ or via ;ariant ; ConfigurationProcess B process t(pe C variantAdditionally: %e5uence at "untime: Det the variant and predecessor ist ChecA status information from predecessors '&ecution of the process "eport ending with status Instance: Messages and information written to tabe "%PCI6%!A6C' and "%PCP"OC'%%)OD at runtime "%PCI6%!A6C' are storing meta data for the successor process 0process t(pe1 variant ,,,3 "%PCP"OC'%%)OD: og information about the different processes coected at runtime A (rocess t+(e is an ABAP ?? o%:ect! The o%:ect is initiate& when it is time for a (rocess to r'n! The variant hol&s the s(ecific confi*'ration information for a (rocess! Aariant 5 )onfi*'ration /ach (rocess can have one or several variants ,aintenance of variant is s(ecific for ever+ (rocess t+(e 2nstance= Binstance for (rocess is li>e re-'est for info(ac>a*eC# sna(shot of the variant confi*'ration ta%le ;SP)AA;2A7TD# at r'ntime an& written to ta%le ;SP)27STA7)/ @o* information a%o't the &ifferent (rocesses collecte& at r'ntime an& written to ta%le ;SP)P;?)/SS@?G SAP AG BW360 10-130.14 SAP AG 2003'&ampe: %tructure of a Process ; Process !(peType ; Attribute Change "un '&ecute the hierarch( and attribute change run Process t(pes can be maintained via %ettings ; Process !(pes Do not change standard process t(pes 0if aowed3Change View "Possible Process Types": Details!ther B/ ProcessesAttrib%te Change R%n 2f stan&ar& (rocess t+(es can %e chan*e& &e(en&in* on its name ran*e transaction S/06#! 0onCt mo&if+ stan&ar& (rocess t+(es$ %'t +o' can create +o'r own (rocess t+(es see E?W T? 5 G'i&es on service!sa(!comF%w service1im(lemation Eow To !!! G'i&e#! ;SP) Settin*s ,aintain Process t+(e G Ta%leFmaintenance view ;SP;?)/SSTHP/S# S,30## contains all information a%o't the &efine& (rocess t+(es! SAP AG BW360 10-140.15 SAP AG 2003'&ampe: %tructure of a Process ; >ariant$ariant ; Configure the :ierarch( and Attribute Change run '&ecute the specific hierarch( and attribute change run for which hierarch(1 which InfoObject or which data oading processProcess Maintenance: Attribute Change Run1ariantAS-G2!OS+2&*ER2!&ANGEAS-G cost center hierarch attri$000E)ec#te +pE)ec#te *n'oPac3ageO$(ect Na+o Select4 Press F5 On +he O$(ect +pSelection (6) 5 Entries 'o#n"Restrictions(b-ect&*ERAR!&7*NFOOB8E!+LOAD*NGREPOR+1AR*(b-ect&ierarch*n'oO$(ectE)ec#te *n'oPac3a0Report 1ariants5 Entries 'o#n" Aariants have to %e create& for the (rocess t+(es! With variant settin*s the (rocess t+(e *ets necessar+ information for e"ec'tion!