Hi Expert,
I am trying to understand the new EHSM task management framework and have reached a dead end. I am trying to create a new task definition programmatically using the class CL_EHFND_TDEF_ROOT_A_CREATE which is the new BO class for BO ' I_EHSTASKDEFINITIONTP'.
I am using the action 'CREATE' but it is not working. The thing i am not able to understand is how do i pass the task parameters mandatory fields like Title, Start Date, etc. I am getting missing mandatory fields error.
Attached is the code which i am using.
Kindly let me know what am i missing here.2020-06-02-14-25-16.png