HI ,
I am working on workflow, I am facing an issue,
There is rule which calls the FM to find the approver partner, and requirement is that, this rule has to be placed outside,
I have created new activity and created a task, and defined a new method in the business object and called this rule FM here.
It look's like as below.
BEGIN_METHOD SETAPPROVER CHANGING CONTAINER.
CALL FUNCTION 'ZSWX_GET_MANAGER'
BLES
ACTOR_TAB = lt_ACTOR_TAB
AC_CONTAINER = CONTAINER
CEPTIONS
NOBODY_FOUND = 1
OTHERS = 2.
endmethod.
In FM I want to pass the container data.
" swc_get_element container 'ACTUAL_AGENT_USR' lv_partner_name. "
I am able to access this statement within the method. The same statemnt is used inside the FM also, I am not able to know whether the above code is passing the container data to FM, the approver is not getting determined because of that.
1. Kindly let me know how to pass the container data to FM, Should i need to do some bindind,
2. Can I debug this method runtime.
With Regards,
Poornima