RE: PRODUCTION ORDER

Dear Sap Experts,
Please note that i  have issued 100 qty for prod dept against an Production order......But the user dept have used only 50....balance 50 i have to take back...how to map this in SAP..
one more thing....while issuing my material cost is 2rs.......so 200 rs worth material i issued...after 10 days i came to know about the excess of material staying in prod stor loc...while taking it back my Moving avg price of that material will be 1.50...in this case how systm takes the price...
Please advise me !
Thanks
Mohit

Dear Mohit,
It's very clear you have issued in excess against the production order and the price of the component at the time of GI was Rs
2 and now you want to reverse a certain quantity against the production order,which means you want to post 50 quantity
using 262 movement.
Now in this case if my understanding is correct the system takes the MAP(Moving average price)of the component and posts
262 movement for 50 quantity for a price of Rs 1.5(in your case) against the production order.
The system does not takes Rs 2 which was at the time of GI(261) for the order.In case if you want to post it only for Rs 2
means check with your CO consultant,whether can you make a price change using MR21 on temporary basis.
Check and revert back.
Regards
Mangalraj.S

Similar Messages

  • Open Production Order

    Hi have to create a report that has open sales order , open po , open pur req , open planned order and open Production order.
    I need the logic for OPEN PRODUCTION ORDERS.
    The status of the production orders are maintained in JEST Table .
      I need logic to elimate the completed production orders during my selcet . Since JEST Table has multiple entries and for some orders that are released the 'DELV'  status wil not be maintained at all at that time.
    I wil really appreciate your help , if you can tell me how to emliminate the completed production orders during my select query to get the open prod orders.
    Is there any fun moduel or bapi that wil give the Open prod orders ?? or any std report that gives open PO??
    Thanks

    for this you can use the Function STATUS_TEXT_EDIT , for this pass Objnr (get the objnr from AUFK table using the production order) it will give you the status in the LINE exporting parameters.
    Import parameters               Value
    CLIENT                          100
    FLG_USER_STAT
    OBJNR                           QM000200000010
    ONLY_ACTIVE                     X
    SPRAS                           EN
    BYPASS_BUFFER
    Export parameters               Value
    ANW_STAT_EXISTING
    E_STSMA
    LINE                            OSNO NOTE   "this is the status text
    USER_LINE
    STONR                           00
    if line CS 'DELV'
    "ignore the Order
    endif.

  • Error while raising Production Order

    Experts
    I get an error for a particular Item while raising a PRODUCTION ORDER
    'Location Input does not match the warehouse location of Item'
    I work in SAP B1 2007B - PL 18
    It will be great if someone can give me the reason/solution for the above ERROR.
    REGARDS
    KARTHIK

    Hi,
    Parent item and child items warehouses location should be same.......
    Regards
    Deepak Tyagi

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • Creation of Production order in Past dates using RFC

    Hi all,
    I am using RFC to Create a production order based on the datas available from MES systems.Here the process flow is From MES system datas are passed to interface in file format then from interface will calll the RFC so that the RFC will do the function of Creating the Production order & release in SAP.
    Here i face an issue that i have 3 shifts at the end of every shift i have to tranfer the datas from MES to SAP .Which means i have to create 3 Production orders for a day.My issue here is the third shift datas will be availble for me in the next day morning after that only i am able to transfer theses datas to SAP.In this case i want the SAP to create th Production order  for third shift in the Previous day time.
    Ashift - 7AM t0 3PM
    BShift-3PM to 11PM
    CShift-11 PM to Next day morning 7 AM
    I need SAP to create Production order for Shift C on 11 PM of the Previous day when i transfer it on next day morning 7AM.
    Is this possible.
    Thanks in Advance,
    MBN

    Hi,
    I mean the Production Created date as the basic date only.
    My requirement is for the C shift i will get the output from the MES on the next day morning.After that i wwill transfer the production datas to SAP throgh Interface at that time i need the basic start date & time  of the production order to be the C shift starting time that is previous day night 11.00 PM.
    Eg.
    C shift  date 12.04.2010 night 11PM to 7AM
    i transfer the c shift production datas from MES to SAP on 13/04/2010 Morning 7AM.But i want these datas to create basic start date & time of the production order on 12/04/2010  11PM.
    What should be done to get these.
    Thanks in advance,
    MBN

  • Creation of a new costing variant to cost production orders

    Hi all,
    Currently the business is only able to cost a vehicleu2019s production order at the standard cost value which is determined at the start of the year.
    During the year a number of the purchasing values will be updated with a new contract price, this increase will not be reflected in the standard cost until the end of the year.
    The business would like a new costing variant which will cost an already created vehicle in SAP by its production order at the u201CCurrent Costu201D (current purchasing info record value).
    It will need to be calculated in the following way:
    u2022Purchased material - at purchase cost from info record (see below for applicable exchange rate).
    u2022Manufactured material - child material to be at purchase cost (from info record). Routing cost (labour\overhead, etc) at current criteria.
    u2022No allowance for CPI.               [WHAT_ DOES_CPI_MEAN_?]
    u2022Exchange rate: ideally, fields are provided to input exchange rate. If this is not possible then apply current monthu2019s exchange;
    u2022FRAu2019s - current rate from the info record.
    u2022Summary of total material cost by origin code with ability to drill down to line level.
    u2022The output of the report will need to be similar to the layout of a production order but with only the current value displayed.
    We have some problems to understand this request: we don't know the transaction which is used by the users to costificate a production order and what does it mean "CPI". We are not sure on the feasibility of the costing variant requested because it must consider both actual costs and standard costs.
    It should costificate in this way:
    (Actual Cost of Row Material * Bom's standard qty) + (Standard price * Standard production time (in the routings).
    Could you help us?
    Many thanks to all of you, best regards.
    Alanis

    You can create a new costing variant with  a valuation variant that points to inforecords for material prices. Go to OKKN t-code and create the required configuration and start using the new costing variant to measure the current cost of making vehicles.

  • Changing the Assignment of production order in sales order in MTO scenario.

    Hello all!
    I have following problem:
    After the MRP a production order was created for a sales order. Because of the production in another plant
    the production order which was created automatically had to be technically completed and a new one
    created.
    If you want to check now the availability, the sales order finds nothing, because it's linked to the one,
    which was technically completed. Now is the question how can I change the production order for this
    sales order. (In the production order the correct sales order is connected!)
    As I found out it's connected to the field AUFNR in the table VBEP. But how can I change this
    field within a transaction and not in the database?!?

    No replies

  • Error during goods receipt of Finished goods for production order

    hi friends
    pls help me iam struggle this issue and mentioned the issue .
    when i do goods receipt for production order system getting error like
    No price could be determined for material/batch FG/ plant ZTP
         Message no. CK 465
    Diagnosis
         The system could not calculate a price for material/batch FG/ in plant
         ZTP for valuation view 0, because none of the valuation strategies in
         valuation variant 007 was successful.
    System Response
         User-defined error management enables you to specify whether the message
         is an error message, a warning message or an information message.
         o   If you have defined the message as a warning message or an
             information message, the costing item will be entered in the cost
             estimate with a value of zero.
    If you have defined the message as an error message, the cost
    estimate contains an error or errors.
    -   In the case of a material cost estimate, the system sets the
        status KF.
    -   If it is a cost estimate without quantity structure, or base
        object cost estimate (that is, a unit cost estimate),  the
        system cannot proceed with costing until you have corrected the
        errors.
    If the system issues a termination message, the cost estimate cannot
    be processed, and processing is terminated.
    procedure
        o   Check the master data for material/batch FG/ in plant ZTP.
        o   If you have authorization for Customizing, check the valuation
            strategy for materials in valuation variant 007.
        Note
        If the message is a warning message or an information message, there is
        a danger that materials with errors will be ignored by the system.
        If, because of this, you issue a warning message and at the same time
        include materials with a zero value in cost estimates, you can make the
        following settings for these materials in the costing view of the
        material master:
      1.  Enter a very low price in the planned price 1, 2 or 3 fields
          manually, for instance 0.01 USD. These prices are used for costing
          purposes only; they are not read by other applications.
      2.  Enter the highest price unit possible, for example 10000.
          Note: If you enter a new price unit that is higher than the costing
          lot size, the system increases the costing lot size accordingly.
      3.  Change the valuation strategy, such as strategy 4, where you could
          enter the planned price field in which you entered the low price.
          The system now costs as follows:
          Using the valuation strategy, the system finds planned price 1, 2 or
          3. Due to the low price and high price unit, the system rounds the
          value to zero. However, the cost estimate still obtains status KA
          (free of errors), and no error message is issued.
          This procedure can be used for all materials that have caused error
          message CK465 to be issued.
    with regards
    dinesh
    Edited by: code acess on Nov 8, 2010 4:06 AM

    hi ragavendra,
    this is dinesh .i maintained the costing view and planned price. but again i have same error.so please reply me where i missed the data
    with regards
    dinesh
    Edited by: code acess on Nov 9, 2010 4:01 AM

  • Creation Of Production Order without PP module

    Hi PP guru's
    There is one Specific requirment from Client side, the Requirement is
    They are not supposed to implement the PP module in R/3 but they want to get generate the Production Order in R/3 through some interface with lagacy system, based on that they want GR at warehouse,They are using MTS system
    They are doing all Production Planning in the exiting Lagacy system and the production Order will be created via interface from those system
    for that requirment what master data are requred so that we can full fill the client requirment
    valuable suggestion will get awarded
    Thanks in advance

    Dear,
    Technically speaking it is not possible You can shear same thing with your clint also --as there requirement is not specific.
    Hope clears to you.
    Regards,
    R.Brahmnkar

  • IDOC for Creation of Production order and also adding components

    Hi ,
    I have a requirement like I get the data from a 3rd party system and using that i have to create production orders and also should be able to add more materials in COMPONENTS part of that Production order. I was looking for a BAPI which can handle this process.
    And also can any one help me by letting me know is there any Message type available for handling this process of Production order creation and Adding extyra components to it.
    I have a  message type LOIPRO (for Production Order) and associated function modle CLOI_MASTERIDOC_CREATE_LOIPRO for creation of master IDoc, but not sure can i handle the Components part in this.
    Please do send replies ASAP, its very urgent.
    Or else atleast suggest me the other ways of doing this .
    Also send me any BDC program if anyone has already developed for this.
    Thanks
    Kumar
    Edited by: Phani Kumar Peddagopu on Mar 19, 2008 6:56 PM

    Resolved .

  • Error on Production Orders Add-on when 2 or more users at the same time.

    Hi.
    Our add-on creates special production orders (SAPbobsCOM.BoProductionOrderTypeEnum.bopotSpecial) with no problem when used by one user, but if there are two or more users  everyone on his own SAPBO session it starts to throw different errors, we think it may be a concurrence problem due to several transactions.
    Here a short brief of the code sample and the process:
    (error handling and object members not included in the sample)
    oDoc.ProductionOrderType = SAPbobsCOM.BoProductionOrderTypeEnum.bopotSpecial
    If the oDoc.Add() is correct, We get the last production order created and release it:
    Me.sKey = Me.Company.GetNewObjectKey
    oDoc = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders)
    oDoc.GetByKey(Me.sKey)
    oDoc.ProductionOrderStatus = SAPbobsCOM.BoProductionOrderStatusEnum.boposReleased
    oDoc.Update()
    Then we go for an inventory Entry:
    oDoc = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
    oDoc.DocDate = Date.Now
    oDoc.Lines.BaseEntry = Me.sKey
    oDoc.Add
    And Finally to close the production order:
    oDoc.ProductionOrderStatus = SAPbobsCOM.BoProductionOrderStatusEnum.boposClosed
    oDoc.Update()
    This works fine when only one user is using the add-on, but in the end there wil be at least eight users simultaneously  working with this add-on
    The test:
    We have four users creating production orders with the  add-on.
    Two of them get the usual success messages and the created documents in SAPBO are all correct.
    The other two users get diferrent errors messages during the process.
    If they wait and try again to run the process it works fine.
    Repeating the test get errors on different users depending on which one started the process first.
    Our client needs to generate beetwen 900 and 1200 production orders per day, so they can't wait until the process is free for each user to work with it.
    The common erros detected are:
    Changing the status of the production order:
    -5002 - The warehouse is not defined for the item.
    -4002 - To generate this document,
               first define the numbering series in the Administration module
    -1029 - Field cannot be updated
    Adding the production order and inventory entry:
    -2038
    -1116
    -5002
    Regards,
    Omar Fonseca

    The start transaction model didn't Fit well with all the process we are doing, but the idea of locking or holding the other users seems to work pretty fine, we are now using a flag to determine if someone is doing the process and put in hold the new ones.

  • Regarding Goods Reversal and Goods Issue process for Production orders

    Hi,
    I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>.
    Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to
    make the <b>Goods Reversal</b> happen.
    The code for the above is as below:
                       i_mvtit-material      = wa_mdfa-matnr.
                        i_mvtit-plant         = i_resb-werks.
                        i_mvtit-spec_stock    = 'Q'.          "New
                        i_mvtit-stge_loc      = 'ZWIP'.
                        i_mvtit-stge_type     = i_resb-lgtyp. "New
                        i_mvtit-batch         = i_resb-charg. "New
                        i_mvtit-orderid       = i_resb-aufnr.
                        i_mvtit-spec_stock    = i_resb-sobkz.
                        i_mvtit-entry_qnt     = i_resb-enmng.
                        i_mvtit-entry_uom     = i_resb-erfme.
                        i_mvtit-entry_uom_iso = i_resb-meins. "New
                        i_mvtit-wbs_elem      = v_frwbs.
                        i_mvtit-move_type     = '262'.
                        i_mvtit-xstob         = 'X'.
                        i_mvtit-gr_rcpt       = i_resb-aufnr. "New
                        i_mvtit-reserv_no     = i_resb-rsnum.
                        i_mvtit-res_item      = i_resb-rspos.
                        APPEND i_mvtit.
    * HEADER ELEMENTS
                        k_gmvt_code-gm_code    = '03'.
                        k_gmvt_head-pstng_date = sy-datum.
                        k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
                        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
                          EXPORTING
                            goodsmvt_header = k_gmvt_head
                            goodsmvt_code   = k_gmvt_code
                          TABLES
                            goodsmvt_item   = i_mvtit
                            return          = i_return.
    The Above code does the <b>Goods Reversal</b> but then i will update one Z Table with fields like
    Production Order Number[AUFNR], Number of Reservation[RSNUM], Item Number of Reservation [RSPOS], Material Number [MATNR], Requirement Quantity [BDMNG], WBS element[PSPNR] etc. If Above BAPI runs sucessfully.
    That is happening correctly.
    But Then actual issue is i have do <b>Goods Issue</b> for those Z-Table records.
    There i will give Production order Number's & Storage Location in Selection-Criteria.
    Then i need to do <b>Goods Issue</b> for that order.
    The code i had written as follows.
    * POPULATE VALUES FOR BAPI CALL
            i_mvtit-material      = i_zpsi7603_01-matnr.
            i_mvtit-plant         = i_resb-werks.
            i_mvtit-spec_stock    = 'Q'.                "New
            i_mvtit-stge_loc      = p_sloc.
            i_mvtit-stge_type     = i_resb-lgtyp.       "New
            i_mvtit-batch         = i_resb-charg.
            i_mvtit-orderid       = i_resb-aufnr.
            i_mvtit-spec_stock    = i_resb-sobkz.
            i_mvtit-entry_qnt     = i_resb-enmng.
            i_mvtit-entry_uom     = i_resb-erfme.
            i_mvtit-entry_uom_iso = i_resb-meins.       "New
            i_mvtit-wbs_elem      = v_frwbs.
            i_mvtit-move_type     = c_261.
            i_mvtit-mvt_ind       = 'F'.                "New
            i_mvtit-xstob         = c_x.
            i_mvtit-gr_rcpt       = i_resb-aufnr.       "New
            i_mvtit-reserv_no     = i_resb-rsnum.
            i_mvtit-res_item      = i_resb-rspos.
            APPEND i_mvtit.
    * HEADER ELEMENTS
            k_gmvt_code-gm_code    = c_03.
            k_gmvt_head-pstng_date = sy-datum.
            k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
            CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
              EXPORTING
                goodsmvt_header = k_gmvt_head
                goodsmvt_code   = k_gmvt_code
              TABLES
                goodsmvt_item   = i_mvtit
                return          = i_return.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                wait = c_x.
            READ TABLE i_return INDEX 1.
            IF i_return-type EQ c_s.
              DELETE FROM zpsi7603_01 WHERE aufnr = i_resb-aufnr AND
                                            rsnum = i_resb-rsnum AND
                                            rspos = i_resb-rspos.
            ENDIF.
    If i run above code for <b>Goods Issue</b> it is giving error can anybody tell me what changes i need to do to make it work.
    The <b>Error Message</b> i am getting is as below:
    <b>Qty and / or "delivery completed" ind. or final issue ind. are missing</b>
    <b>Error Number for the above is : 264.</b>
    Can anybody solve my issue.
    Any help will be appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    Thanks boss.
    It is working now correctly.
    The issue is the  i_mvtit-XSTOB should be equal space in case of Goods issue while incase of Reversal it should be equal to X.
    Thanks for ur efforts.
    I had awarded you points.
    Thanks a lot.
    Thanks & Regards,
    Rayeez.

  • 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 R

    Hi 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

  • Revaluation of Activity type is not getting updated in Production Order

    Hi,
    I have run KSII , for actual activity price calculation. After this , the revalution of production orders was done.
    But I am not finding any entry in Production order with a value of variance between Actual Price and Plan Price of the Activity type.
    It sould come in the production order.
    What can be the reason?
    In OKEQ, for the Version '0' and the fiscal year, Revaluation has the entry ' 1.Own Business Transaction'. I hope this is correct.
    But still the revalaution line item is not showing in Production Order.
    Please help.
    regards
    Kamlesh

    Hi Paolo,
    Yes, MFN1 ran perfectly and I am also able to see the details in the screen.
    My concern is, this revaluation should also have affect on Production order, thats what not happening.
    Or let me know where can I see the affect of revaluation on Production orders.
    regards
    Kami

  • Change not done in the user fields of operation for production order save

    Hi Experts
    I need to change the user fields of the operation like (SLWID and USR00 )for a production order at the time of save.
    So am using the exit PPCO0001 and using the OPERATION_TABLE internal table in the exit to chang the details.
    I have done coding in the exit to change SLWID and USR00 in OPERATION_TABLE internal table, but its not updated in the database and the screen also. I dont understand why.
    Please let me know, why the update are not happening.
    Thanks in advance.
    Regards
    Rajaram

    Why Update is not happening in PPCO0001.
    Please let me know your views.
    Thanks in advance.

  • Issue in va02 that relates to Production order

    There is an issue in sales order change credit memo issue transaction
    va02.
    The issue message:  You cannot select assembly order for deletion.
    When i look into the status of the order it shows the following status.
      REL  Released            
      PRT  Printed             
      CNF  Confirmed           
      DLV  Delivered           
      PRC  Pre-costed          
      GMPS Goods movement posted
      MACM Article committed   
      OPGN Operation generated 
      SETC Settlement rule creat
    Can this order be deleted what is the issue.

    Hi,
    Hope you are doing a change of the credit status of the order, for material with assembly processing indicator like strategy type 81 or 82.
    by changing the credit status, the system will try to set the deletion indicator to the production order created for the sale order.
    If the productuion order is released and sone goods goods movement or activity tposting has already happened, then the system will post this message.
    Kindly check the related production order attached for the sale order.
    Thanks,
    JK

