Sales to Production order link
Hi All,
There is a requirment in my project to get the "Net profit per std hour".This is one of the KPIs. And they need the Sales order, material in the characteristics also.
Basically I need to get Actual sales for a period and the production cost against it,then dividing it by quantity into SMV(Standard minute value). So I need to get the production order total cost for the relavant sales orders.
Is there a cube that I can use to get the Sales order info and production info both?
If not what would be the best approach for this?
Cheers.
DM
Can someone please help me out?
Similar Messages
-
Collective production order link based on parent production order in MTS with strategy 10
Dear Team,
Now we are using MTS Production order system with strategy 10,As per my Business requirement we need to take all the child components production
orders based on the Parent component production order .In this case for planned order conversion we are using CO40 transaction code(i.e. Collective conversion) as well as all planned orders generated through MRP. As per my business process we are using Route cards which are Z smart forms with all Production orders from parent to child component with quantity is taken as a PDF printout,As per our customer requirement we will store those Route cards up to next 15 years. When user has to check Production order linking at any point of time, this functionality is not available for MTS. I tried MD4C but it is not a best solution for my business requirement.So please provide any another standard solution available for this requirement.
Thanks in advance,
Regards,
Krishna.There is another suggestion that you can determine the costing indicator in the requirement class. you can get the requirement type from procurement page in the sales order header, then go the customizing menu to find out which requirement class has been assigned to the requirement type. Then you can get the "costing" and "mark" indicator.
The customizing menu is the node of controlling - cost object controlling -> CO PC for sales order.
Correct me if i am wrong, thanks.
Best Regards!
Flex Yang -
Issue with production order linked to quote instead of sales order
Hi Gurus,
I did a lot of digging through SAP notes and accross the internet. Before I contact SAP, just wanted to give a shot @ SDN. Please help.
Background- for ATO (VC assemble to Order):
i) Created a quote
ii) Created a sales order with reference to a quote
iii) MRP created a planned order and the planned order is linked to the quote
iV) Production order created and it is also linked to a quote
v) All reports, MD04/COOIS shows that the plnd order/prd order is linked to the quote
My issue - print a shop paper or a customer specific product ID label....guess what 'it prints the quote number everywhere'.
Everything is tied to a quote - which is not a real demand. All purchase orders are tied to the quote. THIS IS STUPID.
I refered to SAP Notes - 181685 and 459734. But I need details of what config settings I should do and where?
I'm a pure PP guy, getting into SD requirement type & account assignement settings. Please help me with details.
http://scn.sap.com/message/8018953#8018953
This guy also had the same problem and his issue was never resolved.
Thanks,Hello
Take a look on the following note where this scenario is described:
16658 - Generate sales order stock based on quotation
The note proposes the following setting as a workaround to this issue:
"As of 3.0, when the requirements type is assigned to the transaction
during requirements type determination, it is possible to assign a
requirements type to the quotation that does not represent make-to-order
production."
Therefore, please check your customizing settings and make sure that a requirement class/type (transactions OVZG and OVZI) without MTO is assigned to the quotation item category (transaction OVZI).
On transaction OVZI, there is a field called "Origin of requirement type in requirement type determination". Please take a look on the information provided on the F1 help of this field:
========================================================================
Origin of requirement type in requirement type determination
In the standard release, the requirements type is determined according
to a certain search strategy depending on the strategy group of the
material.
In this field you can select an alternative search strategy (source):
Source 0 = Material master strategy, then item category and MRP type
Source 1 = Item type and MRP type strategy
Source 2 = Item type and MRP type strategy (as for source 1) with
additional check of the allowed requirements type
========================================================================
Therefore, my suggestion is to set this field to 1 for the quotation item category and assign an MTS requirement type on OVZI.
BR
Caetano -
Production Order link to Many Sales order in Make to Stock
Hi
We ve Make to Stock Scenario ,
We club Sales order & manually create one Production order
how to link one Production order to many sales order
After production confirmation How to transfer stock to Sales order stockDear,
In make to stock you cannot have a direct link between production order and sales order.
In your situation why are you clubing many sales orders and creating a production order?
that means you donot have planning cycle in place i.e. Demand management--> MRP?
If planning is not implimented, then you can create a production orders manually as you mentioned.
You can use the exit PPCO0006 to create many extra fields in production order header in a seperate tab and can use this fields to fill the sales orders so that you can have a link. this is onky for information purpose.
Once you have produced the product you can use 412 movement type special stock - E in MB1b transaction to transfer the stock from unrestrcuted to sales order specific stock
pl come back if you need more information
Message was edited by:
Rajesha Vittal -
Production order link to raw Material
Hi
Experts
We have manual Production order system (NO MRP)
System works like this
Work order (Manually given to Production) Part name Material Qty and Dispatch date.
Finish Material A
This contains semi finish material X, Y, Z
X contains Raw material and Scrap Generated
Y contains X and Scrap
Z Contains Y and Scrap
Finish A Contains Z material
Then Production people create the sub semi finish Production order of X before he checks raw material from store and accordingly by calculating he create Production order of X then Production order of Y and Z and then Create Production Order Of Finish Material.
Our problem is that as we create manually Production order the material issued from store we are not able to link with the production order.
As this material is issued to this production order. How to map this?
The other issue is regarding consumables we also want to map this to Production order. Like Coolant used and inserts used on work center how to map?
Please guide me.
Thanks & Regards
PertHi,
If you are creating production orders with CO08 (With reference to sales order ) then RM tracking can easily be done.
Just need to give sales order number in COOIS report or in table AFPO it will give you all the production orders and RM can be traced till FG.
But if you have MTS then the calculation must be assumption basis .
If the same RM used in same SFG with different production orders then that might be impossible to trace without batch and sales order.
Now you want to trace tool then use PRT
You need to create material as PRT .
Assign that PRT in routing with Usage formula .
So PRT will be copied on production order with routing . When ever you will confirm the operation the usage value of PRT will be updated.
Regards,
Vishal -
Dear Guru's,
we have a requirement i.e. user can convert planned orders in to production orders (CO41) based on those production orders we can get Route card( Z Smart form) presently we are using manual input for that Route card. recently we got requirement for this i.e. make to automatic generation of route card for this requirement we need to get the list of child's production orders based on parent production order
so as per my requirement i need to get all child part numbers production orders based on parent production order number and quantity i tried in MD4C and CO46 but those transactions codes are picking multiple lines also so for this requirement please give your valuable suggestions
Regards,
VenkatDear Friends,
Thanks for your reply,
My business process is MTS purely strategy 10, for route card all components with production orders we can give input as like bellow these production orders are converted from planned orders,between few components are don't have production orders those are F-30 materials,because of this reason i need link for production order to child components orders
01
IND1
IND1
A1CE2003520103-005
55685815
02
IND1
IND1
A1CE2003520103-010
55685814
03
IND1
IND1
A1CE2003520103-015
55685813
04
IND1
IND1
A1CE2003520103-020
55685812
05
IND1
IND1
A1CE2003520103-025
55685811
06
IND1
IND1
A1CE2003520103-030
07
IND1
IND1
A1CE2003520103-035
55685810 -
Hi,
In Make To Order scenario, how can we see the list of purchase orders released for a particular sale order or production order. If the sale order gets cancelled for some reason, all those POs are to be delinked from old sale order and relinked to new sale order. Is this possible in standard ?Hi,
If the sale order gets cancelled for some reason, all those POs are to be delinked from old sale order and relinked to new sale order. Is this possible in standard ?
For items / compoents, if you are maintaining MRP view 4 individual / collective requirement set indicator 1 is not possible and MRP view 4 individual / collective requirement set indicator 2 is possible to use these stock to other purchase order
Regards,
Sankaran -
I want to establish link between two production orders in different plants
I have two different plants - Plant A & B
Presently Material produced in plant A is processed in plant B with different production orders...scenario is as below
Plant A -> 5 different orders raised and dly qty. from orders is taken as input in Production order of Plant B i.e 5 lots input to make one bulk lot in plant B.
The output of plant B to be apportioned to the plant A orders.
In plant A - for each orders 5 different service purchase orders are being triggered and GR against the apportioned qty. from plant 'B' order manually.
I want to establish a link for plant 'A' and plant 'B' orders. -
PP Production orders link with Profit Center
hi experts
we are working on Projects based scenario and Production is doing in the same way, we mentioned profit center in Project WBS element, but my requirement same profit profit center should be link to production order.
what are the settings need to be done please help
thanks in advance
SingDear Slng,
In my understanding if you have assigned a profit center in the material master under Costing1 view then it get's copied
automatically into the production order which can be seen under Assignment tab page of the production order.
This is the process when you create a production order from a planned order using CO41/CO41 or by creating a production
order manually using CO01.
Check and revert back.
Regards
Mangalraj.S -
Production order in the additoanl tab b in sales order
Hello gurus,
I have to create a new field on sales order item(additional tab b) where the production order would be filled via a batch job.
Then i have to create a z-program to populate the new field added (this would run everyday).
selection screen would have sales order(optional)
sales org (required, multiple values possible)
plant (required, multiple values possible)
date (required field representing the date from which update is to be seen)
logic:
for a particular date find all the sales order changed after that date.
read for all these whether there is a production order linked to it.
(this can be done by reading all production oreders enterd/chnged after that date.
for every sales order look for the value of variant characterstics b_sales_order & b_sales_order_item using method get_prod_order_multiple)
look for sales order item with the value of this characterstic and populate the new additional field with production order.
please advice how to proceed.
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Feb 27, 2011 6:38 PMhi,
You can changes the settings in OPU3 and also you can do it in CO03.
If you want to restrict the user for backward scheduling except for some cases then you can do this in CO03 other wise it is better to do it in OPU3 transaction. Both cases you need to enter max days for back dated scheduling.
For doing it is CO03 follow the pat from order header data screen.
Menu...
Order>>settings->scheduling parameters.
Hope this can help.
regards,
kaushik -
How to check the Production order exits
Hi Experts
Modification to processing of Command Orders & Tickets
We require a modification to the processing being performed on sales data originating from the Command Concrete system and potentially from other systems yet to come online (e.g. Pinkenba Cement plant).
The Sap process involved is ZINT_INBOUND_POLLING and within that, ZINT_CSTPORD_ROUTINES.
The problem
Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.
In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.
This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.
The solution
In the routine which checks for the existence of a production order, modify the code as follows:
Inspect each item on the sales order
If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.
---- ZINT_CSTPORD_ROUTINES -
*& Form process_inbound_data
Create prod. orders from ticket data extracted from the COMMAND
system. Note that large portions of the code in this routine
have been copied from the retired ZPPU_COMMAND_PRODUCTION
interface program. This was done (1) because the old code works
and (2) to save development time.
-->T_ZINT_IDATA Internal table of interface data
-->T_ZINT_PARAM Internal table of interface parameters
-->T_ZINT_MSLOG Internal table of messages
-->P_ZINT_ID Interface ID
-->P_ZINT_TY Inteface type
-->P_ZINT_IS IDOC group for interface
-->P_ZINT_DL Flag: delete IDOC group when complete
-->P_ZINT_AL Flag: run in standalone mode
-->P_ZINT_NW Flag: do not log warning messages
-->P_ZINT_SQ Interface sequence number
<--P_ZINT_RC Return code (<>0=>error)
form process_inbound_data tables t_zint_idata structure zint_idata
t_zint_param structure zint_param
t_zint_mslog structure zint_mslog
using p_zint_id type zint_id
p_zint_ty type zint_ty
p_zint_is type zint_is
p_zint_dl type zint_dl
p_zint_al type zint_al
p_zint_nw type zint_nw
p_zint_sq type zint_sq
changing p_zint_rc type zint_rc.
program is continuing .............
I WANT TO WRITE A CODING HERE **********************
CHECK IF PRODUCTION ORDER REQUIRED
IF NOT THEN GO TO PERFORM UPDATE DATA
if production order required then check
for each item on sales order item list
with item category = 'ZTAC' then
return true
next
end function
if there is no production code
these has to be check from VBAP TABLE field VBELN and PSTYV (ZTAC,ZTAN Etc)
select * from Vbap WHERE VBELN = '00000269951' and VBAP.PSTYV = 'ZTAC','ZTAN' Etc
No production order?
elseif lva_prodord is initial.
clear v_messg.
call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
exporting
input = lva_filemat
importing
output = lva_filemat.
No production order found - log a warning message.
concatenate 'Production Order not be found for'
'Command order' lva_cmdord
'Material' lva_filemat
'Customer' lwa_02-customer
into v_messg separated by space.
perform write_log_entry
tables t_zint_mslog
using 'E' 'ZINT_CSTPORD_ROUTINES'
'FIND_SAP_PRODORD'
v_messg
p_zint_nw
lwa_01-ticketnumber. " RJS
continue.
endif.
Production Order WAS found... Continue creating IDOCS
lwa_hdrlevel-postg_date = lwa_01-ticketdate.
Obtain the storage location parameter value.
read table t_zint_param with key zint_fn = 'LGORT'.
if sy-subrc ne c_noerr.
perform write_log_entry
tables t_zint_mslog
using 'E' 'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
'Parameter LGORT is missing from ZINT_PARAM'
p_zint_nw
lwa_01-ticketnumber. " RJS
exit.
endif.
loop at l_it_05 into lwa_05
where ticketnumber = lwa_01-ticketnumber.
clear lwa_gm_item_create.
lva_filemat = lwa_05-material.
if lva_filemat eq lva_prodmat.
concatenate 'Command ticket-' lwa_05-ticketnumber
into lwa_hdrlevel-conf_text.
lwa_hdrlevel-conf_quan_unit = lwa_05-unitofmeasure.
lwa_hdrlevel-yield = lwa_05-quantity.
check whether the confirmed value + current delivery value is equal *
the production order qty. If the production order value is less
than the total delivered value, set final conf indicator and clear
reservations
lva_wemng = lva_wemng + lwa_05-quantity.
if lva_wemng < lva_psmng.
lwa_hdrlevel-clear_res = c_false.
lwa_hdrlevel-fin_conf = ' '.
else.
lwa_hdrlevel-clear_res = c_true.
lwa_hdrlevel-fin_conf = 'X'.
endif.
move: 'Z1BP_PP_HDRLEVEL' to t_idoc_data-segnam,
lwa_hdrlevel to t_idoc_data-sdata.
append t_idoc_data.
clear lva_formmat.
lva_formmat = lwa_05-material.
lwa_gm_item_create-material = lva_formmat.
lwa_gm_item_create-plant = lwa_03-plant.
lwa_gm_item_create-ref_date = lwa_01-ticketdate.
lwa_gm_item_create-prod_date = lwa_01-ticketdate.
lwa_gm_item_create-move_type = '101'.
lwa_gm_item_create-spec_stock = 'E'.
lwa_gm_item_create-sales_ord = lva_saleord.
lwa_gm_item_create-entry_qnt = lwa_05-quantity.
lwa_gm_item_create-entry_uom = lwa_05-unitofmeasure.
lwa_gm_item_create-orderid = lva_prodord.
lwa_gm_item_create-move_mat = lva_formmat.
lwa_gm_item_create-move_plant = lwa_03-plant.
lwa_gm_item_create-mvt_ind = 'F'.
clear t_idoc_data.
move: 'E1BP2017_GM_ITEM_CREATE' to t_idoc_data-segnam,
lwa_gm_item_create to t_idoc_data-sdata.
append t_idoc_data.
else.
clear: lva_loggr,
lva_formmat.
lva_formmat = lwa_05-material.
select single loggr into lva_loggr from marc
where matnr = lva_formmat
and werks = lwa_03-plant.
if sy-subrc ne 0.
clear v_messg.
No logistics handling group - log a warning message.
concatenate 'No logistics handling group for material'
lva_formmat
'in plant'
lwa_03-plant
into v_messg separated by space.
perform write_log_entry
tables t_ldata
using 'W' 'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
v_messg
p_zint_nw
lwa_01-ticketnumber. " RJS
clear lva_loggr.
endif.
if lwa_03-satsur eq 'T'.
lwa_e1edl21-lprio = 30.
else.
lwa_e1edl21-lprio = 20.
endif.
else.
if lwa_03-satsur eq 'T'.
lwa_e1edl21-lprio = 10.
else.
lwa_e1edl21-lprio = ' '.
endif.
endif.
lwa_e1edl21-berot = lwa_04-driver.
move: 'E1EDL21' to t_idoc_data-segnam,
lwa_e1edl21 to t_idoc_data-sdata.
append t_idoc_data.
lwa_e1edl55-qualf = '001'.
lwa_e1edl55-refnr = lva_saleord.
move: 'E1EDL55' to t_idoc_data-segnam,
lwa_e1edl55 to t_idoc_data-sdata.
append t_idoc_data.
Loop at materials - create delivery entry for each
loop at l_it_05 into lwa_05
where ticketnumber = lwa_01-ticketnumber.
clear t_idoc_data.
lwa_e1edl24-matnr = lwa_05-material.
lwa_e1edl24-werks = lwa_03-plant.
lwa_e1edl24-vfdat = lwa_01-ticketdate.
lwa_e1edl24-lfimg = lwa_05-quantity.
lwa_e1edl24-vrkme = lwa_05-unitofmeasure.
lwa_e1edl24-lgort = t_zint_param-zint_fv.
clear lva_loggr.
lva_formmat = lwa_05-material.
clear lva_loggr.
select single loggr into lva_loggr from marc
where matnr = lva_formmat
and werks = lwa_03-plant.
if sy-subrc ne 0.
No logistics handling group - log a warning message.
concatenate 'No logistics handling group for material'
lva_formmat
'in plant'
lwa_03-plant
into v_messg separated by space.
perform write_log_entry
tables t_ldata
using 'W' 'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
v_messg
p_zint_nw
lwa_01-ticketnumber. " RJS
lva_loggr = 'BBIN'.
endif.
if lva_loggr is initial.
move: 'E1EDL24' to t_idoc_data-segnam,
lwa_e1edl24 to t_idoc_data-sdata.
append t_idoc_data.
endif.
endloop.
clear: lva_xabln,
lva_vbeln,
l_vbfa.
Matching ticket against a Delivery?
select single xabln vbeln into (lva_xabln,lva_vbeln) from likp
where xabln = lwa_01-ticketnumber.
if sy-subrc = 0.
If found, does this delivery match the sales order?
select * from vbfa into l_vbfa
where vbelv = lva_saleord
and vbeln = lva_vbeln.
exit.
endselect.
endif.
No matching delivery found, or Matching delivery, but for other Sls Ord
if lva_xabln is initial
or ( lva_vbeln <> space and l_vbfa is initial ).
if not lva_saleord is initial.
perform create_delivery_idocs tables t_zint_mslog
using s_idcgp
lwa_01-ticketnumber
p_zint_nw.
else.
concatenate 'Error finding a Sales Order for ticket "'
lwa_01-ticketnumber
'" reprocess the file AFTER'
' the sales order issues have been fixed'
into lva_outtext.
perform write_log_entry tables t_zint_mslog
using 'E'
'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
lva_outtext
p_zint_nw
lwa_01-ticketnumber. " RJS
endif.
else.
concatenate 'Command Ticket "'
lwa_01-ticketnumber
'" has already been processed into delivery "'
lva_vbeln
into lva_outtext.
perform write_log_entry tables t_zint_mslog
using 'I'
'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
lva_outtext
p_zint_nw
lwa_01-ticketnumber. " RJS
refresh t_idoc_data.
endif.
endif.
refresh t_idoc_data.
Write out all messages collected so far
perform update_data tables t_zint_mslog
using p_zint_id p_zint_ty.
endloop.
Write out all messages collected so far
perform update_data tables t_zint_mslog
using p_zint_id p_zint_ty.
endform. " process_inbound_data
Thnaks
RegardsThanks
Thread closed -
Production order layout - PLD or crystal reports
hello all
I need to create a layout for the Production Order.
I want to try crystal reports or PLD.
My problem is this - For each production order linked to the same SALES ORDER, I need to print one Production Order layout(JOBCARD) with the work instructions from all the other production orders linked to the same sales order, currently we use coresuite for this, but the production order datasource is not available for SAP HANA yet.
This is how the current Production order looks in SAP B1, I need to do the same in HANA.
Thanks in advance
JaniceHi,
In standard SAP, the above requirement is not possible in PLD.
You can try with your add-on provider.
Thanks & Regards,
Nagarajan -
Modifying the production order from VBAP
Hi Expers
I need some modification and write a code so how to proceed with the following comments as below
Modification to processing of Command Orders & Tickets
Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.
In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.
This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.
The solution
In the routine which checks for the existence of a production order, modify the code as follows:
u2022 Inspect each item on the sales order
u2022 If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.
Regards
PirozThread closed
-
Batch is blank for some production order number
Hi Experts,
For some cases planned order does not converting into production order,i mean batch(CHARG) is not updating.it seems production order link is missing,In CO03 transaction i'm not finding relative batch number for production order.
Let me know If you have any solutuionWithout further information on what information you need to extract from the Batch table and when, I have the following suggestion
The Batch Rows table IBT1 should be linked to the Production Transaction.
IBT1.BaseType = 60 -
Fields required for linking production order with sales order
I need to link production order and sales order to get the part no#. need to see in md04.
The link between production order and sales order can be made by using the KDAUF KDPOS fields of AUFK or AFPO and linking them to VBELN and POSNR of VBAP.
Regards,
Rich Heilman
Maybe you are looking for
-
How to transfer Game Center games progress from old iPad to new iPad ?
How do I transfer game progress to new iPad 2 from old iPad1, especially from Game Center? I got a new iPad 2 for Christmas, and have many games with a lot of time and not to mention money invested in them. How can I get my game levels back to the wa
-
I'm knew to the iMac, although I've been using my Macbook Pro 2011 for some time and I love it. I've had an iPad and used the iPhone 5 and love the streamlined way you can share pics etc. between all devices. However, I've never used the iPhoto progr
-
How to get printer IPAddress using java code
Hi all, Can some one suggest in java 1) how to get printer IPaddress 2) send a printer job to a particular printer either by using printer name or by printer IPaddress ?
-
Enhanced Receiver Determination in PI7.1
Hi, We have a requirement where in we have to use the Enhanced Receiver Determination for one of our scenarios for choosing the receiver.We are on PI7.1. As of now,we have mapped a constant rcvr(Test_Supplier) to the Service in the message mapping fr
-
I have an external FireWire 400 iSight camera, a new Mac Mini and an old G4 Mac. The Mac Mini doesn't have a FireWire 400 port, only a FireWire 800 port. Is there a way I can use my iSight without having to buy a converter cable?