SAP Workflow Monitoring

Download SAP Workflow Monitoring

Post on 12-Apr-2015

457 views

Category:

Documents

13 download

Embed Size (px)

DESCRIPTION

SAP Workflow Monitoring

TRANSCRIPT

BestPractice:SAPWorkflowMonitoring

SAP Workflow MonitoringBest Practice for Solution ManagementVersionDate:July2007 ThenewestversionofthisBestPracticecanbe obtainedthroughtheSAPSolutionManagerContents 1 Introduction .............................................................................................................................3 Applicability,GoalsandRequirement.................................................................................3 PreliminaryInformation......................................................................................................5 2 SAPWorkflowFunctionality.....................................................................................................7 3 SAPWorkflowMonitoringandAnalysis .................................................................................10 3.1 SAPWorkflowlog............................................................................................................10 3.2 MonitoringandAnalysisTools..........................................................................................16 3.2.1 BacklogMonitoringandAnalysis..............................................................................19 3.2.1.1 TransactionSWI1SelectionreportforSAPWorkflows ...................................19 3.2.1.2 TransactionSWI2_FREQ WorkItemsperTask ..............................................23 3.2.1.3 TransactionSWI2_ADM1 WorkItemsWithoutAgents....................................26 3.2.1.4 TransactionSWI6SAPWorkflowsforObject .................................................29 3.2.2 ErrorMonitoringandAnalysis...................................................................................32 3.2.2.1 TransactionSWI2_DIAGDiagnosisofSAPWorkflowswitherrors..................33 3.2.2.2 TransactionSWUDSAPWorkflowDiagnosis.................................................34 3.2.2.3 TransactionSM58tRFCMonitor....................................................................42 3.2.2.4 TransactionSWPRRestartSAPWorkflow.....................................................44 3.2.2.5 TransactionSWPCContinueSAPWorkflow ..................................................44 3.2.2.6 TransactionPFTC GeneralTaskMaintenance ..............................................45 3.2.2.7 TransactionSWDD SAPWorkflowBuilder ....................................................47 3.2.2.8 TransactionSWO1BusinessObjectBuilder..................................................47 3.2.2.9 TransactionSWEQADMEventQueueAdministration ....................................49 3.2.2.10 TransactionSM37SAPWorkflowrelatedJobMonitoring .............................50 3.2.2.11 Errorhandlingroadmap ..................................................................................50 3.2.3 PerformanceMonitoringandAnalysis ......................................................................52 3.2.3.1 TransactionSWI5 Workloadanalysis ............................................................52 3.2.3.2 TransactionST03(ST03N) WorkloadMonitor ................................................56 3.2.3.3 TransactionSTADStatisticalRecords ............................................................57 3.2.3.4 TransactionST12SingleTransactionAnalysis ...............................................58 3.2.4 ResourceMonitoring................................................................................................59 3.2.4.1 TransactionSMQSQoutScheduler ...............................................................59 3.2.5 FurtherInformation ..................................................................................................60 3.2.5.1 Troubleshooting...............................................................................................60 3.2.5.2 Literature.........................................................................................................60 1.1 1.2

BestPractice:SAPWorkflowMonitoring

2

3.2.5.3 BackgroundInformationandReferences .........................................................60 3.2.5.4 FeedbackandQuestions .................................................................................60 3.2.6 APPENDIX:WorkItemArchiving..............................................................................61 3.2.6.1 TransactionSWW_SARA ................................................................................61

2007SAPAG

BestPractice:SAPWorkflowMonitoring

1 Introduction1.1 Applicability, Goals and RequirementThisBestPracticegivesanoverviewonSAPWorkflow monitoring,themaintoolsandtheirfunctions. ThisenableseachresponsibleteamtomonitorSAPWorkflowsoptimally,accordingtotheir responsibilities. ThisBestPracticedescribestheSAPWorkflow monitoringactivities,whichshouldbecarriedoutina particularproductiveenvironmentandonacontinuous/permanentbasis.Therefore,thisBestPractice willnottakeintoaccountcustomizingactivitiesthatareconsideredalreadycomplete. InordertoensuregoodperformanceoftheentireSAPsystem,youshouldtakeintoconsiderationthat creatingmanySAPWorkflowlogscancausetheSAPWorkflowrelatedtablestogrowsignificantlyin thedatabase.Intheappendixyouwillfindrecommendationsonhowtoarchiveworkitems. ThisBestPracticedocumentconsistsofthefollowingsections:Section1Introduction Thissectionexplainsthepurposeofthisdocument.

Section2SAPWorkflowFunctionality ThissectiongivesyouashortintroductiontoSAPWorkflow.

