cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Prodcution order using workflows

former_member200170
Participant
0 Kudos

Hi all,

Iam new to workflows. I have been reading the documents on Workflows on SDN and few other sites.

I want to know whether we can create a production order using Workflows. If so, How we need to

pass necessary data like Material, Plant, Order type, Quantity and Basic Start date/ Basic finish date to

the Workflows? I have idea about Business objects, Events,Step types and overview of the workflow

terminology and pracitced few examples on workflows. Can anybody help me please?

Thanks & Regards,

Manjula.S

Accepted Solutions (1)

Accepted Solutions (1)

bhakti2
Active Participant
0 Kudos

You should use BAPI to create production orders

You should - extend and delegate your BO, create new method and put your BAPI in it, create activity step in your workflow , create a task for this step and call this method in it.

-r

Answers (1)

Answers (1)

Former Member
0 Kudos

You can have a look at following business Object from SWO1

BUS2005 Production order

BUS2116 Production order confirmation

MLST_PROD Production order trigger point

You can also check this Workflow Template from PFTC_DIS

WS20000387

Thanks

Arghadip

former_member200170
Participant
0 Kudos

Hi Rita,

Thanks for your answer.Can you explain more where to create the methods and extend the BO?

Thanks,

Manjula.S

Edited by: Manjula on Jun 25, 2008 6:29 PM

Edited by: Manjula on Jun 25, 2008 7:02 PM

bhakti2
Active Participant
0 Kudos

I dont know about standard existing workflows available for your requirement as mentioned in one of the posts here. so you better check the availale standard first and then decide if you want to build a customised one

and wat i told you is wat u need to do if you go for a customising one................ first of all identify what abap you are going to write to create your prodcution order. either its BAPI or BDC whatever.......maybe you create your own function module for doing that stuff...............then you extend the busines object of the prod order , then you add another method in it and call your function module in this method.........

ok now you create activity step in your workflow that you have already made with all the start events and things like that.........this activity step will have a task that calls this new method of yours..... .

you need to know some basic fundamentals of workflow for doing all this and if its your first time then it wil take some time.......

imthiaz_ahmed
Active Contributor
0 Kudos

As Argadhip as said, You don't need to extend anything just use the "CREATE1" method of BO BUS2005 as it calls the BAPI to create the Prod.Order.

Regards, IA