on 2009 Mar 09 9:45 PM
Hi,
I am using the write off workflow WS21000102, Everything is working, however, when the approver rejects a write off only a vague description is sent to the initiator. I need to have the approver give a reason for the rejection. I cannot seem to find a way to have a screen pop up after the rejection asking for a reason (Likely filling one of the comments fields).
Any help would be appreciated
Thanks,
Hi,
try calling a function module POPUP_TO_CONFIRM_WITH_MESSAGE in the work flow and place it just after the user desicion step..
try out,
thanks
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Below the Rejection Branch use the Std. Task TS200000139 give the necessary bindings. So once the approver click the Rejection button. A popup will appear and enter comments then send.
Regards,
Surjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I don't have WS21000102 in my systems, what BOR object is it using?
If it's a SAP-standard workflow, I hope you've copied it and are making
changes to the copy.
If the BOR object is SAP standard then you'll want to delegate a Z
object and make changes to that. You can add a method called eg
GetComments to the object, and it calls fm POPUP_GET_VALUES.
Then you have to create a task (TS....) which calls the
Object.Method (eg BUS2xxx.GetComments).
Then you add a step in the workflow which calls that task.
regards
Rick Bakker
Hanabi Technology
Hi Rick,
Yes it is a SAP standard workflow, and yes I am working off of a copy. The BOR object is CA_WRTOFF. Ok so I will create a custom copy of the CA_WRTOFF object, with a custom method called getcommentswhich calls the function module. Then I create a new task that calls the new method getcomments. I then insert a step into the workflow calling that task. Correct?
Thank you for the detailed layout, I will let you know how things are progressing
George.
Hi,
I am about half done, I have a question in regards to the task creation. In the ABAP tab I chose function module and then provided the FM name, I am just not sure about the other tabs?
In the general tab would I check all four options? Dialog, Synch, Result Parameter and Instance Independant? In tab result type what should I fill in there?
Aby help would be appreciated
Thanks.
Hello,
ABAP tab in Task creation? Result type? Not in my version.
You should enter an Object type and Method in the Task definition.
You're going to have a very tough time doing workflow if you don't know the basics.
You or your employer should invest in a course, or at the very least a workflow book, like 'Practical Workflow for SAP'.
Have a look at this demo, where they put a method in a task:
regards
Rick Bakker
Hanabi Technology
Hi,
Actually those tabs are in the method creation, my mistake. This is a demo workflow that I am trying to get up and running. I am looking into attending SAP's workflow course. So in the method creation In the general tab would I check all four options? Dialog, Synch, Result Parameter and Instance Independant? In tab result type what should I fill in there?
Again thank you for your time and responses, it is appreciated
Hello,
When in doubt, use the default values. And that's the case here as well.
Click on the Program button in SWO1 to actually enter the code.
I wouldn't enter the function module as template.
There's no point in asking how to fill in every single field and checkbox. Try something and see if it works.
Good luck.
regards
Rick Bakker
Hanabi Technology
Hello,
Create a method that calls fm POPUP_GET_VALUES, and call that from the workflow.
regards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have been looking at the SAP help library and in a text, but I am not sure how to add a method? I haved added different step types so far, but not a method. Does the method stand on it's own or is it inside a step? Can you explain the process of adding a method? Thanks for any help you can provide
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.