Present pop-up to user on save of purchase requisition

Antonio, Bryan bryan.antonio at tycoelectronics.com
Mon Mar 27 16:38:29 EST 2006


Hi Margaret, try calling the pop-up FM in the user exit LXM06U13
(EXIT_SAPLEBND_001). This is the part where the release strategy is
calculated before the save. Hope this helps.

Bryan

----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Mar 2006 16:14:15 -0500
From: "Hilsbos, Margaret A" <Margaret.Hilsbos at dayzim.com>
Subject: RE: Present pop-up to user on save of purchase requisition
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	
<87548400CF397141B3EA2B66CC2F7B9E124D6865 at CORPMAIL1.corp.dayzim.com>
Content-Type: text/plain;	charset="iso-8859-1"

Hi Anke,

Thanks for the suggestion...I forwarded this one on. I just have to find
out if we can require that field to be a userid for our entire business,
or if we can write the validation in such a way that it only applies,
for example, to certain plants. 

I was really hoping for a clean way to allow user intervention on save.
It's not looking hopeful though.

Margaret 


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On Behalf
Of Anke Libeton
Sent: Sunday, March 26, 2006 11:31 PM
To: sap-wug at mit.edu
Subject: Re: Present pop-up to user on save of purchase requisition


Hi Margaret,

You can also put a field exit on the Requester field to make sure it 
contains a valid user id. (Or use user exit at point of saving). Field
exits 
are not a SAP-promoted approach, at the same time, Field exits are
supported 
in latest releases (program RSMODPRF).

Also have a look at user exit M06B0001-ZXM06U12.

Kind Regards,
Anke Libeton
Australia





On 3/24/06, Hilsbos, Margaret A <Margaret.Hilsbos at dayzim.com> wrote:
 >
 > Hello WUGers,
 >
 > We are looking at implementing the purchase requisition workflow in a

4.6csystem.  We are struggling with the logic for selecting the first 
approver
 > in the release strategy. We have one person who creates requisitions
for
 > several departments, and currently they just email the appropriate
 > approver.  If we use the standard rule with the IMG configuration to 
assign
 > the approvers, the closest we can get is to assign the security role
for 
the
 > release code -- which returns too many agents.   The user exit
doesn't 
seem
 > to help because there is no value in the purchase requisition that
can be
 > used to determine the correct recipient, which is based on the
requester,
 > not the requisition creator.  The "requester" field doesn't help
because
 > that is a free text field (although only 12 characters). If that
field
 > required a SAP user id then we could use that to derive the correct
 > recipient.
 >
 > After studying this I think it would be ideal if we could present the
 > creator of the requisition with a "choose agent" dialog when they
save 
the
 > requisition. However here is a stumbling block -
 >
 > How to get the dialog presented to the user when the purchase
requisition
 > is saved? I believe workflow doesn't do this, even if the first step
is
 > marked "advance with dialog". This general question keeps coming up
in 
other
 > contexts, too.  I searched SDN forum and WUG archives with no luck, 
except
 > to find "it can't be done without a custom transaction" -  is that
still 
the
 > case?
 >
 > Does anyone have any other recommendations for the purchase
requisition
 > question?   Am I (hopefully) missing something obvious?
 >
 > Any suggestions appreciated!
 >
 >
 > Margaret Hilsbos
 > Day & Zimmermann
 >
 >
 > _______________________________________________
 > 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

_________________________________________________________________
New year, new job - there's more than 100,00 jobs at SEEK 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Ea
u&_t=752315885&_r=Jan05_tagline&_m=EXT




------------------------------

Message: 2
Date: Mon, 27 Mar 2006 13:21:26 -0800
From: "Partha Chatterjee" <pchatterjee at gmail.com>
Subject: Re: Present pop-up to user on save of purchase requisition
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<2d2dad420603271321h833ba7m136e950353755c64 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Margaret,

The release strategy is determined prior to kick off of the workflow.
There
are a couple of work arounds I can think of:

1) Use one release in the background but have the user choose the
release
levels in between.  In this case you are only using one dummy release
strategy.

2) Have all reqs require 8 approval levels.  Then once the user has
determined the number of approvals via the appropriate selection screen.
Have go through the appropriate approvals.  If there are extrat
approvals
have SAP release them automagically in the background.

With regards,
Partha




