cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in passing data from method to workfkow

Former Member
0 Kudos

Hi Experts,

I have developed a custom workflow which gets triggered when ever a document is parked in FV50 transaction. The WF is designed to make decision whether to post the parked document or not.

I am using BO FIPP. I have created a method to fetch approver id based on Initiator id. The approver id is then passed to the WF via a task. But the problem here is, Approver Id is not getting passed despite taking care of necessary bindings.

In debugging mode i checked that Approver id(stored in Z table) is getting fetched, but it is not getting passed to WF.

Please let me know how to over come this issue.

Regards

Balu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I resolved the issue my self, there was problem in fetching Approver id not with binding.

Thanks

Balu

Former Member
0 Kudos

Have you executed the Standard Task separately in SWUS. If you are getting the value in the Task container then I think you have not binded the oject(FIPP) to Object(WI_OBJECTID) from workflow to Task. Please do so and then test it after refreshing the buffer from SWU_OBUF.

You can alternatively make this method as Instance independent and then test.

Thanks

Arghadip

Former Member
0 Kudos

Hi Arghadip,

Thanks for ur valuable suggestion.

I checked in debugging, there is a internal table LT_METHOD_CONTAINER which stores initiator and approver id. The problem is that only intiator id is getting stored in this int table. If i give Approver id in debugging mode, then the user decision is going to approver's id.

Regards

Balu