Capturing "Actual Amounts" from previous years

Hi Experts,
We had earlier developed a report to produce a list of projects which can be changed from status TECO to CLSD. If the project cannot be closed then the corresponding reason for failure should be displayed.
Now the problem is that there were some direct costs which were booked under certain WBS elements. These elements were created in the previous year & haven't been settled in that year. Our present program isn't able to capture & display these costs in the current year. We have based our logic up on a join of table COBK with tables COEP, PROJ & PRPS. We are referring to the SAP standard TCODE s_alr_87013533 which is able to find the unsettled dollars (Actual amount) even from previous years. Anyone please help advise as to how we can even capture the actual amounts from previous years.
Regards,
Uday
Our inner join statement is as shown below:
SELECT coep~objnr coep~wogbtr coep~megbtr coep~wrttp coep~kstar
         coep~owaer coep~vrgng coep~sgtxt coep~ebeln coep~ebelp
         coep~objnr_n1 coep~belnr coep~gjahr coep~perio
         cobk~blart cobk~refbn cobk~refbk cobk~refgj
    INTO CORRESPONDING FIELDS OF TABLE tb_actual
    FROM coep INNER JOIN cobk ON cobk~kokrs = coep~kokrs AND
                                 cobk~belnr = coep~belnr
              INNER JOIN prps ON coep~objnr = prps~objnr
              INNER JOIN proj ON proj~pspnr = prps~psphi
    WHERE proj~pspnr  = wa_proj-pspnr   "project definition
      AND prps~pspnr  = wa_prps-pspnr   "WBS element
  AND prps~belkz =  c_x             "Account assignment
  AND coep~wogbtr <> 0              "amount
  AND coep~lednr = c_00             "Ledger (needed to hit index)
  AND coep~wrttp IN (c_04, c_11)    "actual value type - real & stat
  AND coep~beknz IN r_beknz.        "D/C Ind <> Settlement

based on the data provided -
I-001688               
Cost line                       7143.28          71710000
Cost line                     42874.74          73120000
Cost line                     22752.77          73120000
TOTAL COST     72770.79          
Settlement line     65627.51          81650000
Settlement line     7143.28          81650000
TOTAL SETL     72770.79          
you should be able to set CLSD to this project as there is no unsettled value in the project
CJI3 report confirms that there is no outstanding settlement and hence project can be set to CLSD. This report shows all the line items against project
The report S_ALR_87013533 shows the actual cost incurred in the project, but not settlement. This does not mean that the project is unsettled.
see another report (project cost element report) - that might help you S_ALR_87013542

