cancel
Showing results for 
Search instead for 
Did you mean: 

classed based SAP workflow user decision with link to document

sugandhianand
Explorer
0 Kudos

Hello experts,

i have created a workflow using the custom class (implemented the IF_workflow) for sales order approval. my workflow is triggered sucessfully and got the workitem as well. but the problem is i am not getting link in the workitem which will take me to the sales document under "object  and attachment ".

i checked over SCN and found that i need to do binding between instance of my class to the _WI_OBJECT_ID. but while doing the binging i am getting error " the object catagories "CL" and "BO" are not compatible."

i am using standard user decision task TS00008276 with BOR as Decision and method as process.n

please suggest how to get the sales order display link under object and attachement in the workitem.

Regards

Anand

View Entire Topic
sugandhianand
Explorer
0 Kudos

Yes it is copy of the standard decision task TS00008276. i have replaced BOR with my custom class so as to enable the binding of _wi_object_id with the class and get the document link in the workitem.

things are working as expected, by copying the standard task i am getting the document link under"object and attachment ' section of workitem. but on clicking of it i am getting the error " user decision ********** has no alternative index 0000.

StephaneBailleu
Active Contributor
0 Kudos

Anand,

For me the standard decision task is TS00008267 I don't have the task TS00008276 in my system what system are you working on ?

Besides the standard decision task TS00008276 is with BOR DECISION and method Process and the BOR  shall not be replaced.


You can pass in the Object Ad Hoc your personnal object.

Cheer

Stephane