Regarding production order closing and demand closing

Hi Gurus,
I am new to pp module..
I have the requirement on production order closing and demand order closing.
The requirement needs plant,reuirement plan no ,basic finish date and percentage in selection screen.
In the output display plant,requirement plan no,PIR No,order,order finish dat ,***.order qty,***.delivered qty,qty difference,percentage%,order status as in alv grid display.
And in the output it has 2 buttons named technically complete and demend close .whener user click on first button system should take all the orders which r selected to the program with the same reuirement plan as for the selected order and then technically close all the orders with the same reuirement plan number.
when user clicks on demand close button,system should take the respetcive requirement plan number,order finish date and material and it has to take the pir no which match the above and deactivate the pir and save.
I need the help about this.
Thankx in advance.

Dear Chandu,
First settle the production order using the T Code CO88,and then close the production order.
Prerequisites
Prerequisites for setting the CLSD status are:
The order must have the status Released (REL) or Technically completed (TECO)
The order balance must be 0
There can be no open purchase requisitions, purchase orders or commitments
There can be no future change records from confirmation processes
Regards
Mangalraj.S

Similar Messages

  • IDoc Configuration for Production Order Creation and Change

    Hi All,
    Please Help me out for IDoc Configuration for Production Order Creation and Change
    I have found the IDoc for Production Order
    Messgae Type : LOIPRO and IDoc type : LOIPRO01
    Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
    I have done following Configurations:
    1. RFC Destination created for XI system
    2. PORT was created for XI
    3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
    I need to know how to do the followning.
    1. How do i configure the outbound Production order idocs when Production Order is created or changed.
    2. in NACE (Output control) which is the Application for Production Order.
    3. How can I set IDoc as output Type for Production Order Creation.
    Thanks in advance
    Dhanabal T

    Hi Michal,
    I know that it is the old thread but still want to get clarified from you out of curiosity.
    Unlike other IDOC, i actiavated change pointers for LOIPRO
    1.message and idoc type is linked
    2.function module , message type , idoc type is linked
    function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
    3.BD64, distribution model is created and distributed
    4. port and partner profile is in place.
    5. IDOC is not getting generated after creating the process order.
    do we need to activate the change documents for the message type in BD52,
    if yes can you please provide the object types for the same.
    or i am missing something else. please guide me in this regards.
    Thanks in advance for your time.
    S.Janagar

  • Table for Production order planned and Actual cost

    Hi Experts,
    Can anybody please tell me the name of table where Production order planned and Actual cost gets saved ?
    Thanks in advance.
    Regards,
    Bijay

    Table COEP
    don't forget the points

  • Production Order Number and Batch Number same during order creation

    Hi All,
    I wanted to keep the Production Order number and Batch Number same during creation.
    How I can do that during creation of order only. So during creation same number to be get assigned automatically in the background.
    One thing I can maintain ; the same number range for both.
    But how to activate other functionality.
    Regards,
    Amit

    Hi SAP2511,
    For Production order-
    1.You can define a Order type  and  Mantain the number range same as batch number range (in  OPJH transction)
    For Batch
    1.Activate Automatic internal batch assignment - (OMCZ)
    2.Number range for batch - for object - BATCH_CLT - (OMAD)
    For batch creation at time of Order creation -
    You can create Automatic batch at the time of order creation or order release
    1 Create Production scheduler Profile(OPKP) and assign in Work scheduling view of material master for which you want to create batch at the time of order creation or release.(Select automatic batch creation at the time of release or creation in OPKP)
    Things to be taken care -
    1 . What if you set deleation flag for order?
    Regards
    Girish
    Edited by: girish khobare on Aug 20, 2010 9:31 AM

  • Report on production order status and shortage report

    I want to know standard report on production order status and shortage report. Kindly suggest.

    COOIS - Production order information system . In this report you can give system status in selection screen  and in report you can get complete status details (both system and user status) .
    shortage report - CO24

  • Run time error while running BDC for production order creation and confirmation:

    Dear Gurus,
    We have a situation, where the users are trying to do the entries creation of order or confirmation (through manual and BDC). But, if there is any kind of a deficit quantities in consumption or GR quantity, then it is going to run time error and Dumps are coming in program SAPLCORB
    and the transaction code is coming for CO11N.
    How to avoid this error to run the production system in smoothing way...Any flash lights on this will be great full
    Regards,
    Madhu.G

    Hi Madhu,
    Expert Caetano has rightly point out. Refer Note 1840705 - RAISE_EXCEPTION short dump if running CO11N in background
    Cause
    The short dump is triggered because SAP transaction CO11N contains new GUI elements that cannot always be dealt with in a background process,
    such as the confirmation texts.
    Resolution
    SAP recommends that the standard production order BAPIs, such as BAPI_PRODORDCONF_CREATE_TT, should be used to post a confirmation in background.
    If this is not feasible, the following workaround may be uses:
    Define a confirmation profile in transaction OPK0; 
    In the detail areas, remove the area "Confirmation text"; 
    Set this profile as standard, so that it is chosen automatically by the system when a batch-job
    is started; 
    Assign this confirmation profile to the batch user with transaction SU3 using parameter CORUPROF.
    Also see Note 429432 - CO11N: Batch input in background dumps if long text is maintained
    Refer to note 1154692 - Endless loop during confirmation in background if you doing Auto GR during confirmations
    Thanks & Regards,
    Ramagiri

  • How to compare the variances of production order type and get report

    Hello All,
    I want to compare the variances of production order type wise.
    for ex. i want variances of order type PP 01 and PP 02 in a single report.

    Hi Sachin,
    You have to maintain summarization hierarchies to achieve this.
    1. Maintain summarization hierachies with hierarchy level - order type in the t.code.KKR0    
    2. Generate the hierarchy in KKRC
    3. Run the report KKBC_HOE
    Regards,
    Mukthar  

  • Idoc creation on production order create and save

    I need to know if there is a way to create an idoc on the change and save of a production order.  We will need to base this on plants (not all plants get an idoc).  Is there any "safe" way to do this automatically?  We previous had a system in place that used the user exit of a production order save but it no longer works. 
    Regards,
    Davis

    It's not an error as such.  The program is doing exactly what it has been told to do.
    If you go to SE38, and look at ZXCO1U06, you'll find that there is a statement "BREAK-POINT".  This is hard-coded way of opening the debugger.
    Your best approach is to find the developer responsible for doing this, and ask them to change it.  If this is happening outside of development system - perhaps in test or production, then perhaps
    a) The programmer needs to be disciplined shot
    b) The development team need to introduce some review procedure of ALL coding, before transport.
    Regards
    matt

  • Regarding Production order changes work flows

    Hi to all,
    I activated WS20000387 work flow template. its regarding the production order changes .
    briefly: i created one production order, immediately assigned person will get a message in his SAP inbox.
    he has to double click/execute on that mail, then system will take u directly to the production order screen. there is no need to enter that Order no.
    but here, after double clicking, system is asking The Order no.
    we have clients 300,500 and 700.
    i executed same work flow in 300 successfully,
    700 is not modifiable. thats y i did all the settings in 500 and copied the request to 700.
    i am getting  the problem in 700,, i compared all the settings in 300 and 700, but no use,,,all are same,,,but not executing in 700.
    anybody can help me in this regard.

    You Can use below FM to confirm Production order and it is very simple BAPI.
    BAPI_PRODORDCONF_CREATE_HDR -> just check in where used list.
    Thanks
    Seshu

  • Show itemcode on production order lookup and BOM lookup

    When looking up a Production Order or Bill of Material, the ItemCode is not available in the lookup window. Even when you "Product No." in the case of the Production Order or "Parent Item" for BOMs you get the Item description rather than the ItemCode.
    Many clients know their part numbers well and would like to be able to look by ItemCode. I know I could build in a Formatted Search/UDV to one of the fields but it seems like this should be a natural.
    Am I missing something?
    Alan

    Hi Alan.......
    Are you trying to say when you Press Tab on Item Code Field in Production order at parent level there you dont find the Item Code which you want to be produced?
    If yes then It happens if you are doing Standard or Disassembly Production Order and Bill if Material of such product is not present in Database then it wont list up......
    Please check the BOM.......
    Regards,
    Rahul

  • Issue for Production Report With Production Order Details and Batch Number

    Hi Guys,
    I am looking for a  batch report.I have tried it but i didnt get the desired results.Pls any body give me some solution.
    I need to include the Batch number  in this report and when i have done the same  the values are repeating  and also need to display the Item Description for (Description in Production Order - Parent Item)
    SELECT  distinct t0.docnum,T0.[DocDate], t4.IssuedQty as 'Consumed Qty', T1.[ItemCode] as 'Circle Codee',T1.[Dscription] as 'Circle Name',t3.itemcode
    FROM [dbo].[OIGE]  T0
    INNER JOIN [dbo].[IGE1]  T1 ON T0.DocEntry = T1.DocEntry
    LEFT JOIN owor t3 on t1.baseref = t3.docnum
    left  join wor1 t4 on t3.docentry=t4.docentry
    INNER JOIN OITM T5 ON T1.ItemCode = T5.ItemCode
    INNER JOIN OITB T6 ON T5.ItmsGrpCod = T6.ItmsGrpCod
    INNER JOIN IBT1 T7 ON T5.ItemCode = T7.ItemCode
    INNER JOIN OIBT T8 ON T7.BatchNum = T8.Batchnum and T7.ItemCode = T8.itemcode
    where t0.docdate between  [%0] and [%1] and T6.[ItmsGrpNam] = 'Raw Materials' and t0.JrnlMemo = 'Issue for Production'
    Any body provide me some idea for achieving this....
    Regards,
    Vamsi.

    Hi Bala.
    Thanks for the query but still  not acheived the result.
    The Scenario is to know the quantity of the Coil (Raw MAterial) used IN making a product in different stages and from which batch and Whse the RawMaterial is Consumed in making of the Product(Production Order Parent Item)
    ------------- (Issue for Production )-----------------------|    Production Order Qty(IssuedQty)    Production Order       |  BatchNum
    DocNo/Date      | ( RawMaterial/Coil Code/Desription)  |   (Quantity issued for RM)                  ItemCode/Description | Batchnum
    Regards,
    Vamsi..
    Edited by: VamsamP on Dec 1, 2010 5:06 PM

  • Production order variance and purchase variance go to one business area.

    Hi Experts,
    I have a issue while Purchase order we have ordered 3000 qty and while goods receipt we posted 300000 qty and same was issed for prodction order instead of 3000 and got variance.  Then afterward purchase order qty was rectified with correct qty then purchase variance happed.  The production order variance is getting offsetting by purchase order variance and no effect on gross profit.
    Now my question is production variance is going one business area and purchase variance is going another business area. It should not be like that.  Both should be showed only one business area.  Please provide solution. 
    Thanks in advance.
    Balu

    Dear Balu,
    You can try OKB9 wherein you need to select the indicator 'BAlrn' against the cost elements of Purchase price difference account. Then select the line item and click the folder 'Detail for business area/valuation area' and input your business area. Thereby you can capture this variance in same business area, even if any other business area is entered or derived differently.
    Further, if your production variance account is also a cost element, you can direct the postings to the same business area, we can do the same as explained above. If not, we have to think of another configuration or work around. Pl let me know.
    Trust this helps much!
    Regards,
    Ashok SINGH

  • Merging the Production order number and operation number into sequential no

    Hi,
      I am creating the production order using the Tcodes Co01 or co10 and my requirement is that after creating the production number and then when I open that one in the change mode using  co02 Tcode the sequential number which is present in the assignment tab should come as a concatenation of order number and operation number .
    Thanks for the help in advance.
    Regards,
    Venkat.

    dear,
    this depends on the user buffer set.
    for each user there will be a buffer set in when logeed in and create a production order.
    depending on the saving the production order saving time there may be a situation as you have now.
    discuss with your basis people and under stand the user  buffer of numer for production order.

  • Automatic production order creation and confirmation

    Dear all,
    I am in a situation where i have to configure the SAP system in the following ways:
    1. From the planned orders automatically production order should be created today for the next day production and the end user will re-declare the quantity if there are any changes in the production order.
    2. If there are no re declarations to be done SAP should automatically release production order and save it.
    3. After the goods are produced the confirmation of the order should happen automatically from the measuring points.
    4. In the order confirmation, the storage location for goods issue should be automatically captured from the goods issue slip.
    5.After the confirmation of the order the goods receipt should happen automatically.
    Please suggest me whether these are possible in SAP or not.  If yes please tell me the procedure.

    HI,
    I hope this will give you the clear picture
    actually my scenario is:
    Finished good= x
    work centers involved = WC1, WC2.
    HERE BOTH THE WORK CENTERS ARE IDENTICAL, INPUTS ARE SAME AND OUTPUT IS THE FINISHED GOOD "X"  FOR BOTH THE WORK CENTERS.
    I HAVE A ROUTING FOR THE FINISHED GOOD "X" WITH TWO GROUP COUNTERS AS (1)WC1 AND (2) WC2
    When i create plan in md61 for 1 month and when i do mrp run in md02 it will create the planned orders and we can see the stock requirements in md04 and when we double click on the planned order we can convert them into production orders.
    But my users requirement is, he want to run the mrp in md01 and after that automatically each day the production order should be created.
    example with the above work centers and materials:-
    i have done the mrp run for "x" for November and December months
    i want to produce "x" of 200 kg on 30.11.2011.
    so SAP should generate production order for WC1 AS 100KG AND WC2 AS 100KG on 29.11.2011 at 5 pm automatically  and the user will release the order.
    similar example:-
    i have done the mrp run for "x" for November and December months
    i want to produce "x" of 400 kg on 03.12.2011.
    so SAP should generate production order FOR WC1 AS 200KG AND WC2 AS 200KG on 02.12.2011 at 5 pm automatically and the user will release the order.
    Please suggest me how to do the configure settings for my users requirement.
    Thanks,
    Aravind.C

  • Cost Center field in Production Order CO01 and PO tables

    Hi SAP Consultants,
    Is there any Cost Center field in Production Order transaction CO01 ?
    What are the tables where Production order data is stored/saved ?
    Any help would be appreciated.
    Thanks in advance.

    Need to understand your purpose first. Let's not make it any more technical than it should be, talking in terms of fields and layouts.
    All the replies given before mine are referring to the operational costs - which are what are passed on "for performing each operation" of the production order. These are the costs coming to the production order from the work center where the operation is performed. At the end of several operations, the production order would have collected all these costs of different operations, and also those of the materials used in the process. There may be other (overhead, etc) costs coming on to the production order too.
    If you're looking for one "cost center" for the entire production order, what cost center is this? Is it the department to which you want to settle the production costs? This is possible, that all the costs accumulated in the production order over the course of its life are finally "settled" to a different cost object, which can be an inventory account, or a sales order, an internal order, or a cost center etc. (There are exceptions, where a production order need not be settled but lets leave this to save us some complexity).
    What exactly are you looking for? What is the business purpose you are trying to achieve? Or is it just a purely technical reason to write a report or something? Even then we need to know the purpose and objective of the report/enhancement before being able to answer your question.
    -Ram

Maybe you are looking for