Hello all,
Someone knows how to do it for pass a task (TS....) parameter to a function module without tab import?
Because namely I need pass a task parameter created in the definition workflow (PFTC_INS) to my function module and then use it dynamically in a aprobal step with a rule.
I created a table with se11 and this table have the name of the task and login approver. Width my funtion module I found a task and it return me the login aprobal.
But I don't know how pass the task (ts....) like a dinamic parameter and then through a rule what is the aproval.
I think that i need do it:
1/The correct source code for the function module.
2/ Pass the task parameter with the workflow container and rule container.
Now for search the approval in the source code of the function module I do it:
SELECT LOGIN INTO TABLE T_APROBADORES_HGS FROM ZHSP_WF_HGS_APR WHERE TASK = IV_TAREA
Any ideas, Someone can help me?
Thank you very much, Carlos.