Raw material forecast

dear Experts
I uploaded the raw material forecast through MD61 but system not generating the planned order.
Can you help me how to get the planned order.

Dear ,
Couple of cheks for you :
1.What is the requirement Type you have choosen the User Paramters in MD61 screen ? It should VSF , version 00 and correct Planning Period , Plant Code .I would suggest you to check the same
2.Which txn are u trying to run the MRP ( MD01 with NETCH , Create PR -2, MRP List : 3 , Schedule Line : 1 , Scvhedluing -1 , Mark Display material before save )
3.Check the Planning File Entry of all those material in MDRE/MDAB/MD21
4.Check the Material Master Paramters : MRP Type -PD , Procumenet Type : F , Planning Startgey : 40 /10
5.Basically , based on Planning Stategy in MRP3 view , you can analysise the Requirement Type : 40 /VSF ( Check in Define Planning Strategy -SPRO-Detailk screen )
One question : Are you executing Total Forcast in MP38 or Indiviaully n then loading into MD61 through MD70 ? Please confirm or just like you are entering Manula Forecast Qty in MD61 table matererial by material ?
Regards
JH

Similar Messages

  • Help Required on Raw Material forecast

    Hi,
    I am not an SAP consultant/ technical user, i am just a helpless user.
    What i am faced with is that i dont get to see RM requirements for future months based on the forecast/sales plan for finished goods entered in the system. I am just able to see decent requirements for the running month but very less/inaccurate requirements for the remaining months. it seems as if while calculating, the system does not take into account if anything is being sold or will be sold at all. I might be wrong but this seems to be the case.
    I view the planned requirements in COOISPI and the requisitions in MD04.
    The current MRP type set is:PD
    Please help as to how to fix this issue or how do i guide the I.T department who themselves are not sure of a one track solution to this issue.
    Thanks.

    Anup,
    Thank you for reverting back.
    You got it right.
    To verify how the system is working i have the pp rep upload the same sales plan for 5 months. So that we get to know what results to expect each month.
    What they currently are doing  (detail with T-code):
    Uploading  sales plan  to the active version through t-code  MCZS
    Converting this to the active version through t-code OLIX
    Re organizing the PIRs through t code MD74
    Converting the sales plan to demand plan through MC8G
    Running the MPS/MRO through MD40
    Once the MRP with sales plan for the future months inserted is run then i can see planned orders for future months in MD04 and COOISPI (planned orders are same in both reports, COOISPI just provides a better view without looking at the purchase requisitions) so basically i am considering the planned orders as my forecast at the moment.
    I have tried comparing the values with the sales plan. The sales plan and planned orders after the MRP run do match but after the second month on wards. So for the first month the requirement is huge (safety stock+second month's requirement) and then as per the sales plan from second month on wards, the requirements end one month in advance to the sales plan (while viewing MD04). At RM level there are huge variations: e.g for an RM with average consumption of say 200 k kgs, i am able to see the first month at 168 k kgs then only 553 kg in the following month, and 1336 kg in the next.
    Please let me know what other information you require from me.
    Thanks. Highly appreciate your concern.

  • MRP for FG not looking at Raw Material

    HI all,
    I'm running MRP for finished goods material against my production plan (created in MD61).   The material has a BOM component but when I run MRP for the FG its not looking at BOM component to consider raw material) availability and thus proposing dates solely based on the Production Plan and not any other requirements.  
    It simple creates the planned orders based on the production plan entered into MD61.  The dates for the planned orders don't take into consideration that on the suggested Production date there is not enough raw material to actual produce the product.   
    The Production plan does drive requirements to purchase the raw material but the dates are not neccessarily correct to get product to the warehouse on time for production run.   
    FG set up:
    RP Type:                                PD - MRP
    Lot Size:                                 EX u2013 Lot-for-lot Order Quantity
    Safety Stock:                         125  - EA
    Availability Check:                   02 u2013 Individual Requirements
    Procurement Type:                   E - In-House Production
    In-house Production:                 1 - days
    Planning Strategy:                   10 u2013 Make-to-stock production
    BOM / Raw Material set up:
    RP Type:                                PD - MRP
    Lot Size:                                 EX u2013 Lot-for-lot Order Quantity
    Availability Check:                   02 u2013 Individual Requirements
    Procurement Type:                    F - External Purchased
    Pland Del Time:                         3 - days
    GR Process time                       1 - days
    Planning Strategy:                   40 u2013 Planning with Final Assembly
    How do I get the MRP for the FG to not only create the planned orders from the production plan but also take into consideration raw material availability?   Thanks for your help!!

    VC,
    I need to the PlndOrd date for FG to take into consideration raw material availability...otherwise it's pretty useless to the site.
      I guess you are unfamiliar with the workings of standard MRP.  MRP in ECC as delivered by SAP will not support this requirement.
    There are a couple of assemble to order strategies that may be suitable for you, if all of your RM materials exist in the FGs BOM.  Strat 81 and 82, which are intimately linked to the Sales order ATP check.  These strategies are not compatible with FGs forecasts.
    http://help.sap.com/erp2005_ehp_06/helpdata/EN/41/19206a45fd11d188ff0000e8322f96/frameset.htm
    In SAP ERP, MRP just does not check the availability of components during the MRP run.  The Net Requirements calculation of a component part (which is the closest concept within MRP to an Availability check) takes place ONLY after all parent parts are completely planned, and all parent part planned orders have been already been generated and saved.  In effect, when MRP is running, information is neither gathered nor considered as to what the planning situation will be for the components.
    APO has several solutions that, depending upon the detailed requirements, might provide a solution.  A common one is to first run an MRP type heuristic, to create planned orders for all the shortages, and subsequently run a 'Bottom-up' scheduling heuristic to bring supply and demand dates into alignment, based upon pegging information.  ERP does not have this functionality.
    Of course, SAP ERP is infinitely modifiable.  If you have enough time and money, you can write custom code that will torture ERP into filling any Business Requirement.
    Best Regards & Good Luck,
    DB49

  • Finished material forecast

    Hi Gurus,
    Can anybody please clarify my confusion. Our business wants to forecast to the finished material, saying how many will need to be produced in a given time frame. based on this the system will kick the reuqirements down to the level of raw material. Now in MM02 on the forecasting view there is foreacast values button, do we maintain here the forecast values of the finished material that we anticipate to build, Or is it in MD61 - planning table where we maintain the sales forecast. The whole objective of the sales forecast is to make the purchasing dept ready with teh materials that are procured externally to be able to meet the forecast of the finished material. Please help
    Thanks
    Anusha

    Hi Anusha,
    It will be better to use MD61 rather than MM02 & Forecast button.
    In both cases you can plan Raw Materials using the BOM and the MRP (PP)
    If you want to populate the values Manually the MD61 is the transacction
    If you want the system to Forecast the values use MM02 + Forecasting.
    If you use MD61 that will generate the Planned Independant Requirements (PIR) that will generate the "Issue" of the Finished Goods. You will have to associate the Strategy Group (If you do not know about this start with strategy 40) in MRP 4 view.
    Once you have your PIR available for the material MD04 you can run the MRP. Depending on the strategy and some other factors the PIR will disappear as soon as you start createing sales orders for the material.
    Kind regards,
    Federico

  • Raw material procurement based on the LTP Plan

    Dear Friends,
    How can I create a procurement proposals based on the LTP Plan. For example for material A, I am doing the LTP planning for entire Year. As per the LTP plan I got the Raw material requirements. I don't want to make the total plan as active. That means I don't want to create PIRs for my finished material A for the entire year. But  as per the LTP plan of finished material A... I want to create a procurement proposals for the raw materials for the entire month through schedule lines... How can we do it?
    If any further clarification is required... please let me know.
    Regards.

    Hi,
    Based on the forecast for the material A, the simulative planned orders will generated for its raw material duirng the LTP run.
    If you want to convert hte planned proposal into PR then you can run MD43 for the particular Raw material.
    Before running MD43, in MS04 - set firming date and then run MD43, planned orders will get converted to PR (firmed). Then run LTP again using MS02 (then the planned orders get deleted)
    Please check and come back if you need any clarification
    Thanks,
    JK

  • [HELP] - Material forecasting!

    Hello SAP gurus,
    I am using forecasting in one raw material. I am using MRP Type VV and forecast values are maintained in the forecast material view.
    When I go to the MD04, system shows message:
      - Please carry out forecast for material A in plant B.
      - Message no. 61059
    Can someone please help me with this?
    Thanks in advance,
    Adelmo Silva

    Hello,
    There was a conflict between the number of forecast periods, it ends after 12-2010.
    Cheers,
    Adelmo Silva.

  • Report on raw material to wip for a production order

    Hi,
    Is there a report which has a list of " issue of raw materials to a production order"?
    Or how to know how much raw material is issued to WIP on a production order.
    i nee dto have a report which has material cost and material overhead an dtotal.
    how to build this report ?
    Thanks,
    Sai.

    Hi Sai,
          You can try using MB51, use filter movement type 261. Add a filter for the posting date coverage.
    Then proceed. Click on the icon DETAIL LIST.
    Then click on the SUBTOTAL, add MATERIAL as a Criteria. The click the column AMOUNT IN LC.
    You should see the total issuances to per material.
    I hope this helps.
    Heinrick Palad

  • Raw material cost report for production of finished produt.?(urgent..REWARD

    Hi,
    any one can help in this issue.
    i am not getting the raw materila cost & manfacture conversion cost for  for the bom of FG - SFG - SFG - SFG- RAW
    FG - finished goods,
    SFG - semi finished goods
    RAW - raw material.
    plz provide the solution.
    raw material  and manfacture conversion cost is calculated in PERFORM z_process_data. subroutine.
    REPORT z_co_production_cost_nsk.
    TABLES: afko, bkpf, t001w , caufv.
    TYPE-POOLS: kkblo,
                slis.
    DATA: d_datefrom LIKE sy-datum,
          d_dateto LIKE sy-datum,
          d_repid LIKE sy-repid,
          d_uname LIKE sy-uname,
          d_returncode TYPE i,
          d_tabix TYPE i,
          d_kokrs LIKE tka01-kokrs,
          d_waers LIKE tka01-waers,
          wa_fieldcatalog TYPE slis_fieldcat_main,
          wa_listevents TYPE slis_alv_event,
          wa_listlayout TYPE slis_layout_alv,
          wa_print_info TYPE slis_print_alv,
          wa_listheader TYPE slis_listheader,
          d_headerlines TYPE i.
    DATA: BEGIN OF t_caufv OCCURS 0,
            aufnr TYPE caufv-aufnr,
            werks TYPE caufv-werks,
            objnr TYPE covp-objnr,
            gamng TYPE caufv-gamng,
            plnbez TYPE caufv-plnbez,
            rsnum TYPE caufv-rsnum,
          END OF t_caufv.
    *Added by Anand Bothra on 24/11/2003
    DATA: t_ab_caufv LIKE t_caufv OCCURS 0 WITH HEADER LINE.
    DATA: t_temp_caufv LIKE t_caufv OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_afpo OCCURS 0,
            aufnr TYPE afpo-aufnr,
            posnr TYPE afpo-posnr,
            wemng TYPE afpo-wemng,
            amein TYPE afpo-amein,
            charg TYPE afpo-charg,
          END OF t_afpo.
    DATA: BEGIN OF t_afpo1 OCCURS 0,
            aufnr TYPE afpo-aufnr,
            refaufnr TYPE afpo-aufnr,
            objnr TYPE caufv-objnr,
            rsnum TYPE afko-rsnum,
            wemng TYPE afpo-wemng,
            werks TYPE afpo-dwerk,
            charg TYPE afpo-charg,
          END OF t_afpo1.
    DATA: BEGIN OF t_makt OCCURS 0,
            matnr TYPE makt-matnr,
            maktx TYPE makt-maktx,
          END OF t_makt.
    DATA: t_fieldcatalog TYPE slis_t_fieldcat_alv,
          t_listevents TYPE slis_t_event,
          t_sortsequence TYPE slis_t_sortinfo_alv,
          t_listheader TYPE slis_t_listheader.
    DATA: BEGIN OF t_production_costs OCCURS 0,
            objnr TYPE covp-objnr,       " Object Number
            kstar TYPE covp-kstar,       " Cost Element
            wkgbtr TYPE covp-wkgbtr,     " Cost of Line Item in CO area curr
            mbgbtr TYPE covp-mbgbtr,     " Quantity of Line Item
            matnr TYPE covp-matnr,       " Material Number
            kokrs TYPE covp-kokrs,       " Controlling Area
            belnr TYPE covp-belnr,       " Cost Accounting Document
            buzei TYPE covp-buzei,       " Item Number in Document
          END OF t_production_costs.
    DATA: BEGIN OF t_production_costs1 OCCURS 0,
            objnr TYPE covp-objnr,       " Object Number
            kstar TYPE covp-kstar,       " Cost Element
            wkgbtr TYPE covp-wkgbtr,     " Cost of Line Item in CO area curr
            mbgbtr TYPE covp-mbgbtr,     " Quantity of Line Item
            kokrs TYPE covp-kokrs,       " Controlling Area
            belnr TYPE covp-belnr,       " Cost Accounting Document
            buzei TYPE covp-buzei,       " Item Number in Document
          END OF t_production_costs1.
    DATA t_production_costs2 LIKE t_production_costs1
         OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_suborders OCCURS 0,
            aufnr TYPE caufv-aufnr,
            prevaufnr TYPE caufv-aufnr,
            objnr TYPE covp-objnr,
            rsnum TYPE caufv-rsnum,
          END OF t_suborders.
    DATA: BEGIN OF t_outputtab OCCURS 0,
            plnbez LIKE afko-plnbez,             " Material Number
            objnr LIKE caufv-objnr,              " Object Number
            maktx LIKE makt-maktx,               " Material Description
            charg LIKE afpo-charg,               " Batch Number
            aufnr LIKE afko-aufnr,               " Production Order Number
            gamng LIKE caufv-gamng,              " Total Order Quantity
            wemng LIKE afpo-wemng,               " Goods Receipt Quantity
            amein LIKE afpo-amein,               " Unit of Measure
            yield TYPE p DECIMALS 2,             " Percentage Yield
            totalrmcost TYPE p DECIMALS 2,       " Total Raw Material Cost
            totalpmcost TYPE p DECIMALS 2,       " Total Packing Mat. Cost
            mfgconvcost TYPE p DECIMALS 2,       " Manu. Conversion Cost
            pkgconvcost TYPE p DECIMALS 2,       " Packing Conv. Cost
            rmperunit TYPE p DECIMALS 2,         " Raw Cost per unit
            pmperunit TYPE p DECIMALS 2,         " Pack Mat cost per unit
            ccperunit TYPE p DECIMALS 2,         " Conv Cost per unit
            totperunit TYPE p DECIMALS 2,        " Total Cost per unit
            waers LIKE tka01-waers,              " Currency Key for CO Area
          END OF t_outputtab.
    *Added by Anand Bothra on 24/11/2003.
    DATA: t_ab_outputtab LIKE t_outputtab OCCURS 0 WITH HEADER LINE,
          t_temp_outputtab LIKE t_outputtab OCCURS 0 WITH HEADER LINE.
    BEGIN OF INSERTION VIP110703
    DATA:wa_prev_outputtab LIKE LINE OF t_outputtab,
         wa_production_costs LIKE LINE OF t_production_costs.
    DATA:prev_totmatqty TYPE p DECIMALS 2,
         prev_tot_mfgconv_cst TYPE p DECIMALS 2,
         grand_mat_qty TYPE p DECIMALS 2 ,
         tmp_aufnr TYPE caufv-aufnr.
    DATA: BEGIN OF t_suborders_propcost OCCURS 0,
            aufnr TYPE caufv-aufnr,
            prevaufnr TYPE caufv-aufnr,
            objnr TYPE covp-objnr,
            rsnum TYPE caufv-rsnum,
            proprmcost TYPE p DECIMALS 2,
            prop_mfg_convcost TYPE p DECIMALS 2,
          END OF t_suborders_propcost.
    DATA: wa_suborders LIKE LINE OF t_suborders.
    END   OF INSERTION VIP110703
    BEGIN OF INSERTION VIP111003
    DATA: prev_aufnr TYPE caufv-aufnr,
          prev_matnr TYPE mara-matnr,
          curr_matnr TYPE mara-matnr.
    DATA: bln_suborder ,
          ratio TYPE p DECIMALS 5.
    BEGIN OF INSERTION VIP111003
    *Added by Anand Bothra on 28/11/2003
    DATA: d_flag TYPE c.
    SELECTION-SCREEN BEGIN OF BLOCK zblock1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_plnbez FOR afko-plnbez,
                    s_aufnr FOR afko-aufnr,
    "Added By Vivek on 29.11.2005
                    s_auart FOR caufv-auart obligatory.
    PARAMETERS p_werks LIKE t001w-werks OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK zblock1.
    SELECTION-SCREEN BEGIN OF BLOCK zblock2 WITH FRAME TITLE text-002.
    SELECT-OPTIONS: s_monat FOR bkpf-monat NO-EXTENSION OBLIGATORY.
    PARAMETERS p_gjahr LIKE bkpf-gjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK zblock2.
    SELECTION-SCREEN BEGIN OF BLOCK zblock3 WITH FRAME TITLE text-022.
    PARAMETERS: p_detsum RADIOBUTTON GROUP rad,
                p_sum RADIOBUTTON GROUP rad.
    SELECTION-SCREEN END OF BLOCK zblock3.
    INITIALIZATION.
      d_repid = sy-repid.
      d_uname = sy-uname.
    p_werks = 'G001'.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
       IF screen-name EQ 'P_WERKS'.
         screen-input = 0.
         MODIFY SCREEN.
       ENDIF.
    ENDLOOP.
    AT SELECTION-SCREEN ON s_monat.
      IF s_monat-high IS INITIAL.
        IF NOT ( s_monat-low BETWEEN 1 AND 12 ).
          MESSAGE e398(00) WITH text-023 text-024 space space.
        ENDIF.
      ELSE.
        IF ( ( s_monat-low LT 1 ) OR ( s_monat-high GT 12 ) ).
          MESSAGE e398(00) WITH text-023 text-024 text-025 space.
        ENDIF.
      ENDIF.
    START-OF-SELECTION.
      PERFORM z_get_period_dates.
      PERFORM z_select_prod_orders.
      PERFORM z_select_prod_costs.
      PERFORM z_select_addl_prod_costs.
      PERFORM z_select_mat_desc.
    END-OF-SELECTION.
      IF d_returncode EQ 0.
        PERFORM z_process_data.
    *Added by Anand Bothra on 24/11/2004.
        PERFORM z_select_to_print.
        PERFORM z_prepare_fieldcat.
        PERFORM z_get_alv_events.
        PERFORM z_define_sortsequence.
        PERFORM z_define_layout.
        PERFORM z_display_list.
    *Added by Anand Botra on 25/11/2003.
        PERFORM z_export_to_excel.
        PERFORM z_send_mail_and_download.
      ELSE.
        MESSAGE i017(p5).
      ENDIF.
    *&      Form  Z_GET_PERIOD_DATES
          text
    -->  p1        text
    <--  p2        text
    FORM z_get_period_dates.
    Determine the date range from the fiscal period range and
    fiscal year entered on the selection screen
      DATA: d_firstdate LIKE sy-datum,
            d_lastdate LIKE sy-datum,
            t_dates LIKE scscp_period_str OCCURS 0 WITH HEADER LINE.
      CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET'
        EXPORTING
          i_gjahr        = p_gjahr
          i_periv        = 'V3'
        IMPORTING
          e_first_day    = d_firstdate
          e_last_day     = d_lastdate
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      CALL FUNCTION 'CSCP_PARA1_GET_PERIODS'
        EXPORTING
          i_datuv    = d_firstdate
          i_datub    = d_lastdate
          i_timeunit = 'M'
        TABLES
          et_dates   = t_dates.
      SORT t_dates BY sindex.
      DELETE t_dates INDEX 1.
      LOOP AT t_dates.
        SUBTRACT: 1 FROM t_dates-sindex,
                  1 FROM t_dates-datub.
        MODIFY t_dates TRANSPORTING sindex datub.
      ENDLOOP.
      CLEAR: d_datefrom,
             t_dates.
      READ TABLE t_dates WITH KEY sindex = s_monat-low.
      d_datefrom = t_dates-datuv.
      CLEAR d_dateto.
      IF s_monat-high IS INITIAL.
        d_dateto = t_dates-datub.
      ELSE.
        CLEAR t_dates.
        READ TABLE t_dates WITH KEY sindex = s_monat-high.
        d_dateto = t_dates-datub.
      ENDIF.
    ENDFORM.                    " Z_GET_PERIOD_DATES
    *&      Form  Z_SELECT_PROD_ORDERS
          text
    -->  p1        text
    <--  p2        text
    FORM z_select_prod_orders.
    Select all production orders as per the selection criteria provided
      DATA: d_dlv_code LIKE jstat-stat,
            d_teco_code LIKE jstat-stat,
            t_status LIKE jstat OCCURS 0 WITH HEADER LINE.
      SELECT SINGLE name1 INTO t001w-name1 FROM t001w WHERE werks = p_werks.
    if s_plnbez-low eq space and s_plnbez-high eq space.
    endif.
      SELECT aufnr werks objnr gamng rsnum plnbez
      INTO CORRESPONDING FIELDS OF
      TABLE t_caufv FROM caufv
      WHERE aufnr IN s_aufnr
    AND   auart IN ('PP01', 'LL02') : BY VIVEK
      AND   auart in s_auart " Added By Vivek on 29.11.2005
      AND   werks = p_werks
      AND   plnbez IN s_plnbez
      AND   getri BETWEEN d_datefrom AND d_dateto
      ORDER BY aufnr.
      d_returncode = sy-subrc.
      IF d_returncode NE 0.
        STOP.
      ENDIF.
    Filter out only those production orders that have a status
    DLV (Delivered) or TECO (Technically Confirmed).
      CLEAR: d_dlv_code,
             d_teco_code.
      PERFORM z_get_status_code USING 'DLV' CHANGING d_dlv_code.
      PERFORM z_get_status_code USING 'TECO' CHANGING d_teco_code.
      LOOP AT t_caufv.
        REFRESH t_status.
        CALL FUNCTION 'STATUS_READ'
             EXPORTING
              CLIENT           = SY-MANDT
                  objnr            = t_caufv-objnr
                 only_active      = 'X'
         IMPORTING
              OBTYP            =
              STSMA            =
              STONR            =
            TABLES
                 status           = t_status
            EXCEPTIONS
                 object_not_found = 1
                 OTHERS           = 2
        IF sy-subrc EQ 0.
          CLEAR t_status.
          READ TABLE t_status WITH KEY stat = d_dlv_code.
          IF sy-subrc NE 0.
            CLEAR t_status.
            READ TABLE t_status WITH KEY stat = d_teco_code.
            IF sy-subrc NE 0.
              DELETE t_caufv.
            ENDIF.
          ENDIF.
        ELSE.
          DELETE t_caufv.
        ENDIF.
      ENDLOOP.
      IF t_caufv[] IS INITIAL.
        d_returncode = 4.
        STOP.
      ENDIF.
    Added by Anand Bothra on 24/11/2003**********
      t_ab_caufv[] = t_caufv[].
    Added by Anand Bothra on 28/11/2003.
      IF ( s_plnbez-low EQ space AND s_plnbez-high EQ space ).
        IF ( s_aufnr-low EQ space AND s_aufnr-high EQ space ).
          d_flag = 'N'.
        ELSE.
          d_flag = 'Y'.
        ENDIF.
      ELSE.
        d_flag = 'Y'.
      ENDIF.
      IF d_flag = 'Y'.
    Added by Anand Bothra on 21/11/2003.**********
    *Get the batch number of the entered order
        DATA: itab_afpo LIKE afpo OCCURS 100 WITH HEADER LINE.
        DATA: BEGIN OF t_ab_charg OCCURS 0,
    *Added by Anand on 27/11/2003
                aufnr LIKE afpo-aufnr,
                charg LIKE afpo-charg,
                END OF t_ab_charg.
        LOOP AT t_caufv.
          SELECT aufnr charg FROM afpo INTO t_ab_charg WHERE aufnr =
      t_caufv-aufnr.
            APPEND t_ab_charg.
            CLEAR t_ab_charg.
          ENDSELECT.
        ENDLOOP.
    IF sy-subrc = 0.
       SELECT * FROM afpo INTO TABLE itab_afpo WHERE charg = d_ab_charg.
    ENDIF.
        LOOP AT t_ab_charg.
          SELECT * FROM afpo INTO itab_afpo WHERE charg = t_ab_charg-charg.
            APPEND itab_afpo.
            CLEAR itab_afpo.
          ENDSELECT.
        ENDLOOP.
        CLEAR t_caufv.
        REFRESH t_caufv.
    *Get all the orders with the same batch number.
        LOOP AT itab_afpo.
          SELECT aufnr werks objnr gamng rsnum plnbez
          INTO CORRESPONDING FIELDS OF
          t_caufv FROM caufv WHERE aufnr = itab_afpo-aufnr.
            APPEND t_caufv.
          ENDSELECT.
        ENDLOOP.
        CLEAR t_caufv.
        SORT t_caufv BY aufnr.
    delete adjacent duplicates from t_caufv comparing all fields.
      ENDIF.
      SELECT aufnr posnr wemng amein charg INTO TABLE t_afpo
      FROM afpo FOR ALL ENTRIES IN t_caufv
      WHERE aufnr = t_caufv-aufnr.
      d_returncode = sy-subrc.
      IF d_returncode NE 0.
        STOP.
      ENDIF.
      SORT t_afpo BY aufnr.
    ENDFORM.                    " Z_SELECT_PROD_ORDERS
    *&      Form  Z_SELECT_MAT_DESC
          text
    -->  p1        text
    <--  p2        text
    FORM z_select_mat_desc.
    Get the Description of all materials
      SELECT matnr maktx INTO TABLE t_makt FROM makt
      FOR ALL ENTRIES IN t_caufv
      WHERE matnr = t_caufv-plnbez
      AND   spras = sy-langu.
    ENDFORM.                    " Z_SELECT_MAT_DESC
    *&      Form  Z_PROCESS_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM z_process_data.
    Process the data from all production orders and prepare the output
    table for display appropriately
      DATA: d_mbgbtr TYPE p DECIMALS 3,
            loop_cnt TYPE i.
      REFRESH t_outputtab.
      LOOP AT t_caufv.
        CLEAR t_outputtab.
        MOVE-CORRESPONDING t_caufv TO t_outputtab.
        CLEAR t_makt.
        READ TABLE t_makt WITH KEY matnr = t_caufv-plnbez.
        IF sy-subrc EQ 0.
          MOVE t_makt-maktx TO t_outputtab-maktx.
        ENDIF.
        CLEAR t_afpo.
        READ TABLE t_afpo WITH KEY aufnr = t_caufv-aufnr.
        IF sy-subrc EQ 0.
          MOVE: t_afpo-wemng TO t_outputtab-wemng,
                t_afpo-amein TO t_outputtab-amein,
                t_afpo-charg TO t_outputtab-charg.
        ENDIF.
        IF t_outputtab-gamng NE 0.
          COMPUTE t_outputtab-yield =
          ( t_outputtab-wemng / t_outputtab-gamng ) * 100.
        ENDIF.
        APPEND t_outputtab.
      ENDLOOP.
      SORT t_production_costs BY objnr kstar.
      LOOP AT t_production_costs.
        AT NEW objnr.
          CLEAR: d_mbgbtr, d_tabix, t_outputtab.
          READ TABLE t_outputtab WITH KEY objnr = t_production_costs-objnr.
          MOVE sy-tabix TO d_tabix.
          " Add up the Raw Material and Manufacturing Conversion
          " Costs from the previous stage production order
          CLEAR loop_cnt .
          LOOP AT t_suborders WHERE aufnr = t_outputtab-aufnr.
         commented by anand bothra on 20/11/2003
            ADD 1 TO loop_cnt.
            IF loop_cnt > 1.
              EXIT.
            ENDIF.
            LOOP AT t_production_costs1 WHERE objnr = t_suborders-objnr.
              CASE t_production_costs1-kstar.
                WHEN '0005000000' OR '0005010000'.     " Raw Material Cost
    BEGIN OF deletion VIP110703
              ADD t_production_costs1-wkgbtr TO t_outputtab-totalrmcost.
    END   OF deletion VIP110703
                  ADD t_production_costs1-wkgbtr TO prev_totmatqty.
                WHEN '0000500100'.      " Manufacturing Conversion Cost
                  ADD t_production_costs1-wkgbtr TO prev_tot_mfgconv_cst.
    BEGIN OF deletion VIP110703
                ADD t_production_costs1-wkgbtr TO t_outputtab-mfgconvcost.
    END   OF deletion VIP110703
              ENDCASE.
            ENDLOOP.
    BEGIN OF INSERTION VIP110703
           READ TABLE t_production_costs INTO wa_production_costs
           WITH KEY objnr = t_production_costs-objnr
                      matnr = wa_prev_outputtab-plnbez.
           IF sy-subrc = 0.
             IF  ( wa_production_costs-mbgbtr NE
                                   wa_prev_outputtab-wemng )  .
               prev_totmatqty = ( prev_totmatqty /
                                  wa_prev_outputtab-wemng ) *
                                 wa_production_costs-mbgbtr.
               prev_tot_mfgconv_cst = ( prev_tot_mfgconv_cst /
                                  wa_prev_outputtab-wemng ) *
                                  wa_production_costs-mbgbtr.
             ENDIF.
           ENDIF.
           LOOP AT t_suborders_propcost
                   WHERE prevaufnr = wa_prev_outputtab-aufnr.
             t_suborders_propcost-proprmcost = prev_totmatqty.
             t_suborders_propcost-prop_mfg_convcost = prev_tot_mfgconv_cst
             MODIFY t_suborders_propcost.
           ENDLOOP.
           clear: prev_totmatqty,
                   prev_tot_mfgconv_cst.
    END   OF INSERTION VIP110703
    BEGIN OF INSERTION VIP111003
            CLEAR: wa_prev_outputtab,
                   wa_production_costs.
            READ TABLE t_outputtab INTO wa_prev_outputtab
            WITH KEY aufnr = t_suborders-prevaufnr.
            ratio = 1.
            IF sy-subrc = 0.
              READ TABLE t_production_costs INTO wa_production_costs
              WITH KEY objnr = t_outputtab-objnr
                         matnr = wa_prev_outputtab-plnbez.
              IF sy-subrc = 0.
                IF  ( wa_production_costs-mbgbtr NE
                                      wa_prev_outputtab-wemng ) .
                  ratio = wa_production_costs-mbgbtr /
                          wa_prev_outputtab-wemng.
                  prev_totmatqty = ( prev_totmatqty /
                                     wa_prev_outputtab-wemng ) *
                                    wa_production_costs-mbgbtr.
                  prev_tot_mfgconv_cst = ( prev_tot_mfgconv_cst /
                                     wa_prev_outputtab-wemng ) *
                                     wa_production_costs-mbgbtr.
                ENDIF.
              ENDIF.
            ENDIF.
            LOOP AT t_suborders_propcost
                    WHERE prevaufnr = wa_prev_outputtab-aufnr
                    AND aufnr = t_outputtab-aufnr.
              t_suborders_propcost-proprmcost = prev_totmatqty.
              t_suborders_propcost-prop_mfg_convcost = prev_tot_mfgconv_cst.
              MODIFY t_suborders_propcost.
            ENDLOOP.
    *Commented by Anand Bothra on 20/11/2003.
            CLEAR: prev_totmatqty,
                    prev_tot_mfgconv_cst.
    BEGIN OF INSERTION VIP111003
          ENDLOOP.
        ENDAT.
        AT END OF kstar.
          SUM.
          CASE t_production_costs-kstar.
            WHEN '0000500200'.    " Packing Conversion Costs
              t_outputtab-pkgconvcost = t_production_costs-wkgbtr.
            WHEN '0005000500'.   " Semi-Finished Cost/Quantity
              MOVE t_production_costs-mbgbtr TO d_mbgbtr.
            WHEN '0005050000' OR '0005050001' OR '0005050002'.
              " Packing Mat Costs
              ADD t_production_costs-wkgbtr TO t_outputtab-totalpmcost.
            WHEN '0005000000' OR '0005010000'.
              ADD t_production_costs-wkgbtr TO t_outputtab-totalrmcost.
            WHEN '0000500100'.      " Manufacturing Conversion Cost
              ADD t_production_costs-wkgbtr TO t_outputtab-mfgconvcost.
          ENDCASE.
        ENDAT.
        AT END OF objnr.
          MOVE d_waers TO t_outputtab-waers.
    Calculations for the Production Order
          " Determine the RM Cost/Unit and Mfg Conv Cost/Unit
          CLEAR t_afpo1.
          READ TABLE t_afpo1 WITH KEY aufnr = t_outputtab-aufnr.
          IF ( ( sy-subrc EQ 0 ) AND ( t_afpo1-wemng NE 0 ) ).
    BEGIN OF insertion VIP110703
           tmp_aufnr = t_production_costs-objnr+2(12).
           LOOP AT t_suborders_propcost
           WHERE aufnr = tmp_aufnr  .
            ADD t_suborders_propcost-proprmcost TO t_outputtab-totalrmcost
             ADD t_suborders_propcost-prop_mfg_convcost  TO
                  t_outputtab-mfgconvcost.
           ENDLOOP.
    END   OF insertion VIP110703
    BEGIN OF insertion VIP111003
            CLEAR: t_suborders_propcost , tmp_aufnr.
            READ TABLE t_suborders_propcost
            WITH KEY aufnr = t_outputtab-aufnr.
            IF sy-subrc = 0.
             t_suborders_propcost-proprmcost =
                 t_suborders_propcost-proprmcost * ratio.
              ADD t_suborders_propcost-proprmcost
                    TO t_outputtab-totalrmcost.
             t_suborders_propcost-prop_mfg_convcost =
                 t_suborders_propcost-prop_mfg_convcost * ratio.
              ADD t_suborders_propcost-prop_mfg_convcost
                   TO t_outputtab-mfgconvcost.
              tmp_aufnr = t_suborders_propcost-prevaufnr.
              bln_suborder = 'T'.
              WHILE bln_suborder = 'T'.
                CLEAR: t_suborders_propcost .
                READ TABLE t_suborders_propcost
                WITH KEY aufnr = tmp_aufnr.
                IF sy-subrc = 0.
                  t_suborders_propcost-proprmcost =
                    t_suborders_propcost-proprmcost * ratio.
                  ADD t_suborders_propcost-proprmcost
                        TO t_outputtab-totalrmcost.
                  t_suborders_propcost-prop_mfg_convcost =
                      t_suborders_propcost-prop_mfg_convcost * ratio.
                  ADD t_suborders_propcost-prop_mfg_convcost
                       TO t_outputtab-mfgconvcost.
                  tmp_aufnr = t_suborders_propcost-prevaufnr.
                ELSE.
                  bln_suborder = 'F'.
                  CLEAR tmp_aufnr.
                ENDIF.
              ENDWHILE.
            ENDIF.
    END   OF insertion VIP111003
    END   OF deletion VIP110703
           t_outputtab-mfgconvcost = ( t_outputtab-mfgconvcost /
                                       t_afpo1-wemng ) * d_mbgbtr.
           t_outputtab-totalrmcost = ( t_outputtab-totalrmcost /
                                       t_afpo1-wemng ) * d_mbgbtr.
    END   OF deletion VIP110703
          ENDIF.
          IF t_outputtab-wemng NE 0.
            t_outputtab-rmperunit = t_outputtab-totalrmcost /
                                    t_outputtab-wemng.
            " PM Cost Per Unit = Total PM Cost / Quantity Delivered
            t_outputtab-pmperunit = t_outputtab-totalpmcost
                                    / t_outputtab-wemng.
            " Conv Cost Cost Per Unit = (Manu Conv Cost + Pack Conv Cost)
            "                           / Qty Delv
            t_outputtab-ccperunit = ( t_outputtab-mfgconvcost
                                    + t_outputtab-pkgconvcost )
                                    / t_outputtab-wemng.
          ENDIF.
          " Total Cost Per Unit = (RM Cost per unit + PM Cost per Unit
          "                       + Conv Cost per unit)
          t_outputtab-totperunit = t_outputtab-rmperunit
                                   + t_outputtab-pmperunit
                                   + t_outputtab-ccperunit.
    Update the calculated values in the internal table
          CHECK d_tabix GT 0.
          MODIFY t_outputtab INDEX d_tabix
                             TRANSPORTING totalrmcost totalpmcost
                                          mfgconvcost pkgconvcost
                                          rmperunit pmperunit
                                          ccperunit totperunit waers.
    BEGIN OF DELETION VIP110703
         MOVE t_outputtab TO wa_prev_outputtab.
    END   OF DELETION VIP110703
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " Z_PROCESS_DATA
    *&      Form  Z_DISPLAY_LIST
          text
    -->  p1        text
    <--  p2        text
    FORM z_display_list.
    Display the Report
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            I_INTERFACE_CHECK        = ' '
             i_callback_program       = d_repid
            I_CALLBACK_PF_STATUS_SET = ' '
            I_CALLBACK_USER_COMMAND  = ' '
            I_STRUCTURE_NAME         =
             is_layout                = wa_listlayout
               it_fieldcat              = t_fieldcatalog
            IT_EXCLUDING             =
            IT_SPECIAL_GROUPS        =
               it_sort                  = t_sortsequence
            IT_FILTER                =
            IS_SEL_HIDE              =
            I_DEFAULT                = 'X'
            I_SAVE                   = ' '
            IS_VARIANT               = ' '
             it_events                = t_listevents
            IT_EVENT_EXIT            =
             is_print                 = wa_print_info
            IS_REPREP_ID             =
            I_SCREEN_START_COLUMN    = 0
            I_SCREEN_START_LINE      = 0
            I_SCREEN_END_COLUMN      = 0
            I_SCREEN_END_LINE        = 0
            I_BYPASSING_BUFFER       =
            I_BUFFER_ACTIVE          =
       IMPORTING
            E_EXIT_CAUSED_BY_CALLER  =
            ES_EXIT_CAUSED_BY_USER   =
           TABLES
                t_outtab                 = t_outputtab
          EXCEPTIONS
               program_error            = 1
               OTHERS                   = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SET PF-STATUS 'Z_AB_STANDARD'.
    ENDFORM.                    " Z_DISPLAY_LIST
    *&      Form  Z_FILL_FIELDCATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM z_fill_fieldcatalog USING      p_rownum LIKE sy-curow
                                        p_colnum LIKE sy-cucol
                                        p_fieldname TYPE slis_fieldname
                                        p_tabname TYPE slis_tabname
                                        p_reffield TYPE dd03p-fieldname
                                        p_reftable TYPE dd03p-tabname
                                        p_qfield TYPE slis_fieldname
                                        p_qtab TYPE slis_tabname
                                        p_sum
                                        p_stext
                                        p_mtext
                                        p_ltext
                                        p_datatype
                                        p_outputlen.
    Prepare the fields for ALV list output
      CLEAR wa_fieldcatalog.
      wa_fieldcatalog-row_pos = p_rownum.
      wa_fieldcatalog-col_pos = p_colnum.
      wa_fieldcatalog-fieldname = p_fieldname.
      wa_fieldcatalog-tabname = p_tabname.
      wa_fieldcatalog-ref_fieldname = p_reffield.
      wa_fieldcatalog-ref_tabname = p_reftable.
      wa_fieldcatalog-qfieldname = p_qfield.
      wa_fieldcatalog-qtabname = p_qtab.
      wa_fieldcatalog-do_sum = p_sum.
      wa_fieldcatalog-seltext_s = p_stext.
      wa_fieldcatalog-seltext_m = p_mtext.
      wa_fieldcatalog-seltext_l = p_ltext.
      wa_fieldcatalog-datatype = p_datatype.
      wa_fieldcatalog-outputlen = p_outputlen.
      APPEND wa_fieldcatalog TO t_fieldcatalog.
    ENDFORM.                    " Z_FILL_FIELDCATALOG
    *&      Form  Z_PREPARE_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM z_prepare_fieldcat.
    Append all the display fields into the field catalog internal table
    First Row
      PERFORM z_fill_fieldcatalog USING 1 1 'PLNBEZ' 'T_OUTPUTTAB'
                                        space 'AFKO' space space
                                        space space space space space
                                        0.
      PERFORM z_fill_fieldcatalog USING 1 2 'MAKTX' 'T_OUTPUTTAB'
                                        space 'MAKT' space space
                                        space space space space space
                                        0.
      PERFORM z_fill_fieldcatalog USING 1 3 'CHARG' 'T_OUTPUTTAB'
                                        space 'AFPO' space space
                                        space space space space space
                                        0.
    Second Row
      PERFORM z_fill_fieldcatalog USING 2 1 'AUFNR' 'T_OUTPUTTAB'
                                        space 'AFKO' space space
                                        space space space space space
                                        0.
      PERFORM z_fill_fieldcatalog USING 2 2 'GAMNG' 'T_OUTPUTTAB'
                                        space 'CAUFV' 'AMEIN' space
                                        'X' space space space space
                                        0.
      PERFORM z_fill_fieldcatalog USING 2 3 'WEMNG' 'T_OUTPUTTAB'
                                        space 'AFPO' 'AMEIN' space
                                        'X' space space space space
                                        0.
      PERFORM z_fill_fieldcatalog USING 2 4 'AMEIN' 'T_OUTPUTTAB'
                                        space 'AFPO' space space
                                        space space space space space
                                        0.
      PERFORM z_fill_fieldcatalog USING 2 5 'YIELD' 'T_OUTPUTTAB'
                                        space space space space
                                        space text-010 text-010 text-010
                                        'QUAN' 17.
    Third Row
      PERFORM z_fill_fieldcatalog USING 3 1 'TOTALRMCOST' 'T_OUTPUTTAB'
                                        space space space space
                                        'X' text-011 text-011 text-011
                                        'CURR' 21.
      PERFORM z_fill_fieldcatalog USING 3 2 'TOTALPMCOST' 'T_OUTPUTTAB'
                                        space space space space
                                        'X' text-012 text-012 text-012
                                        'CURR' 21.
      PERFORM z_fill_fieldcatalog USING 3 3 'MFGCONVCOST' 'T_OUTPUTTAB'
                                        space space space space
                                        'X' text-013 text-013 text-013
                                        'CURR' 21.
      PERFORM z_fill_fieldcatalog USING 3 4 'PKGCONVCOST' 'T_OUTPUTTAB'
                                        space space space space
                                        'X' text-014 text-014 text-014
                                        'CURR' 21.
    Fourth Row
      PERFORM z_fill_fieldcatalog USING 4 1 'RMPERUNIT' 'T_OUTPUTTAB'
                                        space space space space
                                        space text-015 text-015 text-015
                                        'CURR' 21.
      PERFORM z_fill_fieldcatalog USING 4 2 'PMPERUNIT' 'T_OUTPUTTAB'
                                        space space space space
                                        space text-016 text-016 text-016
                                        'CURR' 21.
      PERFORM z_fill_fieldcatalog USING 4 3 'CCPERUNIT' 'T_OUTPUTTAB'
                                        space space space space
                                        space text-017 text-017 text-017
                                        'CURR' 21.
      PERFORM z_fill_fieldcatalog USING 4 4 'TOTPERUNIT' 'T_OUTPUTTAB'
                                        space space space space
                                        space text-018 text-018 text-018
                                       'CURR' 21.
    ENDFORM.                    " Z_PREPARE_FIELDCAT
    *&      Form  Z_GET_ALV_EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM z_get_alv_events.
    Returns table of possible events for a list type
      REFRESH t_listevents.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
            I_LIST_TYPE     = 0
          IMPORTING
               et_events       = t_listevents
          EXCEPTIONS
               list_type_wrong = 1
               OTHERS          = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        CLEAR: wa_listevents, d_tabix.
        READ TABLE t_listevents WITH KEY name = slis_ev_top_of_page
        INTO wa_listevents.
        d_tabix = sy-tabix.

    Hi Sai,
          You can try using MB51, use filter movement type 261. Add a filter for the posting date coverage.
    Then proceed. Click on the icon DETAIL LIST.
    Then click on the SUBTOTAL, add MATERIAL as a Criteria. The click the column AMOUNT IN LC.
    You should see the total issuances to per material.
    I hope this helps.
    Heinrick Palad

  • Report for issuance of raw material

    Hi!!!!
    Kindly suggest me the t-code where i can look for the issuance of raw material against production orders on a month basis or quarterly basis.
    Thanks

    Hi,
    COOIS:
    maybe you should apply the settings written by me in my previous message since you can see the consumption of components in this report. Paste the movement type field in the layout and you will see 261.
    MB51
    you can paste the field ('Order') in the layout that contains the PrdOrd no.
    MB53
    Run the report > pusch 'consumption' button. That's all.
    You should examine these reports and try to use them. You can get the information from COOIS ( components  and from MB51.
    BR
    Csaba
    Edited by: Csaba Szommer on Jul 23, 2008 9:45 AM

  • Price Difference A/c is debiting instead of Raw Material A/c when MIGO

    Hi Experts,
    Please can any body help me regarding FI-MM integration.
    When do the MIGO transaction as per standard - Debit is Raw Material A/c and Credit GR/IR Clearing A/c.
    But in my System Debit is Price Difference A/c and Credit is GR/IR Clearing A/c is taking, because Price Difference A/c is coming from PRD transaction Key where I given Price Difference A/c. Why system is not taking Raw Material A/c from BSX transaction key.
    Please help me as soon as possible.
    Regards,
    KBR.

    Hi..
      I want to add :
       If you want to maintain Price Control as "S" then maintain standard price (MR21).
       Then stand price will hit BSX nad diff between PO price and Stnd Price will go to PRD a/c.
      kkumar

  • Raw Material Consumption to Process Orders

    Hi Friends,
    I need help with changing the way how we consume raw materials in our manufacturing organization.
    Current Process:
    A.     Receive product A in Warehouse, movement type 101. Debit Inventory Account, and Credit GR/IR.
    B.     Move product A to a storage location (out of Warehouseu2019s custody). Movement type 311. No impact to P&L, as no accounting entries.
    C.     Consume product A in a u2018Process Orderu2019 from that storage location 311. Debit Consumption Account, and Credit Inventory Account.
    Product A is listed in Bill of Materials and has to be issued to process orders for final consumption u2013 to give production variance as we are on standard costing system.
    Desired Process:
    We want to have stronger controls in our organization. We want to hit P&L in step B, as soon as Warehouse issues items out. This can be done using movement type 201 GI for Cost Center.
    But we also desire to see final consumption happening in process orders, as all our BOMs and standard costs account for the consumption of product A.
    Please advice how do we issue items to a process order that have already been issued to a Cost Center. What is it that I am missing?
    Thanks,
    Meet A

    I believe we will stick with our current process. See Ajay's reply on the link below:
    Raw Material Consumption to Process Orders
    Thanks and regards,
    Meet A.

  • Raw material profit centre document is not generated

    Hi All
    When i maintain profit centre in raw material and do GR/IR, only accounting doc is generated. The profit centre mentioned in material is reflected against both accounts in the entry. (rm inventory a/c and GR/IR clearing a/c)
    When I go and see report of that particular profit centre I dont see any posting. Why is it so?
    Can u help me out?
    Regards
    Rakesh

    I am certain that a profit center document gets created for materials that have moving average price.
    If the profit center in the material master was entered after the goods receipt, then the amount is still  posted to a default profit center, but not to the profit center you expect.
    first find your movement in MB51 or in purchase order history tab of ME23N.
    Beeing in the material document, click the finance documents button at header level in document info tab. A pop-up appears where you have to select to where to go, either to the accounting doc or to the profit center document.
    If you see this profit center doc in this pop-up, then you can be sure that it is posted to a profit center. go into this document to see to which profit center the posting was made.

  • Report on Actual Price of Raw Material

    Dear Experts,
    There is any report on which I can see Actual Purchase Price of Raw material.
    Thanks in Advance
    regards...Kaushal

    Dear Kaushal,
    If so do you want the price that's maintained in the Purchase Info Record?
    If required the price mentioned in PIR can be overwritten while purchase order is created.
    If you want to take the values mentioned in Purchase Info record means,check these tables,
    EINA                           Purchasing Info Record: General Data
    EINE                           Purchasing Info Record: Purchasing Organization
    EKKO                         Purchasing Document Header
    EKPO                         Purchasing Document Item
    Regards
    Mangalraj.S

  • Excice invoice captured as capital goods, but material is raw material

    All SAP Gurus,
    We have wrongly captured (and posted) the excise invoice as Capital goods (RG 23C), but material is Raw material (RG 23A).
    Material document can not be reversed as material is already issued and consumed for production activities.
    To get the effect in Rg 23 A, we have passed the Excise JV (J1IH - Other Adj.).
    Due to this Excise JV, we are getting entry in RG 23A, but the same entry is also displayed in RG 23C.
    Is there a way to delete/remove/reverse this entry from RG 23C.
    Please suggest,
    Regards,

    Hi,
    Use following functions to adjust the duties in RG23A and RG23C;
    Go to J1IH - Excise JV
    Use following method to reduce duties from RG23C Accounts
    Making Adjustment Postings for Other Transactions
    Use: - You follow this procedure if you want to make an adjustment posting that does not fall into any of the other categories of adjustment offered by this function. You can only use an external document as your reference document.
    Procedure: -
    1. J1IH > Excise JV > Other adj.
    2. Enter data as required, including:
    u2022 Document number
    Enter the number of the external document that you want to refer to.
    u2022 CENVAT account selection group box
    Specify which account is affected by the adjustment posting is for. Here in your case select RG23C.
    3. Click on u201CEnteru201D button.
    The system displays the information from the material document.
    4. Adjust the posting date as necessary and enter Vendor code as per requirement.
    5. Enter the amount of excise duty in either of the following ways:
    u2022 To enter line items for different materials and the excise duty accordingly, choose u201CDetailsu201D button and enter the line items in the table.
    Here fill details like Material Code, Quantity as per Excise Invoice, Batch No, Reference (i.e. GRN Document), BED and Ed Cess Amount manually.
    If you want system to propose the BED and Ed Cess Amount, Click on u201CGet Excise Invoiceu201D button and select the proper Excise Invoice from which the proportionate amount is to be copied.
    Select the u201CExcise Invoiceu201D and click on u201CContinueu201D button.
    It will copy BED and Ed Cess and SECess amount as per the quantity mentioned here. It will be proposed in proportion of selected Excise Invoice quantity and value.
    u2022 To enter the excise duty only, choose u201CHeaderu201D button and enter the excise duty in the totals fields at the foot of the screen.
    6. Specify which G/L accounts are to be posted to.
    7. Save the adjustment posting.
    System will post Excise JV Document; Accounting Document with Part2 Serial No has been successfully created.
    Use following method to take duty credit in RG23A Accounts
    Making Adjustment Postings for Additional Excise Paid by Vendors
    Use: - You follow this procedure if a vendor has increased the amount of excise duty that it originally charged you and you want to debit the difference to your CENVAT account.
    Procedure: -
    1. J1IH > Excise JV > Additional excise.
    2. Enter data as required.
    In the Document number field, enter then number of the document sent to you by the vendor.
    u2022 CENVAT account selection group box
    Specify which account is affected by the adjustment posting is for. Here in your case select RG23A.
    3. Click on u201CEnteru201D button.
    4. Adjust the posting date as necessary and Enter Vendor Name.
    5. Enter the amount of excise duty in either of the following ways:
    u2022 To enter line items for different materials and the excise duty accordingly, choose u201CDetailsu201D button and enter the line items in the table.
    Here Enter Material code, quantity as per excise invoice, reference document (i.e. GRN Document), batch no., BED and Ed Cess Amount to be posted.
    u2022 To enter the excise duty only, choose u201CHeaderu201D button and enter the excise duty in the totals fields at the foot of the screen.
    6. If the duty qualifies as countervailing duty (CVD):
    a. Select CVD applicable.
    b. Enter the CVD amount in the BED amount field.
    7. Specify which G/L accounts are to be posted to.
    8. Save the adjustment posting.
    System will post Excise JV Document; Accounting Document with Part2 Serial No has been successfully created.
    Then do J2I5 - Extract and J2I6 - Print Excise Registers

  • Excise Invoice posted as Capital goods, but material is a raw material

    All SAP Gurus,
    J1ID data wrongly uploaded as Consumable instead of Raw material.
    Due to this excise invoices for these materials got captured and posted in RG23C register in place of RG23A register.
    (Material document can not be reversed as material is already consumed.)
    How these entries in RG23C/RG23A entries can be corrected?
    Regards,
    rajan

    Hi,
    Use following functions to adjust the duties in RG23A and RG23C;
    Go to J1IH - Excise JV
    Use following method to reduce duties from RG23C Accounts
    Making Adjustment Postings for Other Transactions
    Use: - You follow this procedure if you want to make an adjustment posting that does not fall into any of the other categories of adjustment offered by this function. You can only use an external document as your reference document.
    Procedure: -
    1. J1IH > Excise JV > Other adj.
    2. Enter data as required, including:
    u2022 Document number
    Enter the number of the external document that you want to refer to.
    u2022 CENVAT account selection group box
    Specify which account is affected by the adjustment posting is for. Here in your case select RG23C.
    3. Click on u201CEnteru201D button.
    The system displays the information from the material document.
    4. Adjust the posting date as necessary and enter Vendor code as per requirement.
    5. Enter the amount of excise duty in either of the following ways:
    u2022 To enter line items for different materials and the excise duty accordingly, choose u201CDetailsu201D button and enter the line items in the table.
    Here fill details like Material Code, Quantity as per Excise Invoice, Batch No, Reference (i.e. GRN Document), BED and Ed Cess Amount manually.
    If you want system to propose the BED and Ed Cess Amount, Click on u201CGet Excise Invoiceu201D button and select the proper Excise Invoice from which the proportionate amount is to be copied.
    Select the u201CExcise Invoiceu201D and click on u201CContinueu201D button.
    It will copy BED and Ed Cess and SECess amount as per the quantity mentioned here. It will be proposed in proportion of selected Excise Invoice quantity and value.
    u2022 To enter the excise duty only, choose u201CHeaderu201D button and enter the excise duty in the totals fields at the foot of the screen.
    6. Specify which G/L accounts are to be posted to.
    7. Save the adjustment posting.
    System will post Excise JV Document; Accounting Document with Part2 Serial No has been successfully created.
    Use following method to take duty credit in RG23A Accounts
    Making Adjustment Postings for Additional Excise Paid by Vendors
    Use: - You follow this procedure if a vendor has increased the amount of excise duty that it originally charged you and you want to debit the difference to your CENVAT account.
    Procedure: -
    1. J1IH > Excise JV > Additional excise.
    2. Enter data as required.
    In the Document number field, enter then number of the document sent to you by the vendor.
    u2022 CENVAT account selection group box
    Specify which account is affected by the adjustment posting is for. Here in your case select RG23A.
    3. Click on u201CEnteru201D button.
    4. Adjust the posting date as necessary and Enter Vendor Name.
    5. Enter the amount of excise duty in either of the following ways:
    u2022 To enter line items for different materials and the excise duty accordingly, choose u201CDetailsu201D button and enter the line items in the table.
    Here Enter Material code, quantity as per excise invoice, reference document (i.e. GRN Document), batch no., BED and Ed Cess Amount to be posted.
    u2022 To enter the excise duty only, choose u201CHeaderu201D button and enter the excise duty in the totals fields at the foot of the screen.
    6. If the duty qualifies as countervailing duty (CVD):
    a. Select CVD applicable.
    b. Enter the CVD amount in the BED amount field.
    7. Specify which G/L accounts are to be posted to.
    8. Save the adjustment posting.
    System will post Excise JV Document; Accounting Document with Part2 Serial No has been successfully created.

Maybe you are looking for

  • I didn't succeed in updating my Itunes.

    I didn't succeed in updating my Itunes on my Windows PC (Windows 7). Therefore I removed the Itunes application and would  reinstall. But when I get to install - Start Services I get the following message: Service "Apple Mobile Device" failed to star

  • CoreSelectOneChoice selected string value - it works but it doesn't

    Ok, I followed these steps: http://www.oracle.com/technology/products/jdev/tips/mills/listvalue/listbindingvalue.html However, I'm using JDeveloper 10.1.3.3.0.4157 and on step #2, insert inside bindings, there's no attribute bindings. I selected "att

  • Verity collection

    Running CF7.0.2 I used vspider to index a folder with two documents in it (just to test). I asked it to start on one file that links to the other file. I registered the collection in CF admin... it shows 2 documents (so that's great). I thought perha

  • Clarification about inner class - why use it?

    hi all i just have a request to get some clarification on inner class. why do we use it and is it common to use it? thanks.

  • Double iCal Events and Birthdays (and more)

    I've been having issues with my iPhone long before iCloud, that repeatable events tend to appear in pairs in my phone and sometimes my computer iCal as well. I tried to modify the iCloud calendar directly, adding new event and see if bpth my phone an