on ‎2012 Jun 26 11:52 PM
HI, I am trying to confirm a production order by MII, the way that I'm doing is running a BAPI, when I do it in the ERP alone I put three fields and those are ORDERID, POSTG_DATE, YIELD. These are the values ​​I'm passing it on MII and is not working. Anyone know how to confirm an order for production by MII?
Regards,
Victor
Request clarification before answering.
I use the BAPI 'BAPI_PRODORDCONF_CREATE_TT' and fill in
TABLES/TIMETICKETS/item/ORDERID with production order
TABLES/TIMETICKETS/item/OPERATION with operation number
TABLES/TIMETICKETS/item/YIELD with 1
TABLES/TIMETICKETS/item/FIN_CONF with 'X'
I also use the start session and end session instead of the jco interface so I have to do a commit/rollback.
The message 'TRANSACTION EXECUTED OK' only pertains to the MII transaction executing without errors NOT the BAPI.
After BAPI execution check 'TABLES/DETAIL_RETURN/item/TYPE' for the character 'E' and the error message from SAP will be in 'TABLES/DETAIL_RETURN/item/MESSAGE'. Pipe that message field into a terminate transaction action block with the error flag set and you will start getting the confirmation error messages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The operation number refers to the routing number on the production order.
I'm guessing but the SAP transaction CO12 might confirm all operations if you don't specify one.
Go to CO03 in SAP and hit F5 (Alternatively the button beside the hat at the top), that will show you all the operations for the production order.
I'm not a PP expert and I don't know how your system is configured so you may need to get help from your resident PP expert on how your production orders are configured.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.