You are on page 1of 2

11/23/2016

BindingDefinitionsfromEventContainerSAPBusinessWorkflowSAPLibrary

TheBestRunBusinessesRunSAP

TechnologyPlatform

SAPNetWeaver

7.3EHP1

BindingDefinitionsfromEventContainer
Use
Youcandefinebindingsfromtheeventcontainertothefollowingcontainers:
Taskcontainer
Workflowcontainer
Theeventmaycontaininformationthatyouwanttouseintheworkflow.Ifso,youmustreadthisinformation
fromtheeventcontainerfortheevent.Inorderfortheinformationthatistransportedaseventparametersin
thecontainerforthiseventtoreachtheworkflow,youcandefinethebindingfromtheeventcontainertothe
workflowcontainerinthewaitstep.

Features
Bindingdefinitiontoworkflowcontainer
Thisbindingcanbedefinedatthefollowingplaces:
Inthedefinitionofthemultisteptaskonthetabpage Triggeringevents
IntheWorkflowBuilderinthebasicdataoftheworkflowonthetabpage Start
IntheWorkflowBuilderinthestepdefinitionofawaitsteponthetabpage Control
Thisbindingenablesyoutotransfereventparametersofatriggeringeventoraneventforwhichtheworkflow
waitsduringexecutionintotheworkflow.

Note
Youcanonlyuseimportelementsoftheworkflowcontainerinabindingdefinitionfromeventparameters
ofatriggeringeventtoelementsoftheworkflowcontainer.
Bindingdefinitiontotaskcontainer
Thisbindingcanbedefinedinthedefinitionofthetaskonthetabpage Triggeringevents .

Activities
Assigningtheobjectreferencefortriggeringevents
Ifyouwanttousethereferencetotheobjectwhosestatuschangetheeventreportsinthetaskorworkflow,
youmustassignthisreferencetoanelementofthetaskcontainerortheworkflowcontainer.

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3c0661b4d51a5be10000000a42189e/content.htm

1/2

11/23/2016

BindingDefinitionsfromEventContainerSAPBusinessWorkflowSAPLibrary

TheobjectreferenceislocatedintheeventcontainerundertheelementID_Evt_Object.
Inthetaskcontainer,thereferencetotheobjecttobeprocessedmustalwaysbelocatedinthe
element_WI_Object_ID.
Thereisnostandardelementfortheobjectreferenceintheworkflowcontainer.Youdefinethis
elementintheworkflowcontainerwithadatatypereferencetotherelevantobjecttypeandassignitthe
valueoftheelement_Evt_Objectfromtheeventcontainerinthebindingdefinition.
Assigningtheeventcreatorfortriggeringevents
Ifyouwanttousetheinformationabouttheuserunderwhoseresponsibilitytheeventwascreatedinthetask
orworkflow,youmustassignthisinformationtoanelementinthetaskcontainerorworkflowcontainer.
Theusernameoftheuserinwhoseapplicationtheeventwascreatedislocatedintheeventcontainerunder
theelementID_Evt_Creator.
Thereisnostandardelementforthisinformationinthetaskcontainer.Ifapplicable,youdefinethis
elementinthetaskcontainerwithadatatypereferencetotheABAPDictionaryfieldWFSYSTAGENT
andassignitthevalueoftheelement_Evt_Creatorfromtheeventcontainerinthebindingdefinition.
Theelement_WF_Initiatorintheworkflowcontainerisforthisinformation.Inthebindingdefinition,
youassignthiselementthevalueoftheelement_Evt_Creatorfromtheeventcontainer.
Formoreinformation,seeOperationoftheBindingEditor.

C OPYR I GH T BY SAP SE OR AN SAP AF F I LI AT E C OM PAN Y. ALL R I GH T S R ESER VED . PR I N T ED F R OM SAP H ELP POR TAL.
(ht t p: / / help. s ap. c om )

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3c0661b4d51a5be10000000a42189e/content.htm

2/2

You might also like