cancel
Showing results for 
Search instead for 
Did you mean: 

Get reservation number in class assigned to workflow task

former_member239066
Participant
0 Kudos

Hi experts,

I have created a class and assigned it to a task in a workflow.  I have an attribute type reference to IF_WAPI_WORKITEM_CONTEXT in the class.  I would like to get the stock reservation number that has been created in the class.  Which method should i use?

Thanks,

Vitish.

Accepted Solutions (1)

Accepted Solutions (1)

StephaneBailleu
Active Contributor
0 Kudos

Hi Vitish,

I don't think that I have fully understood your requirement, you are using a task linked to a method from a class.

Your class has an attribute like the interface IF_WAPI_WORKITEM_CONTEXT.

ANd you want to get a stock reservation number that has been created in the class.

Well then I think that your class need to provide the reservation number to the task that will provide it to the workflow.

Meaning if the reservation number is known within your class then you should use a return parameter

Why do you talk about IF_WAPI_WORKITEM_CONTEXT which is an interface made to use a container from a workitem ?

You are within your class use the method from your class.

Cheers

Stephane

Answers (0)