Hi Shailaja,
Please find below answers to your post .
1) A Production Order is defined as follows:
SAP supports three types of production orders.
i)Standard u2013:The Standard production order is based on the bill of materials(BOM) and you use it to produce a regular production item. You manage material transactions of the regular production process. In addition, you can change components at the production stage. When you open a new standard production order, all the components are filled in automatically.
ii)Special u2013: Use the Special production order to produce and repair items or to perform activities that are not necessarily bill of materials items. For example, repair order for customer equipment cards, or repair order for rejected assemblies. You create special production order components manually.
iii)Disassembly u2013 :Use the Disassembly production order to explode a parent item of the regular product to its child items. You disassemble the product into separate parts, which can then be put into stock and sold. For example, you can purchase a used car, take it apart, and sell the individual components
Once you release a purchase order and goods receipt is done it is converted to production order to initiate manufacturing of the product. Finally the goods are picked and confirmation of production order is done.
Process order:it is used in case for process industry where the BOM may change with each lot or batch .for eg. like in a pharma company every tablet has a batch number which has some different composition . For such Process industry we use Process order we need to define master recipe ,bill of material, resource and production version as master data for process industry .
2) List of BAPI For Production Order
The list of production order bapis are as below:
BAPI_PRODORD_CHANGE : Change Production Order
BAPI_PRODORD_CHECK_MAT_AVAIL : Execute Material Availability Check for Production Orders
BAPI_PRODORD_CLOSE : Close Production Orders
BAPI_PRODORD_COMPLETE_TECH : Technically Complete Production Orders
BAPI_PRODORD_COSTING : Carry Out Costing for Production Orders
BAPI_PRODORD_CREATE : Generate Production Order
BAPI_PRODORD_CREATE_CAP_REQ : Create Capacity Requirements for Production Orders
BAPI_PRODORD_CREATE_FROM_PLORD : Convert Planned Order into Production Order
BAPI_PRODORD_CREATE_FROM_REF : Create Production Order with Reference Order
BAPI_PRODORD_EXIST_CHECK : Check Existence of a Production Order
BAPI_PRODORD_GET_DETAIL : Output Details of a Production Order
BAPI_PRODORD_GET_LIST : Output Production Order Header Data in a List
BAPI_PRODORD_RELEASE : Release Production Orders
BAPI_PRODORD_REVOKEUSERSTATUS : Reset User Status for Production Orders at Header Level
BAPI_PRODORD_SCHEDULE : Schedule Production Orders
BAPI_PRODORD_SETUSERSTATUS : Set User Status for Production Orders at Header Level
BAPI_PRODORD_SET_DELETION_FLAG : Set Deletion Flag for Production Orders
BAPI_PRODORD_SET_DEL_INDICATOR : Set Deletion Indicator for Production Orders
BAPI_PRODORD_WM_MAT_STAGING : Execute WM Material Staging for Production Orders
List of BAPI for Process Order
| Cancel Process Order Confirmation |
| |
| Enter Activity Confirmations for Process Orders | ||
| Enter Confirmations for Process Order Header | ||
| Enter Confirmation Time Event for Process Order | ||
| Enter Confirmation Time Ticket for Process Order | ||
| Existence Check for Confirmation of Process Order | ||
| Detail Data for Process Order Confirmation | ||
| List of Confirmations for Process Orders | ||
| Propose Data for Confirmation of Process Order |
| |
| Propose Data for Confirmation Time Event Process Order |
| |
| Propose Data for Process Order Confirmation Time Ticket |
| |
| BAPI: Change Process Order |
| |
| BAPI: Execute Material Availability Check for Process Orders |
| |
| BAPI: Close Process Orders |
| |
| BAPI: Technically Complete Process Orders |
| |
| BAPI: Carry Out Costing for Process Orders |
| |
| BAPI: Generate Process Order |
| |
| BAPI: Create Capacity Requirements for Process Orders |
| |
| BAPI: Convert Planned Order into Process Order |
| |
| BAPI: Create Process Order with Reference Order |
| |
| BAPI: Check Existence of a Process Order |
| |
| BAPI: Output Details of a Process Order |
| |
| BAPI: Output Process Order Header Data in a List |
| |
| BAPI: Release Process Orders |
| |
| BAPI: Reset User Status for Process Orders at Header Level | ||
| BAPI: Schedule Process Orders |
| |
| BAPI: Set User Status for Process Orders at Header Level |
| |
| BAPI: Set Deletion Flag for Process Orders |
| |
| BAPI: Set Deletion Indicator for Process Orders |
| |
| BAPI: Execute WM Material Staging for Process Orders |
3) Depend on the requirement we will use following BAPI’s in MII for Production order
BAPI_PRODORD_CREATE - create production orders
BAPI_PRODORD_RELEASE - release production orders
BAPI_PRODORD_GET_LIST - list production orders
BAPI_PRODORD_GET_DETAIL - get production orders details
BAPI_PRODORDCONF_CREATE_TT - does the quantity/time (time ticket) confirmation
BAPI_GOODSMVT_CREATE - generates the goods receipt
And for Process order Below BAPI’s May use
BAPI_PROCORD_CREATE - create process orders
BAPI_PROCORD_RELEASE - release process orders
BAPI_PROCORD_GET_LIST - list process orders
BAPI_PROCORD_GET_DETAIL - get process orders details
BAPI_PROCORDCONF_CREATE_TT - does the quantity/time (time ticket) confirmation
4) There is no specific life cycle in ECC – MII , its all depends on your requirement …
Typical Life Cycle includes : 1) First Connectivity Between MII and ECC
2) Calling BAPI using SAP JCo Interface Action Block in BLS Transaction
3)Develop UI for the Users
Ex: If you want to create a production order in ECC using MII, First need to develop a BLS transaction by calling “BAPI_PRODORD_CREATE” using SAP JCo Interface Action block and follow necessary steps. Develop a UI for the End Users through which they may create / confirm the production order / process order .
Regards
Muthu