work flow questions

Upload: mirza2010

Post on 04-Jun-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Work Flow Questions

    1/5

    SAP Workflow Interview Questions & AnswersWhat are the different types of WF Agents?1.Possible AgentsUsers who are authorized to exeute the task!onfigured during Task definition "#rg Unit$ Position$ User$ Work !enter$ %ole$ %uleIf a 'ask is onfigured as (eneral 'ask$ then all users beo)e *ossible users.

    +.%es*onsible Agents'he users to who) the work ite) needs to be sent.'his is set during Stepdefinition. ,ote that Possible agents are defined during 'ask definition. "#rg Unit$ Position$User$ Work !enter$ %ole$ %ule$ !ontainer -le)ent,ote 'he work ite) rei*ients is deter)ined b/ intersetion of Possible Agents and %es*onsible Agents.

    0.Atual AgentsAtual user who exeuted the dialog task

    .-xluded AgentsUsers who are not su**osed to exeute the dialog task "even if the/ are in *ossible agents

    A very good Book for learning and Practicing Workflow

    Pratial Workflow for Sa* +ed

    What are the agent determination techniques? %ule %esolution with res*onsibilit/ 2el*ful when a set of stati *ositions are res*onsible for ation. %ule resolution with 3untion "34 2el*ful when agents are deter)ined d/na)iall/ fro) business logi. %ule resolution with #4 Usuall/ used in !%4. 2ave not used %ule resolution with 3untion$ but as/nhronousl/ 'his is through a lass and a )ethod. Initiall/ WI is reated instatus read/ without agent. 5ater agent is assigned. 'his is suitable for agent deter)ination having o)*lex logi. Users %arel/ used. %ole -x A6AP78-9-5#P-% #4 ob:ets "Position$ #rg Unit$ work enter -x*ression A ontainer ele)ent ontaining the agents.

    Containers Workflow !ontainer

    'ask !ontainer

    SW!7(-'7!#,'AI,-%SW!7(-'7'A65-SW!7S-'7!#,'AI,-%SW!7S-'7'A65-

    -vent !ontainer4ethod !ontainer%ule !ontainer 3or resolving rules

    Business !"ects ;e/ 3ields Attributes 8atabase Auto)atiall/ gets *o*ulated b/ s/ste) ode

    9irtual

  • 8/13/2019 Work Flow Questions

    2/5

    34 6API 'ode 8ialog 4odule %e*ort #ther "6# *rogra)

    #o$ to e%tend a B?(ot SW#1 and enter a 6# that /ou want to extend. !lik on =,ew Subt/*e> (ive all the details.(o bak to SW?1$ enter the 6#$ and goto Settings 8elegate.-xa)*le6US@?1 ,otifiation$6US1??1 4aterial$6US+?1+ Purhase #rder$6US1?B -)*lo/ee

    &arious status of B 4odeled ,ot aessible at runti)e I)*le)ented ,ot read/ to be used$ Internal use onl/ %eleased 3or usto)er to use #bsolete 8on>t use an/)ore

    To change attri!ute values from methods of a B SW!7(-'7!#,'AI,-% SW!7S-'7!#,'AI,-%

    -vents#o$ to create 'vents? 2% 'ables SW-2%+C0 A6AP !ode user -xit SW-7-9-,'7!%-A'- !hange 8ou)ent SW-! Status )anage)ent 4essage !ontrol -vent 5inkage SW-+

    Su!type(;e/ field annot be reated. 4ethods and attributes an be reated.

    )elegate( If /ou want to hange the funtionalit/ of a )ethod$ define a sub t/*e$ redefine the )ethod$ delegate the *arentbusiness ob:et to hild ob:et.*nterface Interfae is a o)bination of Attributes$ 4ethods and -vents$ to redue the redundan/ in definition. I3SAP !o))on interfae for all 6#s. It has following )ethods 4ethod 8is*la/ 4ethod -xistene !hek AttributeD #b:et'/*e

    )ifferent Workflo$ Steps activities !ondition 4ulti*le !onditions

    Until 5oo* 3ork Send 4ail !ontainer #*erations -vent !reator Wait -vent Proess !ontrol

    )ifferent deadline conditions %eEuested Start When this date is )et$ onl/ then the work ite) will start exeution$ or available for taking ation"dialog.

  • 8/13/2019 Work Flow Questions

    3/5

    5atest Start When a date )entioned here is )et$ it an send an e)ail$ or an be )odeled to do so)ething ation. %eEuested -nd Sa)e as 5atest Start 5atest -nd Sa)e as 5atest Start

    *mportant Tcodes Workflow 'oolbox SWUS Si)ulate -vent SWU?

    6usiness #b:et %e*ositor/ SW?1 -vent 'rae SW-5 "S Workite)s *er task SWI+73%-Q SWU- -vent si)ulate SW-5 -vent log SW-5S Set event log #, SW-+ 5inkage between -vent and Workflow SW-2%+ -vent linkage in 2% SWU0 Workflow usto)izing SWU7#6U3 S/nhronize buffers SWI 5ook into other user>s S6WP

    What are the *mportant !ackground +o!s for $orkflo$?( SWW82-F 3or deadline )onitoring SWW-%%- 3or error 4onitoring

    SW-QS%9 3or -vent Queue 8eliver/Workflo$ e%perience( What are the workflows reated b/ /ouG Worked u*on b/ /ouG

    Function ,odule that creates $orkflo$ SAP7WAPI7S'A%'7W#%;35#W SAP7WAPI7!%-A'-7-9-,' SAP7WAPI7W#%;I'-47%-!IPI-,'S SAP7WAPI7(-'7W#%;I'-478-'AI5

    When a infotype action is performed- an event should trigger- and a $orkflo$ su!sequently. #o$ can* configure it? Answer 'ode SW-2%+

    When a infotype action is performed- an F, should trigger- and a $orkflo$ su!sequently. #o$ can *configure it? Answer 'ode SW-2%+

    Workflo$ is not triggering... $hat can !e the reason? What are the different wa/s of triggering a workflowG 'riggering -vents$ whih are set u* in SW-+ "generi$ SW-2%+ "2% SAP7WAPI7S'A%'7W#%;35#W

    Workflo$ triggered- !ut it did not come to the user- $hy?

    What are the difference !et$een a Business !"ect and a Class?

    #o$ to achieve dynamic parallel processing? 'here are three wa/s a *arallel *roessing an be i)*le)ented

    8/na)i *arallel *roessing using a )ultiHline ontainer ele)ent 3ork "0 out of Work Eueue In d/na)i *roessing the t/*e of eah entr/ in the table have to be of sa)e t/*e. Sa)e task will be *roessed for eah line of the )ultiHline ontainer. It an be a dialog or bakground task. 8eadline)onitoring$ binding$ agent deter)ination will be sa)e for eah work ite) generated 'o ahieve$ go to4isellaneousJ in the ativit/$ and enter the )ulti line ontainer ele)ent.

    #o$ to notify a user immediately in /01 that he has got an email? 4ark the *riorit/ as =1> -x*ress

  • 8/13/2019 Work Flow Questions

    4/5

    #o$ can $e de!ug a $orkflo$? If it is a dialog task$ /ou an set break*oint in the )ethod alled b/ the task If it is a )ethod that /ou want to debug$ use SW#1$ and reate a instane of the ob:et and debug the )ethods If it is a bakground task$ and /ou are in develo*)ent lient$ /ou an do the following. !reate an infinite loo* inthe )ethod /ou want to debug. (o to S4? "*roesses overview and selet the relevant ite)$ and selet debug fro)o*tion.

    #uge num!er of events is getting created in a short duration of time- and thus creating a huge loadon the system and making it very slo$. Solution? -nable event Eueue. It will ensure that triggered events are reeived in a *hased )anner. 'his needs to be donewhile *roviding event linkages.

    Why 2Process Control3 is used? What are its features? =Proess !ontrol> is used to )ani*ulate another work ite) of the workflow during runti)e. =Proess !ontrol> is usuall/ used to )odel the workflow when deadlines are reahed. SAP offers standardbehaviors as *art of *roess ontrol.

    !anel Work ite) 'arget WI is logiall/ deleted. SubseEuent tasks are not exeuted. Preondition is that Proessontrol and the target WI have to be in different branhes of the sa)e fork.Set Work ite) to obsolete 'he target WI is set to o)*lete$ and *roessing ontinues in the branh *roessingobsolete.!anel Workflow !urrent workflow is set to =!o)*lete>. If this is the sub workflow$ then the ontrol goes to su*erH

    ordinate workflow.!o)*lete "ter)inate Workflow Sa)e as above$ but the branh of su*erHordinate workflow whih ontains theurrent subHworkflow will not be ontinued.!anel Workflow inluding all allers Sa)e as above$ but all allers also will be =!#4P5-'->d.

    What is the integration point $ith 'SS Portal?'ode SW39ISUPortal onfig file for UW5

    What are the types of $ork items? 8ialog Work ite) H W 6akground work ite) Workflow work ite) Work Eueue work ite) 4issed deadline work ite) When a deadline is )issed a )issed deadline workite) with the )essage a**ears in

    inbox

    What are the different statuses of a $ork item? Waiting %ead/ %eserved In*roess -xeuted "=onfir) end of *roessing> in task definition !o)*leted 5ogiall/ deleted -rror)ifference !et$een Asynchronous and Synchronous methods in a task A work ite) reated as *art of s/nhronous in loked until end of the )ethod exeution. 6ut in as/nhronous$ workite) is loked onl/ until start of )ethod exeution.

    At least one ter)inating event is reEuired for a task using As/nhronous task

    What is the use of secondary methods in an Activity? A )odal all 6efore work ite) exeuting After work ite) exeution

    What is the B method called for the task $hich calls 4W5 W) screens? Why?-F'S%9 HHK P%#!-SS

    What are Programmer e%its? And $hy are they used?

  • 8/13/2019 Work Flow Questions

    5/5

    What is the use of 6Advance $ith dialog7?If this indiator is set for an ativit/$ workflow s/ste) heks if the *roesser of urrent task is also a rei*ient for nexttask. If /es$ then the next task will be exeuted i))ediatel/.