on 01-20-2015 1:51 PM
Hi all,
We are implementing Travel workflow with standard 1 level
Travel Request : WS20000050
Travel Expense : WS20000040
In Travel request, I created travel request and it is going to manager and once it is approved. it is done.
But in Travel expense (WS20000040), when i created expense report it is not going to 1st level manager, when i checked the workflow they is 1 more decision box called "check trip facts" where there is no agent determination.
In the expression , nothing is written in standrd workflow. How the system will find the agent..??
Pls advice. Customer is quite happy with 1 level workflow.
Regards,
Namsheed.
Hi,
if you are happy with the request workflow and want the same for expense, simply copy it completely with PFTC_COP (WS....), and forget about standard expense workflow.
Activate event binding for new workflow in SWETYPV to event CREATED instead of REQUESTCREATED, and maybe CHANGED instead of REQUESTCHANGED as well.
If you need different text/ mail elements (TS...), copy them as well with PFTC_COP, and change workflow definition for the corresponding step. Everything else can stay as it is.
cheers, Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Thanks for your guidance.
I have customized the Trip workflow and removed the Trip check facts. Now the agent determining is working perfectly fine.
Earlier the standard WF was like this :
Now it is like this :
I am new to workflow. Now the requirement is e-mail notification : once the trip request is created , a notification mail to manager, and once the manager approve/reject, a notification mail to employee. If you can guide, I will do it. Please..
Regards,
Namsheed.
Another alternative (or rather variation) to what Michael already stated is an HTML-based mail within a task (that's how we do it). I.e.
DATA: lo_send_request TYPE REF TO cl_bcs.
lo_send_request = cl_bcs=>create_persistent( ).
. . . " create senders, receivers and a mailtext (with fancy formatting if you like)
CALL METHOD lo_send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = lv_sent_to_all ).
All approaches pretty much do the same, it's just a matter of preference and how much work you want to invest.
Cheers, Lukas
Hi,
Check agent assignment has been done or not for decision task
Regards,
Rajesh K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I mentioned earlier that Agent assignment has not done for it. Nothing is written in the expression how to determine the agent. But it is standard WF WS20000040 as well. I wonder how SAP giving standard WF without any rule or expression.
Anyway what I have done is, we have copied this WF and in the new WF we deleted that check trip facts decision box from the WF. Also the event linkages has activated.
Now 1 level WF is triggering properly .
Thanks for your reply
Regards,
Namsheed.
SAP is not maintaining it on purpose... because they dont know how your organization works... thats written in the documentation
Maintain Agent Assignment
When customizing this task, you must maintain agent responsibilities so that all employees in the expenses department are possible agents of this task.
Please read the documentation...
Standard Task TS20000135 (Check Trip Facts) - Archiving Application Data (FI) - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.