Maybe you are looking for

  • 1099 information for mid year go live

    Hello guys, How to capture the payments made to 1099 vendors until go live in SAP. At go live we only load open items. How do we integrate payments from Legacy (until go live) and payments from SAP (after go live) to generate the 1099s from SAP syste

  • Measuring of efficiency in each work center in terms of gi and gr

    Dear Gurus Suppose I want to produce fert D with raw matl x. In bom of D I have mentioned only x. While producing D I am performing say 4 operations t1, t2, t3, t4 one by one.After operation t1 material coming out is suppose A.My client wants to know

  • Demantra Workflow issue

    Hi Guru's, I have a issue with workflow. I created a new workflow and when I wanted to run, it is showning as Yellow (Not available process). This happens as soon as I bounce the instance. I could not run the workflow once. Why is this happening? Tha

  • Need advice about Macbook internal HD and Logic Pro

    Hi! If I use an external Firewire HD for my projects. The Audiofiles gets saved ( recorded ) in the "audio" folder inside the projects folder on the external HD. Does it have ANY impact on my macbooks ( logic pro's ) performance that the internal HD

  • Mac mail bounce back when forwarded

    Help! I use mac mail on my ibook to get mail from my go daddy server. Recently I cannot forward mail to one of my 3 accounts. when I try I get this message: Hi. This is the qmail-send program at p3plsmtpa01-07.prod.phx3.secureserver.net. I'm afraid I