cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BOM in Workflows

Former Member
0 Likes
424

Hi all,

I just need a BOM to be displayed in workflow.I was told to use Userexits/BADI.But i am not aware of how to proceed.

Please provide me a clear step-by-step process.

Points are guaranteed for every input.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Rajkamal,

If possible kindly elaborate your requirement as it is not clear from your thread , wht you are trying to do .

Wht I got from the thread is you want to send a workitem to the user and when the user clicks on this workitem , he would be displayed with BOM details ??

If this is the case , wht is the point at which you want to trigger the workflow?

Former Member
0 Likes

Hi Manik,

My requirement is -> A 2 step approval of BOM using workflow.

The BOM is the one which i have created using CS01.

I wanted to display this created BOM in workflows.By using the BUS1080 as BO i couldnot trigger it because it doesnot have any events.

Can you please give me the process of how to display the BOM in workflows?

Thanks in advance.

Former Member
0 Likes

HI Rajkamal,

Yes its easy to display the BOM in the workflow but I am not sure about the triggering part . Try to find out the change document object for BOM . If it is not there then try to find out an user exit for the transaction CS01 . In the user exit include the code for trigering workflow.

Regarding getting BOM details in the workflow , here are the steps :

Create a function Mdule for fetching the BOM detaisl with import parameter as Material and export as exploded BOM.

create a Z object of your standard bus object

Add a method to this object with refernce as this function module .

Release your Z object.

Then goto transaction PFTC , create a task and give the object name as your Z object name and method as your added method.

Then goto your workflow . Add an activity and give the task number created in above step in the activity .

Bind the workflow and task by clicking on binding button .

Save and activate . Also assign the proper agent .

Hope this will solve your problem .