Consumption details in loss side

Hi Experts
i set my G/L account  > item group
Item group accounting tab consist of below mentioned details
item group         G/L A/c >inventory     GL A/c COGS
Raw Material      Raw Material ( A)         Raw Material cost of GS  (E)
consumable Oil   Consum Oil  ( A )     Consumable Oil Cost of GS (E) 
Consumable Tols Consuma Tols (A)      Consum Tools Cost of GS (E)
Finished Goods    Finished Goods (A)  Finished Goods Cost of GS(E)
(A) Asset Drawer (E) Expenditure Drawer
I purchased raw materials and consumable groups and sold finished goods
Now i generate the Profit & Loss
I could not see the list of material consumable in loss side
I got the message from my accountant
Profit side shows
Revenue
Loss side shows
COGS
What is COGS contain? or can i take the COGS list wise.

Hi everybody
Sorry, i confussed with COGS account.
we are deling with manufactring accounts. The company's profit and loss reports has  raw material consumed and packing material consumed and WIP OS A/C, WIP CS A/C has been in Profit and loss account. But B one 2005 profit & loss will not show the consumed material account.
How can i set the Profit & Loss and balance sheet ?
we set the GL account item group
Pls help me it is very argent.
regards

Similar Messages

  • Is there any report to see the consumption details?

    Hi,
    Is there any report to see the consumption details? with material number or without material number?
    Regards,
    Sattuj

    There are a no of ways from where you can get your desrired data....
    Table mver---used for material consumption.
    T code mcre---again used in consumption reports,
    Table MVER gives you detail of Material Consumption
    Also, MSEG (MENGE) and S026 (ENMNG) ... Pls restrict the selection condition for material with movement type 261 in table MSEG
    Tables
    DBERCHV Consumption History
    DVER Material Consumption for MRP Area
    You can get all the consumption details in MB51 report by selecting relevnt movement types. And MB5S also.
    For Repetetive :-
    Check this T Code MCRP,which gives you the exact material consumption datewise or order wise.
    *Report MCRE is widely used for the material cosnumption than checking in COOIS.*
    Also these reports can help you.
    MCPF Material analysis: Dates
    MCPO Material analysis: Quantities
    MCPW Material analysis: Lead time

  • Resource consumption details not shown for each row source operation

    Hi Friends,
    I have generated a tracefile for a query as shown below.
    set autotrace traceonly arraysize 100
    ALTER SESSION SET optimizer_mode = ALL_ROWS ;
    alter session set tracefile_identifier = 'trcwithtime_221010_03';
    alter session set events '10046 trace name context forever, level 12';
    spool on
    spool C:\Sree\trcwtime.log
    -- put your statement here
    SELECT e.*,d.dname
    FROM scott.emp e
        ,scott.dept d
    WHERE e.deptno = d.deptno;
    spool off;
    exitBelow is the trace file
    SELECT e.*,d.dname
    FROM scott.emp e
        ,scott.dept d
    WHERE e.deptno = d.deptno
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          4          7          0          14
    total        4      0.00       0.00          4          7          0          14
    Misses in library cache during parse: 0
    Optimizer goal: ALL_ROWS
    Parsing user id: 173 
    Rows     Row Source Operation
         14  HASH JOIN 
          4   TABLE ACCESS FULL DEPT
         14   TABLE ACCESS FULL EMP
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       2        0.00          0.00
      db file sequential read                         4        0.00          0.00
      SQL*Net message from client                     2        0.41          0.77
    ********************************************************************************For each rowsource operation, resource consumption details (cr,pr,pw,time) are not shown in the TKPROF output.
    How can i get these details as well?
    DBVersion: 9.2.0.8
    Regards,
    Sreekanth Munagala

    Sreekanth Munagala wrote:
    For each rowsource operation, resource consumption details (cr,pr,pw,time) are not shown in the TKPROF output.
    How can i get these details as well?
    DBVersion: 9.2.0.8You can get those details by setting values for following parameters (at session level, preferably) before generating the 10046 trace.
    ALTER SESSION SET statistics_level = ALL ;
    ALTER SESSION SET timed_statistics = TRUE ;

  • Operation wise fuel consumption details.

    Dears,
    How can we get the operation wise raw material consumption details. For example in an order I am having 5 operations. Each operation requires some fuel consumption. Fuel is my BOM component. I need to issue the quantity of fuel for each operation. Again in the report also... I need the details of fuel consumption operation wise. How can we divide the total quantity of fuel to different routing operations. one way is I can maintain different line items in BOM. Is there any other way of doing it? How can get it in report?
    Regards,
    Surya.

    Hi,
      I don't think so that there is such report which will give you operation wise consumption but you can make that fuel consumption as a activity type in ur standard value key and make some std value to put it in the routing, then if you go for operation wise confirmation then in that screen you will be able to put the consumption details in it.
    you can take a report of that also in COOIS.
    order wise consumption you can get from order report itself
    reward poits if you find it useful.

  • UR: regarding delivery item details in dealer side

    hi alll ...
    the requirement is to get the delivery details  for a particular sales doc no and item....
    i fetched this details from likp table.
    but there arises a performance issue ....
    it's taking lot of time to fetch these details ...
    is there any alternate table or any FM to get the Delivery details instead of from LIKP table ...
    waiting for ur reply....
    thanks

    The transaction is VL10A (there are also other VL10s, e.g. VL10G, but they are almost the same). vl06o is for when the deliveries have already been created but good issue has not been done yet.
    P.S. Please do not create multiple threads for essentially the same question. If your question has changed, you might want to edit the original post instead.

  • Reg.,consumption details for Discrete manufacturing

    Dear Guru,
    can any body help me in this regard to FS for dicrete manufacturing.
    Am taking MSEG table but here unable to see particular order consumption/for which material consumed for which product.am putting 261 movement for the particular plant nd values also flowing.plz suggest me
    Reagrds

    Hi,
    Check table: RESB.
    Regards,
    Alok Tiwari

  • Need the memory consumption details of a interface

    Hi,
    We have scenario that there are 5000 messages were trigered at a time ie.., during peak time.
    Is there any way in XI 3.0 to analyse the memory and CPU consumption of a single interface.
    I am aware of the option to pull the entries from Performance monitoring in RWB. Is there any file where we can get the memory dumps for every 10 min.
    The scenario consits of BPM where 5000 messages are triggered and get processed.
    Please help.
    Regards.
    MM

    You can check this in tcode ST06N,ST06 for time basis but for interface wise you can check user wise if uses different users for RFC connection in tcode STAD.
    Thanks!

  • Forecast consumption situation not shown in Forecast tab-RRP3 View

    Hi,
    I have released Forecast(FA) from DP to SNP.I am able to see the forecasts in Product view Elements tab.But I am not able to see any Forecast consumption details and overview in Forecast tab of Product view.It is showing if i create forecast manually in RRP3 view itself.How to bring the forecast data in forecast tab of RRP3 view.
    Thanks&Regards
    Venkadesh

    Hi Venkadesh,
    This is a known issue and can be solved by SAP  Note 743646 - Incorrect consumption situation in product view.
    Using a report, you can adjust the consumption situation in the element view so that it is the same as the consumption situation in the forecasting view.  To do this, call transaction SE38 and create the report Z_CSP_DELTA_FCST with the title "Check of the consumption situation"; Type: Executable program; Status: Test program; Application: Materials Management.  Delete the first line "REPORT..." from the new report  then use the cut and paste functions to add the program to the correction instructions.
    Try this out and let me kow if this solves your purpose.
    Many thanks,
    Amit Sen

  • Consumption of Water & Power

    Dear PM GURUS,
    First of all i thanks to all the PM gurus for giving the good solutions for my questions.  I hope in future also i will get the same response from you people for my questions.
    In my business scenario, Maintenance people note down the power and water daily consumption details in their respective logbook or reading enter book. after calculating the difference Sr.engineer enters the same data in Excel sheet and at the end of the month he makes one graphical representation to show the management. Now client asking same thing in SAP. How i can get this one SAP. Basically i did one thing I creates all measuring counters where ever he took the reading and updated in SAP , by using the IK17 i get the individual measuring counter details for the whole month. If i entered measuring counter from number to TO number i got the details but its not in proper manner. One by One sequentially its displaying. But user wants Bar or graphical manner. Please suggest me what ever i proposed is it right manner as per the SAP, if its right how i can improve the solution please guide me.  i hope i will get the answer very soonly.
    thanks & regards
    Jalu

    Hi,
    When you execute IK17 then list report will be display.then select columns  and small graphic icon is on menu bar
    Then go to menu LIST >> GRAPHIC
    or else you have option of ABC analysis and or download it to spreadsheet and generate graphic in excel
    kapil

  • In time Consumption of Raw material in case of Subcontracting

    HI Gurus
    Please look into the following issue.
    Presently we are sending Raw material to subcontracting vendor  through 541 mvt type  along with excis challan.Then subcontractor intimates raw material consumption details time to time through mail/fax.Now as per client requirement raw material consumption should be done in time i.e. when they are receiving raw material consumption details. They don't want book the raw material consumtion at the the time of receipt of finish goods.
    Please guide me to book in time consumption of raw material.
    Redards
    Kumar

    Thnks for your reply.
    I want to do the manual consumption from subcontracting stock. Client don't want to book the consumption at the the time of raw material transfer to subcontractor. Also there will be problem in subcontracting challan reconcillation.
    We can't do the manual consumption through 543 mvt type .Is there any workarround for this ?

  • Item Wise Consumption Report

    Hello Friends,
    i want to get the consumption report item wise.
    IN GL Line item display i am not getting the same and through MB51 by using Movement Type 201 and 261 is not fruitfull.
    Actly while preparing of Balance Sheet i need to give the Consumption Detail Item Wise.
    Could any one please help me out on this issue.
    Thanks
    Nitin Jindal

    Hi Nitin,
    You can develop SAP query T code SQ01 by joining Material and GL Account table to get consumption report output.
    Regards,
    Santosh

  • How to track material consumption before closing of Production Order

    Hi all,
    My customer needs to track online material consumption in Profit & Loss statment.
    Now when we take trials, we found that if we do not close a production order then Change in stock a GL under Expenditure drawer is not updated, and also the cost of good sold is only updated when we post sales delivery transaction.
    Now the issue is that my customer wants to track online material consumption, meaning once material is issued for a production order then it should appear in P & L  under expenditure.
    We are using default valuation method as Standard for the Finished Good Item group, due to which WIP Inventory variance GL (we are using Change in Stock under Expenditure drawer of COA) gets updated on closing of work order. Second GL Cost of Goods Sold gets update on posting Sales Delivery.The difference of these two GL shows correct Material consumption, but for this we need to post Production Order close and Sales Delivery transactions.
    I wish  to know that
    1.Is it possible to track online material consumption in SAP B1 ?
       (Here online meaning if we post only material issue transaction, and we do not have posted production order close and sales delivery transactions )
    2.If yes, how to achive it?
    Best regards,
    Samir Gandhi
    Edited by: Samir Gandhi on Nov 5, 2008 2:33 PM
    Edited by: Samir Gandhi on Nov 5, 2008 4:43 PM
    Edited by: Samir Gandhi on Nov 5, 2008 7:23 PM

    Is your BOM's set to backflush? Yes
    Have you specified seperate WIP accounts for each item group? Yes
    Answer to your both question is Yes.
    Thanks for your interest in the message.
    Best Regards,
    Samir Gandhi
    Edited by: Rui Pereira on Dec 9, 2008 4:32 PM

  • Display data and iframe side by side

    Hi Experts,
    I have a requirement like to display the header and item details on left side of the page and another webpage using iframe tag on right side. How is it possible? I should not use the tabstrips.
    Can anybody please help me out how can I display the data and iframe side by side?
    Regards,
    Ranganadh.

    Hi Ranganadh,
    First you need to create a BSP page that holds the header and Item details(Let's say this as custom.htm).
    Secondly create a new page with frame set tag and call the custom.htm page and other webpage with URL.
    Sample coding will be like
    <%@page language="abap" forceEncode="html" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design           = "classic+design2002+design2003"
                   controlRendering = "sap"
                   rtlAutoSwitch    = "true" >
      <htmlb:document>
        <htmlb:documentHead title="Testing for Frames" >
                 <frameset cols="50%,50%" framespacing="0" frameborder="0">
                   <frame name="menu" src="h t t p://www.google.com" scrolling="auto" noresize>
                   <frame name="main" src="h t t p://www.yahoo.com" scrolling="auto">
                 </frameset>
        </htmlb:documentHead>
      </htmlb:document>
    </htmlb:content>
    In the above code replace "http://www.google.com" with your custom.htm page
    Remove spaces between http and noresize will not allow user to resize the frame.
    Regards,
    Ravi
    Edited by: Ravi A on Mar 14, 2011 7:32 PM

  • Fuel Consumption Report Modification - 21

    Hi Experts
    I am working on fuel consumption modification. can anyone help me how to get max and min value for this program
    I am getting one row correct with equipment no is enter but when I enter the range of equipment no it is taking long time and the result is repeating for each row
    please correct my report
    Thnaks in advanced
    Piroz
    REPORT Z_ESLP_FUEL2 LINE-SIZE  250 LINE-COUNT 75
             NO STANDARD PAGE HEADING.
    TABLES : equi,
             equz,
             imptt,
             imrg,
             eqkt,
             iloa.
    TYPES: BEGIN OF ty_equi," occurs 0,
           equnr type equi-equnr,
           END OF ty_equi.
    TYPES: BEGIN of ty_eqkt," occurs 0,
           equnr type eqkt-equnr,
           eqktx type eqkt-eqktx,
           END OF ty_eqkt.
    TYPES: BEGIN of ty_iloa ,"occurs 0,
           iloan type iloa-iloan,
           eqfnr type iloa-eqfnr,
           END OF ty_iloa.
    TYPES: BEGIN of ty_imptt," occurs 0,
           mpobj type imptt-mpobj,
           END of ty_imptt.
    TYPES: BEGIN of ty_imrg ,"occurs 0,
           idate type imrg-idate,
           recdv type imrg-recdv,
           recdu type imrg-recdu,
           END of ty_imrg.
    TYPES: BEGIN OF ty_data  ,
           equnr      type equnr,         " Euipment no
           eqktx      type eqkt-eqktx,    " Equipment Text
           eqfnr       type iloa-eqfnr,     " Equipment Sort field
           idate      type imrg-idate,    " Measuring Date
           recdu      type imrg-recdu,    " Unit of measuring ='KM','L','H'
           recdv      type imrg-recdv,    " Counter reading data
           END OF ty_data.
    TYPES: BEGIN OF ty_final,
           equnr           type equnr,            "  Equipment no
           eqktx           type eqkt-eqktx,       "  Equipment Text
           eqfnr           type iloa-eqfnr,       "  Equipment Sort field
           min_date        type imrg-idate,       "  Min Date
           min_km          type imrg-recdv,       "  Max Km
           max_km          type imrg-recdv,       "  Min km
           t_max_min_km    type i,                "  Total min_km-max_km
           max_date        type imrg-idate,       "  Max Date
           min_hr          type imrg-recdv,       "  Max hr
           max_hr          type imrg-recdv,       "  Min hr
           t_max_min_hr    type i,                "  Total min_hr-max_hr
           min_lit         type imrg-recdv,       "  Max lit
           max_lit         type imrg-recdv,       "  Min lit
           t_max_min_lit    type i,                "  Total min_lit-max_lit
           fuel_con        type p decimals 2,     "  Total_hrs / t_max_min_hr
           km_l            type p decimals 2,     "  km / L
           lit_per_hr      type i           ,     "  fuel comsumed / t_max_min_hr
           END OF ty_final.
    DATA: i_equi TYPE TABLE OF ty_equi,   "internal table
          wa_equi TYPE ty_equi, " work area
          i_eqkt TYPE TABLE OF ty_eqkt,   "internal table
          wa_eqkt TYPE ty_eqkt, " work area
          i_iloa TYPE TABLE of ty_iloa,   "internal table
          wa_iloa TYPE ty_iloa, " work area
          i_imptt TYPE TABLE of ty_imptt, "internal table
          wa_imptt TYPE ty_imptt,
          i_imrg  TYPE TABLE of ty_imrg,  "internal table
          wa_imrg TYPE ty_imrg,
          i_data TYPE TABLE OF ty_data,   "internal table
          wa_data TYPE ty_data, " work area
          i_final TYPE TABLE OF ty_final, " internal table
          wa_final TYPE ty_final. " work area
    DATA :  max_date type date ,
             min_date type date,
             max_km TYPE p DECIMALS 2,
             min_km TYPE p DECIMALS 2,
             max_hr TYPE p DECIMALS 2,
             min_hr TYPE p DECIMALS 2,
             max_lit TYPE p DECIMALS 2,
             min_lit TYPE p DECIMALS 2,
             t_max_min_km  TYPE p DECIMALS 2,
             t_max_min_hr TYPE p DECIMALS 2,
             t_max_min_lit TYPE p DECIMALS 2.
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: p_equnr FOR equi-equnr, "no-extension no intervals,
                    p_idate FOR imrg-idate.  "NO-EXTENSION NO INTERVALS OBLIGATORY,
                   " p_recdu FOR imrg-recdu." NO-EXTENSION NO INTERVALS ."default 'M3'" OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
    SELECTION-SCREEN END OF BLOCK blk2.
    SELECTION-SCREEN END OF BLOCK blk.
    TOP-OF-PAGE.
      FORMAT INTENSIFIED ON.
      WRITE:/1(40) ' INVESTMENT LIMITED  '.
      WRITE:/50(40) ' FUEL CONSUMPTION REPORT ' CENTERED   ,
              2 'Page', sy-pagno.
      FORMAT INTENSIFIED OFF.
      WRITE:/50(40) '----
    ' CENTERED .
      FORMAT INTENSIFIED ON.
      WRITE:/2 sy-datum COLOR 3, sy-uzeit .
      "WRITE:/1 S903-SPMON ."p_yearf.
      ULINE.
      "CENTERED.
      write: /2 'Date From     :'.
      write: /2 'Equipment No  :'.
      write: /2 'Unit          :'.
      SKIP.
      ULINE.
      WRITE:/1 sy-vline,
        2   'EQUIP NO',              10 sy-vline,
        11  'NAME',                  40 sy-vline,
        41  'SORT',                  60 sy-vline,
        61  'MIN DATE',              74 sy-vline,
        75  'MIN KM',                87 sy-vline,
        88  'MAX DATE',                100 sy-vline,
        101  'MAX KM' ,              113 sy-vline,
        114 'TOTAL MAX-MIN',                126 sy-vline,
        127  'MIN HR',               139 sy-vline,
        140 'MAX HR',                152 sy-vline,
        153 'TOTAL MAX-MIN' ,               167 sy-vline,
        168 'MIN LIT',               180 sy-vline,
        181 'MAX LIT',               193 sy-vline,
        194 'TOTAL LIT',             206 sy-vline,
        207 'FUEL CON',              219 sy-vline,
        220 'KM L',                  232 sy-vline,
        233 'LIT PER KM',            246 sy-vline.
      FORMAT COLOR 3 ON.
      ULINE.
    END-OF-PAGE.
    START-OF-SELECTION.
    select a~equnr d~eqktx f~eqfnr e~idate e~recdu e~recdv
    into corresponding fields of table i_data
    from equi AS a
    inner join equz as b
    on a~equnr = b~equnr
    inner join iloa as f
    on b~iloan = f~iloan
    inner join imptt as c
    on a~objnr = c~mpobj
    inner join eqkt as d
    on a~equnr = d~equnr
    inner join imrg as e
    on e~point = c~point
    where a~equnr in p_equnr
    and
    e~idate in p_idate and
    e~recdu in ('KM','L','H').
    "e~recdu in p_recdu.
    equi
    *select equnr from equi into table i_equi
    *for all entries in I_DATA
    **where objnr = i_equnr-mpobj.
    *where equnr = i_data-equnr.
    *endselect.
    eqkt
    *select equnr eqktx into table I_eqkt
    *from eqkt
    *FOR ALL ENTRIES IN I_DATA
    *where equnr = i_data-Equnr.
    *endselect.
    iloa
    *select eqfnr into table I_iloa
    *from equz
    *FOR ALL ENTRIES IN I_DATA
    *on equziloan = iloailoan
    *where iloan = i_data-iloan .
    *endselect.
    imrg
    *select idate recdv recdu into table I_imrg
    *from imrg
    *FOR ALL ENTRIES IN I_DATA
    *where imrg~objnr = i_date-mpobj.
    *endselect.
    loop  at i_data into wa_data.
    CLEAR: wa_final.
      READ TABLE i_final into wa_final
               with key equnr = wa_data-equnr.
        if sy-subrc EQ 0.
         PERFORM prepare_get_equi.
         PERFORM prepare_get_eqkt.
         PERFORM prepare_get_iloa.
         PERFORM prepare_get_imptt.
         PERFORM prepare_get_imrg.
          PERFORM prepare_final_rec USING'M'. " Modify Existing Record
          ElSE.
          PERFORM prepare_final_rec USING'A'. " Append New Record.
        ENDIF.
        ENDLOOP.
        LOOP AT i_final into wa_final.
          SORT i_final by equnr  descending.
        at new equnr.
        read table i_final into wa_final index sy-tabix.
    WRITE:/1 sy-vline,
    2  wa_final-equnr                                                 , 10 sy-vline,
    11 wa_final-eqktx                                                 , 40 sy-vline,
    41 wa_final-eqfnr                                                 , 60 sy-vline,
    61 wa_final-min_date                                              , 74 sy-vline,
    75 wa_final-min_km EXPONENT 0 DECIMALS 2   LEFT-JUSTIFIED           , 87 sy-vline,
    88 wa_final-max_date EXPONENT 0 DECIMALS 2   LEFT-JUSTIFIED         , 100 sy-vline,
    101 wa_final-max_km EXPONENT 0 DECIMALS 2   LEFT-JUSTIFIED          , 113 sy-vline,
    114 wa_final-t_max_min_km EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED    , 126 sy-vline COLOR 2,
    127 wa_final-min_hr EXPONENT 0 DECIMALS 2   LEFT-JUSTIFIED          , 139 sy-vline,
    140 wa_final-max_hr EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED          , 152 sy-vline,
    168 wa_final-min_lit EXPONENT 0 DECIMALS 2  LEFT-JUSTIFIED         , 180 sy-vline,
    181 wa_final-max_lit EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED         , 193 sy-vline,
    194 wa_final-t_max_min_lit EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED   , 206 sy-vline COLOR 2.
    *168 wa_final-min_lit EXPONENT 0 DECIMALS 2  LEFT-JUSTIFIED         , 180 sy-vline,
    *194 wa_final-t_max_min_lit EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED   , 206 sy-vline COLOR 2,
    *207 wa_final-fuel_con EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED        , 219 sy-vline,
    *220 wa_final-km_l EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED            , 232 sy-vline,
    *233 wa_final-lit_per_hr EXPONENT 0 DECIMALS 2 LEFT-JUSTIFIED      , 246 sy-vline.
    uline.
    uline .
    endloop.
    FORM prepare_final_rec  USING    p_mode TYPE char1.
    select MAX( eidate ) Min( eidate ) MAX( erecdv ) MIN( erecdv )
    into  corresponding fields of (wa_final-max_date,wa_final-min_date, wa_final-max_km , wa_final-min_km)
    from equi AS a
    inner join equz as b
    on aequnr = bequnr
    inner join iloa as f
    on biloan = filoan
    inner join imptt as c
    on aobjnr = cmpobj
    inner join eqkt as d
    on aequnr = dequnr
    inner join imrg as e
    on epoint = cpoint
    where a~equnr in p_equnr
    and
    e~idate in p_idate and
    e~recdu =  'KM' .
    "group by aequnr deqktx feqfnr eidate erecdu erecdv.
    "endselect.
    select MAX( eidate ) Min( eidate ) MAX( erecdv ) MIN( erecdv )
    into corresponding fields of (wa_final-max_date, wa_final-min_date, wa_final-max_hr, wa_final-min_hr)
    from equi AS a
    inner join equz as b
    on aequnr = bequnr
    inner join iloa as f
    on biloan = filoan
    inner join imptt as c
    on aobjnr = cmpobj
    inner join eqkt as d
    on aequnr = dequnr
    inner join imrg as e
    on epoint = cpoint
    where a~equnr in p_equnr
    and
    e~idate in p_idate and
    e~recdu =  'H'.
    "group by aequnr deqktx feqfnr eidate erecdu erecdv.
    "endselect.
    select MAX( eidate ) Min( eidate ) MAX( erecdv ) MIN( erecdv ) SUM( e~recdv )
    into (wa_final-max_date,wa_final-min_date, wa_final-max_lit, wa_final-min_lit ,  wa_final-t_max_min_lit )
    from equi AS a
    inner join equz as b
    on aequnr = bequnr
    inner join iloa as f
    on biloan = filoan
    inner join imptt as c
    on aobjnr = cmpobj
    inner join eqkt as d
    on aequnr = dequnr
    inner join imrg as e
    on epoint = cpoint
    where a~equnr in p_equnr
    and
    e~idate in p_idate and
    e~recdu =  'L' .
    "group by aequnr deqktx feqfnr eidate erecdu erecdv.
    "endselect.
             wa_final-t_max_min_km   = ( wa_final-max_km - wa_final-min_km ).
             wa_final-t_max_min_hr  =  ( wa_final-max_hr - wa_final-min_hr ).
             "wa_final-t_max_min_lit   = ( wa_final-max_lit - wa_final-min_lit ).
            wa_final-fuel_con =
            fuel_con        type p decimals 2,     "  Total_hrs / t_max_min_hr
            km_l            type p decimals 2,     "  km / L
            lit_per_hr      type i           ,     "  fuel comsumed / t_max_min_hr
      IF p_mode = 'A'.
        wa_final-equnr = wa_data-equnr.
        wa_final-eqktx = wa_data-eqktx.
        wa_final-eqfnr = wa_data-eqfnr.
        APPEND wa_final TO i_final.
      ELSE.
        MODIFY i_final FROM wa_final
          TRANSPORTING
              max_date
              min_date
              max_km
              min_km
              max_hr
              min_hr
              max_lit
              min_lit
              t_max_min_km
              t_max_min_hr
              where equnr = wa_data-equnr.
      ENDIF.
    "endselect.
    ENDFORM.                    " PREPARE_FINAL_REC

    Hi,
      I don't think so that there is such report which will give you operation wise consumption but you can make that fuel consumption as a activity type in ur standard value key and make some std value to put it in the routing, then if you go for operation wise confirmation then in that screen you will be able to put the consumption details in it.
    you can take a report of that also in COOIS.
    order wise consumption you can get from order report itself
    reward poits if you find it useful.

  • Material consumption by Equip during outside repair process

    Hi All,
    if I send one equipment for repair outside(eg. Telephone), first time during repair process he replaced Wire, next time
    after few month suppose he replaced Keypad. the both materials he(third party) changed are not maintained in our material
    master. At the end of the year suppose I wish to know which r the repair processes happened for this equipment
    (ie. Telephone) & which r the materials changed/consumed by this equipment during this year.
    How could I come to know these details?
    plz revert with your suggestions.
    Regards,
    Amol.

    Hi YK,
    plz let us know that, is it possible to get outside material consumption details without maintaining those materials in our master?
    Amol.
    Thik...Thikkkkkkkkkkk....
    Hi Gurus,
    Plz put ur suggestions on this post...
    Regards,
    Amol.
    Edited by: PMAmol on Apr 20, 2010 8:21 AM

Maybe you are looking for

  • Question in Struts internaitonalization application

    Hi ,everybody. I created a Tomcat project with Struts 1.2.6 architecture,I applied the characteristic of Struts,the web.xml is listed as following: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD W

  • I can't send Pages documents over Skype

    I try to send a Pages document over Skype, but it says words to the effect "Only regular data files can be sent". I tried to zip it using the contextual menu create archive command, all I got was a beep. My wife swears that she can't even send them a

  • Wi-FI -  Not working - no networks appearing

    Hi I have a big issue here with my iphone 3g 3.0.1 basically no networks are being recognized by the Wi-Fi. tried at home, at the office, at the starsucks with no luck. My friend has the exact same device, and we verified in the same place with the s

  • HT1918 My account not accepting the credit cards and tell me to contact iTunes support

    Kindly assist me please

  • ICal Dock Icon Sync

    My iCal icon in my dock reads APR 26 (yesterday) yet, when I open the application the same dock icon switches to APR 27 (today). However, when I close the iCal application the dock icon reverts back to APR 26 (yesterday). To help matters, my iCal tim