Need budgeting period wise

Is it possible to maintain budget in controlling (KO22) period wise instead of year wise.

You have the right idea for the issues/receipts, but the KEEP function will get you your opening/closing quantities.
SQL> SELECT item_id,
  2         period,
  3         MIN(qty) KEEP (DENSE_RANK FIRST ORDER BY trans_id) AS opening_qty,
  4         SUM(CASE WHEN qty_delta>0 THEN qty_delta END) AS receipts,
  5         SUM(CASE WHEN qty_delta<0 THEN qty_delta END) AS issues,
  6         MAX(qty) KEEP (DENSE_RANK LAST ORDER BY trans_id) AS closing_qty
  7    FROM (
  8  SELECT trans_id,
  9         item_id,
10         trunc(trans_date,'mm') AS period,
11         qty,
12         qty-LAG(qty) OVER (PARTITION BY item_id ORDER BY trans_id) AS qty_delta
13    FROM inv_track
14         )
15   GROUP BY
16         item_id,
17         period
18  /
ITEM_ID    PERIOD    OPENING_QTY   RECEIPTS     ISSUES CLOSING_QTY
a1         01-OCT-05         100          5        -15          90
a2         01-OCT-05         100        110        -10         200
a3         01-OCT-05        2500       1400      -2400        1500
SQL>