On 3/27/06, Hilsbos, Margaret A <Margaret.Hilsbos at dayzim.com> wrote:
>
> Khurram,
>
> Thanks for your reply.
>
> Is it possible to require the user to select the release strategy or
can
> it only be determined automatically by classification? In that case
can we
> have a user entered characteristic? We are in 4.6c. I looked for a way
for
> the user to enter a characteristic but didn't see one...do you know if
it is
> possible?
>
> Thanks,
>
> Margaret
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On
Behalf
> Of kaukabr at yahoo.com
> Sent: Friday, March 24, 2006 11:12 AM
> To: SAP Workflow Users' Group
> Subject: Re: Present pop-up to user on save of purchase requisition
>
>
> Hi, You mean release strategy linking WITH workflow is
> this true, if this your setup then you create release
> procedure with classification and setup workflow 1 and
> assign users(Agents)directly in workflow screen.
> I HAVE created 50 release strategies linking with
> workflow and assign to the seperate Agents for
> approvals IN PUR_REQ.
> I hope this will help you, if not please write me
> back.
> KHURRAM
> --- "Hilsbos, Margaret A"
> <Margaret.Hilsbos at dayzim.com> wrote:
>
> > Hello WUGers,
> >
> > We are looking at implementing the purchase
> > requisition workflow in a 4.6c system.  We are
> > struggling with the logic for selecting the first
> > approver in the release strategy. We have one person
> > who creates requisitions for several departments,
> > and currently they just email the appropriate
> > approver.  If we use the standard rule with the IMG
> > configuration to assign the approvers, the closest
> > we can get is to assign the security role for the
> > release code -- which returns too many agents.   The
> > user exit doesn't seem to help because there is no
> > value in the purchase requisition that can be used
> > to determine the correct recipient, which is based
> > on the requester, not the requisition creator.  The
> > "requester" field doesn't help because that is a
> > free text field (although only 12 characters). If
> > that field required a SAP user id then we could use
> > that to derive the correct recipient.
> >
> > After studying this I think it would be ideal if we
> > could present the creator of the requisition with a
> > "choose agent" dialog when they save the
> > requisition. However here is a stumbling block -
> >
> > How to get the dialog presented to the user when the
> > purchase requisition is saved? I believe workflow
> > doesn't do this, even if the first step is marked
> > "advance with dialog". This general question keeps
> > coming up in other contexts, too.  I searched SDN
> > forum and WUG archives with no luck, except to find
> > "it can't be done without a custom transaction" -
> > is that still the case?
> >
> > Does anyone have any other recommendations for the
> > purchase requisition question?   Am I (hopefully)
> > missing something obvious?
> >
> > Any suggestions appreciated!
> >
> >
> > Margaret Hilsbos
> > Day & Zimmermann
> >
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20060327/55df3c50/a
ttachment-0001.htm

------------------------------

Message: 3
Date: Mon, 27 Mar 2006 16:23:41 -0500
From: "Hilsbos, Margaret A" <Margaret.Hilsbos at dayzim.com>
Subject: RE: Present pop-up to user on save of purchase requisition
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	
<87548400CF397141B3EA2B66CC2F7B9E124D6866 at CORPMAIL1.corp.dayzim.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Larry,
 
Thanks for your suggestion.
 
We're even. I'm not sure if I understand where I would apply this call
function. (I know just enough ABAP to write simple workflow methods when
I absolutely have to, and I'm not exactly expert at workflow either  -
yet :-)  )
 
Can this be called when the user saves the purchase req? If so how does
the selected value get passed to the workflow?
 
If the workflow is already running, in 4.6c I think I can use the
"choose agent" wizard.  My problem is that I need the initiator to
immediately choose the agent, and I can't get a popup on the first step
because workflow just doesn't seem to know how to do that.
 
If this function can be called on save and then pass the value to the
workflow, then I'm home free.  I just need a little clarification on how
to make the connections.
 
Thanks,
 
Margaret
 
 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On Behalf
Of lianghuan.x.hu at accenture.com
Sent: Monday, March 27, 2006 9:38 AM
To: sap-wug at mit.edu
Subject: RE: Present pop-up to user on save of purchase requisition



Hi Margaret:

I am not sure if I understand your problem, but if you want a pop up to
let the user select an approver, you can use function
'MC_POPUP_TO_MARK_VALUES'. 

CALL FUNCTION 'MC_POPUP_TO_MARK_VALUES'

 EXPORTING

   I_MAX_MARKED_VALUES        = 1

   I_MIN_MARKED_VALUES        = 1

   I_POPUP_TITLE              = 'Please choose your approver'

  TABLES

    T_VALUES_FOR_MARKING       = MARKED_VALUES

 EXCEPTIONS

   CANCEL_PUSHED              = 1

   OTHERS                     = 2.

 

First you pass your candidates in the table MARKED_VALUES. The you get
the selected approver by READ TABLE MARKED_VALUES WITH KEY MARKED = 'X'.

Please let me know if this works for you.

Larry Hu

-----Original Message-----
From: sap-wug-bounces at mit.edu [ mailto:sap-wug-bounces at mit.edu] On
Behalf Of Hilsbos, Margaret A
Sent: Friday, March 24, 2006 10:18 AM
To: SAP-WUG (E-mail)
Subject: Present pop-up to user on save of purchase requisition

Hello WUGers,

We are looking at implementing the purchase requisition workflow in a
4.6c system.  We are struggling with the logic for selecting the first
approver in the release strategy. We have one person who creates
requisitions for several departments, and currently they just email the
appropriate approver.  If we use the standard rule with the IMG
configuration to assign the approvers, the closest we can get is to
assign the security role for the release code -- which returns too many
agents.   The user exit doesn't seem to help because there is no value
in the purchase requisition that can be used to determine the correct
recipient, which is based on the requester, not the requisition creator.
The "requester" field doesn't help because that is a free text field
(although only 12 characters). If that field required a SAP user id then
we could use that to derive the correct recipient.

After studying this I think it would be ideal if we could present the
creator of the requisition with a "choose agent" dialog when they save
the requisition. However here is a stumbling block -

How to get the dialog presented to the user when the purchase
requisition is saved? I believe workflow doesn't do this, even if the
first step is marked "advance with dialog". This general question keeps
coming up in other contexts, too.  I searched SDN forum and WUG archives
with no luck, except to find "it can't be done without a custom
transaction" -  is that still the case? 

Does anyone have any other recommendations for the purchase requisition
question?   Am I (hopefully) missing something obvious?

Any suggestions appreciated!


Margaret Hilsbos
Day & Zimmermann


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20060327/3841af50/a
ttachment.htm

------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 16, Issue 114
****************************************




More information about the SAP-WUG mailing list