Change input quantity of a production order in SAP - PP
Hello,
I am working in a custom code where one of the steps is to create production orders basically based on a product, workcentre and quantity for what I use 'COXT_BAPI_ORDER_CREATE' function module.
Now I have a new requirement which is to be able to change the input component quantity to a different value than the output (similar to what you can do in transaction CO01, and like what the on-line help claims you can do).
This new value should be on top of the ratio that is possible to specify in the BOM (i.e substract 5000 KG to what ever is in the input node after creation of the order).
The GUI allows for this so I assume there is a way to do it in custom code as well, but has not find the way to do it or function to call.
Can you advise on how to change the input quantity value without affecting other info of the order?
Thanks
Regards,
Update: found this other thread Change components and Routing of production order
Edited by: Mauricio Pego on May 3, 2011 6:00 PM
Hi,
The requirement can be met via BADi - MD_DISPLAY_ELEMENT (method - CHANGE_MDEZX_EXTRA).
Give the specification your technical person & the same can be done.
Regards,
Vivek
Similar Messages
-
All default routing value has to be changed, while changed the work center in production order
Dear friends,
our client they want to change the work center in production order.according to production version work center also they are changed.so while change the WC,all the default value has be changed as per routing what we maintained in routing.At present we have to enter the manually change the W.C as well as set up time and operation time enter manually.Any other option to do the automatically capture value from routing while change in Work center in production order.pl help me on this.
Thanks&Regards
Sabhapathy RHi Rahul,
Thanks for reply. I am maintained in diff value maintained routing , Ex :First routing i have work center 'X' value maintained as a setup time in 15 Min's and operation time 10 Min's
second work center 'Y' I have maintained as set up time 10 Min's and operation time 30 Min's,
Now I want to change the work center in production order as a 'Y' so whatever value maintained in routing , it has to be changed automatically (10 min's and 30 Min's), but system will not change only old value only picked (15Min's AND 10 Min's).
Now I think you get to know what the client requirement, kindly do the need full.
Regards,
Sabhapathy R -
How to change the status of a production order
Dear All,
May i know how to change the status of a production order.I want to de-active the status like OPGN (Operation generated).This status is updated as there was no routing assigned to that particular production order during its creation
Thanks and Regards,
Varun SiddharthDear,
When you create a production order, an operation created by the system is generated automatically if no routing is used for the creation. As a result the order header receives the status HOGAN; the operation created automatically also has this status.
If you delete the operation created automatically and then do not have the status HOGAN.
To avoid this maintain the Routing for the material or delete the setting of default operation from OPJG.
Regards,
R.Brahmankar -
GR quantity check against Production Order in MB31
Hi Experts,
How to check GR quantity against Production Order (101) can not be greater than Confirmation quantity for the Production Order in MB31.
Regards,
Praful MankarHi Praful,
Use user exit MBCF0002, here put condation that check AFEU table (confirmation table) and allow
that quantity only to do GR
and it will triger at the time of MB31
Regards
Girish -
GR quantity more than production order quantity triggering cost difference
Hi Gurus,
We have observed a scenario where the cost(price) dfference account getting hit whenever the GR quantity is greater than the production order total quantity. The dollars posted to this acount are directly propotional to the difference between the GR quantity and the production order quantity.
The total quantity specified in production order is 1 M2U and GR quantity is 1,000 M2U.Material price is $195.65.
Accounting Document;
Inventory account - 195.65
Offset account - 200.00
Cost difference account - 4.35
If we do GR for less than or same quantity as in the production order, this account is not getting triggered.
Any idea what is causing this scenario? I really appreciate if you can share with any SAP note related to this.
Thanks,
Mano.Hello Gurus,
One more observation is,
The palnned costs and actual costs are always different when dealing huge quantities. But the cost difference account is only getting triggered if the actual quantity is more than the palnned quantity.
And,
when the difference between atual quantity and palnned quantity is huge then
Planned costs are booked to the inventory account
Actual costs are booked to the prodcution cost account.
Significant cost variance is booked to the cost variance account.
When the difference between actual quantity is less than/equal to planned quantity is not so huge then
Actual costs are booked to the inventory account
Actual costs are booked to the prodcution cost account.
Is this a standard behaviour?
Thanks,
Mano. -
Quantity mismatching in production order
Hi PP experts,
The delivered quantity for a production order in CO03 is 53 while Goods receipt has been done for 59 materials. You can refer the below screen shots.Hello
Please implement and run the report ZPCON_076D, from the following note, in order to correct such inconsistent orders:
1352231 - Correction: Goods receipt quantity and value in order
This repor sum the posted goods movement quantity and updates the delivered quantity on the order.
BR
Caetano -
How to create Production order in SAP B1
Hi Experts,
Can anyone send me a link on how to create Production Order in SAP Business One?
Regards,
Vishal
Ver: SAP Business One 2005 B (7.40.253) SP: 00 PL: 43Hi,
Kindly check the following link for the How to Guide on various topics :
[How to Guide|https://websmp210.sap-ag.de/~form/sapnet?_FRAME=OBJECT&_HIER_KEY=701100035871000371280&_SCENARIO=01100035870000000183&]
You can search for the document Production and Bill of Materials.
Kind Regards,
Jitin
SAP Business One Forum Team -
Input Quantity Variance and Input Price Variance for Production Order
Dear All
I am running variance program KKS2 for calculating variance of production order. for Activity variances are coming under input price variance and input quantity varinace but for material the variances is now shown separately for quantity and price rather it is shown as variances total amount. Can someone help me in know why material quanitty variance and price variance not shown separately
RegardsHow does input variance and output varia.nce will be calculated on the settlement of production order after TECO.
VARIANCE CALCULATION DEPENDS ON CONFIGURATION IN THE FOLLOWING AREAS,
1) VARIANCE VARIANT - DETERMINES WHAT VAREIANCE CATEGORIES ARE CALCULATED, E.G MATERIAL PRICE , USAGE, LABOUR RATE , USAGE VARIANCE ETC..
2) TARGET COST VERSIONS
3) VALUATION VARIANT FOR WIP AND SCRAP
Can we check in KOB3 or COOIS.
KOB3 - YES
COOIS - CHECK IN COST REPORT -
Change components and Routing of production order
Hi, experts, I have such requirement that change quantity of a component or add a component, add a operation into current routing.
I have look up answer, but can not find the right one.
BAPI_PRODORD_CHANGE only can change header data.
BAPI_ALM_ORDER_MAINTAIN seems can not change production orders, it is for service orders.
CO_XT_ORDER_CHANGE will assign a new routing number and a new bom number.
Could somebody give me some FM and BAPI for reference? Thanks in advance.Hi Rick,
Follow the below sample steps for changing component quantity:
DATA:
l_methods TYPE bapi_alm_order_method,
it_boperations TYPE STANDARD TABLE OF bapi_alm_order_operation_e WITH HEADER LINE,
it_components TYPE STANDARD TABLE OF bapi_alm_order_component_e WITH HEADER LINE,
it_components1 TYPE STANDARD TABLE OF bapi_alm_order_component WITH HEADER LINE.
1. Call BAPI :BAPI_ALM_ORDER_GET_DETAIL , it will give existing order component details.
CALL FUNCTION 'BAPI_ALM_ORDER_GET_DETAIL'
EXPORTING
number = <production order number>
TABLES
et_operations = it_boperations
et_components = it_components
return = it_bapiret2.
2. Move it_components to components table compatibel to BAPI "BAPI_ALM_ORDER_MAINTAIN".
LOOP AT it_components.
MOVE-CORRESPONDING it_components TO it_components1.
_*"Note here while moving change the component quantity"*_
APPEND it_components1.
CLEAR it_components1.
ENDLOOP.
3. Build the methods table for change production order :
it_methods-refnumber = v_refnumber.
it_methods-objecttype = 'COMPONENT'.
it_methods-method = 'CHANGE'.
it_methods-objectkey = v_objectkey.
APPEND it_methods.
"Note v_refnumber has 1 to 1 relation ship with the components table, if you want to change First component in it_components1 then you have to enter value '1' here for v_refnumber.
it_methods-method = 'SAVE'.
APPEND it_methods.
4 . Call
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = it_methods
it_component = it_components1
return = it_bapiret2.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'. -
Price/Quantity Variance in Production Order
Hi
How does Price and Quantity Variances are calculated for a Production Order?
Regards
KailashHi Kailash,
The variances relating to Input Price and Input Quantity are calculated on following basis...
Input price variances
Input price variances are caused by differences between the planned and actual prices of the materials and activities used.
The system can only calculate input price variances if quantities were specified in addition to the planned and actual costs. The following conditions must be met for this:
You need t turn on the Material origin indicator in the costing view of the master record of all materials that have a large influence on your costs. Uniform units of measure must be assigned to all input materials. That is, material costs can only be totaled under a cost element when such costs are carried under the same unit of measure.
If you have defined primary input price variances in Customizing, the system will calculate input price variance percentages and update them with reference to the operation. When you start the variance calculation process at the end of the period, this data will be canceled and the input price variances calculated by multiplying the difference between the planned price and the actual price by the confirmed quantity. If the confirmed quantities are incomplete or do not exist, input price variance percentages will be shown.
Input quantity variances
Input quantity variances are caused by differences between the planned and actual consumption quantities of materials and activities. You need to turn on the Material origin indicator in the costing view of the master record of all materials that have a large influence on your costs.
As a whole, if you want to see input quantity variances and input price variances, you must make the following settings:
Turn on the Material origin indicator in the costing view of the material master record.
Turn on the Record quantity indicator in the cost element.
When it calculates the variances, the system does not check whether the Record quantity indicator is turned on. If quantities are not recorded, however, it is not possible to calculate quantity variances. If the Record quantity indicator is turned on, a warning message is issued if you do not enter a quantity in consumption postings.
Pls revert back for further explanation....
Srikanth Munnaluri -
GR quantity less than Production Order quantity
Hello all
I am working at a client where they produce Make-To-Order items specific to a Sales Order by triggering an Assembly Order (Production Order).
Now I am facing a tricky situation & hence want some advice from you guys.
In a generac scenario when an order comes for a MTO material ABC, a Production Order is triggerred for that item.
I can navigate to this Production Order from the Sales Order > Schedule Line tab (Just FYI)
Now once the Production Order is confirmed for each Operation on the floor using CO11N, the material is receipted in the Inventory & the requirement gets fulfilled.
Now sometimes the Production Order is Goods Receipted for a Lesser quantity as compared to the Production Order Quantity.
e.g. Sales Order Quantity = Production Order Quantity = 3 EA & the Delivered Quantity (GR qty) = 1 EA
In such a case, in MD04 the system still shows an open requirement for 2 EA on the same Production Order Number
Is there a way to trigger another Production Order for the remaining quantity automatically ?
If anyone can share their thoughts proposing possible solutions to handle such a scenario, it would be a great help.
I am an SD consultant & hence cant think ways to handle the scenario & propose it to the Business.
Any help will be appreciated
Thanks
VinHello
Thanks for all your replies.
As of now the 1st scenario is no more an issue. The business process is modified to fix the problem.
Now my main problem is the 2nd scenario which I will explain better here.
In our scenario MTO items when placed in a Sales Order triggers a Production Order.
This Production Order needs to be confirmed for each operation & at the final step the MTO item is pushed into the inventory.
The Production BOM & the operation overview for the MTO item is as shown below:
E.g.
Operation Overview:
Operation Work center Control key
0010 Prod PP01
0020 Pack PP01
0070 Confirm PP03
Routing:
Item Material QTY Unit Operation
0010 ABC 100 G 0010
0020 XYZ 10 G 0020
Now as shown above, the business users who produce the MTO item will confirm operation 10 & consume raw material ABC at the Work Center = Prod.
Then at the Work Center = Pack, the packaging material is used & operation 20 is confirmed.
Finally after the packing is done, at the Work center = Confirm, the operation 70 is confirmed when the MTO item is receipted in the Inventory.
Before it is receipted at the Confirm work center, a user monitors the quality of this produced item. If it is good only then it is receipted in the inventory.
Now depending on when the Sales Order is fulfilled, this MTO item will be shipped.
Issue:
Now when the MTO item produced passes thru the high level quality check, it gets receipted in the inventory at operation 70.
However in a case where the some or all the qty of the MTO item ordered doesn't pass the quality check, they will be scrapped physically.
Thus my understanding is that e.g. 3 qty of the MTO was ordered & 1 got rejected, then the user confirming the step 70 will enter YIELD = 2 ea & Scrap = 1 ea and do the final confirmation.
This means that the original demand of 3 ea is still incomplete. 1 Ea still need to be made as a Sales Order Stock.
Now the function needed is that the system should automatically generate a Production order for the remaining 1 Ea as a Sales Order stock.
I dont know if this can be achieved by receipting the 1 EA as REWORK on the CO11n screen at operation 70.
Also I am not sure if Production Order Split case would work in this case.
I would need some input from all the PP gurus. Any solution which be close to what functionality is needed will be greatly appreciated.
Thanks
Vin
Edited by: vinit parkar on Mar 3, 2010 5:04 PM -
Changr HU quantity generated via PRoduction order confirmation
Hi gurus,
I have created GRN of 112 quantity via production order confirmation.
My plant andstorage location is Handeling unit managed so with GRN handeling unit gets generated.
but packing had done for 1 quantity only.
now how to change this quantity? I tried HUCANC t code and gave the HU number but system is giving error that HU can not be cancelled. first cancelled material document
but GRN has made 112 quantity which is correct then how HU got packed with 1 only?
I stuck up pls helpwhen I am trying to change Hu in humo i am getting following error
Storage type 111 does not allow repacking - HUs cannot be changed
also getting following error if I am changing the quantity or emptying the Hu
Handling unit 10016000800120555 has status "cannot be changed" - Process cancelled
Edited by: vrunda on Jul 9, 2010 10:57 AM
If I tried to delete
Handling unit 10016000800120555 contains items that cannot be deleted
Edited by: vrunda on Jul 9, 2010 10:58 AM -
Change Mrp Element Data of Production Order in MD04
Dear guru ,
In the mrp element data of the stock/requirement list for the production order I see the
Production order number , the order type , and the system add /RE if production order is released or
/PD if production order is partial delivered. No other information about others production order status.
How can I change mrp element data using Customizing or ABAP in order to recognize in MD04 if production order is confirmed or partial confirmed ?
Thanks.Dear Cris ,
I am not sure if CNF/PCNF will show up in the MRP Element data in MD04.I have checked PO which are also CNF/PCNF and i looked the same order in md04.It is not showing .U may need some ABAP help .
But if you really intersted to see the list PO status together , then go to COOIS and give plant , order type .It will give you all the order under that plant irrespective of material and also Status.U ave lot of option to filter the PO status under Status Profile or System status ok.
Hope this will fullfill your requirement
Reward point if useful
Regars
Jia -
Stanging indicator change in control cycle after production order released
HI
We have MM PP interface active
i setup staging indicator 4 for one material via control cycle
Production order is created and released
now we would like to change staging indicator to 1 [pick parts]
how we reread control cycles data in production order
ThanksTry: CO02 > Functions > Read PP master data
-
Mass change final issue indicator in production order
Hi
Is there any report can show final issue indicator for all production order? How can I mass change the indicator?Hi,
In reports such as COOIS and COHV you can select in the initial screen "List: Components" and check your "Change layouts" to view the report with the "Final Issue" indicator.
But you cannot do a mass change in this option. One way is : You can just select the particular order -> goto Component Overview of the order to be changed and do the necessary changes and save to get the required result.
-Thaila Shree
Maybe you are looking for
-
After upgrading to 12.0.1.26, podcasts won't update and cannot access iTunes Store. Get a message that I cannot access as not connected to internet. There is no problem with my connection. I've rebooted, delete & reloaded etc., still not working. Not
-
Mapping from flat sql message to nested idoc
Hi, im trying to map the values from a database select to an idoc. the structure is like that: ?xml version="1.0" encoding="UTF-8"?> <ns0:Messages xmlns:ns0=""> <ns0:Message1> <ns1:MT_SQL_Invoice_Req_response xmlns:ns1=""> <SELECT_
-
anyone having this problem with the new zen?i've got the 8gb model and when i put it on hold, the screen goes white after a minute or so. it still plays.....and if i take it off hold i can still use the buttons to skip tracks etc but the screen is wh
-
hi, When i do an export – import from one OWB repository to another of an OWB mapping having a MERGE statement some of the columns are missing in the MERGE. I am using OWB 10g R2. Eg: if the MERGE is based on columns c1, c2, c3 after the export-impor
-
Driver Program For Withholding tax(USA) Smartform 'idwtcert_us_1099misc1'
Hai friends, i need to print withholding taxes(USA) by using the smartform 'idwtcert_us_1099misc1'. for this purpose for driver program i checked in tnapr table. & i have checked in sap Img Path also. but i am unable to find it. so please help in