How is being determined the agent of SRM Bid one step approval workflow (WS79000002)?

Imthiaz ahmed simthiaz at hotmail.com
Thu Jul 24 10:50:12 EDT 2008


Flavio,
  The agents are determined in the "create" method of the BO defined as the data type for Agent_0001.

Imthiaz Ahmed'Putting things right between two people is charity' - Hadith

> From: sap-wug-request at mit.edu> Subject: SAP-WUG Digest, Vol 44, Issue 58> To: sap-wug at mit.edu> Date: Thu, 24 Jul 2008 08:09:02 -0400> > Send SAP-WUG mailing list submissions to> sap-wug at mit.edu> > To subscribe or unsubscribe via the World Wide Web, visit> http://mailman.mit.edu/mailman/listinfo/sap-wug> or, via email, send a message with subject or body 'help' to> sap-wug-request at mit.edu> > You can reach the person managing the list at> sap-wug-owner at mit.edu> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of SAP-WUG digest..."> > > Today's Topics:> > 1. RE: Betr.: RE: Using custom attributes in the UWL> (Griffiths, Mark)> 2. How is being determined the agent of SRM Bid one step> approval workflow (WS79000002)? (Flavio Oliveira)> 3. Using custom attributes in the UWL (gm.duits at belastingdienst.nl)> 4. Formatting text in Details-screen of a Task in the UWL> (gm.duits at belastingdienst.nl)> 5. RE: Formatting text in Details-screen of a Task in the UWL> (Griffiths, Mark)> > > ----------------------------------------------------------------------> > Message: 1> Date: Wed, 23 Jul 2008 23:22:24 +0200> From: "Griffiths, Mark" <mark.griffiths at sap.com>> Subject: RE: Betr.: RE: Using custom attributes in the UWL> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>> Message-ID:> <9FB57F47D500C640B5EC8282D8AE80B4D76152 at dewdfe1n.wdf.sap.corp>> Content-Type: text/plain; charset="us-ascii"> > Create a container element in the TS task (if you are using an SAP one> you will need to copy it first and insert the copied task in your> workflow)> Bind to the element from the workflow (you may need to create a new> Business object attribute to hold the object-key without splitting it> between employee and trip number)> Now the task holds the key to BUS2089> In your XML, to read the object key you use CustomAttributeSource> id='webflow_container' to populate a custom attribute> Then once you have this value you can use it as in your code below, but> the key is now in your custom attribute not the externalobjectid.> > Good Luck,> > > Mark> > SAP UK> > -----Original Message-----> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf> Of gm.duits at belastingdienst.nl> Sent: 23 July 2008 11:02> To: SAP Workflow Users' Group> Subject: Betr.: RE: Using custom attributes in the UWL> > Hallo Mark,> > Thanks for the reply.> Yes, it's correct i am using a user decision.> About your solution.> Could you tell me in more detail how to solve the problem. I am quite> new> to workflow.> > Thanks.> > Kind regards,> > Maarten> > > > > > "Griffiths, Mark"> > <mark.griffiths at s> > ap.com>> Aan > Verzonden door: "SAP Workflow Users' Group"> > sap-wug-bounces at m <sap-wug at mit.edu>> > it.edu> Cc > > > > Onderwerp > 23-07-2008 11:37 RE: Using custom attributes in> > the UWL> > > > Antwoord a.u.b.> > aan> > "SAP Workflow> > Users' Group"> > <sap-wug at mit.edu>> > > > > > > > > > It looks like you are using a user decision?> > The problem is that externalOjectid holds the object key for the> DECISION business object rather than BUS2089.> > I got round this by creating an container element on the task to hold> the BUS2089 object key. You read this first from the container, and then> you can use value to read the ABAP_BOR attributes as you have done> below.> > Regards,> > > Mark> > SAP UK> > > -----Original Message-----> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf> Of gm.duits at belastingdienst.nl> Sent: 23 July 2008 07:08> To: sap-wug at mit.edu> Subject: Using custom attributes in the UWL> > > > > > > > > > > > > > > > > > > > > > Hello,> > > > What i would like to do is to show some custom attributes as columns in> > the UWL. In my workitem the BOR object BUS2089 (TRIP) is present, so i> > thought to make use of the statement CustomAttributeSource> id="ABAP_BOR"> in my UWL xml file (see below). I would like to show the attributes> > BEGINDATE and TOTALCOSTS. After uploading the xml the columns are> empty. I> also make use of the CustomAttributeSouce id="WEBFLOW_CONTAINER" and> that> column is displayed correctly.> > > > I will post a part of the UWL xml configuration.> > <ItemType name="uwl.task.webflow.decision.TS92200054" connector=> > "WebFlowConnector" defaultView="travel" defaultAction="launchTravelUwl"> > executionMode="default">> > <ItemTypeCriteria systemId="UWL_R3" externalType="TS92200054"> > connector="WebFlowConnector"/>> > <CustomAttributes>> > <CustomAttributeSource id="ABAP_BOR" objectIdHolder=> > "externalObjectId" objectType="BUS2089" cacheValidity="final">> > <Attribute name="BEGINDATE" type="date"> displayName="Begindatum> reis"/>> > <Attribute name="TOTALCOSTS" type="double"> displayName="Gedecl.> bedrag"/>> > </CustomAttributeSource>> > <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder=> > "externalId" objectType="WebflowContainer" cacheValidity="final">> > <Attribute name="ReisschemaText" type="string" displayName=> > "Reisschema"/>> > </CustomAttributeSource>> > </CustomAttributes>> > <Actions>> > <Action name="afkeuren" groupAction="no" handler=> > "UserDecisionHandler">> > <Properties>> > <Property name="UserDecisionNote" value="mandatory"/>> > <Property name="decisionKey" value="2"/>> > </Properties>> > </Action>> > <Action name="goedkeuren" groupAction="yes" handler=> > "UserDecisionHandler">> > <Properties>> > <Property name="UserDecisionNote" value="true"/>> > > > <Property name="decisionKey" value="1"/>> > </Properties>> > </Action>> > </Actions>> > </ItemType>> > > > The View xml part looks like:> > > > <View name="travel" selectionMode="SINGLESELECT" width="98%"> > supportedItemTypes="uwl.task.webflow.decision.TS92200054"> > columnOrder="subject, BEGINDATE, TOTALCOSTS, ReisschemaText,> approveCol"> sortby="createdDate:descend" tableDesign="ALTERNATING"> > visibleRowCount="14" headerVisible="yes" queryRange="undefined"> > tableNavigationFooterVisible="yes" tableNavigationType="STANDARD"> > actionRef="" refresh="300" dueDateSevere="86400000"> > dueDateWarning="259200000" emphasizedItems="none"> > displayOnlyDefinedAttributes="no" dynamicCreationAllowed="no"> > actionPosition="bottom" referenceBundle="tasks">> > <DisplayAttributes>> > <DisplayAttribute name="approveCol" type="checkbox" width="10"> > sortable="no" format="default" actionRef="goedkeuren" hAlign="center"> > vAlign="Baseline" maxTextWidth="0" headerVisible="yes">> > <Descriptions default="Goedkeuren"/>> > </DisplayAttribute>> > <DisplayAttribute name="subject" type="string" width="10"> > sortable="yes" format="default" referenceBundle="subject" hAlign="LEFT"> > vAlign="BASELINE" maxTextWidth="20" headerVisible="yes"/>> > <DisplayAttribute name="BEGINDATE" type="date" format="short"/>> > <DisplayAttribute name="TOTALCOSTS" type="double"/>> > <DisplayAttribute name="ReisschemaText" type="string" width=""> > maxTextWidth="20">> > <Descriptions default="Reisschema"/>> > </DisplayAttribute>> > </DisplayAttributes>> > <Actions>> > <Action reference="refresh"/>> > <Action reference="submitUserDecisions"/>> > <Action reference="launchMijnTaken"/>> > <Action reference="UserDecisionNoteText"/>> > </Actions>> > </View>> > > > > > I hope somebody can help me.> > > > Kind regards,> > > > Maarten.> > > > > > > > > > > > > > > ------------------------------------------------------------------------> ------> De Belastingdienst gebruikt e-mail niet voor de uitwisseling van> vertrouwelijke informatie met de burger of voor de bekendmaking van> beslissingen. De Belastingdienst hanteert conventies voor het gebruik> van e-mail. Deze zijn te vinden op www.belastingdienst.nl.> ========================================================================> ======> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > > > > ------------------------------------------------------------------------> ------> De Belastingdienst gebruikt e-mail niet voor de uitwisseling van> vertrouwelijke informatie met de burger of voor de bekendmaking van> beslissingen. De Belastingdienst hanteert conventies voor het gebruik> van e-mail. Deze zijn te vinden op www.belastingdienst.nl.> ========================================================================> ======> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > > > ------------------------------> > Message: 2> Date: Wed, 23 Jul 2008 21:38:21 +0000> From: Flavio Oliveira <oliveiraflavio at hotmail.com>> Subject: How is being determined the agent of SRM Bid one step> approval workflow (WS79000002)?> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>> Message-ID: <BAY128-W321AFF94F3B8D1CD0F5FDDD7840 at phx.gbl>> Content-Type: text/plain; charset="iso-8859-1"> > > Hi: I am using the One Step SRM Bid approval (WS79000002) and I know that the task agent is the manager of the user that changed the Bid. The responsible for the task TS79007914 (First approval) is the expression &Agent_0001.Agents& that I found that is the ad-hoc approver. My question is: how is the system setting this ad-hoc approver? I know that it is on the SWDAAGNTS, but how is it being populated there? We are at Basis 7.0 and SRM 5.5. Regards,Fl?vio.> _________________________________________________________________> Discover the new Windows Vista> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080723/4a209bf4/attachment-0001.htm> > ------------------------------> > Message: 3> Date: Thu, 24 Jul 2008 08:43:05 +0200> From: gm.duits at belastingdienst.nl> Subject: Using custom attributes in the UWL> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>> Message-ID:> <OFECE7B56F.42B84582-ONC1257490.0024D48D-C1257490.0024CAF3 at belastingdienst.nl>> > Content-Type: text/plain; charset=us-ascii> > Hello Mark,> > Thanks for the detailed answer.> It works now.> > Kind regards,> > Maarten> > > > > "Griffiths, Mark" > <mark.griffiths at s > ap.com> Aan > Verzonden door: "SAP Workflow Users' Group" > sap-wug-bounces at m <sap-wug at mit.edu> > it.edu Cc > > Onderwerp > 23-07-2008 23:32 RE: Betr.: RE: Using custom > attributes in the UWL > > Antwoord a.u.b. > aan > "SAP Workflow > Users' Group" > <sap-wug at mit.edu> > > > > > > > Create a container element in the TS task (if you are using an SAP one> you will need to copy it first and insert the copied task in your> workflow)> Bind to the element from the workflow (you may need to create a new> Business object attribute to hold the object-key without splitting it> between employee and trip number)> Now the task holds the key to BUS2089> In your XML, to read the object key you use CustomAttributeSource> id='webflow_container' to populate a custom attribute> Then once you have this value you can use it as in your code below, but> the key is now in your custom attribute not the externalobjectid.> > Good Luck,> > > Mark> > SAP UK> > -----Original Message-----> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf> Of gm.duits at belastingdienst.nl> Sent: 23 July 2008 11:02> To: SAP Workflow Users' Group> Subject: Betr.: RE: Using custom attributes in the UWL> > Hallo Mark,> > Thanks for the reply.> Yes, it's correct i am using a user decision.> About your solution.> Could you tell me in more detail how to solve the problem. I am quite> new> to workflow.> > Thanks.> > Kind regards,> > Maarten> > > > > > "Griffiths, Mark"> > <mark.griffiths at s> > ap.com>> Aan> Verzonden door: "SAP Workflow Users' Group"> > sap-wug-bounces at m <sap-wug at mit.edu>> > it.edu> Cc> > > > Onderwerp> 23-07-2008 11:37 RE: Using custom attributes in> > the UWL> > > > Antwoord a.u.b.> > aan> > "SAP Workflow> > Users' Group"> > <sap-wug at mit.edu>> > > > > > > > > > It looks like you are using a user decision?> > The problem is that externalOjectid holds the object key for the> DECISION business object rather than BUS2089.> > I got round this by creating an container element on the task to hold> the BUS2089 object key. You read this first from the container, and then> you can use value to read the ABAP_BOR attributes as you have done> below.> > Regards,> > > Mark> > SAP UK> > > -----Original Message-----> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf> Of gm.duits at belastingdienst.nl> Sent: 23 July 2008 07:08> To: sap-wug at mit.edu> Subject: Using custom attributes in the UWL> > > > > > > > > > > > > > > > > > > > > > Hello,> > > > What i would like to do is to show some custom attributes as columns in> > the UWL. In my workitem the BOR object BUS2089 (TRIP) is present, so i> > thought to make use of the statement CustomAttributeSource> id="ABAP_BOR"> in my UWL xml file (see below). I would like to show the attributes> > BEGINDATE and TOTALCOSTS. After uploading the xml the columns are> empty. I> also make use of the CustomAttributeSouce id="WEBFLOW_CONTAINER" and> that> column is displayed correctly.> > > > I will post a part of the UWL xml configuration.> > <ItemType name="uwl.task.webflow.decision.TS92200054" connector=> > "WebFlowConnector" defaultView="travel" defaultAction="launchTravelUwl"> > executionMode="default">> > <ItemTypeCriteria systemId="UWL_R3" externalType="TS92200054"> > connector="WebFlowConnector"/>> > <CustomAttributes>> > <CustomAttributeSource id="ABAP_BOR" objectIdHolder=> > "externalObjectId" objectType="BUS2089" cacheValidity="final">> > <Attribute name="BEGINDATE" type="date"> displayName="Begindatum> reis"/>> > <Attribute name="TOTALCOSTS" type="double"> displayName="Gedecl.> bedrag"/>> > </CustomAttributeSource>> > <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder=> > "externalId" objectType="WebflowContainer" cacheValidity="final">> > <Attribute name="ReisschemaText" type="string" displayName=> > "Reisschema"/>> > </CustomAttributeSource>> > </CustomAttributes>> > <Actions>> > <Action name="afkeuren" groupAction="no" handler=> > "UserDecisionHandler">> > <Properties>> > <Property name="UserDecisionNote" value="mandatory"/>> > <Property name="decisionKey" value="2"/>> > </Properties>> > </Action>> > <Action name="goedkeuren" groupAction="yes" handler=> > "UserDecisionHandler">> > <Properties>> > <Property name="UserDecisionNote" value="true"/>> > > > <Property name="decisionKey" value="1"/>> > </Properties>> > </Action>> > </Actions>> > </ItemType>> > > > The View xml part looks like:> > > > <View name="travel" selectionMode="SINGLESELECT" width="98%"> > supportedItemTypes="uwl.task.webflow.decision.TS92200054"> > columnOrder="subject, BEGINDATE, TOTALCOSTS, ReisschemaText,> approveCol"> sortby="createdDate:descend" tableDesign="ALTERNATING"> > visibleRowCount="14" headerVisible="yes" queryRange="undefined"> > tableNavigationFooterVisible="yes" tableNavigationType="STANDARD"> > actionRef="" refresh="300" dueDateSevere="86400000"> > dueDateWarning="259200000" emphasizedItems="none"> > displayOnlyDefinedAttributes="no" dynamicCreationAllowed="no"> > actionPosition="bottom" referenceBundle="tasks">> > <DisplayAttributes>> > <DisplayAttribute name="approveCol" type="checkbox" width="10"> > sortable="no" format="default" actionRef="goedkeuren" hAlign="center"> > vAlign="Baseline" maxTextWidth="0" headerVisible="yes">> > <Descriptions default="Goedkeuren"/>> > </DisplayAttribute>> > <DisplayAttribute name="subject" type="string" width="10"> > sortable="yes" format="default" referenceBundle="subject" hAlign="LEFT"> > vAlign="BASELINE" maxTextWidth="20" headerVisible="yes"/>> > <DisplayAttribute name="BEGINDATE" type="date" format="short"/>> > <DisplayAttribute name="TOTALCOSTS" type="double"/>> > <DisplayAttribute name="ReisschemaText" type="string" width=""> > maxTextWidth="20">> > <Descriptions default="Reisschema"/>> > </DisplayAttribute>> > </DisplayAttributes>> > <Actions>> > <Action reference="refresh"/>> > <Action reference="submitUserDecisions"/>> > <Action reference="launchMijnTaken"/>> > <Action reference="UserDecisionNoteText"/>> > </Actions>> > </View>> > > > > > I hope somebody can help me.> > > > Kind regards,> > > > Maarten.> > > > > > > > > > > > > > > ------------------------------------------------------------------------> ------> De Belastingdienst gebruikt e-mail niet voor de uitwisseling van> vertrouwelijke informatie met de burger of voor de bekendmaking van> beslissingen. De Belastingdienst hanteert conventies voor het gebruik> van e-mail. Deze zijn te vinden op www.belastingdienst.nl.> ========================================================================> ======> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > > > > ------------------------------------------------------------------------> ------> De Belastingdienst gebruikt e-mail niet voor de uitwisseling van> vertrouwelijke informatie met de burger of voor de bekendmaking van> beslissingen. De Belastingdienst hanteert conventies voor het gebruik> van e-mail. Deze zijn te vinden op www.belastingdienst.nl.> ========================================================================> ======> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > > > > ------------------------------------------------------------------------------> De Belastingdienst gebruikt e-mail niet voor de uitwisseling van vertrouwelijke informatie met de burger of voor de bekendmaking van beslissingen. De Belastingdienst hanteert conventies voor het gebruik van e-mail. Deze zijn te vinden op www.belastingdienst.nl.> ==============================================================================> > > > ------------------------------> > Message: 4> Date: Thu, 24 Jul 2008 13:19:27 +0200> From: gm.duits at belastingdienst.nl> Subject: Formatting text in Details-screen of a Task in the UWL> To: sap-wug at mit.edu> Message-ID:> <OF5C3BC28A.D228CFE6-ONC1257490.003D7155-C1257490.003E1826 at belastingdienst.nl>> > Content-Type: text/plain; charset=us-ascii> > > Hello,> > I created a decision task and entered some description. The first sentence> would be displayed in a "bold" font type.> When i look at this task in the UWL (show details), the first sentence of> the description isn't displayed in a "bold" font type.> I hope somebody can tell me if it's possible to show the description text> in a formated style.> > For example:> > In SBWP the first sentence of the description look like:> > Tripnumber: 0001111> > In the UWL it look like:> > Tripnumber: 0001111> > Thanks in advance.> > Kind regards,> > Maarten> > > ------------------------------------------------------------------------------> De Belastingdienst gebruikt e-mail niet voor de uitwisseling van vertrouwelijke informatie met de burger of voor de bekendmaking van beslissingen. De Belastingdienst hanteert conventies voor het gebruik van e-mail. Deze zijn te vinden op www.belastingdienst.nl.> ==============================================================================> > > > ------------------------------> > Message: 5> Date: Thu, 24 Jul 2008 14:08:24 +0200> From: "Griffiths, Mark" <mark.griffiths at sap.com>> Subject: RE: Formatting text in Details-screen of a Task in the UWL> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>> Message-ID:> <9FB57F47D500C640B5EC8282D8AE80B4D7646C at dewdfe1n.wdf.sap.corp>> Content-Type: text/plain; charset="us-ascii"> > A bit like your mail, the formatting gets lost in the rendering. As far> as I know it isn't possible to get formatting to display in the UWL.> > Regards,> > Mark > > -----Original Message-----> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf> Of gm.duits at belastingdienst.nl> Sent: 24 July 2008 12:19> To: sap-wug at mit.edu> Subject: Formatting text in Details-screen of a Task in the UWL> > > Hello,> > I created a decision task and entered some description. The first> sentence> would be displayed in a "bold" font type.> When i look at this task in the UWL (show details), the first sentence> of> the description isn't displayed in a "bold" font type.> I hope somebody can tell me if it's possible to show the description> text> in a formated style.> > For example:> > In SBWP the first sentence of the description look like:> > Tripnumber: 0001111> > In the UWL it look like:> > Tripnumber: 0001111> > Thanks in advance.> > Kind regards,> > Maarten> > > ------------------------------------------------------------------------> ------> De Belastingdienst gebruikt e-mail niet voor de uitwisseling van> vertrouwelijke informatie met de burger of voor de bekendmaking van> beslissingen. De Belastingdienst hanteert conventies voor het gebruik> van e-mail. Deze zijn te vinden op www.belastingdienst.nl.> ========================================================================> ======> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > > > ------------------------------> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu> http://mailman.mit.edu/mailman/listinfo/sap-wug> > > End of SAP-WUG Digest, Vol 44, Issue 58> ***************************************
_________________________________________________________________
With Windows Live for mobile, your contacts travel with you.
http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080724/cc8b6989/attachment.htm


More information about the SAP-WUG mailing list