I am looking for a bapi or method to set the user status of a task.
We have created a status profile for user status and need to set the user status of the task in the dpr_attributes badi based on some conditions.
I tried bapi BAPI_BUS2175_SET_STATUS but it either says status profile not found or if i assign the status profile to the task it says status profile already active but never changes the user status.
I checked method SET_DATA_EXT of class CL_DPR_TASK_O but it does not have user status field for modifying whereas GET_DATA_EXT method has the user status but it wouldn't help to change the user status.
If anyone has any idea on this it will be extremely helpful.