OINM link to a specific Production Order # ?
OINM. This table is referenced a lot when someone asks about actual costs associated with any particular inventory transaction. Repeatedly, there's a "query this table and you will find what you need" response when someone is asking about production orders/items issued/costs associated with such transactions. Unfortunately, it is incredibly hard to create a quality query that can link up what actually occurred and hit OINM to a production order.
Does anyone have advice? Perhaps I'm headed down the wrong path, but I am stuck with trying to answer how can I tie in such transactions from OIGN (back flush items and assembled goods) / OIGE (manual flush items and disassembled goods) to the production order # from OWOR and make a useful query...
Thank you,
Russell
Hello All,
the OINM and Production orders are not liked to the OINM, but the Goods Issue and Goods Receipts are linked by field applobj = '202' condition.
in this case the the AppObjType means the following:
- when AppObjType is C means component
- when AppObjType is P means product
AppObjAbs is the key of the OWOR table
Connected items to a production order #
select * from oinm T0 inner join OWOR T1 on T0.AppObjAbs = T1.DocEntry where T0.applobj = '202'
from type easy to determine a real production cost for an item:
By SQL use recursive command in a stored proc
Alter Procedure [dbo].[ProductionCost](
@itemcode nvarchar(20)
AS
BEGIN
WITH BOM (Code) AS
SELECT ROOT.Code as Code
FROM dbo.OITT AS ROOT
WHERE ROOT.Code = @itemcode
UNION ALL
SELECT CHILD.Code
FROM dbo.ITT1 AS CHILD
JOIN BOM ON CHILD.Father = BOM.Code
select T1.DocNum, T0.ItemCode, T0.InQty, T0.OutQty, T0.TransValue
from oinm T0 inner join OWOR T1 on T0.AppObjAbs = T1.DocEntry
where T0.applobj = '202' and T0.AppObjType = 'C'
and T0.ItemCode in (select code from BOM)
OPTION (MAXRECURSION 99)-- Handles 99 levels dept of BOM
RETURN
END
Regards
J.
Similar Messages
-
Internal Batch Number for specific Production Order Type
HI PP Guru
We need to activate Internal Batch Numbers to a specific Production Order type.
We need this at order confirmation level. i.e. (CO11/CO12)
Is it possible? HOW ?
Please let me know customizing Steps.
If this is not possible then, Batch number should be internally assgisned at Order release stage. Please let me know customizaing steps for this even.
Thks.hi Siva
Thk for suggestion
However, if we do not wish to activate Internal Batch Assigment and want to remain on manual BUT still we want system should not allow duplicate BATCH NUMBER, then, is there any way to achive this.
This is because, once we manually enter batch in confirmation (CO11), we further break the material in to several part and we need to understand original batch number. For this we just take the original batch number and add further serial number like below
Orinigal Confirmation Batch Number - 100001
Batch Split of 10 - 10000101,10000102,..............10000110.
So, what we want is system should check that same batch number is exist or not in confirmation. Is it possible or how it can be handle.
thk in adv.
SK -
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 -
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 -
Plant specific production orders
Hi Gurus,
Can we creat production order types specific to plants, and how can we restrict the users to not process the order in other plants,
Thanks ®ards,
K. Mahesh kumar.Dear Mahesh,
I would suggest you to maintain the Order type dependent parameters only for the allowed production
order type for the respective plant in T.Code OPL8. So even if the F4 option during production order
creation(manually),if the user selects some production order type, only if the order type dependent
parameters are maintained, the user can proceed.
Check if this can fulfill your business requirements.
In case if you need to restrict the users for a particular production order type creation in a particular
plant,you can control by the authorization control for the objects related to order type and plant.
Regards
Mangalraj.S -
Object Links fields grey for Production Order,BOM header,BOm item
Hello Friends,
1) In DMS Object links tab ,for objects BOM header,BOM item,Production order fields are grey even though necessary settings are done. Is this standard or I am missing some config.
I did the similar settings for other objects like material master,vendor master,claim etc and I am able to assign these objects in Object links tab.
2) In Production order I can assign the existing document but can't create document from Production order.I maintain value 1 in img Maintain screen for object link --> Auth.
Define doc type --> Define object links --> create document = 2 ( Use Transaction to Create Document)
I can create a document from other objects like Material Master,Claim,PO,PR with similar settings.
Kindly help me in this regard
Regards
Abhijit A. PachgadeAs u right said this is a standard.
generally a document can be attched from the function T-code or from the DMS T-code cvo1n, through the object link tab page. * BOTH WAYS POSSIBLE*
but for BOM, production order it is only one way, u can attach at the function T-code level like co01....ect ONLY ONE WAY
especially for PP transation, its one way
REGARDS
SURYA -
Linking Goods Receipt to Production Order Component
Hi,
I would like to ask if there is a link between materials which have been goods receipts (movement type 101, 501) to the materials or components used in production orders (table resb). Materials with zero inventory cannot be used for production orders, so a GR is needed. Once the GR is done, the material is made available. From a technical standpoint, how do we link this? MKPF, MSEG are some of the tables used.
Thanks.Hi ,
try this BAPI BAPI_PRODORDCONF_GETDETAIL u need to pass confirmation number to it , then it will display Mat.Docs.
Regards
Prabhu -
DMS Document Link in production Order
Hi,
When we create a production order and save it after releasing ,it prints orginal copy of shop paper . I am able to print shoppaper but it does not contain Documents present in prod. order. We are fetching this documents from DRAD table in associated ADOBE form driver program.
But when i reprint the prod. order , i can see documents in shop paper.
Reason is that DRAD table is not getting updated at that time. i Tried to look for runtime structures but not able to the appropriate value.There is one internal table whihc stores this value but it shows values only when i see its value through debugger else no value comes into it.
So,if anyone could help that how to get documents number present in prod. order at the time of creation.
Does somebody knows suitable runtime structure or How to handle delay database update or if there is some other way to do it.
Please provide some inputs.
ThanksHi Mayank,
Kindly find following link. I think you need to make a object link of documents with production order first then you can use these documents for various reports:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/1c31a243c711d1893e0000e8323c4f/frameset.htm
Hope this will help.
Regards,
Ravindra -
Hi Gurus,
How do you consider qualifying open production orders? Is it enough to specify in COOIS to select all orders at ALL PLANTS and those orders that are NOT TECO? Or do I filter this out further?
Thanks again,
ManojDear,
If you have no selection criteria, orders will continue to appear in COOIS like status including and excludinglike CNF and DLV, date.
Check this link,
COOIS Report for Production orders with status DLFL
Regards,
R.Brahmankar
Edited by: R Brahmankar on Nov 16, 2009 4:21 PM -
Preview and print a printout in production order release
Iu2019m using CO02 to release and save the production order. Currently u201Cbatch cardu201D printout is automatically printed in production order release. I want to change this to preview the printout before printout is send to the printer. Can someone tell me the configuration for this.
Hi
Pls refer this link
layout adjustement in production order- suitable to printout sheet
Print Preview of Production Order
layout adjustement in production order- suitable to printout sheet
Thanks
S.Murali -
Reservation reduction on production order without goods issue
At our plants we have a kanban approach where component materials are
issued to any available production order as an unplanned GI instead of
to a specific production order as a planned GI. This causes component
demand to be overstated because the reservation is not reduced. This
is resulting in overstated demand in MRP.
Due to inventory problems and inconsistent actual component
consumption, backflushing is also not an option.
How could we reduce the reservation quantities on the components based
on the quantity remaining in the production order? I believe we would
want to trigger this from a production order confirmation (CO15).
I found that if we can update the field ENMNG(Quantity withdrawn) in table RESB,
the reservations get reduced.But I don't wabt to do direct update of table RESB in the user exit in transaction CO15.
Any help with this isseu is appreciated.
Thanks,
Ashok.In customizing materials management -
> Inventory Management and Physical Inventory->Goods Issue / Transfer Postings make--> Set Up Dynamic Availability Check
For 261 movement type set Dynamic Availability Check as "F"
and then in omcq transaction M7 362 message set "E"
This customizings prevent good ıssue more than reservation quantity -
Edit production order for scheduling
Hi PP Gurus,
I have to address following requirement in SAP PP -
1.Factory calender defined at plant level for 6 working days.
2.work center working time defined for 9.00 hrs.
3.production order created for certain qty. now due to some urgency I want to plan the activities for this particular order on sunday for 24 hrs.
Condition -
1.I do not want to apply special rule in calender because it will be applicable to other orders also.
2. I do not to make the changes in work center master because it will be applicable to other orders also.
3. I am ready to make the changes in specific production order.
Please suggest if any way out to make the working period in production order without touching master data.
Regards,
AbhayDear,
Best way you need to define shift sequence OP4A and assign it to your relevant work center for particular valid period of time and then So go in work center in capacities screen define your interval of avilable capacity there, you will get option workdays there you have to select :- Working days (overrides factory calendar).
After that scheduling will take place on Sundays also.
After that create production order then you will be able to schedule an order on sunday.
Factory calendar will be remains same but scheduling will be take place on sunday for particular validity period of shift sequence as you maintained in work center.
Hope clears to you.
Regards,
R.Brahmankar -
How to control Inspeciton generation from Process/ Production Order
Hi SAP Gurus,
In our business place earlier we used to have Process order.The specific Process order type wouldn't generate any Lot.But once we switch to production order , we are getting inspection lot for New Production Order type.
The need is that for specific production order (which is not for main production), the system shouldn't generate 03, 04 type of inspection lot with many real process / production inspection tests.
For this purpose we tried to limit the inspection type for Production order using Order type dependent parameter.
In that we assign new inspection type (other than 03 or 04 inspection types ). The new inspection type is attached with new Usage.And New usage has got its own Group counter with limited test.
So Group counter created with new usage. New usage used in new inspection type. And new inspection type tied with production order. With this we were able to limit for not having inspection lot of 03 inspection type for this production order.
But system generate the 04 type of inspection lot , though production order has got new inspection type attached with it.
Also the new setup 04 type of inspection lots in created mode.
How to make sure that system only generate the new inspection type inspection lots.
Advance Thanks for all the detail help steps.Hi
If you want to restrict quality inspection based on production order type, Its possible. Use exit QAAT0001. Take help from ABAPer, dont forget to set E_NO_INSPECTION based on the order type field there. VERY IMPORTANT: Put E_TQ32 = I_TQ32 in the program, otherwise you will get error "Post stock in QM only"
SDG -
Drawing document in Production Order
Hi,
My scenario is as follows -
There is a drawing number for each material produced in-house.
So when we are making a production order (manually or thru MRP) for each in-house produced material,
I want the drawing document to automatically appear in the production order. The drawing document
should also appear in the print out of the production order.
This is needed so that the shop floor people can refer to the correct drawing while executing the production order.
I am using document type - DRW
In the schedulling profile i have checked - Document links to BOM and also Material
Kindly advise, how to go about this problem.
Regards,Dear,
For linking a document to production order, The prerequisite is do some customizing in SPRO.
SPRO-->cross-application components>Document management>control data--> document types in the document type you have to establish a object link to the document type and production orders.
So select a document type and Define object link ---define a object --PORDER with screen 251 and save.
Then goto production---Shop floor control --- master data --production schedul.profile
and enable - document links material or Bom on release or creation.
Then create a document using CVo1n.
Provide the document type and name then enter
In the next screen give the document description and below the originals sub header click on the OPEN Originals.
Here you select your document and attach then save the document.
Now got to Co02 and select the Document overview icon(Next to component overview icon) and provide the details of the operation to which the document to be attached and save.
Document is attached to the Production order.
Else Pressgo to CO02 and press SHIFT + F7..... then you can attach a document to a production order there manually also.
Regards,
R.Brahmankar -
Attaching a document to production order.
Hi.
how can i attach a documet to the production order.
generally we can attach a .txt to our production order. but i want to attach a document to the production order.
how do i do that.
need reps fast.Hi,
For linking a document to production order, The prerequisite is do some customizing in SPRO.
SPRO-->cross-application components>Document management>control data--> document types
in the document type you have to establish a object link to the document type and production orders.
So select a document type and Define object link ---define a object --PORDER with screen 251 and save.
Then goto production---Shop floor control --- master data --production schedul.profile
and enable - document links material or Bom on release or creation.
Then create a document using CVo1n.
Provide the document type and name then enter
In the next screen give the document description and below the originals sub header click on the OPEN Originals.
Here you select your document and attach then save the document.
Now got to Co02 and select the Document overview icon(Next to component overview icon) and provide the details of the operation to which the document to be attached and save.
then the Document is attached to the Production order.
Hope this helps,
Regards
CSM Reddy
Maybe you are looking for
-
6500 E710 unable to communicate with the printer
I have an HP Officejet 6500A Plus E710n-z. It has in the past but it no longer connects (through wireless) to my computer (Apple OSX 10.8.4). It has become intermittent over the last month, and then did not respond at all. I had a growing list of
-
ITunes won't open OR close. Please help.
I have a brand new MacBook Pro. It's about a month old. iTunes was working fine on it and I have transferred all my music onto the new computer, but now I can't quit it and it won't open when I hit the icon. Should I uninstall it and install the new
-
Displaying image, stored in KM, using HTMLB image UI Element...
Hello all, I want to display the images in HTMLB UI Element which are stored under KM folder. Image element requires src field to be filled with URL. So do I need to provide the full path to images including server's host name and port (e.g. http://<
-
Can we dynamically modify the Component Hierarchy?
Is it possible to modify the component hierarchy in JSF when making an Ajax call to the server for information? I am interested in using Ajax with JSF to update the UI incrementally as needed. As an example, imagine a phone book which starts with a l
-
....please help. any suggestions??? never seen this screen before, computer all updated and security proteted etc.etc.