SRM7 and ACF - Closing the Loop

Keohan, Susan - 1140 - MITLL keohan at ll.mit.edu
Fri Apr 4 09:25:22 EDT 2014


Hi all,

I submitted a customer message to SAP, and after much bouncing around, I was
assigned someone who 'got it'.  

I was instructed to put a break point in /SAPSRM/CL_APF_SERVICE, method
DETERMINE_APF_CONTEXT_V1X.  There, after the execution of method
DETERMINE_LEVEL_AND_STEP_INFO, I was asked to check the value of
lv_decision_type.  She said if the value was 2 or 4 it was for line item
approval (which has never been the goal).  Sure enough, the value is 2.  I
substituted a '1' in lv_decision_type, and got the desired approval screen,
with approve and reject buttons at the header level (and at the top of the
screen).

But, bottom line?

 

Hi Sue,
As discussed yestereday, I spoke to my colleague from Development. I
am afraid that it is not possible to change the existing functionality
of the application controlled workflow for shopping cart. This is the
way the system was designed by the original Developers and all SRM
7.0+ customers now expect this functionality. I am afraid that it will
be necessary for you to modify the system in order to have the
approve/reject buttons at header level for shopping cart.
I am very sorry that I could not help you more with this.



So this is sad, but our users will still be able to approve the full SC and
at least I know it's nothing I did wrong.

 

Jeepers, I can't wait to see what happens when (eventually) we upgrade to
Process Controlled WF.   FUN!

Cheers,
Sue

 

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Keohan, Susan - 1140 - MITLL
Sent: Monday, March 17, 2014 1:27 PM
To: SAP Workflow Users' Group
Subject: RE: SRM7 and ACF (Keohan, Susan - 1140 - MITLL)

 

Hi all,

 

Well, I moved on to the PO, and I took the SAP-delivered Purchase Order
Approval Task TS14007970 and plunked it into my custom workflow, generated
the WF.

Created a PO.  And, well, look.

 



 

No BADI, no funky stuff, no FPM.  There are the Approve and the Reject
buttons.

I've submitted an OSS message (ooops, now they are called Incidents) so if I
hear anything back, I will keep the group up to date.

 

Cheers,
Sue

 

 

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Andy Curtis
Sent: Wednesday, March 12, 2014 5:00 AM
To: SAP Workflow Users' Group
Subject: Re: SRM7 and ACF (Keohan, Susan - 1140 - MITLL)

 

grrrrr email buttons.

 

SRM7 can be very similar to SRM550 except you now have WebDynpro and Portal.
You can use AC Wf OR PC Wf, both work.  We use AC Wf and use the 'N-Step
BADI', I think of the N Step Badi as a giant hole in the middle of the SAP
supplied templates (which I believe it is generally good advice to use),
into which you can put your own Agent determination via Abap code.  You need
to start out being structured in the way you add code into this BADI or it
will become a horrible complicated piece of spaghetti, We have a very, very
good thing we call the Enhancement Explorer (not written by me) that brings
fantastic structure to the code we add to Badi's,  it basically creates a
separate Class for each functional enhancement.

 

 

Andy

 

 

 

On Wed, Mar 12, 2014 at 8:49 AM, Andy Curtis <abcurtis at gmail.com> wrote:

Q.Am I being forced into using the BBP_WFL_APPROV_BADI?

A. Probably, yes

 

---------- Forwarded message ----------
From: "Keohan, Susan - 1140 - MITLL" <keohan at ll.mit.edu>
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Cc: 
Date: Tue, 11 Mar 2014 22:27:26 +0000
Subject: RE: SRM7 and ACF

And I should clarify.

We are using custom workflows that will execute role resolution without
issue - what I worried about (in a weak moment?) was if there was some new
requirement in SRM7 that all Application-Controlled workflows *had* to
implement the Badi.

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Keohan, Susan - 1140 - MITLL
Sent: Tuesday, March 11, 2014 1:53 PM
To: SAP Workflow Users' Group
Subject: RE: SRM7 and ACF

 

Hi Andy,

