Starting WF from GOS with input parameters

Mike Pokraka asap at workflowconnections.com
Tue Dec 12 04:37:17 EST 2006


Hi Paul,
Why not have a popup dialog asking for the amount as your first step?
Advance with dialog should make it pop up straight away.
Cheers,
Mike

On Tue, December 12, 2006 06:20, Bakker, Paul wrote:
> Susan,
>
> I like your thinking, but unfortunately the ApprovalAmount can't be
> derived from anywhere (except perhaps by summing all lines in an
> attached spreadsheet!) - it has to be specified by the user.
>
> I suppose I could ask them to put the ApprovalAmount in the subject line
> of the 'Note at Start'. I'll investigate that idea further.
>
> Thanx for your thoughts!
> Paul
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Susan R. Keohan
> Sent: Tuesday, 12 December 2006 12:39 AM
> To: SAP Workflow Users' Group
> Subject: Re: Starting WF from GOS with input parameters
>
> Paul,
>
> Have you considered 'Start with Details' ?  It allows you to enter an
> attachment, which is not ideal for your purposes, but perhaps you could
> figure out how to get the ApprovalAmount from there...
>
> Or wouldn't it be nice if ApprovalAmount is an attribute of your ZOBJ,
> then you wouldn't have to mess with that.  Is there any way you can do
> that ?
>
> Sorry, probably not much help; I guess I'm just thinking aloud.
>
> Sue
>
> Bakker, Paul wrote:
>> Hi,
>>
>>  It's been all quiet on the WF front for a while, but I hope someone
>> can help me.
>>
>> It's a challenging one: I am not sure if what I am trying to do is
> possible.
>>
>> We have implemented GOS (generic object services) for a custom BOR
>> object ZOBJ.
>> I have created a couple of workflows that can be started from GOS (via
>
>> the 'Start Workflow' menu). To make each workflow appear in the start
>> list, I specified that ZOBJ is the only (mandatory) input parameter.
>>
>> Fine so far. Now I have a requirement for a workflow that requires
>> _two_ input parameters: my object ZOBJ and an ApprovalAmount.
>>
>> My question: Is there any way to ask the user to provide an
>> ApprovalAmount, while starting the workflow?
>>
>> I tried creating a 'Start Form' for this workflow, which contains just
>
>> the field ApprovalAmount. The form is created ok, and can be accessed
>> via GOS, but the workflow then fails to start because the 'mandatory
>> input parameter'
>> ZOBJ is missing.
>>
>> Next I tried adidng ZOBJ's object key to the start form, but again no
> joy.
>>
>> Am I getting something obvious wrong? Hilfe bitte.
>>
>> thanks
>> Paul
>>
>> **********************************************************************
>> * The information in this e-mail together with any attachments is
>> intended only for the person or entity to which it is addressed and
>> may contain confidential and/or privileged material.
>> Any form of review, disclosure, modification, distribution and/or
>> publication of this e-mail message is prohibited.
>> If you have received this message in error, you are asked to inform
>> the sender as quickly as possible and delete this message and any
>> copies of this message from your computer and/or your computer system
>> network.
>> Any attachments should be checked for viruses by you, before being
>> opened. SunWater accepts no responsibility for an attachment that
>> contains a virus.
>> **********************************************************************
>> *
>>
>>
>> ----------------------------------------------------------------------
>> --
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
> --
> Susan R. Keohan
> SAP Workflow Developer
> MIT Lincoln Laboratory
> 244 Wood Street
> LI-200
> Lexington, MA. 02420
> Phone: 781-981-3561
> Fax:   781-981-1607
> keohan at ll.mit.edu
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> ***********************************************************************
> The information in this e-mail together with any attachments is
> intended only for the person or entity to which it is addressed
> and may contain confidential and/or privileged material.
> Any form of review, disclosure, modification, distribution
> and/or publication of this e-mail message is prohibited.
> If you have received this message in error, you are asked to
> inform the sender as quickly as possible and delete this message
> and any copies of this message from your computer and/or your
> computer system network.
> Any attachments should be checked for viruses by you, before being opened.
> SunWater accepts no responsibility for an attachment that contains a
> virus.
> ***********************************************************************
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>





More information about the SAP-WUG mailing list