Similar Messages

  • How to use budget amount from previous years

    Dear Values Consultant
    How to use budget amount from previous years
    I create budget for 2007 and I use it .in 2008 I create new budget with new amount for account, but still there are amount from 2007-I want to use or transfer it to 2008,
    How to do this? Please give me details step to implement to this feature
    Thanks for caring

    Hi,
    There are two ways to do it:
    1. Define the account range in your Budget Organization and in the Budgetary Control region, out the Amount Type as "PJTD" and Boundary as "Project". This method is useful when you have project as a segment in your chart of accounts and the Budgets are defined for the full project.
    2. The Other way is to carry forward your funds available from last year. Go to Journals -> Generate -> Carry Forward and carry forward the balance for a certain range of account from one financial year to the next one.
    Gajendra

  • Pcr To Get The Wage Type Value From Previous Years Master Data Records

    Hi
    I have an issue related to pcr.  I want to get the value of a wage type from previous year and it has to be added to another wage type.  Tried to write pcr by using the operation TABLE.  But i am not able to get the previous years data.  Request to help in writing the PCR for the issue.
    Thanks
    EKP Yadav

    1 - Create an "Information WT" that will be saved into RT but that has no impact on net pay.
    2 - Create a PCR that will be activated on the last pay of the year to read the WT you want and transfer it's information into your Information WT.
    3 - Create a PCR that will read the last payroll results (activated with function PLRT) and transfer into the Input Table (IT) the Information WT.

  • Internal Order Settlment Error: First settle items from previous year in

    Dear Gurus,
    I tried to work out a solution to settle AUC to G/L expense account through internal order. I tested in QA system it works well. But in PRD, it gave me an error message "First settle items from previous year in the previous year".
    The process is the following: IO-> AUC-> FXA or G/L. Becaue user has done some expense transaction wrongly to the AUC so he wants to post the balances in AUC to GL  expense account.
    I have set the final settlement to GL as optional and config some pop up message as warning message and implement a sap notes to fulfill this request.
    I guess my problem is:
    I tested in QA in senario the IO was created in 2009 and I tried to settle it to a GL in 2010. So it shows no problem. However in PRD the IO was created in 2008 and the final settlement year is 2010 or 2011 so it shows the error which was not shown in QA.
    The error message only shows "First settle items from previous year in the previous year".  No more detail to me.
    Have you ever run into this problem before? Please help to throw some lights on it.
    Emma

    Hi,
    Thanks.  I am considering to updated the AW624 according to the notes.
    The detailed message is:
    Message Text
    First settle items from the previous year in the previous year.
    Technical data
    Message type _____________ E (Error)
    Message Class ______________AW (AuC message)
    Message number ______________624
    Message variable 1 __________2009
    Message variable 2 __________2003359632
    Message variable 3 _001
    Message variable _______
    Message Attributes
    Level of detail____  2(Level of detail 2)
    Problem class_______
    Sort criterion____
    Number________1
    Environ.information
    Item___________ 001

  • Storing W2 spoolfile  from  previous year

    Hi  ,
    How  your company keep   the W2  spool  from  previous year ?
    Thanks in advance

    Spool files can either be stored within the database (table TST03) or at application server. Please look at profile parameter 'rspo/store_location'  in your system to see where it's set ('db' - stored in dbase, 'G' - stored in app server).
    I would think this would be just disk space issue if any (whether spools are store in db or appl server), and don't see why it affects memory resource. 
    However, as I mentioned earlier, could you re-produce W-2 for ee within PU19 instead of having to go back to old spool file ?
    Rgds.

  • In report painter GRR3 1VK  Actual Value picked up from previous year

    Dear Experts,
    In report painter GRR3 > 1VK
    1. Column of Actual Quantity to take in Basic Key Figure from Statistical Quantity
    2. The value is 4 (Actual) and Version is 0
    I found that the Actual value appeared are actually taken from the previous fiscal year. I have checked the line items and their document posting date it shown as last fiscal year.
    In this case, where should I amend to have the report pick up only actual value of this fiscal year? or Is there any value to maintain for GRR3 to pickup the current fiscal year actual posting?
    Thank you very much and Best Regards,
    Anne

    hi..
      Goto GRR3 > click on Lib 1VK it will show you all the report in 1VK library > select your report & double click on it
      It will display the report format. Then go to Edit at the top. you will find General data selection.click on it you will find available characteristics. Then goto GRR2 for making any change/selection for Fiscal year char
      If your report is a standard one you can not change. then copy the report from GRR1 and make the changes.
      You can also see the char in GR23 by selecting 1VK lib.
    kkumar
    Edited by: kkbdsp on Mar 11, 2011 9:21 AM

  • Catch up depreciation from previous year

    Hi all,
    I am using an asset from 1st July 2008. But we have posted the first APC in month of March 2009 using transaction (CJ88) with Asset value date as 1st Feb 2009. As a result the capitalisation date in Asset master shows 1st Feb 2009.
    (APC amount 3337.15, Straight line dep for 10 yrs).
    (Note: I have mentioned 1st Nov 2008 as ordinary dep start date against Ordinary depreciation area).
    Now when depreciation is run for March 2009, I could see catch up depreciation for month February and March depreciation i.e., (27.8+27.8) = 55.16
    But I need to post in March 2009, catch up for 8 months (july 08 to feb 09) and march month's dep.
    When i tried to change Asset value date to 1st July 08 for other assets while posting CJ88, system doesnot allow me as its in previous year 2008. It permits me to enter saome date in 2009 only.
    Currently I am using unplanned ordinary dep.
    Could anyone please help me by suggesting any method so that I need not run ordinary depreciation everytime and decrease my workload.
    Thanks,
    DSK

    Hi,
    prior year depreciation is not automatically caught up by the depreciation run. If you need to catch up prior year values, then indeed you have to post unplanned depreciation.
    Of course it would be best to capitalize the asset at the moment of readiness and not to wait a couple of months.
    Regards,
    Markus

  • How can i subtract budget and actuals amount from gl_balances in discoverer

    I have a problem with a discoverer report.
    The table is GL_BALANCES (Financials), and i tried to subtract data of current year and last year, same month, or data from actuals and budgets amounts.
    Data from actuals have the "A" code in the ACTUAL_FLAG field, and budgets amounts have a "B" code. I construct a cross-tab report with ACTUAL_FLAG field in the "X" axis and the accounts segments in the "Y" axis (From GL_CODE_COMBINATIONS). The problem is: How can i substract budget and actuals amounts? Is the same field but differents columns in report.
    I cannot use analytics function because the version of database does not support that .
    Somebody told me: "...You need to construct a custom folder to handle this..."
    I don't want to finish the reports in Excel...
    Thanks.

    Hi Miguel
    You can either create a database view or custom folder to do this using aliases for the two joins to the same table.
    For example, you need something like this in the body of the SQL:
    select
    act.code_combination_id,
    nvl(act.period_net_dr,0) actual_net,
    nvl(bgt.period_net_dt,0) budget_net,
    nvl(bgt.period_net_dt,0) - nvl(act.period_net_dr,0) diff,
    act.period_name
    from
    gl_balances act,
    gl_balances bgt
    where
    act.set_of_books_id = bgt.set_of_books_id and
    act.code_combination_id = bgt.code_combination_id and
    act.period_name = bgt.period_name
    Of course you will still need to add your own joins to get the code combinations but I trust you get the gist.
    Hope this helps
    Regards
    Michael

  • Problem with the text from previous year in current year appraisal (PPR)

    Hi Gurus,
    I have some problem with the text from the PPR of the previous year in the PPR current year.
    The text from the previous year have not the same displaying in the tab "previous year" of  the current year PPR.
    EXAMPLE :
    this is write in the PPR of year 2009 in Individual Targets without Incentives (tab My S-imple) :
    -Aufrechterhaltung der MA motivation, in dieser Zeit der Neuorientierung.
    -G1 Unterstüzung
    -Fachübergreifende Teamarbeit ausbauen
    Gefährdungsbeurteilung weiter führen
    -tragen von PSA einfordern
    -VI Opt.(Intervalle)
    -Azubi und Praktikanten AUsbildung unterstüzen
    and this is what I have in the PPR of 2010 in Individual Targets without Incentives (tab Previous Year's Targets):
    -Aufrechterhaltung der MA motivation, in dieser Zeit der-Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    there is the error, all the end of the text isn't displayed and the begin of the text is repeated.
    I think that this issue is created at the creation of the PPR.
    If someone have a idea he is welcom.
    thanks and regards

    Hi,
    Please follow the note:425601,
    Go to Tcode: OBA5 change the error messge into warning message. carry out the settlement and roll abck the warning message into the error message after sucessfull settlement.
    Reward points if found useful.
    Thanks!

  • Need help with sum from previous years

    Hi All,
    In a report i have 4 fields. The first field shows the YTD invoice totals for the current FY 2010 (which i accomplished). The other 3 fields are :
    2nd field Sum of the value of invoices for the FY 1YEAR prior to the current year
    3rd field Sum of the value of invoices for the FY 2YEAR's prior to the current year.
    4th field Sum of the value of invoices for the FY 3YEAR's prior to the current year.
    How can i get the desired results for the second,third and the fourth fields, please need help or advice.
    Thanks

    Hi
    If you have the values for several years in the same report you should be able to do what you want using the analytic LEAD and LAG.
    LAG will retrieve values from previous rows whereas LEAD will retrieve values from following rows.
    The basic syntax is the same and look like this:
    LAG(value, offset) OVER ({optional_partition_clause} ORDER BY mandatory_order_clause)
    The ORDER BY clause is mandatory and cannot be omitted. However, this ORDER BY has nothing to do with the sort order you manually create in the worksheet. Generally, most people will set their sort order the same as the ORDER BY in the calculation.
    Here's an example that gets year to date from 2 financial years ago:
    LAG(YTD,2) OVER (ORDER BY FY)
    You have to understand that Discoverer will pull values from previous rows not from previous cells as displayed on the report, although if the cells may happen to be rows too then it will appear as though it is pulling previous cells. I personally am very experienced with analytuc functions and can make manipulate data within Discoverer just about any way that I want. Generally, if I can see data on the screen even when they are in different cells or rows I can create functions to manipulate it. This capability only comes about as a result of experience and I would strongly advise you to practice with the analytics and see if you can at least master some of them. You'll find your Discoverer capabilities will improve dramatically and you will become a great asset at work.
    When working with a new report I generally duplicate the report as a table so that I can see the values. Then if I need to sort the items in order to line up the values I want to work with I do so. Having worked out what sort order I need I can then see what offset I use then I create the analytic and use it in the main worksheet.
    Hope this helps
    Best wishes
    Michael

  • Opening Balance from Previous Year Closing Balances

    HiWe are trying to create multiple year budgets for balances sheets which rely on previous year info for opening balances.Our time dimension has months and year to date as the low level.e.g. TOTAL_YTD Jan_YTDYears are in dimenison scenario.

    Please ignore posted before complete

  • Carry forward leave from previous year to next year

    Dear all,
    Can any body provide information as to how to carryforward leaves from one year to another.
    Ex: An employee has 250 days Earned leave to his credit as on 31.12.2007. On 01.01.2008 another 30 days has to be added to it. how do we go about doing the same.
    Help would be appreciated.
    Thanks in advance
    Raghu C

    hI,
    configure the leave quota in table V_T559L
    Then
    check lvdef feature for defaulting giving year
    REWARD POINTS

  • Previous Month From Previous Year

    I have a report that needs to return results from a chosen months and the results from te prior two months. I have things working fine if the months are in the same year. An example:
    I want to get the hour that certain employees in a certain department have worked in a given month for a certain client. Along with that month I choose, I also want to provide the results from the prior two months for comparison. The report itself takes
    three parameters: calendar year (in the form of Calendar Year 2012, Calendar Year 2011, etc.), selected month (January 2012, December 2011, etc.), and department (Accounting, Finance, etc.).
    The values for selected month that are available are determined by what is chosen for Calendar Year. So if I choose Calendar Year 2012, the list of available values populated in the parameter for Selected Month would be January 2012 through December 2012.
    For the report, if I choose Calendar Year 2013 and choose June 2013 as the month, I get results for June, May, and April - which is fine. See the attached screen shot:
    But let's say I choose January 2013, I'm only shown January 2013 and not December 2012 and November 2012.
    Part of this is I know because I'm choosing the calendar year and then constraining to it. Here's the actual MDX:
    SELECT
    NON EMPTY
    [Measures].[Employee Hours],
    [Measures].[Client % of Employee]
    } ON COLUMNS
    ,NON EMPTY
    [Department].[Department].[Department].ALLMEMBERS*
    EXCEPT([Project].[Client].[Client].ALLMEMBERS, {([Project].[Client].[])})*
    [Employee].[Employee Full Name].[Employee Full Name].ALLMEMBERS*
    [Time].[Year - Month].[Month].ALLMEMBERS
    DIMENSION PROPERTIES
    MEMBER_CAPTION
    ,MEMBER_UNIQUE_NAME
    ON ROWS
    FROM
    SELECT
    {StrToMember(@SelectedMonth,CONSTRAINED).Lag(2) : StrToMember(@SelectedMonth,CONSTRAINED) } ON COLUMNS
    FROM
    SELECT
    StrToSet
    (@CalendarYear
    ,CONSTRAINED
    ) ON COLUMNS
    FROM
    SELECT
    StrToSet
    (@Departments
    ,CONSTRAINED
    ) ON COLUMNS
    FROM [OLSON BI]
    CELL PROPERTIES
    VALUE
    ,BACK_COLOR
    ,FORE_COLOR
    ,FORMATTED_VALUE
    ,FORMAT_STRING
    ,FONT_NAME
    ,FONT_SIZE
    ,FONT_FLAGS;
    I'm thinking to accomplish what I need, I need to forego choosing the calendar year and just choose the Selected Month, but not sure how to rework the MDX to accomplish that.
    Any help or insight would be greatly appreciated!
    A. M. Robinson

    I was actually able to solve my own problem...
    Below is the final MDX I came up with:
    SELECT
    NON EMPTY
    [Measures].[Employee Hours],
    [Measures].[Employee % of Client]
    } ON COLUMNS
    ,NON EMPTY
    [Department].[Department].[Department].ALLMEMBERS*
    EXCEPT([Project].[Client].[Client].ALLMEMBERS, {([Project].[Client].[])})*
    [Employee].[Employee Full Name].[Employee Full Name].ALLMEMBERS*
    [Time].[Year - Month].[Month].ALLMEMBERS
    DIMENSION PROPERTIES
    MEMBER_CAPTION
    ,MEMBER_UNIQUE_NAME
    ON ROWS
    FROM
    SELECT
    {StrToMember(@SelectedMonth,CONSTRAINED).Lag(2) : StrToMember(@SelectedMonth,CONSTRAINED) } ON COLUMNS
    FROM
    -- SELECT
    -- StrToSet
    -- (@CalendarYear
    -- ,CONSTRAINED
    -- ) ON COLUMNS
    -- FROM
    SELECT
    StrToMember
    (@Departments
    -- ,CONSTRAINED
    ) ON COLUMNS
    FROM [OLSON BI]
    CELL PROPERTIES
    VALUE
    ,BACK_COLOR
    ,FORE_COLOR
    ,FORMATTED_VALUE
    ,FORMAT_STRING
    ,FONT_NAME
    ,FONT_SIZE
    ,FONT_FLAGS;
    The CONSTRAINED error was due to the fact that in the query, the Departments parameter was set up to allow multiple values but had the CONSTRAINED key word. Was also using the Calendar Year.
    Everything is good!!
    A. M. Robinson

  • BPS Currency Translation with rate from previous year

    Dear All,
    I am trying to use the BPS currency translation function. However, I would like to use an exchange rate from the previous fiscal year, in order to reveal currency effects.
    I would appreciate any help, hopefully regarding ways to mend the standard function. I am afraid a workaround with the FM CONVERT_TO_LOCAL_CURRENCY would end up in a giant crutch.
    Thank you in advance,
    Lars Biederstedt

    Thank you for your answer, Marc.
    I would definitely like to know more about option 1.
    Option 2, a fixed data, would not work, because data had to be translated monthly, with the exchange rate from exactly one year ago. I was really surprised, that you could not enter a variable as a time reference and use offsets, like you can in queries.
    I ended up using an Exit-Function with the function module convert_to_foreign_currency. Unfortunately you cannot change characteristic values with Exit-Function, so I have to repost after every currency translation.
    Anyway, it works.
    Best regards,
    Lars
    cundus AG

  • SSRS Variance expression problem. Create a Variance expression. Compare current month with same month from previous year.

    Hello,
    I am using VS2010 shell.  I have a matrix report where I have a row group by Year.  Then I have a column group by Month. 
    When I run the report, I get 2013 data on top of 2014 data.  Now I need to create a variance by year for each month.
    So in the example below, I need to create an expression that will pull the variance for Oct 01... subtracting 2013 from 2014 for the months.  So I need to Subtract 8,222 - 4290.  I have no clue.
    Here is what my rdl looks like.
    Thank you for your help. 

    Hi Adrian,
    If I understand correctly, you want to calculate the difference order between 2013 and 2014 for every month. And there are only two years in the FISCAL_YEAR field.
    If in this scenario, we can simply use the following expression to achieve your requirement:
    =first(Fields!ORDER.Value)-last(Fields!ORDER.Value)
    The following screenshot is for your reference:
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Sales orders not replicating to R/3

    Hi Experts,                 I created a sales order in CRM, and then checked for it in R/3(VA03). In R/3 it states the sales order is not present in the database or is being archived. I checked the Bdoc's. The sales order is strucked in Bdoc's. What

  • Trying to install Win 7 on mini HP

    Hi all.. I have mini hp with windows7 starter edition. I wat trying to install windows 7 on it. But i got an error. Now i have formated everything and deleted my recovery drive. I don't have windows 7 starter cd . Can anyone tell me where can i find

  • How do I make an inserted date and/or time automatically update in Pages 5.1?

    In the previous version, there was an option to automatically update date / time when you clicked on the inserted text. This option is no longer there for me, only the ability to change to format of the insertion or to change the date manually. Is th

  • Iweb pages gone after reinstall-but websites OK

    I had to reinstall the OS fresh and it was backed up. However the only thing I lost was the iweb websites in the program. If I log into .mac account, the websites are still there and I can navigate to them on the web. So they are there and working pr

  • Firefox not only crashes, so does my computer.

    The only way to keep my computer from crashing is to keep Adobe Flash Player uninstalled and many sites won't even open if it isn't installed. It does the same thing with IE. This is what I've found out so far; Quote "Flash player is not currently su