I am asking my Basis team to look into it, thanks.  (We are new to all this
fancy Portal stuff).


One thing I've re-read from the book and SAP Help is the following: 

The book - 

 

For the n-step BAdI and line item BAdI, the agent determination

is based on BOR methods that delegate the agent determination to a

BAdI implementation.

As mentioned earlier, SAP delivers an example implementation for the BAdI
definition

BBP_WFL_APPROV_BADI. To leverage the BAdI-based approval workflow,

you have to provide your own implementation that covers your specific
business

rules (see more details in Section 25.5.9, Implementing Dynamic Processes).

 

And from Silvana Kempf (Workflow_in_SRM_70_RTC) 

 



 

Which leads me to ask another silly question:  Am I being forced into using
the BBP_WFL_APPROV_BADI?   I am trying to test this theory now, but have
competing bread crumbs to follow.

Anyway, I thought it was interesting.

 

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Andy Curtis
Sent: Tuesday, March 11, 2014 5:02 AM
To: SAP Workflow Users' Group
Subject: Re: SRM7 and ACF

 

How about Security?  We upgraded and there was talk at the time about SRM7
approvals needing Change authority. 




Andy Curtis

 

On Mon, Mar 10, 2014 at 7:46 PM, <sap-wug-request at mit.edu> wrote:

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. SRM7 and ACF (Keohan, Susan - 1140 - MITLL)


---------- Forwarded message ----------
From: "Keohan, Susan - 1140 - MITLL" <keohan at ll.mit.edu>
To: "SAP Workflow Users' Group (sap-wug at mit.edu)" <sap-wug at mit.edu>
Cc: 
Date: Mon, 10 Mar 2014 19:45:01 +0000
Subject: SRM7 and ACF

Hello Wuggers,

 

I am on a technical upgrade only from SRM5 (ITS based) to SRM7 (UWL) and we
are running our old (application controlled) workflows.  All the background
tasks work fine.

The UWL is a challenge, but not what brings me to posting today.

It's the danged dialog tasks.

 

I thought I would just keep it simple and use the SAP-delivered tasks for SC
Approval and so on.  The task (TS10008126, in this case) calls FORM
HTMLPROCESS.  That, in turn calls WDA/FPM - and of course, this is new
territory for me.  Please see the screen shot below for the WDA/FPM
technical information.

 



 

The problem is - there are no 'Approve' or 'Reject' buttons when you drill
into the workitem!  I know that once you drill into the workitem, you've
left the control of the UWL and the corresponding XML.  I have been through
blogs and tutorials (is it ridiculous, or just plain wrong that I need to
get an access key in order to follow through on a tutorial? That's a
question for another day).

 

I have looked in the IMG, and the only place I can see where I could
configure what actions are available is Cross Application Basic Settings>
Extensions and Field Control > Control Actions > Display Standard Metadata
Tables for Actions on Header Level and Configure Control of Actions on
Header Level.  The 'Display Standard Metadata.' is a very busy screen with
no existing entries for BUS2121 APPROVED or APPROVAL_IND (so I've left it
alone).  The section 'Configure Control of Actions on Header Level' seems
promising, but even when I have created entries for BUS2121, it seems to
have no impact on the WebDynPro app.

 

I feel as though I am overlooking something quite obvious - I mean,
shouldn't an SAP Approval Task offer 'Approve' and 'Reject' right out of the
box?  And it doesn't seem to matter which task I use - I was working with
TS14508044 for a while but switched back to the older task.  

 

I would definitely appreciate it if anyone can help me get a clue.


Thanks!
Sue

 

 

----

Susan R. Keohan

SAP Workflow Specialist

MIT Lincoln Laboratory

244 Wood Street, LI-200

Lexington, MA. 02420

781-981-3561

@skeohan

 


_______________________________________________
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/20140404/22bc7e59/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 31656 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20140404/22bc7e59/attachment-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 48949 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20140404/22bc7e59/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 22526 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20140404/22bc7e59/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5398 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20140404/22bc7e59/attachment-0001.bin


More information about the SAP-WUG mailing list