Section3SAPWorkflowMonitoringandAnalysis Thisisthemainsection,whichintroducestoyouvarioustoolstomonitorSAPWorkflowand analyzeerrorseffectively: o SAPWorkflow log SAPWorkflow logcontainsalltheimportantdataforadministrationandmonitoringof anSAPWorkflow.TheSAPWorkflowlogisthebesttoolavailableforgettingan overviewofanSAPWorkflow instanceandanalyzingit. Differenttransactionsareexplainedindetailinthesection3.2MonitoringandAnalysisTools. BacklogMonitoringandAnalysis WorkItemMonitoringenablesyoutodisplayWorkItems.Youcanseehowmany WorkItemsareexecutedpertypeortask. o ErrorMonitoringandAnalysis Inthissection,youwillfindvarioustoolstoanalyzeerrorsandalsotorestart erroneousItems. o PerformanceMonitoringandAnalysis ThetransactionsexplainedherewillhelpyoutoevaluateSAPWorkflowperformance andinvestigateaperformancebottleneck. o ResourceMonitoring Withresourcemonitoring,youcanensureifenoughresourcesareavailableto executeSAPWorkflow.

Section4FurtherInformation Additionalinformationisprovided.

Appendix: WorkItemArchiving WorkItemArchivingismentionedhere.Manyperformanceissuescanbecausedbythefact thatSAPWorkflowitemsarenotarchived.

GoalofUsingthisServiceTheSAPWorkflowanditsfunctionsoftenplayacentralroleintheSAPsystems.Torunanoperation withouterrorsanddelays,itisimportantthatallprocessstepsintheSAPWorkflowaremonitored. SAPWorkflow monitoringensuresthatthebusinessprocessesruninasmoothandreliableway.This

BestPractice:SAPWorkflowMonitoring BestPracticedocumentationsupportstheimplementationofSAPWorkflowmonitoringandthe developmentoftheSAPWorkflow monitoringconcept.

4

AlternativePractices YoucanhaveSAPexpertsdeliverthisBestPracticeonsitebyorderingaSolutionManagement Optimization(SMO)serviceforSAPInterfaceManagement.Thisserviceisexclusivelyavailablewithin anSAPSupportEngagement(thatis,SAPMaxAttention,SAPSafeguardingorSAPPremium Support).

StaffandSkillsRequirements SystemandSAPWorkflowadministratorsandotherpersonsresponsibleforSAPWorkflow managementmakeupthetargetgroupforthisdocument.ItisnecessarytospecifyanSAPWorkflow administrator.ThisadministratormonitorsthebusinessSAPWorkflowsandensuresundisturbed operation.TheresponsibilitiesanddifferenttasksmustbedefinedinanSAPWorkflowmonitoring concept. ToimplementthisBestPractice,yourequirethefollowingteams: ApplicationManagementTeam Thisteamprovidestheinformationonthebusinessbackgroundoftheinterfacesusedandknowsthe businessrequirementsfortheinterfaces: Businessdepartment Solutionsupportorganization(forexampletheBasisSupportortheApplicationSupport) Implementationprojectteam

BusinessProcessOperationsTeam TheBusinessProcessOperationsteamwillberesponsibleforapplyingtheresultingprocedures derivedfromimplementingthisbestpractice.Theyincludethefollowinggroups: Personsdesignatedtoperformbusinessprocessorientedmonitoringandensurethatthe processrunssmoothly(forexample,theBusinessProcessChampionforeachbusiness process) AllpartiesinyourSolutionSupportOrganizationandITdepartmentinvolvedinmonitoring focusedontheapplicationaspects(ApplicationSupport,DevelopmentSupport,Program SchedulingManagement)

SAPTechnologyOperationsTeam AllpartiesinyourSolutionSupportOrganizationandITdepartmentinvolvedinmonitoring focusedonthesystemadministrationside(ProgramSchedulingManagement,Software MonitoringTeam,SystemAdministrationTeamincludingtheSystemAdministrator)

BusinessProcessChampion TheBusinessProcessChampionisthepersoninthebusinessdepartmentthatisresponsible forthesuccessfulexecutionofthebusinessprocess.He/shecoordinatesallactivities necessaryforthebusinessprocess.Therefore,he/sheisusuallyresponsibleforthe escalationpathsincaseofproblems. Thebusinessprocesschampionisoftenasecondlevel intheescalationprocedure,iftheapplicationmonitoringteamneedstoescalateanissue.

NecessaryorUsefulTrainingsq q q q q

BIT600SAPBusinessSAPWorkflow BIT601SAPBusinessSAPWorkflowBuildandUse BIT603SAPBusinessSAPWorkflowandWebScenarios BIT610SAPBusinessSAPWorkflowProgramming ADM105 AdvancedR/3SystemAdministration

2007SAPAG

BestPractice:SAPWorkflowMonitoringq

5

ADM315WorkloadAnalysis

SystemRequirements TheinformationinthisdocumentreferstoreleasesSAPR/3Enterprise4.70andhigher.Forsystem access,usetheSAPGUI.

DurationandTiming SAPWorkflow monitoringshouldbecarriedoutinallpartsofthebusinessprocesswhichuseSAP Workflow.Monitoringshouldbecarriedoutatleastonceperday,dependingonusageofSAP Workflows.

1.2 Preliminary InformationThereareseveralwaysofdefiningSAPWorkflows: AnSAPWorkflowistheautomation