cancel
Showing results for 
Search instead for 
Did you mean: 

coding in workflow

Former Member
0 Kudos

Hi ,

I want to send notification to cost center responsible person when ever PR is created with type 'K' . i am able to extract cost center which comes with business object BUS2105 but finally i am not able to find responsible person ID for that cost center. because i dont how to code this and exactly where to code , so that i can extract responsible person id when i pass that cost center.

please advice me on this.

Thanks,

rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can code this in your Business Object Method or create an attribute that will extract the cost Center owner(CSKS table). You need to create a subtype of Bus2105 and then create a delegate to your custom BO.

Regarding coding just refer to the forum. There are a lot of example.

Thanks

Arghadip

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rahul,

put a select query in ur BOR to find the responsible person ID from the relavent table using the "cost center and other key field" .

Then pass it to the container so that it can be used in the workflow for notification.

-siva

Former Member
0 Kudos

Hi Siva,

Can u please tell me where to write that select query in workflow.

Thanks,

Rahul

Former Member
0 Kudos

Rahul,

Go to SWO1 ,and write tat code in the method.

you have program tab above ,click on that and write tat select query.

and pass the value to wf.

-siva

Former Member
0 Kudos

thanks fr ur help , i am trying this and if stuck somewhere then revert back to you.

regards,

rahul

Former Member
0 Kudos

Always welcome .

But dont forget to give points if that helps you.

Former Member
0 Kudos

Hi Rahul Bhasin,

Write the select query in the method of the business object.

Thanks and Regards

Balaji K.