Skip to Content
0
Former Member
Apr 21, 2009 at 06:15 AM

ABAP Objects : calling one method from another class

1519 Views

Hi,

Can you please tell me how to call method from one class or interfce to another class.The scenario is

I have one class CL_WORKFLOW_TASK, this class have interface IF_WORKFLOW_TASK & this interface have method IF_WORKFLOW_TASK~CLOSE. Now my requirement is ,

There is another class CL_WORKFLOW_CHAIN ,this class have interface IF_WORKFLOW_CHAIN & this interface have method IF_WORKFLOW_CHAINCLOSE_ALL_PREDECESSORS. Now i have to write my code in this method but i have to use IF_WORKFLOW_TASKCLOSE method for closing the task.

Can you please give me the code for the above .

Please waiting for reply.