Hello Workflow Gurus,
I have one requirement in leave request workflow for multilevel approval.
I am using the copy of std wf 25100001 for webdynpro abap.
I have copied the std class CL_PT_REQ_wf_ATTRIBS TO ZCL_PT_REQ_WF_ATTRIBS1 in which I have my custom methods. (Find approver1 , 2, 3 etc.)
The instance of the custom class is not created while I test the workflow from PTARQ tcode.
In workflow log the container element REQ is populated with data.
I have done the agent assignment and my logic to find the approver is working fine if I test the method in se 24 tcode. I am receiving pernr, start date, end date and subtype of leave request based on document id of the leave request.
(passing the Req.ID to ptreq_header & ptreq_items & then ptreq_attabsdata ).
my custom class- method zcl_pt_req_wf_attribs1-find_approver1 is not yet been called for processing.
Workflow goes into error.
I have changed the std class name in the REQ container giving my custom class.
While testing no values are populated.
I don’t know much about class, I have only hands on knowledge in the classes.
Please suggest me how to get the solution of the error.
Where I am missing input parameters?
i don't know how to create a instance of class like we do for Business Object.
Your valuable inputs are highly appreciated.
Thanks in advance.
Regards,
Krishna.