Reg:Bapi for mass creation of production order/confirmation
Dear Experts,
I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
BAPI_PRODORD_CREATE to create the orders.
BAPI_PRODORD_RELEASE to release the orders.
BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
Need your suggestions to take it further.
Regards,
Daya.
Dear SAP Daya
If the issue has been solved, please close this thread.
You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
Please read carefully the The SCN Rules of Engagement, especially point 8:
Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
BR
Caetano
Similar Messages
-
BDC for mass-upload on production order confirmation
Hi ALL
Is there any standard Program for the mass-upload on production order confirmation for labor and machine hours.
the T-code to do this is Co12.
thanks in advance !hi,
You can use standard SAP program RCCLBI03 to do mass upload
see these link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8046aa90-0201-0010-5e99-962948c83331
thanks
karthik -
Bapi for Delivery Creation from Sales Order
Hi
I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
Can i have BAPI or fumctiona module for same.
Best Regards
SubhamCheck this thread:BAPI for Delivery Creation
Also search the forums..there are many threads addressing the same issue.
Regards,
Kiran -
BAPI for operation change in production order?
Hi there,
I want to change operation data in a production order and I can only find this BAPI:
BAPI_ALM_ORDER_MAINTAIN
Can this BAPI also be used for changing an production order? Because in the documentation of the BAPI this function isn't really mentioned...
Can you give me some hints or the name of another BAPI doing this task?
Kind regards
Maxyep it can be used for that, the documentation for this bapi is ( very unusual for bapis I know ) available
call the bapi in se37. goto -> documentation
I don't have an example for changing orders and operations but I use it to copy serviceorders (only difference between serviceorder and production order is that you can enter a customer at serviceorders)
which are quite extensive with lot of operations and components and functional locations
here my example for creation. for change I believe you also have to fill the UP structures accordingly to what you want to update
kind regards
arthur
gs_meth-refnumber = 1.
gs_meth-objecttype = 'HEADER'.
gs_meth-method = 'CREATE'.
gs_meth-objectkey = c_init_ordid .
append gs_meth to gt_meth.
move-corresponding gs_meth to gs_ext.
gs_meth-refnumber = 1 .
gs_meth-objecttype = 'PARTNER'.
gs_meth-method = 'CREATE'.
gs_meth-objectkey = c_init_ordid.
append gs_meth to gt_meth.
h_refnumber = 1.
loop at gt_operations_i into gs_operations_i.
concatenate c_init_ordid gs_operations_i-activity into gv_so_operation.
gs_meth-refnumber = h_refnumber.
gs_meth-objecttype = 'OPERATION'.
gs_meth-method = 'CREATE'.
gs_meth-objectkey = gv_so_operation.
append gs_meth to gt_meth.
add 1 to h_refnumber.
endloop.
clear h_refnumber.
loop at gt_components_i into gs_components_i.
add 1 to h_refnumber.
gs_meth-refnumber = h_refnumber.
gs_meth-objecttype = 'COMPONENT'.
gs_meth-method = 'CREATE'.
concatenate c_init_ordid
gs_components_i-activity
gs_components_i-item_number
into gs_meth-objectkey.
append gs_meth to gt_meth.
endloop.
clear h_refnumber.
loop at gt_texts into gs_texts.
add 1 to h_refnumber.
concatenate c_init_ordid gs_texts-activity into gv_so_operation.
gs_meth-refnumber = h_refnumber.
gs_meth-objecttype = 'TEXT'.
gs_meth-method = 'CREATE'.
gs_meth-objectkey = gv_so_operation.
append gs_meth to gt_meth.
endloop.
* gebruikte objecten cq functieplaatsen
clear h_refnumber.
loop at gt_objectlist_i into gs_objectlist_i.
add 1 to h_refnumber.
gs_meth-refnumber = h_refnumber.
gs_meth-objecttype = 'OBJECTLIST'.
gs_meth-method = 'CREATE'.
gs_meth-objectkey = c_init_ordid.
append gs_meth to gt_meth.
endloop.
clear h_refnumber.
if p_objrel = 'X' and gt_relation_i is not initial.
* koppeling functieplaats met operatie
* kunnen geen meervoudige koppelingen gemaakt worden in BAPI
* dus hier 1 koppeling maken en na BAPI de rest aanleggen
read table gt_relation_i into gs_relation_i index 1.
add 1 to h_refnumber.
gs_meth-refnumber = h_refnumber.
gs_meth-objecttype = 'OLISTRELATION'.
gs_meth-method = 'CREATE'.
gs_meth-objectkey = c_init_ordid.
append gs_meth to gt_meth.
endif.
gs_meth-refnumber = c_init_ordid.
gs_meth-objecttype = space.
gs_meth-method = 'SAVE'.
gs_meth-objectkey = c_init_ordid.
append gs_meth to gt_meth.
* BAPI-call
refresh: gt_ret, gt_numbers.
clear: gt_ret, gt_numbers.
call function 'BAPI_ALM_ORDER_MAINTAIN'
destination 'NONE' " --> Zie note 770626 !
tables
it_methods = gt_meth
it_header = gt_header_i
* IT_HEADER_UP =
* IT_HEADER_SRV =
* IT_HEADER_SRV_UP =
* IT_USERSTATUS =
it_partner = gt_partner_i
* IT_PARTNER_UP =
it_operation = gt_operations_i
* IT_OPERATION_UP =
* IT_RELATION =
* IT_RELATION_UP =
it_component = gt_components_i
* IT_COMPONENT_UP =
it_objectlist = gt_objectlist_i
it_olist_relation = gt_relation_i
it_text = gt_texts
it_text_lines = gt_text_lines
extension_in = gt_ext
return = gt_ret
et_numbers = gt_numbers.
call function 'BAPI_TRANSACTION_COMMIT'
destination 'NONE'
exporting
wait = 'X'
* IMPORTING
* RETURN =
* Zie note 770626 ...
call function 'RFC_CONNECTION_CLOSE'
exporting
destination = 'NONE'
* TASKNAME =
exceptions
destination_not_open = 1
others = 2
Edited by: A. de Smidt on Feb 26, 2009 5:20 PM -
BAPI for material documents by production order
I'm looking for a BAPI that will provide the list of material documents for a given production order. This is similiar to the functionality provided by the COOIS transaction using: "Documented Goods Movements" as the list type. I've looked at BAPI_GOODSMVT_GETITEMS. However this BAPI does not contain a method to select by production order.
Message was edited by:
Glenn DohertyHI
Check this link it wuld be helpful to you
'BAPI_ALM_ORDER_MAINTAIN' for change in service order. -
Mass cancellation of production order confirmation
Hi All,
Wrong confirmation is posted with no cost control key. But the operation is relevant to cost.
Now we have to cancel all the wrong confirmations & re-confirm with a correct control key. Is there any way to cancel confirmations in mass??
Pls reply...Dear Srijit,
There is No Std T-code for Mass Cancellation of Confirmation
Either go with LSMW or BDC
Regards
Madhu -
Batch Classification for Auto GR during Production Order Confirmation
Dear All,
I have a scenario,where Auto GR has been activated in last operation of an order.Material is batch managed with certain characteristics.When I use CO11n, and go to goods movement tab,batch for 101 movement type is entered but Batch classification pop up doesn't come.For that we need to select the line item,goto extras and create batch,then Pop up for batch classification comes.But,if we do GR with MIGO & MB31, This classification screen automatically in Co11n. i have tried certain exits also, but nothing works.Hi Stuti<
Refer the below links it will solve the issue.
[Batch Determination - help|http://help.sap.com/saphelp_45b/helpdata/en/25/283cb44f7811d18a150000e816ae6e/frameset.htm]
[SDN Thread-1|Re: Batch Determination issue -reg]
[SDN Thread-2|Batch Determination;
Regards,
Shyamal -
FM for creation of production order creation
Hi All,
Can anyone tell me the BAPI for the production order creation.
BAPI for creation of production order through CO01 transaction code.
Thanks in advance
Ramesh.Hi,
Please check this FM CO_ZF_PRODUCTIONORDER_CREATE.
Regards,
Ferry Lianto -
How do we Prevent Creation of Production Orders for Phantom materials.
Dear Experts;
We have some materials which are Phantoms.
We have set "special procurement type" as 50 in MRP2 and "Strategy Group" as 59 in MRP3
These are non stchable items, but have BOMS.
We dont create orders for them, however at the mement the system allows order creation. How do we prevent creation of production orders for these items in the system.
Thanks in Advance
Richard.Dear Richard,
Check using this BADI - WORKORDER_UPDATE using method IN_UPDATE or Release by including a check if MATNR and for
WERKS combination if SOBSL = 50 from table MARC,then do not allow to save.
Check whether this works or else you have to set a plant specific status using OMS4 for not allowing production order
creation and assign this value in the material master of the phantom assemblies.
Check and revert
Regards
Mangalraj.S -
BAPI for Mass Purchase Order Confirmation
Dear All,
In standard SAP,it is possible to confirm for single line item only by using confirmation tab.
We want to confirm Mass PO Confirmation.
Is there any BAPI for Mass Purchase Order Confirmation?
Regards,
RameshHi Sumant,
I have tried with TC:MASS.
By using this TC we can update quantity but not delivery date & Confirmation Control (Fields available in the confirmation tab of ME22n for Vendor Confirmation).
Is there any way to updates all these fields which are available in the Confirmation Tab?
Is there any BAPI which is tranferring confirmation tab details into EKES table?
Expecting your valuable inputs in this regard.
Regards,
Ramesh -
Any BAPI available for mass creation/change/delete for dependency net
Hi guys,
Any BAPI available for mass creation/change/delete for constraints in dependency net. I mean any uploading option in mass for creation, change and delete.
Regds
RegdsHi,
Check if the below FM's meet your need:
CAMA_CNET_CONSTRAINT_MAINTAIN
CAMA_CONSTRAINT_NET_MAINTAIN
CAMA_DEPENDENCY_MAINTAIN
Regards,
Vivek -
To find an Exit For Tcode: CO01(creation of Production Order)
HI all,
I want to create a Production order against a Sales order in transacttion CO01.
After enetering the required details like quantity(eg.1000), the scheduling type and mandatory fields i schedule the order.It opens a Subscreen where i have to select a grp.After selecting it, it throws me a popup saying that all the workcenters are overloaded and gives me three options:
1.Detailed Info
2.Finite Scheduling.
3.Cancel.
If the user selects Finite scheduling the system allows it to release and create the order.
My reqt. is that i want to restrict the user from creating a prod. order if the work centre is overloaded.
Is there a solution where the popup that appears displays the first 2 options in display mode and allows the 3 option in the normal mode or can i throw a error message saying that the work center are over loaded so a production order cannot be created..
I tried to find a user exit at the time of release or scheduling but cldnt find one..
Pls Help.
Awaiting reply shortly.
Thanks,
Lailu PhilipHi
Try below exits:
CIFORD03 Enhancement for In-House Prod. Order Inc.for Customer Fields
PPAPO003 Production Order R/3->APO: Check if Operation is APO-Relev.
PPAPO007 Overriding Checkbox Fields for Production Order APO -> R/3
PPCO0012 Production Order: Display/Change Order Header Data
Hope it helps
Regards
Tushar Mundlik -
Automatic Creation of Production order per month
Hello Gurus,
Good Day! Is it possible to schedule creation of production order in background for certain material per month basis?
Thank you,
raymondHi Raymond,
If the suggestion of REM does not work for your requirement, then take the help of your ABAPer use one of the below BAPI's & create a Z prog. for creation of order as required.
1. Prdn order frm plnd order -> BAPI_PRODORD_CREATE_FROM_PLORD
2. Prdn order -> BAPI_PRODORD_CREATE
3. Prdn oder with ref -> BAPI_PRODORD_CREATE_FROM_REF
Alternatively, create one order & keep it open for the entire year, just do monthly wip calc & at the end of financial year settle the order completely.
If helpful award points
Regards,
Vivek -
Mass creation of planned order
Hello,
is there a way to mass creat a planned order for a finished product? having same FG mat, plant and prod version.
ThanksDear
1.Goto MD61 with User parameters like Plant , Requirement type , Version and Planning Date .Then Select the Material Radio Buttion with FG item code .
2.Enter the FG qty as required in each month as demand
3.GotO MD02-Single Item ,Multi Level with indicator : NETCH , 2,1,3,3,2 and Execute the MRP to create the Planned order for FG
4.Check the result in MD04
There is no SAP Standard Traction to Mass creation of Planned Order .That is possible in Demand Creation and MRP run .
Regards
JH -
Production order confirmation with BAPI
Dear PP friends,
I want to create a program to confirm production orders in mass at header level like CO15. To do it I am trying to use BAPI_PRODORDCONF_CREATE_HDR and it works fine for planned backflush.
However, I am not able to change data of goods movement (quantity, warehouse and batch). Is it possible?
What is the function of GOODSMOVEMENTS table?
I studied the following thread but I could not solve it.
Production Order Confirmation BAPI
Does anyone have suggestions?
Thanks in advance.
MarcosHi Caetano,
Thanks for your reply.
I tested BAPI_PRODORDCONF_GET_HDR_PROP and it proposes goods movements according with open quantity of the production order. In this case, would I have to adjust all movements with actual quantity?
Is possible to propose goods movements according with confirmed quantity?
Regards,
Marcos
Maybe you are looking for
-
Add new field in contract item additional B
Hi all, Could you mind to explain the detail how to add it on Contract document additional B in item level? I already read the thread, they say that modified the screen SAPMV45A and screen no 8459. I don't understood how to do it ? Append structure a
-
After updating I Tunes last version on Windows XP, I received the following message R6034, Windows error 1114. Now I can't use anymore ITunes. What to do?
-
I need to negotiate password hashes for Authentication: NTLM (opposed to BASIC) but this requires sending a message back to the client and receiving the hashes without closing the socket. There's a nice diagram of this handshake here: http://www.inno
-
Using a camcorder as analogue converter
I'm considering buying a cheap camcorder to use as a analogue converter to a reasonable sony crt monitor for color correction of a HDV project. The monitor isn't hd and isn't fully color managed but would this be a better setup than using my calibrat
-
Wi-Fi does not detect on Satellite L40-139
Hello! I have a problem with Wi-Fi connection on Toshiba L40-139 under Windows XP Professional I have all drivers for this model from this site. Also Intel PRO/Wireless 2915ABG: 9.0.4.39 adapter was installed. But during the installation there was an