06-18-2008 7:40 AM
Hi gurus, Is there any bapi for confirming production orders like in Tx. CO11N ?
Thanks a lot!
06-18-2008 7:42 AM
Hi,
I also had same requirement for confirming production orders.. But there is no BAPI for this. Better go for SHDB recording and customize your program.
Dhana
06-18-2008 7:44 AM
06-18-2008 7:44 AM
Hi,
Check the Bapis
BAPI_PRODORDCONF_CREATE_TT
BAPI_PRODORDCONF_CREATE_HDR.
Regards
Kiran Sure
06-18-2008 7:44 AM
hi,
check the methods in bus2116.
ProdOrdConfirmation.ExistenceCheck Check existence of object
ProdOrdConfirmation.CreateTimeTicketMultiple Enter time ticket confirmation
ProdOrdConfirmation.GetTimeTicketProposal Propose data for time ticket confirmation
ProdOrdConfirmation.GetList Confirmation lists
ProdOrdConfirmation.Cancel Cancel production order confirmation
ProdOrdConfirmation.GetDetail Detailed data for production order confirmation
ProdOrdConfirmation.CreateTimeEventMultiple Enter time event confirmation
ProdOrdConfirmation.GetTimeEventProposal Propose data for time event confirmation
ProdOrdConfirmation.CreateAtHeaderLevelMultiple Enter order confirmations
ProdOrdConfirmation.GetAtHeaderLevelProposal Propose data for order confirmation
ProdOrdConfirmation.CreateActConfMultiple Enter activity confirmation
ProdOrdConfirmation.CreatePredefTimeTicketMultiple Transfer time ticket confirmations from PDC system
ProdOrdConfirmation.CreatePredefTimeEventMultiple Transfer time event confirmations from PDC system
ProdOrdConfirmation.Display Display Object
ProdOrdConfirmation.DisplayDifference Display variance in confirmation
reward points if hlpful.
06-18-2008 7:45 AM
Hi,
Check the Bapis
BAPI_PRODORDCONF_CREATE_TT
BAPI_PRODORDCONF_CREATE_HDR
Regards,
Raj.
06-18-2008 7:54 AM
06-18-2008 10:38 AM
I think I've solved my requeriment using this BAPIS:
BAPI_PRODORDCONF_GET_TT_PROP
BAPI_PRODORDCONF_CREATE_TT
Thanks!
07-09-2008 4:10 AM
Hello Ole,
Currently I'm testing BAPI_PRODORDCONF_CREATE_TT
in SE37 to update a production order by deducting a Yield amount.
Whenever I run the BAPI with the ORDER NO. and Yield, I get a return 'Confirmation of order XXXXX saved'
However, when I check the original production order, no amount gets deducted.
Would you know the required fields to make this program?
Warm regards,
Glenn
07-09-2008 5:05 AM
You need to execute BAPI_TRANSACTION_COMMIT
Goto se37 -function module - test - test sequence and create sequence with 2 FM
BAPI_PRODORDCONF_CREATE_TT
BAPI_TRANSACTION_COMMIT
and run it.
09-17-2008 10:21 AM
Hi,
I tried to use the sequence of these two BAPI's, but I was not succesfull. After first BAPI (BAPI_PRODORDCONF_GET_TT_PROP), GOODSMOVEMENTS table is empty, bt if I try it using trans. co11, I can see proposed goods movements.
I fill into TIMETICKETS table obly ORDERID, OPERATION and YIELD fields. Is there some trick, how to get data into GOODSMOVEMENTS table?
Thanks®ards,
Jirka
09-08-2009 2:38 AM
when calling BAPI_PRODORDCONF_GET_TT_PROP, set the parameter PROPOSE-GOODSMOVEMENT = 'X', this will fill the Goodsmovement internal table.