Finished material Price when i do GR for Prod.Order

Dear all,
               after i finished the Production Order i made GR for the Finished Material ,during this One Material Price is posted to the G/L  account, I want to know how the Prices came. I saw this in Production order Cost Aanlysis screen.
Please note we are using Moving Avg Price.
Please help me to know the Concept.

Kumar,
When a GR is made, system looks for the Valuation Class/Materail Type of the material and the Movement type used to determine automatically which account needs to be hit.
The price is determined by the valuation variant assigned to the valuation area(Plant). Here we define from where the sytem should take the price.
Regards,
Prasobh

Similar Messages

  • To fill in the material number with item category u201CBu201D for Framework Order.

    The use of framework orders (also referred to as blanket purchase orders)  enables you to procure a variety of materials or services from a vendor up to a predefined maximum value (the value limit).
    Instead of a specific delivery date, you specify a validity period for the order.
    Goods receipts or the entry and acceptance of services performed are not necessary in the case of a framework PO and limit items.
    The invoices are posted directly with reference to the purchase order, provided that the specified value limit is not exceeded. When the value limit of the PO is reached, or the validity period is exceeded, the system issues a warning message. It is possible to book the invoices, but these are blocked for payment.
    During the phase of service performance, the cumulative u201Cactual" values (for the services actually performed) are continually updated in the underlying purchase. This enables you to monitor the progress of a procurement project on an ongoing basis. By comparing the "actual" value with the total value, you can always obtain an overview of the degree to which a budget for unplanned services or materials has been exhausted (i.e. see whether predefined limits have been reached or nearly reached).
    So with the Framework Order type (FO) and item category u201CBu201D you get the error that it is not allowed to fill in the material number with item category u201CBu201D.
    Please suggest me the possible solution to fill in the material number with item category u201CBu201D for Framework Order.
    Best Regards,
    Harisha

    The Framework order type is specialy defined for lesser value procurements (ex: stationeries, cleaning services ....) which are all not worthy to create Material Master at all.
    If you are very sure to fill the Material number, then proceed with some other document type.
    In what circumstances you want to put material number in FO order?
    Karthi.

  • Getting errors when iam using  BAPI_PO_CREATE1 for Purchase Order creation

    Hi sap Gurus,
      I am getting Errors when iam using  BAPI_PO_CREATE1 for Purchase Order creation that Material (144) does not exist but it is alreardy maintained in MM01.
    I dont get how it is coming.and what are the mandatory fields in bapi BAPI_PO_CREATE1 in item level .that is too material only.
    pls let me know .
    thanks in advance.

    Hi,
    Check the sample code..
    report  zpo_test             .
    *DATA DECLARATION
    constants : c_x value 'X'.
    *Structures to hold PO header data
    data : header like bapimepoheader ,
    headerx like bapimepoheaderx .
    *Structures to hold PO account data
    data : account like bapimepoaccount occurs 0 with header line ,
    accountx like bapimepoaccountx occurs 0 with header line .
    *Internal Tables to hold PO ITEM DATA
    data : item like bapimepoitem occurs 0 with header line,
    itemx like bapimepoitemx occurs 0 with header line,
    *Internal table to hold messages from BAPI call
    return like bapiret2 occurs 0 with header line,
    *Internal table to hold messages from BAPI call
    pocontractlimits like bapiesucc occurs 0 with header line.
    data : w_header(40) value 'PO Header',
    purchaseorder like bapimepoheader-po_number,
    delivery_date like bapimeposchedule-delivery_date.
    data : ws_langu like sy-langu.
    *text-001 = 'PO Header' - define as text element
    selection-screen begin of block b1 with frame title text-001.
    parameters : company like header-comp_code default '122' ,
    doctyp like header-doc_type default 'NB' ,
    cdate like header-creat_date default sy-datum ,
    vendor like header-vendor default '2000000012' ,
    pur_org like header-purch_org default 'PU01' ,
    pur_grp like header-pur_group default '005' .
    *sociedad like HEADER-COMP_CODE default '122' ,
    *vendedor like HEADER-SALES_PERS default 'sale person'.
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-002.
    parameters : item_num like item-po_item default '00010',
    material like item-material default '12000000' ,
    tipo_imp like item-acctasscat default 'K' ,
    *pos_doc like ITEM-ITEM_CAT default 'F' ,
    shorttxt like item-short_text default 'PRUEBA BAPI' ,
    grup_art like item-matl_group default '817230000' ,
    plant like item-plant default '3001' ,
    mpe like item-trackingno default '9999' ,
    *contrato like ITEM-AGREEMENT default '4904000003' ,
    *quantity like ITEM-QUANTITY default 1 .
    po_unit like item-po_unit default 'EA'.
    selection-screen end of block b2.
    Par?mnetros de imputaci?n
    selection-screen begin of block b3 with frame title text-004.
    parameters : centro like account-costcenter default '1220813150',
    cuenta like account-gl_account default '6631400' ,
    num_pos like account-po_item default '10' ,
    serial like account-serial_no default '01' ,
    ind_imp like account-tax_code default 'I2' .
    selection-screen end of block b3.
    start-of-selection.
    *DATA POPULATION
      ws_langu = sy-langu. "Language variable
    *POPULATE HEADER DATA FOR PO
    *HEADER-COMP_CODE = sociedad .
      header-doc_type = doctyp .
      header-vendor = vendor .
      header-creat_date = cdate .
      header-created_by = 'TD17191' .
      header-purch_org = pur_org .
      header-pur_group = pur_grp .
      header-comp_code = company .
      header-langu = ws_langu .
    *HEADER-SALES_PERS = vendedor .
    *HEADER-CURRENCY = 'DOP' .
    *HEADER-ITEM_INTVL = 10 .
    *HEADER-PMNTTRMS = 'N30' .
    *HEADER-EXCH_RATE = 1 .
    *POPULATE HEADER FLAG.
      headerx-comp_code = c_x.
      headerx-doc_type = c_x.
      headerx-vendor = c_x.
      headerx-creat_date = c_x.
      headerx-created_by = c_x.
      headerx-purch_org = c_x.
      headerx-pur_group = c_x.
      headerx-langu = c_x.
    *HEADERX-sales_pers = c_x.
    *HEADERX-CURRENCY = c_x.
    *HEADER-ITEM_INTVL = c_x.
    *HEADER-PMNTTRMS = c_x.
    *HEADER-EXCH_RATE = c_x.
    *HEADER-EXCH_RATE = c_x.
    *POPULATE ITEM DATA.
      item-po_item = item_num.
      item-quantity = '1'.
    *ITEM-MATERIAL = material .
      item-short_text = 'prueba bapi_po_create1'.
    *ITEM-TAX_CODE = ''.
      item-acctasscat = 'K' .
    *ITEM-ITEM_CAT = 'D' .
      item-matl_group = '817230000' .
      item-plant = '3001' .
      item-trackingno = '99999'.
      item-preq_name = 'test'.
    *ITEM-AGREEMENT = '' .
    *ITEM-AGMT_ITEM = ''.
      item-quantity = '1' .
      item-po_unit = 'EA'.
    *ITEM-ORDERPR_UN = 'EA'.
      item-conv_num1 = '1'.
      item-conv_den1 = '1'.
      item-net_price = '1000000' .
      item-price_unit = '1'.
      item-gr_pr_time = '0'.
      item-prnt_price = 'X'.
      item-unlimited_dlv = 'X'.
      item-gr_ind = 'X' .
      item-ir_ind = 'X' .
      item-gr_basediv = 'X'.
    *ITEM-PCKG_NO = '' .
      append item. clear item.
    *POPULATE ITEM FLAG TABLE
      itemx-po_item = item_num.
      itemx-po_itemx = c_x.
    *ITEMX-MATERIAL = C_X.
      itemx-short_text = c_x.
      itemx-quantity = c_x.
    *ITEMX-TAX_CODE = C_X.
      itemx-acctasscat = c_x.
    *ITEMX-ITEM_CAT = c_x.
      itemx-matl_group = c_x.
      itemx-plant = c_x.
      itemx-trackingno = c_x.
      itemx-preq_name = c_x.
    *ITEMX-AGREEMENT = C_X.
    *ITEMX-AGMT_ITEM = c_x.
      itemx-stge_loc = c_x.
      itemx-quantity = c_x.
      itemx-po_unit = c_x.
    *ITEMX-ORDERPR_UN = C_X.
      itemx-conv_num1 = c_x.
      itemx-conv_den1 = c_x.
      itemx-net_price = c_x.
      itemx-price_unit = c_x.
      itemx-gr_pr_time = c_x.
      itemx-prnt_price = c_x.
      itemx-unlimited_dlv = c_x.
      itemx-gr_ind = c_x .
      itemx-ir_ind = c_x .
      itemx-gr_basediv = c_x .
      append itemx. clear itemx.
    *POPULATE ACCOUNT DATA.
      account-po_item = item_num.
      account-serial_no = serial .
      account-creat_date = sy-datum .
      account-costcenter = centro .
      account-gl_account = cuenta .
      account-gr_rcpt = 'tester'.
      append account. clear account.
    *POPULATE ACCOUNT FLAG TABLE.
      accountx-po_item = item_num .
      accountx-po_itemx = c_x .
      accountx-serial_no = serial .
      accountx-serial_nox = c_x .
      accountx-creat_date = c_x .
      accountx-costcenter = c_x .
      accountx-gl_account = c_x .
      account-gr_rcpt = c_x.
      append accountx. clear accountx.
    *BAPI CALL
      call function 'DIALOG_SET_NO_DIALOG'.
      call function 'BAPI_PO_CREATE1'
        exporting
          poheader         = header
          poheaderx        = headerx
        importing
          exppurchaseorder = purchaseorder
        tables
          return           = return
          poitem           = item
          poitemx          = itemx
          poaccount        = account
          poaccountx       = accountx.
    *Confirm the document creation by calling database COMMIT
      call function 'BAPI_TRANSACTION_COMMIT'
      exporting
      wait = 'X'
    IMPORTING
    RETURN =
    end-of-selection.
    *Output the messages returned from BAPI call
      loop at return.
        write / return-message.
      endloop.
    Regards
    Sudheer

  • GR for Purchase order and GI for prod. order simultaneously

    Hi Guys,
    My client current has an external system, which does both GR for puchase order and GI for Prod. order at the same time. He is now migrating into SAP and he wants the same functionality. Do you have any idea how to do this.
    For eg., Pick list(CO27) will pick and issue the components to production order, if the component is in inventory. if it is not there, it will give error.
    Can we add, if material is not there, it should do GR and GI. is it possible with any customer exit in CO27?
    Thanks
    Srini

    Hi,
    In KANBAN, we have the possibility to do the GR (Goods Invard) if th container is Full and GI (to the production Order) if the Container is Empty.
    It's just a thaught..
    Regards,
    Siva

  • RE G.I Problem for prod order in MTO

    Hi All,
             I am having stock as sales order stock in unrestricted. when I want to issue goods for prod order in MTO through MIGO. when I am checking I am getting the error as sales order stock not available. Any solutions for this Issue.

    Vachanala,
    If the stock is assigned to the perticular sales order & line item, the error won't be there.
    Agin check the stock in MMBE, & ensure that it is assigned to that perticular sale order number & line item.
    If it's not there then do the assignment to the desired sales order with movement type 413 E in t code MB1B.
    Hope this helps you.
    SmanS

  • WIP calculation for Prod.order with status DLV

    Dear experts,
    Is there any way to change WIP calculation method for Prod.order status ?
    In t-code OKGC:: By default system will set:
    Order status      Status number         RA type
    REL                          2                             WIP Calculation on Basis of Actual Costs
    DLV                          3                            Cancel Data of WIP Calculation and Results Ana
    PREL                  1                            WIP Calculation on Basis of Actual Costs
    TECO                  4                            Cancel Data of WIP Calculation and Results Ana
    I can not change any thing in t-code OKGC (gray after insert: CO, RA version, RA key).
    As I understanding: Prod.order with status DLV will not be considered to calculate WIP.
    But I want to calculate WIP for Prod.order with status DLV. Could you pls guide me how to configure the system?
    Thank you!

    Hi,
    I suppose it is positive variance as the yield from the order is 10 pieces more than the planned quantity of 1000 and it is always a variance and no WIP involved in this case. It can be settled to FI/PCA and to CO-PA by variance categories (if you have configured accordingly)
    Therefore the accounting entry would be:
    1. Delivery to stock of 10 pieces:
    FG Debit
    Change in Stock Credit
    2. Variances will post the difference:
    Change in Stock Debit
    Price Difference is Credit
    Concerning the valuation method it needs to be tested before it can be implemented.
    Kind Regards
    Umapathi G

  • Need a Badi to look the good issue status for prod order before good receipt in MIGO

    Hi ,
    Need a Badi to look the good issue status for compoents for prod order before good receipt in MIGO.
    Example : There are 10 comps need to be issued to production order to make any assy but 6 comps were issued
    and remaining 4 comps are not yet issued.,in this situation if I try to do goods receipt for prod order through MIGO.,system should populate the warning
    message saying still goods issue are pending for prod order.
    Please advise .
    Thanks
    Prasad

    Hi Prasad,
    Before trying with a BAdI, have you tried to control this behaviour thru the Order confirmation parameters (OPK4)?
    Note that you can have a termination in case of having problems in the goods movements..
    Take a look of this and the SAP help:
    Termination of Confirmation if Incorrect Goods Movements
    Controls if the confirmation is terminated in the event of incorrect goods
    movements.
    Use
    This enables you to terminate the confirmation in the event of incorrect
    items, for example, to prevent postprocessing records.
    Dependencies
    The indicator is only evaluated if either no process control key or one
    process control key has been stored that enbles the goods movements to be posted
    in dialog AND for which the "provide error handling for goods movements"
    indicator is active. If there are incorrect goods movements, the system behaves
    as follows:
    A log is issued that gives information on the incorrect goods movements
    If these incorrect goods movements are determined by inventory management,
    then the option of correcting these errors is offered in the error handling
    If the correction is not successful, the confirmation is terminated
    Kind Regards,
    Mariano

  • WIP calculation for Prod.order with status TECO

    Hello all.
    My question is the similar to WIP calculation for Prod.order with status DLV
    But I need that
    - if the Production order has status TECO - the system calculate WIP
    - if the Production order has status DLV u2013 the system settle the order.
    1.     I try to change u201CStatus Numberu201D in TCODE OKGC. But I have receive two different result:
    - if I change u201CStatus Numberu201D for status DLV from 3 to 2, then during WIP calculation of the order with status DLV u2013 WIP have been calculated.
    - but if I change u201CStatus Numberu201D for status TECO from 4 to 2, then during WIP calculation of the order with status TECO u2013 WIP have been CANSELED.
    2.     I try to change results analysis key for status TECO from u201CZu201D to u201CFu201D in TCODE OKG3. BUT during WIP calculation the system create error message KJ 363 which require that results analysis key must be change to u201CZu201D
    How can I resolve my problem?

    Hi,
    I don't have the answer if the requirement is that even after producing the materials, till the time accountant checks the order and does this action, it should remain in WIP. Honestly it doesn't make any sense to me or i have not understood this problem. Anyways as per my current understanding I can suggest the following process for your scenario.
    Once production is stopped in between the process, the order should be in PDLV status (partial confirmations happened in the order)
    Now go and clear the reservations manually from the production order .( delete the component line items from the order). Now depending on whether you are following WIP at actual cost, system will post the difference between credit and debit of that production order as WIP for the month end process.
    Once Accountant okays the entries in the production order, he can do the TECO and settle the order. Now WIP will be reversed and variance will be posted.
    To avoid the already produced goods mixing up with your other stock, u might want use Quality Management with the help of your PP consultant.
    Best Regards
    Vimal

  • Workflow for prod. order

    Hi all,
    Can any one tell me how to activate workflow for prod. order
    Std. template WS20000387.?
    Thanks and regards.

    Hi Rohit
    SInce the steps are too many I am sending you the below documantation on Workflow scenarios in PP which may be useful to you
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPP/BCBMTWFMPP.pdf

  • SAP format for prod. order

    Is there any std. SAP format for prod. order? I want to print prod. order.

    Hi,
    I'm not able to understand your question properly.
    <b>But in SAP the T code CO04N is meant for printing production orders.</b>
    If useful reward your points.
    Thanks & regards
    Karthik @ Mangal
    Message was edited by:
            Mangal

  • GR Sto location for Prod order and GI sto location for another prod order

    Hi  ,
           Material A is produced inhouse as well consumed by other plant for their production Order .
    Plants -  -1000 ,1200
    Material A is produced in 1000 , Production order GR location is 0001(in MRP 2 view -Issue st location )
    In plant 1200 material  A is used as raw material , by using the spl procurement key withdrawl from from alternative plant ,material A directly consumed for the production order of plant 1200 ,for this order i want get the material from the sto location of  0002 of the plant 1000 .What are the settings to be made to meet this requirement ...
    Best Regards,
    Kumar

    >
    kumar kumar wrote:
    > Dear Abhijit Gautam  and Karthik ,
    >                                                       i hope you both mis understood the scenario.
    >
    > Material A ->  Produced inhose in plant 1000

    >                               Used as a raw material in plant 1200 .
    >
    > In plant 1000  - - - >  Material A production order GR location is 0001 , And I want to issue the material to production order of the Plant 1200(using the spl procurement key withdrawl from alternative plant ) from the storage location 0002 .*
    >
    > *In the MRP 2  view if i put 0001 when i create the Production order in plant 1000 GR location copied as 0001 , and when i create the producion order in plant 1200 the issue location for the material is copied as 0001 (here i want the storage location 0002 , i do not want to change the sto location  manually in the 1200 plant production order  )** How to make settings or need to use any exits ....
    >
    > I am expecting some replies.........
    Kumar,
    There is no need for any user exit, you can achieve this by defining in the BOM- Item details where material A is used as raw material in Plant 1200.
    Please maintain Prod. storage location as "0002" in the Status/Lngtext tab in the BOM Item level details for component A in the BOM where ever it is used in plant 1200.
    With this defination along with special procurement key for withdraw from plant 1000, when you are performing backflush in plant 1200, system would derive plant as 1000 and storage location as 0002 for component A.
    Regards,
    Prasobh

  • Batch no for prod orders

    Hi, created 3 characteristics and assigned those to class and class is assigned in material master (which is finished material type). Please note that different values are set in individual characteristics. I want system to take specific batch number series with certain combination of 3 characteristics. For Example Characterstic A is having values x1, x2, x3 etc and B is having y1,y2,y3 etc and C is having z1,z2,z3 etc. these 3 is assigned to finished material. Now while creating production order we want system to generate a unique batch no (say Number should start with 11 (if x1,y1,z1) or start with 12 (if x2,y2,z2)). Please advise how to map this.

    Hi Yadav,
    You have to write the logic as needed in user exit. Refer the Link hope this will be usefull [Re: Change the Batch No. on production No.]
    Regards
    Abhijit Gautam

  • DLFL for Prod Orders - ATO Scenario

    Hi Experts,
    Basically im an Finance guy. I am facing difficulty in setting up DLFL status for order types of ATO scenario. We have the typical scenario of creation of sales order, triggiring planned order and converted to production order, and the goods are delivered to customer and the invoice is booked. All the costs relevant are settled to the production order and not to the sales order. At month end we run wip, variance and then settle the orders and close down the orders.
    When i try to set DLFL through CO02, the deletion flag active indicator is greyed out, i tried other alternative of CO78, the orders are not picking at all. Im not sure how to handle this scenario.
    When i spoke to PP consultant, they say for these order types when there is a link between sales order and production order, the DLFL cant be set in CO02 or CO78, meaning not in production order. It seems the flag as to be set in sales order where the production order is linked. But i dont see any provision in sales order of setting the DLFL flag. They also said, its because of the costs settled to production order.
    Im not sure, is this the way SAP is desinged or is there any other alternative.
    Has anybody come across this scenario, please help me out. How to handle in these scenarios?
    Thanks in advance.
    abhi

    Hi,
    Yes, as said by your PP Consultant, this is how the SAP is designed for ATO Scenario.
    For further clarification refer below OSS Notes.
    325742
    447072
    171680
    317203
    Hope this helps..
    Regards,
    Siva

  • ATP check and Check against preliminary planning for prod order

    Hi
        For same material, order type and plant for some orders ATP check is happening and for some orders Check against preliminary planning is happening.I want to know why its happening.
    Regards,
    PradeepM.

    Pradeep,
    What types of orders?  Do you mean SD orders?
    ATP check is defaulted 'on' or 'not on' by the MRP Strategy(OPPS, look for "availability check").  MRP strategy is in turn determined by the MRP strategy group in the plant-level material master.  Assuming, then, that your MRP strategy group contains only one MRP strategy (this is common), then the default check will be set by MRP strategy group.
    ATP check can subsequently be turned on/off other ways in SD, leaving you with either no ATP, or possibly an Availability check against planning.
    So, if you are talking about sales orders, and not PP orders, the most likely place for 'turning off'' the ATP check is with the schedule line category.  A close second culprit is with the requirements class of the SO item.  SD configuration will determine the default requirements type, requirements class, and the default Schedule line category.  Study the sales orders in question in VA03.  Specifically look at the requirements type (procurement tab of SO Item) and the Schedule line category (goto-item-schedule lines).  Then, look at the configuration for
    Schedule line category: OVZ8
    Mapping of requirements type to requirements class :  OVZH
    Requirements class:  OVZ0
    Look at the setting for 'AvC'.  If it is 'on', you will get ATP against product.  If it is off, you will get either an ATP against planning, or no ATP at all.
    If you wish to change the determination of the Requirements type, or the determination of the Schedule line category in SD, you should probably discuss with your local SD functional expert.  A small change here can have many unintended consequences.
    Best Regards,
    DB49

  • Production in other plant, Sloc determination for prod. order

    Experts,
    we are using production in other plant. Demand in plant A, Router & BOM in plant B. Mfg. should be done in plant B. The components in plant B are Prod.stor.location 0003 (MRP 2 View).
    If I create a production order the system always uses Stor.Loc 0001 in component overview and for with draw material.
    My expectation was that system uses Sloc out of MM of plant B. What might be the reason for that behaviour ?
    Thanks in Advance
    Jörg
    Even if I put Stor.loc 0003 in BOM line Item system goes with 0001 in prod.order.

    JORG,
    I am assuming you have raw materials in plant B. In the BOM of material in plant B, maintain storage location as 0003 for all line items and do read PP master data for the production order on current date so that correct storage location is picked up.
    Also check if production versions are maintained and what is the issue storage lcoation maintained in production version?
    check and revert,
    Santosh Sarda

