SAP Workflow Interview Questions With Answers
SAP Workflow Interview Questions With Answers
SAPWorkflowInterviewQuestionswithAnswers
SAPWorkflowInterviewQuestionswithAnswers
Q1.ListthevariousadvantagesofSAPBusinessWorkflow.
WorkflowprovidesnumerousadvantagestoSAPusersandconsultants:
ItallowsconsultantstocreatenewbusinessprocesseswithoutmodifyingthestandardSAPcode.
Workflowensuresthatthetasksareexecutedinthecorrectsequentialorder,involvingtherelevantpersonnel.
SAPBusinessWorkflowmayberunthroughtheinternetorintranetwebapplicationsviatheWebflowEngine.
DeadlineMonitoringfunctionalityisalsoincorporatedwithinSAPWorkflow.
Thetimelyexecutionofactivitiesisguaranteedevenwhenanumberofparties(users)areinvolved.
Workflowreducesbothtimeandexpenseinvolvedinmanagingbusinessactivities.
Q2.Workflowisnotstarting.Whatmightbepossiblereasonsandcorrespondingsolution?
Ifstartedbyanevent:
RunSWU_OBUFandchecktransactionSWU3forproblems.
CheckthatthelinkagebetweentheeventandtheworkflowexistsintransactionSWE2andisactivated.
ChecktransactionSWELtoseeifeventwascreated/getscreated(mayneedtransactionSWELStoturnSWEL
on).
TestifcreatingtheeventmanuallyinSWUEtriggerstheworkflow.
Checkifthereisastartconditionthatisntbeingsatisfied.
Checkiftheeventisinaqueue(ifeventqueueingisturnedon,seetransactionSWEQADM)
CheckWFBATCHintransactionSU01,seeifalliswell(e.g.passwordnotexpired)
Ifstarteddirectly(e.g.withfunctionmoduleSAP_WAPI_START_WORKFLOWnotrecommendedifitcanbeavoided):
RunSWU_OBUFandcheckSWU3forproblems
CheckifworkflowhasbeensettoGeneralTask
Q3.Whatisaworkitem?HowdoesitdifferfromasimpleSAPofficemailitem?
Aworkitemisaruntimeobjectgeneratedbyastepwithinaworkflow.Wheneveruserinteractionisrequired,the
respectiveusersareinformedviaworkitems.TheseworkitemswillbereceivedbytheuserintheirBusiness
Workplaceinbox,orotheremailapplicationsuchasMicrosoftOutlook&rights
Theworkitemmaybeauserdecisionoradialogformthatallowyoutoenterdataforstartingaprocesswithin
SAP,oraconfirmationofwhetheraparticulartaskmaybeperformed.Theuserthenchoosesanappropriate
optionwhichdeterminesthesubsequentbehavioroftheworkflowinquestion.Thereareavarietyofapplicable
workitems.Eachworkitemhasastatusreflectingthestageofprocessingatanygivenpointintime.
Aworkitemcomprisesoftextexplainingwhatactionneedstobetaken,whomtorefertoandanyinformation
pertinenttothebusinessobjectinvolved.
UnlikesimpleSAPofficemails,workitemsareactiveentities,astheydeterminethesubsequentdirectionofthe
workflow.SAPofficemailscanalsobedeletedfromtheinboxwithoutviewingthemwhereasaworkitemhastobe
executedtohaveitremovedfromyourinbox.
Q4.Whatisabackgroundworkitem?AretheydisplayedintheBusinessWorkplace?
Abackgroundworkitem(codeB)representstasksthatdonotrequireanyuserinteraction.Theyarecontrolledand
executedautomaticallybytheworkflowsystem,anddonotappearintheBusinessWorkplace.However,youmayview
themusingtheWorkItemSelectionReport.
Q5.Howtoachievedynamicparallelprocessing?
Therearethreewaysaparallelprocessingcanbeimplemented
DynamicparallelprocessingusingamultilinecontainerelementFork(3outof5)Workqueue
http://allinterviewquestion.blogspot.in/2014/12/sapworkflowinterviewquestions.html
1/5
10/11/2016
SAPWorkflowInterviewQuestionswithAnswers
Indynamicprocessingthetypeofeachentryinthetablehavetobeofsametype.
Sametaskwillbeprocessedforeachlineofthemultilinecontainer.Itcanbeadialogorbackgroundtask.Deadline
monitoring,binding,agentdeterminationwillbesameforeachworkitemgeneratedToachieve,gotoMiscellaneous
intheactivity,andenterthemultilinecontainerelement.
Q6.Howcanwedebugaworkflow?
Ifitisadialogtask,youcansetbreakpointinthemethodcalledbythetaskIfitisamethodthatyouwanttodebug,
useSWO1,andcreateainstanceoftheobjectanddebugthemethods.Ifitisabackgroundtask,andyouarein
developmentclient,youcandothefollowing.Createaninfiniteloopinthemethodyouwanttodebug.GotoSM50
(processesoverview)andselecttherelevantitem,andselectdebugfromoption.
Q7.IsthereanywaytoundeleteworkitemsinSAPworkflowafterIhavelogicallydeletedthemalready?
No.WhatyoucandoisrestarttheworkflowusingSWUE.Thiswillbethesameasrecreatingtheworkflowbecauseit
willstartatthepointwhereithaslogicallybeendeleted.
Q8.Howdoyousetupausertoreceiveapopupreminderwhenhe/shegetsanewWFmessage?
Youcanaccomplishthisbysettinguptheworkitemprioritytothehighestlevel.
Q9.Isitpossibletocreatetimedevents?
Youmayconsiderusingdeadlinemonitoringfacilities.Forexample:
Requestedstart,requestedendLateststartorlatestendontasks
Q10.WhatarethedifferenttypesofWFAgents?
PossibleAgents:>UserswhoareauthorizedtoexecutethetaskConfiguredduringTaskdefinition(OrgUnit,
Position,User,WorkCenter,Role,Rule)IfaTaskisconfiguredasGeneralTask,thenallusersbecomepossible
users.
ResponsibleAgents:>Theuserstowhomtheworkitemneedstobesent.ThisissetduringStepdefinition.
NotethatPossibleagentsaredefinedduringTaskdefinition.(OrgUnit,Position,User,WorkCenter,Role,Rule,
ContainerElement).
Note:TheworkitemrecipientsisdeterminedbyintersectionofPossibleAgentsandResponsibleAgents.
ActualAgents:>Actualuserwhoexecutedthedialogtask.
ExcludedAgents:>Userswhoarenotsupposedtoexecutethedialogtask(eveniftheyareinpossibleagents)
Q11.WhatareImportantTcodesinSAPWorkflow?
SWUS:WorkflowToolbox
SWU0:SimulateEvent
SWI2_FREQ:Workitemspertask
SWUE:Eventsimulate
SWELS:SeteventlogON
SWEHR2:EventlinkageinHR
SWU3:Workflowcustomizing
SWU_OBUF:Synchronizebuffers
SWI5:LookintootherusersSBWP
SWDD:Workflowbuilder
SWLD:SAPworkfloweasyaccesstoallworkflowrelatedtransactions
SW01:MaintainBusinessobjects(addnewattributes,methods,eventsetctostandardbusinessobjects)
SWE2:Activeeventlinkages,additionoptionsnotavailablebySWDDsuchassettingcheckfunctionmodule.
http://allinterviewquestion.blogspot.in/2014/12/sapworkflowinterviewquestions.html
2/5
10/11/2016
SAPWorkflowInterviewQuestionswithAnswers
SWWL_TOPLEVEL:DeleteworkflowitemsfromSBWP.
SWELLS:Start/stopeventtrace
SWEL:Vieweventtracereport
SWUD:Workflowdiagnosis
SWI2_DIAG:Troubleshootworkflowsinerror,restart
SWIA:Workflowadministrator
SWB_COND:Maintainworkflowstartcondition(hasprettypicsbutisespeciallyrubbish,everythingcanbedone
easierviaSWDD
SWNCONFIG:Sendemailstouserwithunreadworkitems
SWEC:Triggerworkflowonchangedoc
SWUY:Workflowwizardformessagelongtext
SBWP:Businessworkplace
PFTC:Maintain(change,display,copy)WFobjectsincludingtasks,workflowtemplates...
PFAC:MaintainRulesforworkflowsteps(canincludeABAPcode)
SM63:Events
SWI1:Workitemselection
SWI2_DEAD:Workflowitemswithmonitoreddeadline(itemsthatmisseddeadline)
SWI2_DURA:Workflowitemsbyprocessingduration.
Q12.Whatarethetypesofworkitems?
DialogWorkitem
Backgroundworkitem
Workflowworkitem
Workqueueworkitem
Misseddeadlineworkitem
Q13.Whatarethedifferentstatusesofaworkitem?
Waiting
Ready
Reserved
Inprocess
Executed(confirmendofprocessingintaskdefinition)
Completed
Logicallydeleted
Error
Q14.DifferencebetweenAsynchronousandSynchronousmethodsinatask.
Aworkitemcreatedaspartofsynchronousinlockeduntilendofthemethodexecution.Butinasynchronous,work
itemislockedonlyuntilstartofmethodexecution.
AtleastoneterminatingeventisrequiredforataskusingAsynchronoustaskDifferentWorkflow
Q15.WhataredifferentStepsactivitiesinSAPWorkflow?
Condition:
MultipleConditions:
UntilLoop:
Fork:
SendMail:
ContainerOperations:
EventCreator:
WaitEvent:
ProcessControl
http://allinterviewquestion.blogspot.in/2014/12/sapworkflowinterviewquestions.html
3/5
10/11/2016
SAPWorkflowInterviewQuestionswithAnswers
Q16.Whyismyworkitemgoingtoallusers?
ThisnormallyhappenswhenataskhasbeensettoGeneralTaskandtheagentassignmentfailstoreturnanagent
(orhasntbeenset)andtheTerminateifruleresolutionhasnoresultboxhasnotbeenchecked.Thisisusuallyfixed
bycheckingtheTerminateifruleresolutionhasnoresultbox
Q17.Namethetablesusedforstoringtheeventlinkages?
SWETYPECOUTypeLinkageTable
SWEINSTCOUInstanceLinkageTable
Q18.Workflowgotstuck/hanging.Whatarethestepsyouneedtofollowfordoinginvestigationof
reasoningforthis.
Somepossiblereasons/solutions:
RunSWU_OBUFandcheckSWU3forproblems(e.g.SWWDHEXorSWWERREnotrunning)
CheckforanyshortdumpsintransactionST22ifamethodishanginginthebackground.
CheckintransactionSWO1thatitisntmistakenlymarkedasDialogifthemethodisaDialogmethodthencheck
theagenthasntbeensetasWFBATCH.
CheckthatWFBATCHhasSAP_ALLrole.
Checkifthereisanerrorhandlingproblem,especiallyifamethodcallsafunction.
Q19.HowcanIlookinsideanotherusersSBWPworkflowinbox?
TransactionSWI5(assumingyouhavesufficientprivileges)
Q20.IsitpossibletoconfiguretheSAPworkflowtohaveapopupmessagesenttotheapproverinthe
instancethatPurchaseRequisitionsarereadyforthemtoacton?
YoucaneithersendanExpressEmailmessage,orifitisaworkitem,thenmakethePriority=9.Itwillsendan
expressmessagetotheRespectiveAgent.
Posted1stDecember2014byKalandiNayak
Labels:SAP,SAPWorkflow
3 Viewcomments
http://allinterviewquestion.blogspot.in/2014/12/sapworkflowinterviewquestions.html
4/5
10/11/2016
SAPWorkflowInterviewQuestionswithAnswers
3 comments
Add a comment
Top comments
All Interview Questions and Answers via Google+ 1 year ago (edited) - Shared publicly
#sap #sapworkow
+2
3
1 Reply
http://allinterviewquestion.blogspot.in/2014/12/sapworkflowinterviewquestions.html
5/5