2014 Apr 23 11:03 AM
Dear experts,
There is no standard leave request form provided by SAP. We are developing an adobe form which lists the employee's quota and leaves taken earlier along with the current leave details. This form should be displayed to the approvers from the leave workflow.
When the approver clicks on the work item, the leave request form should popup. There are two technical challenges in this requirement -
1. This requirement is similar to the standard ones for travel request and expense request - In travel request and expense request, SAP has provided standard forms and the workflow container is a standard importing parameter in these adobe forms. This container is helpful in deriving most of the content on the adobe form. However, there is no such link in case of leave request. How does the workflow information be passed to the adobe form? ( i will have to display employee details, quota, current leave, approvers list, approvers comments, etc).
2. For leave request, the approval task is TS12300097 that has "Java Webdynpro" as visualization type. Whereas for travel and expense workflow approval tasks, the visualization type is "ABAP Webdynpro". I am assuming the "JAVA WD" will make it really tough to call the adobe form from the work item.
Any thoughts, suggestions on this requirement will be of great help.
Thanks
Hi Abdul
Try using this Task# TS21500003 - WDA for Leave request approval & also check the Input parameters to the rule. I guess with the help of binding rule we can solve this where we need to pass the Input parameter values to your custom forms.
Check this link:
Binding Definition in Workflow - ABAP Development - SCN Wiki
Hope this Info will be helpful
Cheers
Pradyp
2014 Apr 23 11:51 AM
Hi Abdul
Try using this Task# TS21500003 - WDA for Leave request approval & also check the Input parameters to the rule. I guess with the help of binding rule we can solve this where we need to pass the Input parameter values to your custom forms.
Check this link:
Binding Definition in Workflow - ABAP Development - SCN Wiki
Hope this Info will be helpful
Cheers
Pradyp
2014 Apr 23 12:12 PM
Hi Pradyp,
Thanks for your reply.
I did not find this task. Still searching if there is any typo.
Regarding the binding rule, you mean to say sending the container values through binding to any custom task and write the logic to call the adobe form in the respective business object method? If I do this, how do the form gets called from the work item? Does it get displayed in the popup upon clicking the work item?
Many thanks!
2014 Apr 23 12:31 PM
Hi Abdul
which version u r currently working on?? check in swfvisu t-code where you can find the below task
I'm not that good at technical level, but still I try to help you with my limited knowledge.Instead of trying from binding rule, try with Function Module via BOR Object Method. you can get that function module at the time Adobe form creation. Can't you consider that Adobe form as a attachment in the work item???
Check this links
Adobe forms using Workflow with normal SAP | SCN
Calling the Adobe form in a workflow step for A... | SCN
Hope this Info will be Helpful
Cheers
Pradyp
2014 Apr 23 12:36 PM
2014 Apr 23 12:48 PM
Hi Abdul
This task must be visible, as SAP has delivered this explicitly for WDA from EHP5 onwards. Regarding a Adobe form creation through program I found these links
Call Adobe Form through ABAP Program - ABAP Development - SCN Wiki
Triggering Workflow from Adobe Form in ERP | SCN
Hope this helps u
Cheers
Pradyp
2014 Apr 23 1:42 PM
Thanks Pradyp. Your response is very helpful. Will follow the same.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |