‎2008 May 22 4:28 AM
Hi anybody,
Anybody please tell me how to change work center in co02 using BAPI ABAP Program.
please tell me what BAPI function for using update workcenter in co02.
I will give u reward points to u.
Thanks
Regards,
S.Muthu.
‎2008 May 22 4:32 AM
‎2008 May 22 5:01 AM
Hi,
Work Center
Definition:Operations are carried out at a work center. In the R/3 System work centers are business objects that can represent the following real work centers, for example:
Machines, machine groups
Production lines
Assembly work centers
Employees, groups of employees
Use
Together with bills of material and routings, work centers belong to the most important master data in the R/3 production planning and control system. Work centers are used in task list operations and work orders. Task lists are for example routings, maintenance task lists, inspection plans and standard networks. Work orders are created for production, quality assurance, plant maintenance and for the Project System as networks.
Data in work centers is used for
Scheduling
Operating times and formulas are entered in the work center, so that the duration of an operation can be calculated.
Costing
Formulas are entered in the work center, so that the costs of an operation can be calculated. A work center is also assigned to a cost center.
Capacity planning
The available capacity and formulas for calculating capacity requirements are entered in the work center.
Simplifying operation maintenance
Various default values for operations can be entered in the work center.
Look at CR01 ,CR02,CR03 Transaction
table : CRHD Table
Refer the function module documentation in SE37, its really good. Further you need to pass:
1. the PM order number in IT_HEADER as ORDERID
2. the operation number in IT_OPERATION as ACTIVITY
3. new work center in IT_OPERATION as WORK_CNTR
4. In method, you need to specify Object type, Object Id, method (Change, create, delete etc)
you can goto se 37 and put the bapi name and press display
in front of each parameter there will a documentation which will explain what does this parameter do.
then in your program you can use pattern to generate the code for function module call and pass your variables in the parameter.
Regards,
Jagadish
‎2008 May 22 8:30 AM
HI Jagadish,
I am using BAPI 'BAPI_ALM_ORDER_MAINTAIN' for change the Workcenter in co02.
But it will show one message 'BAPI call must have a SAVE or DIALOG method' what is the error?.
How to I Save the Workcenter using this BAPI program?.
please tell me.
Thanks
S.Muthu
‎2008 May 22 2:55 PM