Issue with secondary method after execution

Morris, Eddie eddie.morris at sap.com
Fri Mar 2 08:29:46 EST 2012


Hi Srini,

Make sure "Advance with dialog" option is set on the DRAW.EDIT step so the work item will open automatically (As long as the user is a responsible agent of the work item).

Regards,
Eddie

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Srinivas Reddy
Sent: 02 March 2012 13:05
To: SAP Workflow Users' Group
Subject: Re: Issue with secondary method after execution

Hi Eddie,

As per the user requirement, once the user clicks on 'Proceed with changes' button, right away CV02N screen with the relevant document should appear. NOT another entry in the SBWP. But incase if I create an activity and call the DRAW.EDIT method after the user decision step I doubt that the new task will create new entry in SBWP and the user need to open it from SBWP again. Correct me if I am wrong??

Thanks and Regards,
Srini...
On Fri, Mar 2, 2012 at 5:37 PM, Morris, Eddie <eddie.morris at sap.com<mailto:eddie.morris at sap.com>> wrote:
Hi Srini,

You should not use the secondary method for editing. The man purpose of the secondary method is to display something so the user can make a more informed decision with the user decision step.

Put the DRAW.EDIT method in an activity step after the user decision step in the branch for case 1 and remove the secondary method.

Regards,
Eddie


-----Original Message-----
From: sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu> [mailto:sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>] On Behalf Of Srinivas Reddy
Sent: 02 March 2012 10:09
To: SAP Workflow Users' Group
Subject: Issue with secondary method after execution

Hi Experts,

I am facing a strange issue with the secodary method, After execution
in the user decision step. The requirement is as follows.

The user will a  receive workitem with 2 buttons. 1) Proceed with
changes and 2) Cancel button. Note: Cancel button is SAP default.

Case 1) When the user executes the workitem in SBWP and decideds to
make changes, he will click on Proceed with changes button and  the
workflow wil show the relevant document on the CV02N screen. He can
make changes and save the document and the subsequent steps in the
workflow will trigger.
Case 2)  If the user is not willing to make any changes at the
moment.He will click on CANCEL button and the workitem should stay in
his inbox.

For the case 1 I have  assigned  EDIT method from the DRAW standard
business object as a secondary method choosing AFTER EXECUTION. This
case is working fine.

The problem is with the case 2. If the user clicks on Cancel button
still the CV02N screen is displaying and then if the user clicks on
back button the workitem is comming back to his inbox. I guess in both
the cases the EDIT method assigned as AFTER EXECUTION is triggering.
How to bypass the EDIT method triggering when the user click's on
Cancel button.

Kindly help me in fixing this issue.

Thanks and Regards
Srini..
SAP Technical Consultant
+919963307464<tel:%2B919963307464>
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug

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



--
Thanks and Regards
Srini..
SAP Technical Consultant
+919963307464
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120302/669c59c7/attachment-0001.htm


More information about the SAP-WUG mailing list