How to add component to production order like co08
Hi experts,
i used FM CO_BC_INSERT_CMP_OF_ORDERS ,code as follows:
TCOKT_IMP-AUTYP = '10'.
TCOKT_IMP-MANDT = SY-MANDT.
RESBB_INS-MANDT = SY-MANDT.
RESBB_INS-MATNR = 'NTQA3070'.
RESBB_INS-POSTP = 'L'.
RESBB_INS-VORNR = '0010'.
RESBB_INS-AUFNR = ORDER_NUMBER.
RESBB_INS-POSNR = '0010'.
RESBB_INS-BDMNG = 19.
RESBB_INS-RGEKZ = 'X'.
RESBB_INS-WERKS = '1110'.
*RESBB_INS-LGORT = HEADER-PRODUCTION_SCHEDULER.
*RESBB_INS-RSNUM = HEADER-RESERVATION_NUMBER.
RESBB_INS-RSPOS = '0010'.
APPEND RESBB_INS.
CALL FUNCTION 'CO_BC_INSERT_CMP_OF_ORDERS'
EXPORTING
FLG_CALC_CHK = 'X'
INS_MODE = ' '
NO_RSPOS_COUNT = 'X'
TCOKT_IMP = TCOKT_IMP
FLG_BANF_CREATE = 'X'
I_FLG_COPY_LTEXT = 'X'
TABLES
RESBB_INS = RESBB_INS
EXCEPTIONS
NO_AMOUNT = 1
NO_BWVAR = 2
NO_KLVAR = 3
NO_VALUE = 4
RELEASE_NO_CHANGE = 5
SYSTEM_ERROR = 6
OTHERS = 7
but i still can't add the component to an exist production order.i think maybe i missed some important parameters,I need your help .Thanks a lot.
I'm not sure what you are trying to do.
Would you like to overlay the two components and display only one at a time? If so then just put them both in a Canvas at the same position and change their "visible" properties as necessary.
You should be able to do this in MXML, except for the switching part, which will likely be in AS.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex / AIR Development, Training, and Support Services
Similar Messages
-
Restricting Modification In Component Of Production Order
Hi,
In our business scenario, we have @ 18 users who have authorisation for transaction Code CO02. If these users need to change any component in production order, they change the existing component directly.Keeping the exsting authorisation intact, I want to restrict these users from changing components of a production order. Rather they should delete the component which they want to change & add the same component again with the changed properties.
How to apply lock only for modifying exsting component in the production order?I think you should use a transaction variant for this to be implemented.
Use SHD0 to create a transaction variant.
First selsct the users for which you want that he should not be able to cahnge the components.
Then using ids for users one by one you need to activate the transaction variants separately for each and every user which makes the components grayed out in there log in. By this they will not be able to do the changes.
You have to do it directkly in production environment, Try it in Development first and then replicate in Production. -
Component ATPin production order
Hi experts!
I have 2 production order 1 and 2 for same FG.
In component of FG has component X.
Production order 1 needs 5 pcs of X. Prodcution order 2 need 5 pcs also.
And my stock is 0, 1 Fixing PR of X with 5 pcs.
The problem is when I do component ATP for production order 1. It can commit 5 pcs. But when I do component ATP for production order 2, it also commite 5 pcs. How can? Because I only have 5 pcs of X in Availble. How system can commite 2 order with 10 pcs for X?
Regards,
TonyDear Tony,
Not in front of system
Go to OPJJ , you can find option
Check without RLT ( Replenishment Lead time ), Mark a tick for this option
Also check the option for include all reservations for this option make it as production order released
Then create new order & check the result
Regards
Madhu -
How we add & grandtotal of sales order report in alv
hi guru how we add & grandtotal of sales order report in alv
regards
subhasishi subhasis,
since u want the grand total in ALV use the following code...
clear gs_fieldcat.
gs_fieldcat-fieldname = field.
gs_fieldcat-tabname = DB table
gs_fieldcat-seltext_m = text.
gs_fieldcat-do_sum = 'X'
gs_fieldcat-datatype = data type (Curr or Quant)
gs_fieldcat-ref_fieldname = reference field name
gs_fieldcat-ref_tabname = reference table name
append gs_fieldcat to gt_fieldcat.
hope this will work...
please reward points in case usefull
regards,
prashant -
How to confirm the CO Production Order?
Hi,all
The PP Production Order can confirm by TCode CO15.
Then how to confirm the CO Production Order(Created by KKF1)?Hi,
As you are aware that Co Production Order is being used when there is no quantity structure. Hence, there shall be no routings with details of activities and the quantity of activities, etc and we cannot use confirmation as we are doing in regular Production Corder. Consequently, we are left with one alternative of passing on the activity cost(qty x price) to the CO Production through Direct Activity Allocaiton(KB21N).
Trust this helps much!
Cheers! -
How to add issue for production using SDK?
1. Here i am creating a production order
2 .after release of production order
3. i wants to "issue component" for production order using SDK
Please provide solution
Thanks
Vijay T
Edited by: Vinay Kulkarni on Jun 23, 2009 7:57 AMHI,
Issue for Production is an Inventory Exit document (BoObjectTypes.oInventoryGenExit) where the base type is Production Order
Set the following on Invenroy Exit:
oPoExit.Lines.BaseType = 202; // production
oPoExit.Lines.BaseEntry = AbsEntry;
oPoExit.Lines.BaseLine = LineNumber;
Where AbsEntry is the Production order DocEntry field
LineNumber is the line number of Production order.
Regards,
J. -
How to see cost componentwise production order actual cost-not planned cost
Hi,
Can anybody tell me how to see cost componentwise production order actual cost ?
Thanks,
BijayHi,
CO03->Goto-> costs-> Anlysis
or use the std. report KKBC_ORD
std. reoprt MCRI
KVBI - Actual Costs
Regards,
R.Brahmankar -
Add a new component in Production order while not being in BOM
Hi all,
I would like to know how to forbid the addition of a new component in a Production order that doesn't exist in the BOM.
Currently when we create a Production Order, the components of its materials are read from the BOM. If we add a component that doesn't exist in the bom the system allows it without any problem. We want to forbid this and let components be added to a PO only when they take part in the BOM.
Any idea?
Thanks in advance.SS,
You can use an userexit to check before saving the order, based on the BOM(Order master data tab) used in the order, it should validate the component material number. If it finds a new material in the order, it should terminate the save with a message to user.
The following enhancement is available for production orders:
PPCO0008 Enhancement for adding and changing components
This enhancement is used to check components (for instance against a standard parts database), which have added to or changed in an order. This check can then refuse to copy a component into the order or can replace one material number with another.
The enhancement PPCO0008 contains the following enhancement components:
Function exit
EXIT_SAPLCOMK_006
Enhancement for adding and changing components
Activities
1. Create the enhancement
To do so, create a new project or use an existing project.
2. Activate the project.
The enhancement can only take effect after you have activated the project.
Regards,
Prasobh -
How to automatically determine batch no. of component in Production Order
Hi PP gurus:
I am facing a issue. A finished goods with a raw material which under batch management, what I want is when I release the production order of the finished goods, SAP can automatically determine the batch no. of the raw material according to the presetted rule without hitting the "Batch Determination" button in the component tab.
Who can throw a light to me?
Thank you very much.
PaulHi,
To manage the materail in batches first you have to check the batch management indicator during the matreial creation in purchasing view or plandata/stor1 view .
Next you have to set the value of batch entry in MRP-2 view for Determination of batch entry in the production/process order
This indicator refers to the components of an order, not to the finished product to be manufactured. You have the following options:
The batches can be determined when the goods issue is posted.
The batches must be entered in the order before it is released.
The batches must be entered in the order before the goods issue is posted, but not necessarily before the order is released.
If you use pick parts, the batches are determined in the transfer order and then confirmed to the order. If there is no direct link between the transfer order and the production order/process order (for example, with release order parts or crate parts), you must enter the batches in the production order/process order manually.
The batches are determined automatically when the order is released.
Hope clear to you.
Regards,
R.Brahmankar -
How to track costing in Production order
Hello Everyone
I would like to get some details about how to set the product costs for Finished Goods and also how to track the expenses like packaging, labor, electricity, other charges etc, for individual production order.
I have created the labor and packaging as a non inventory item and have used it in the BOM, now after the production order is closed, i find these two costs to be in the Actual Additional costs as shown below, till this is great.
But the requirement was, when they want to view the expenses or a month, then they require individual split up of costs against each production order. Is this even feasible?
Please require help from you guys.
Appreciate your help in this regard.
Thank YouProduct Costing
The cost of a FIFO or moving-average product is the sum of its component costs and additional costs (such as labor and overhead). To ensure accurate calculations of product cost, even if the components were issued manually, SAP Business One uses the cost of the items issued to production order and not the cost of the items currently in inventory. This avoids differences between the actual cost of components used in the order and the value of the product.
Note
The cost calculation method described here is relevant only for standard and special production orders, but not for disassembly for companies managing perpetual inventory.
In the case of disassembly the components enter the inventory with the same cost as the items currently there. If the component is managed by FIFO, the cost of the oldest layer is used.
The cost of returned components does not change; it is the cost of the last one that was issued.
The product cost calculation is determined by the item management method.
Standard – When the product is managed by standard cost, no calculation is made, and the cost is copied from the item master data upon report completion.
Moving Average – When the product is managed by moving average, two figures are required for product receipt into inventory: receipt quantity and total value added to the inventory. The total value is the product cost, which is the sum of all component costs used for those products.
FIFO – When the product is managed by FIFO, each report completion opens a new cost layer for the product in the inventory. The quantity in the layer is the quantity of the products just reported as completed. The cost of the products is the sum of all component costs used for the completed products divided by the quantity of the products.
On every report completion, the system checks the following three quantities for each manually issued component:
Issued Quantity – The quantity already issued to the production order.
Used Quantity – The quantity already used for the completed products (completed products multiplied by the base quantity of the component).
Needed Quantity – The quantity needed for the products that were just reported as completed (quantity of products reported as completed multiplied by the base quantity of the component).
If the Used Quantity is greater than or equal to the Issued Quantity, this means that all items issued for the production order have already been used, and the Needed Quantity is yet to be reported as issued from the warehouse. Since the cost of the items that were actually used for the products is unknown, SAP Business One takes the current prices from the inventory.
If the Issued Quantity is greater than the Used Quantity, SAP Business One finds the cost of the components that were issued and not used, and uses them in the calculation of the product cost. When finding those components, the issuing order of the components is taken into account, meaning that the first components to be issued are the first to be used. The components following those that were used are the first to be used for the cost calculation.
If the sum of Needed Quantity and Used Quantity is greater than the Issued Quantity, meaning that not all needed quantity was issued, SAP Business One needs to make an assumption for those items’ costs, so it takes the current prices from the inventory.
Upon the completion of a production order, on the Production Order Window: Summary Tab, you can check the product cost figures of the production order.
Regards
Kennedy -
How to release a collective production order in CO05N with MSPT?
The issue was: I want to release a collective order by co05n, e.g. the structure of this collective production order 10000 like this:
10000----20000
30000---40000
---50000
if order 50000 with material shortage, keep the customizing OPJK release order=3, how to release this collective
order. If it is not possible in standard, can the parallel order 40000 be released??
Thank you, all.
Edited by: Stephen Wang on Apr 15, 2010 3:12 PMDear,
In Transaction CO05N, you execute a collective release. For one of the orders, the availability check determines missing part although it has been set in Customizing of the availability check (OPJK) that a release can be executed for missing part per user decision. Therefore, a dialog box is processed on which options a.) 'Release order', b.) 'Missing parts list' and c.) 'Cancel' are displayed.
If you first branch to the missing parts list and then press 'Cancel' on the dialog box there it self
Else you can do this with these options,
1)Use T Code COHVOMRELEASE here select order as you want and release accordingly.
2) Use Transaction SE38 to create the variants for program PPIO_ENTRY and schedule it through SM36 or use standard variant as SAP&RELEASE if want in background.
3) use BAPI BAPI_PRODORD_RELEASE
Please try and come back.
Regards,
R.Brahmankar -
Single batch for a component in production order goods issue
Hi,
We have a requirement where during good issue to a production order
through CO11 & MIGO, more than one batch of a particular component
should not be issued i.e. only one batch for a component should be used
for goods issue for a production order..If the stock for a particular
batch not full it should not allow the system to issue that batch. We
want an error message or any other restriction where system will not
allow more than one batch for a particular componet to a production
order.
Please advise how to design such scenario.
Regards,
ChandanHi Chandan,
Try with below steps,
- Create Batch Search procedure -
- Create Batch Determination Strategy for that Material (Create it for both COB1 and MBC1)
- Set NO. of Batch Split as 1 and don't tick Check box for Change Allowed
- Then go to Order type Dependent Paramter OPL8 - Assign your Batch Search Procedure and also tick Check Batch (This will check the auto check if Batch Determination is done manually and if you have violet the Batch Determination it will throw an error Massage)
Regards,
Dhaval -
Setting a deltion flag/indicator to a component in Production order
Dear Experts, Hi
I have a production order in created status, i want to set the deletion indicator/flag for a particular component in it, how to set the deletion indicator/flag for the production order component. I have tried selecting & deleting it, but the system will delete the component if the order status is CTRD. On the other hand if the order is released then the system is not deleting the component but it is setting the deletion indicator.
So the requirement is the component should not get deleted but it should get deletion flag/indiactor when the order status is CRTD, please suggest & help.
Thanks in advance.
Shaiz
Edited by: Shaiz on Apr 21, 2009 1:22 PMShaiz,
Why don't you go for OCM.
Find here the link related to that.
http://help.sap.com/saphelp_46c/helpdata/en/a5/63198843a211d189410000e829fbbd/frameset.htm
Also explore the concept called 'Discountinuation data'. The link given below. It is useful when you have multiple component serving the same purpose & also depend upon the stock availabilty. I think it will help in you in great manner.
http://help.sap.com/saphelp_46c/helpdata/en/a0/1016bd4c8311d189520000e829fbbd/frameset.htm
The one more option is directly opt for released order itself that is skipping the create sage i.e. the order will be released as soon as it gets created.
Hope all these option will help you.
SmanS -
Block component in production order change: component overview
Hi Gurus,
I want to block the component field (set as gray field) when clicking the component overview during creation/change of production order.
How can I configure this field and set as display only.
Can somebody tell me how to do this? We are using 4.6C.
Thanks in advance.
Rgds,
ChadHi,
Please try the following,
In transaction BS22 choose the status CRTD & double click. Then for the business transaction "Change routing" choose the radio button "Forbid".
Regards,
Senthilkumar -
How we know whether a production order is open or clos
Hi,
Anybody can tell me how we can know that whether a production order is open or close?
Thanks,
AparnaHi,
In addition to 1st reply if your order status is TECO ,Clsed,Lcked then your order is closed .In this status you can open this order for any use.
TECO -Technically complete .
Closed -closed for any use.
Locked -Again same locked for any further process.
Regards
SANIL
Maybe you are looking for
-
please help Have just got my first Ipod. when I try transfering play list to my Ipod I get this message 'The Ipod FM cannot be updated. The required file cannot be found'.
-
Mercedes car ipod connector will not navigate itunes
Hi, My ipod and iphone no longer work properly with any Mercedes ipod connector. I cannot navigate itunes on the phone or ipad - the screen says "Connected to an ipod accessory" I can navigate audible or other apps but not itunes. This is a new probl
-
Create region as shared component in Application
Hello everyone, I am basically trying to find out if I can have a common search table that can be used in different pages of the same application. To give an example, the application has a basic search and an advanced search. So I would like the sear
-
Tabbing sequence incorrect after emailing
After I emailed my forms to my boss she told me the tabbing sequence is out of order. I checked back over my forms and it looked fine. Do I need to lock all fields before emailing to prevent this problem?
-
hi to all, iam getting gap between address like company avs infrastructure banglore address is in command line defaultly it will be taking defaulat paragraph or how should we define for it kiran