on ‎2013 Apr 25 5:08 PM
Hi experts,
i am new in workflow,
Does anyone knows how to create dynamic task description ?
here is my problem,
i've a travel exepense workflow
when a user approve a travel expense request ,he can approve , reject or send back for correction.
when , user send back the request for correction, i used the task TS20000139 to allow him to enter a message giving details of correction needed.
So, my need is to take this message and put it in task description of the task TS20000189.
Could you please give me step by step (in detail please) the procedure i must follow?
thank you in advance
Request clarification before answering.
Hi,
thank you for your raply,
i think i was not very clear about by need, i am sorry for that.
i'll to be more clear :
i am using the workflow template : WS20000040 (travel expense)
When an employee create a travel request using tcode TRIP or PR05, the travel expense request goes to first approver ( for the 'check trip facs' tast)
At this step , the approver has 3options
1 - trip facs are consistant
2 - Send back for correction
3 - Reject request
My need is to display a pop up when approver send back the request for correction (2) and in this pop -up , the approver could enter any message or comment.
And when, the requestor get the notification to correct his request , he must see the comment entered by the appriver in task description ( change trip)
i found the function module 'CATSXT_SIMPLE_TEXT_EDITOR' to manage this requirement
i want to take the text entered using this FM and put it in task description (TS20000189) by using a container element or parameter.
My question is :
how to use this function module ?
in which task i must put it? (which tab?)
i know, i must create some container element (but i to do that)
please could you give me step by step the procedure (any doc will be helpfull)
Thanks in advance for your help
Rgds
Willy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Will, For that you will probably need to copy the standard task and workflow in order to add your additional container elements. If you want to ask how to use the CATS functions you would probably be better asking that in the HCM forum. As to which task and tab.... those are *very* basic questions indeed so I suggest you need to work through some workflow tutorials - you'll find some in the space - and I would also recommend you get a copy of the book "Practical Workflow for SAP" and start reading.
Regards
Jocelyn
Hi, That's an easy one. Create a container element, bind the message to the container element, and pass that to an equivalent container element on the revision step/task for display using insert variables. All very standard binding and container use behaviour. If you are displaying multiple messages make sure you use the appropriate multiline options on the container element and in the Insert variables in the task description.
Regards,
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Do the followin steps.
1. After user enter the message , it should bind back to workflow w from task.
2. Now you have the contaier where message is storedin workflow. Now Edit the Work item text. There is a button "Redifine Workitem Text". Then in the Pop Up you will find "Insert Variables" , there insert the message container element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.