Similar Messages

  • Internal Order Period-wise Budgeting

    Dear Experts,
             I had search with all dimension regarding Internal Order Period-wise Budgeting. But I didn't get any proper information.
    Can anyone pls let me know how to do Internal Order Period-wise Budgeting.
    Thanks in advance,
    Regards,
    Balaji Bhonsle

    Hello Balaji,
    I don't think the option of budgeting period wise is available if you consider a period to be a month. However, you can have yearly budgets. This is monitored by the budget profiles that are configured in SPRO and attached to order types. However, in Planning (transaction KPF6) you can always plan monthly values but there would not be an availability control.
    The reason might be that internal orders are event based cost objects and a month might be too short period to assess and therefore the option is provided anually. Whereas the performance monitoring can happen with help of planning the budgeting should be done only when availablity control is required.
    Kind Regards // Shaubhik

  • Budget tolerence period wise.

    Dear all,
    While distributing the budget to project quarter wise tolerence from the total available budget for the respective position ID of investment program. How we can achieve this? PLease suggest.
    Regards
    Narendranath reddy

    Hi,
    Not available period wise.
    Tolerance Limits is working on % on the basis of Activity Groups e.g 00-PR,01-PO till 09-payrol.
    Muzamil

  • Report Painter GRR1 table CCSS cost centers actual/bud by period wise

    Hi,
    I have developed Cost Center Actual/Budget Report by period for 12 months (Jan to Dec in columns) in each columan I have hardcoded period e.g. for Jan (01) Feb (02) till Dec (12-12) for one of coulmns given as variable From Period to To Period as vairbale to choose user in selection criteria (1PERIV-1PERIB). while executivng the report system is givng results for whole (12)periods in the output, even my selection criteria from period 1 to 3.
    Please advise any body how can I restrict by period wise.. e.g. if I select from period 1-3 it should show for only 3perios.
    Thanks in advance!!
    VS Rao

    Hi Kumar,
    I have done below steps to my CC Report to show by period wise(individual columns Jan, Feb, so..on) cost center report:
    Step 1: used Library 1VK, Table CCSS in GRR1.
    Step 2: Created 12 individuals columns starting from Jan to Dec..
    Step 3: Created 12 formula variables(internal Variables) for 12 periods..(becoz if I hardcoded system is deriving all the  
                 periods)..
               a) created Internal value Variable ZVAR(defaualt 01),ZAR1(default 02),ZAR2 (default 03)...this is for to create fomula
                   variables.
               b) for period 1(jan) formula variable  "IF '&ZVAR'>= 1 THEN 1 ELSE 017" internal variable table:CCSS,field:PERBL
               c) for period 2(feb) IF '&ZVA1'>= 2 THEN 2 ELSE 017 like wise created 12 variables for 12 periods
    Step 4: above the formula variables I have selected check box as variable but not coming on selection screen, I need in
                selection screen from period to period for this I have created one more hide column and given period vairable "1PERIK"
               now its coming on the selection screen but values are not populating based on by selection criteria..
    Note: If I slect 1-4 periods it should show for only Jan,Feb, Mar & April  and individually..
    Please sugget above my formula is correct or not!!  appreciate your valuable suggesion!
    Thanks
    VS Rao

  • Consignment opening and closing Stock Period wise details

    My requirement to get the opening and closing stock of particular customer with particular
    material period wise. If there is no transaction for a period  for particular customer
    and particular material , ( which table store the entry without transaction for that particular customer
    and particular material ) then how to get the openning and closing of that customer
    for that particular material. I have checked MSKU and MSKUH tables for this, but this is not fulfillg my requirement
    Thanks.

    I need to develop a report based on consignment stock.....
    MSKU AND MSKUH TABLES STORE THE ENTRY OF CUSTOMER AND MATERIAL WITH PERIOD WISE. I want opening and closing stock of customer with particular material for particular period.The
    problem is  if there is no activity of a particular material with  that particular customer for particular period then how to get value . I have to get the value based on selling price thats why not using MB51.....
    Thanks......

  • Period Wise Inventory Opening balance,Receipts ,Issues and Closing Balance

    Hi Guys I need Period Wise Details,but the above query is giving date wise can any one give me a solution plz.
    the Below is the table structure and the select statement that i am working on.
    CREATE TABLE INV_TRACK( TRANS_ID NUMBER,
    ITEM_ID VARCHAR2(10), QTY NUMBER,
    COST NUMBER, TRANS_TYPE VARCHAR2(2 ),
    TRANS_DATE DATE )
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 1, 'a1', 100, 50, 'r', TO_DATE( '10/01/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 2, 'a1', 105, 50, 'r', TO_DATE( '10/01/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 3, 'a2', 100, 100, 'r', TO_DATE( '10/01/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 4, 'a1', 90, 50, 'i', TO_DATE( '10/02/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 5, 'a2', 90, 100, 'i', TO_DATE( '10/02/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 6, 'a2', 200, 100, 'r', TO_DATE( '10/02/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 7, 'a3', 2500, 10, 'r', TO_DATE( '10/03/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 8, 'a3', 100, 10, 'r', TO_DATE( '10/03/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    INSERT INTO INV_TRACK ( TRANS_ID, ITEM_ID, QTY, COST, TRANS_TYPE,
    TRANS_DATE ) VALUES ( 9, 'a3', 1500, 10, 'i', TO_DATE( '10/03/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'))
    SELECT *
    FROM(SELECT TRANS_ID,item_id,trans_type,trans_date,
    lag(qty)
    over(PARTITION BY item_id ORDER BY trans_id ASC) "Opening Balance",
         DECODE(SIGN(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC)),1,(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC))) "Receipts",
         ABS(DECODE(SIGN(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC)),-1,(qty-lag(qty)over(PARTITION BY item_id ORDER BY trans_id ASC)))) "issues",
         qty "Closing Balance"
    FROM inv_track)     
    WHERE trans_date BETWEEN :date1 AND :date2

    You have the right idea for the issues/receipts, but the KEEP function will get you your opening/closing quantities.
    SQL> SELECT item_id,
      2         period,
      3         MIN(qty) KEEP (DENSE_RANK FIRST ORDER BY trans_id) AS opening_qty,
      4         SUM(CASE WHEN qty_delta>0 THEN qty_delta END) AS receipts,
      5         SUM(CASE WHEN qty_delta<0 THEN qty_delta END) AS issues,
      6         MAX(qty) KEEP (DENSE_RANK LAST ORDER BY trans_id) AS closing_qty
      7    FROM (
      8  SELECT trans_id,
      9         item_id,
    10         trunc(trans_date,'mm') AS period,
    11         qty,
    12         qty-LAG(qty) OVER (PARTITION BY item_id ORDER BY trans_id) AS qty_delta
    13    FROM inv_track
    14         )
    15   GROUP BY
    16         item_id,
    17         period
    18  /
    ITEM_ID    PERIOD    OPENING_QTY   RECEIPTS     ISSUES CLOSING_QTY
    a1         01-OCT-05         100          5        -15          90
    a2         01-OCT-05         100        110        -10         200
    a3         01-OCT-05        2500       1400      -2400        1500
    SQL>

  • How to derive Budget Period from Delivery date in PR/PO

    Hello Gurus,
    I have activated the Budget Period functionality in FM (BCS). I am deriving the budget period from Posting date but in case of PR/PO I want to derive it from Delivery date instead of Document/Posting Date.I know it is not possible while standard derivation. Could any one help me with some suggestion like if I can use some exit/BaDI in MM. Also I am creating a PM order and at the time of release of PM order system creates the PR in background hence I need to know some kind of exit/BADI which can be called to update the Budget Period field in PR.
    Thanks in Advance!
    Regards
    Rohit Goel

    Hello Eli,
    I have one more query to ask on the above scenario.
    The scenario is my delivery date in PO is say July but I did good issue in May hence the Budget Period should be May and not july in my GR and IV.
    Now when I am doing GR in May then system is showing the Budget Period as July in GR document but in FM Document it is populating as May. I have defined a derivation strategy to derive budget period from posting date so may be because of that.
    But when I am doing IV then it is again moving the amount from May to July. It may be right behaviour that system is deriving all the account assignment from Source document but is there any way to overwrite.
    I have defined the derivation strategy with the condition that overwrite with new value if already written (Deriving from Posting Date to Budget Period).
    Please guide me on this if possible.
    Thanks in Advance
    Regards
    Rohit

  • Period wise Quantity Distribution at Activity Level

    Dear All,
    As we know that period wise quantity distribution is possible but can it be editable & can we adjust the quantities manually?

    Hi DHRUV,
    The table of CJ20N is not a ALV table, which allow you hide or dispay the selecte column.
    So if you would like an additional one, you need enhance the codes. But actually the column price is avialble in tab ' purchase'.
    The sequence of the column can be changed and save, to do it please use the icon 'configuration' at the right corner of the table.
    Kind regards,
    Zhenbo

  • Sales report period wise

    Hi
    Is there any report in SAP to know the customer wise Sales Organisation wise sales order peport.
    we need to konw customer wise sales orders report period wise. how many salea orders we booked for the customer wise.
    EX: Customer No | Customer Name| Sales document type |Total Sales order(Total of sales orders).
    Plase let me know any report available for this kind of information.
    Thanks
    Rao

    Hi..
    If you have SIS Configured you can use below STD SD Reports
    Standard SAP SD Reports
    Reports in Sales and Distribution modules (LIS-SIS):
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC
    Customer Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    Blocked orders - V.14
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22           
    Regds
    MM

  • Period wise report - FAGLB03

    Dear Experts,
    We need period wise report for this transaction code (FAGLB03).
    Is there any possibility.
    Thanks
    Balu

    Hi,
    In addition to the above suggestion , you can copy standard program and create zprogram by adding period filter in program and selection screen as required.
    Regards
    Milind Sonalkar

  • Budget period in table FMBDT

    Dear all,
    We use BCS in Fund management. When I create budget in Tcode FMBBC, I see Budget period.
    But I don't see field Budget period in data table FMBDT or any table for Budget.
    I don't know why. Please explain for me
    Thanks

    Hi Eli,
    I got it. I misunderstand between Budget in FMBBC and Budget period
    I need field period in table FMBDT to create Query report. This report only display budget for one period that user choose at parameter selection when executing report
    So can I use Budget period for this purpose? The same report FMEDDW
    Regards

  • FAGL Table to fetch closing balances period wise

    Dear Experts,
    I want to fetch GL Closing balances period wise.  I have checked GLT0, where no entry is recorded.
    Further i have checked FAGLFLEXT, which does not support period wise closing balances.
    I require GL closing balance, period wise, as shown in FS10N in FI.
    My requirement is to display period wise closing balance,  on GL,  in the report.
    Please suggest and advise.
    Thanks in advance......Alok

    Hi,
    Debug the program RFGLBALANCE , the code and the logic used is easily understandable

  • Period wise stock report

    Hi,
    I want period wise Stock Report like MB52.
    I want Report Like these
    In these report i want Urestrected Stock,Transist Stock,Blocked Stock,Return Stock with Values.
    If any standard T code is there in sap plz give me

    Hi,
    As per your requirement :
    It is better to go for a z-report. Ask your ABAPER to create the same as per your requirement.
    Otherwise you can fulfill your requirement with the help of several tcodes like MB52, MC.9, MB5B, MMBE etc.
    Hope this will resolve your issue.
    T & R,
    Brijesh

  • Period wise project stock valuation

    hi all,
    is there any function module or any possibility to calculate the project stock valuation period wise? Please let me know if possible.Thanks in advance.

    Hi Jaya ,
    Provided Material Ledger is active in the Valuation Area , you can get your Stock valuation Periodwise
    in transaction CKM3,but with single selection of  WBS/Sales Order for Special Stocks .
    I am not sure in that area to give you a step by step process of how to activate the material Ledger
    or its consequences and impacts on costing. May be you can approach some consultants in your
    company who are  well versed with this functionality  and check if it serves your purpose.
    regards
    Kish

  • Period Wise PR Changes report

    Hi experts,
    We want to have a period wise PR Changes Report, how can we get it.
    Please help.
    Regards
    Ishu

    Hi,
    Use report ME5A  with
    Dynamic selection (Shift +F4)  --> choose field -->Changed on --> with select ranges there you can give from date to To date.
    SAM

Maybe you are looking for