How to bind the current workitemID value to the import parameter of method defined in the task?
I define a sychronous method of a ABAP class in my TASK. There is a import parameter called 'WI_ID' which needs the current workitem id in runtime. I bind WORKITEM.WORKITEMID of task to WIID of method in 'Binding Object Method' view.When I check it in SWI1, I found the WI_ID has not value, but the _WORKITEM.WORKITEMID has the current workitem id..