Maybe you are looking for

  • Error while processing library references. Unresolved application library

    Hi All, I created one ADF task-flow,in which I used content from share point, and then I converted portlets and deployed into integrated WLS server.and then I consumed thoese portlets into web-center spaces its working file. but i want to deploy thos

  • WebDynpro and Java EE 5

    Hi all, I want to ask before I will spend time with installation if it is posible to deploy and run WebDynpro applications on the latest Application Server and use Java EE 5 services? I want to use WebDynpro for GUI, but backend should use EJB3. How

  • How to modify Ship-to address when adding item into SC

    Hello, I need to modify a Delivery address (ship-to) address of a shopping cart. I tried to create a implementation of BADI BBP_DOC_CHANGE_BADI, method BBP_SC_CHANGE where I tried to loop at et_partner, searching for ship-to address partner (partner_

  • Reuse pictures in multiple WD projects or DC's

    Dear SDN-members, My question is about pictures and icons in Web Dynpro. If you like to use a picture or icon in your Web Dynpro you put this picture or icon in the in the Mimes directory (example: <i><b>[project name]\ _comp\src\mimes\Components\[we

  • How to lookup a datasource

    In Jdevleoper 9i(9.0.3.1) when I am developing servlets there are codes like : DataSource ds = null; public void init() throws ServletException { try { InitialContext ic = new InitialContext(); ds = (DataSource) ic.lookup("java:comp/env/jdbc/Conn_sco