Due to shortend fiscal year problem in depre amounts.

Dear All,
Due to shortend fiscal year (apr07-mar08)  we are facing Depre calculation problem.
1)       There are no errors in AFAB & AW01N.  Itu2019s showing   balance 3 (jan07,feb07,mar07)months depre in AFAB u201CTo Postu201D column.
2)  User doesnu2019t want to post the balance 3 months depre and they wants to carry forward for the next financial years continuously. But here the problem is before recalculate assets the difference is only 35 $, but after SAP suggested to Recalculate assets before depre run that is run AFAR then run AFAB they found that the amount is 31000+. Which canu2019t carry forward such a big amount? 
Pls help us to resolve this issue.
Thanks & Regards,
Usha

Since you are on BPC 5.1, I don't believe you can take advantage of multiple hierarchies within the Time Dimension.  So, I would create a report rendering the information you need, with the columns being fixed using properties and EVTIM.  The values for the quarterly and yearly levels would be sums instead of retrievals from the database.

Similar Messages

  • How to configure shortend fiscal year

    Hi friends
        plz tell me configure of shortend fiscal year
    urgent

    Hello Kavitha,
    Background- A shortened fiscal year results when you change from a normal fiscal year to a non-calendar fiscal year, or the other way around. This type of change might be necessary, for instance, if an enterprise becomes part of a new corporate group.
    Features:The R/3 Financial Accounting component fully supports the use of shortened fiscal years. However, there are still some points to consider from the perspective of Asset Accounting when you use a shortened fiscal year.
    Configuration: Define the length of the shortened fiscal year and the distribution of the periods in the shortened fiscal year. (Refer to  Shortened Fiscal Years).
    Determine the rules for reducing depreciation for the individual depreciation types and depreciation areas. This is done in FI-AA Customizing: Valuation->Fiscal Year-> Shortened Fiscal Year).
    If the current fiscal year was changed to a shortened fiscal year, start the program for recalculating depreciation (under Tools).
    Hope I had beena ble to help you. please assign points.
    Rgds
    Manish

  • Shortend Fiscal Year

    Hi All,
    We currently follow Fiscal Year as Calaender year, But Business decided to change it fiscal year to Aril to March from this year, so we had stopped postings in that company code, for changing the calender year to Aril to March.
    Now i had changed the Variant to P3 same  as R1 (Shortend Fical year) and i had transferred all balances and posted an entry.when i  run the FAGLB03 i am getting an Error: Fiscal year Variant P3 is not maintained for calenderyear 2012. Message No:FGV002.
    Please kindly let me know why this error is coming and suggest me to solve this.
    Regards,
    nandu

    Hi Vishnu,
    i had configured K4 and selected check box Year dependent, and given total periods as 3 and 1 special period. and den went to periods created all 12 periods with year change as ZERO ,and then in defining total periods columm
    scree i had given 3 and saved it.
    Please confirm on the above mentioned points in order to over come the same.
    Reagrds,
    Nandu

  • Creation of shortend Fiscal year for the Merger of two Companies.

    Company 'A'is getting Merged with the Company 'B' on 15th February 2010. Company 'A' is suppose to submit all the financial details to the Company 'B' on 15th February 2010, furthermore the users with the Company 'A' should not be allowed to post any transactions after 15th February 2010.(Max they should be given 10 days grace period for closing the financial year)
    The current fiscal year for the Company 'A' is from April to March. However, as per the above mentioned scenario it is required to have fiscal year from April to February.i.e. a shortened fiscal year.
    Please note that Company 'A' is using the version 4.7.
    Steps we have already proceeded with
    1. we created a Shortened fiscal year "Z1"from April to Feb 2010 (Monthly basis) wherein we have taken only 15 days for the month of Feb 2010.
    2. we have created an another Shortened fiscal year(weekly basis) wherein we have taken six weeks as posting period.
    3.We assigned the Fiscal year Variant to the company code.
    4.After assigning when we want to check the details of the assets in the Asset explorer AW01N.the system is reflecting an error "
    SYST: Error when calculating first day in fiscal period   > F1
    Message no. AA654
    Please provide us with the solution for the above mentioned scenario.
    Thanks and Regards,
    Tejprakash Chaurasia.

    Hey,
    I am facing a similar scenario at my client place, thought if i could get insights on how you resolved the issue identified...
    We are yet to configure the shortened fiscal year settings.
    Thanks
    Pradeep

  • Creation of Shortend Fiscal year..

    Dear Frenz,
    I have an issue regarding my shortened fiscal year.. My client is following 2009 as fiscal year for the period Jan 2008 to Dec 2008.
    Now he is closing the books in september and wants to create a shortened fiscal year for oct, nov & Dec..
    My question is the that need i create a new fiscal year variant or should i configure a shortened fiscal year in the existing variant only...
    Regards,
    Shanks...

    Hi,
    Can you please tell me why does he want to close the fiscal yr and have a new fiscal yr variant for remaining 3 periods?
    Assume that he is selling the company to some one else he wanted to continue the same business and he wanted his business to run on SAP, then you will have to creat a new fiscal yr varint which should be "Short end Fiscal Yr" and "Short end Fiscal Yr" should be a yr dependent since he will never use the same kind of Fiscal yr and periods.
    Please let me know if you have any concerns,
    Hope understood and assign points if you get through.
    Thanks,
    Vasu..

  • Planning Fiscal Year Problem

    Hi All,
    Our Fiscal Year starting from Apr(Q1) to Mar(Q4), our forecast is actual+estimated
    i.e., Forecast of YearTotal=Jan->&LastYr + Feb->&LastYr + Mar->&LastYr + Apr + May + Jun + Jul + Aug + Sep + Oct + Nov + Dec of Actual+Estimated
    How to handle the situtaion.
    Thanks in Advance,

    Here you go:
    Rolling Forecast Form Designing (column Duplication in Data form)
    Re: Rolling forecast
    Cheers,
    Alp

  • Fiscal year problem

    hi kings
    we are using payroll add on. query generator parameter field have problem.when i run the query for last year April(2008) to this year march(2009).its retrieve the o records..
    here i paste my query
    SELECT T0.[U_Year], T0.[U_Month] FROM [dbo].[@BIZ_PSAL]  T0 WHERE T0.[U_Month] >=[%0] and  T0.[U_Month] <=[%1] and T0.[U_Year] >=[%2] and  T0.[U_Year] <=[%3]
    first parameter field passing month---- 4
    second parameter field passing month---- 3
    Third parameter field passing month---- 2008
    fourth parameter field passing month---- 2009
    Thanks & Best Regards
    B.Lakshmi Narayanan

    hi lakshmi naryanan,
    Run this query with input parameters firstly (due to selection creteria with >= and <=)
    first parameter field passing month---- 4
    second parameter field passing month---- 12
    Third parameter field passing month---- 2008
    fourth parameter field passing month---- 2008
    Run this query with input parameters secondly
    first parameter field passing month---- 1
    second parameter field passing month---- 3
    Third parameter field passing month---- 2009
    fourth parameter field passing month---- 2009
    Edited by: Jeyakanthan A on May 25, 2009 10:59 AM

  • The error showing as Fiscal year change has not carried out for the coCd

    Hi all,
    I am facing a very critical situation. My client has the last closed fiscal year as 2006(from 2006 april to 2007 march).For the fiscal yr. 2007(2007april to 2008 march) they have already finalised and submitted the reports made from some parallel software.They now want to tally this report with SAP system and to adjust the SAP system entries as per this report.This work was running fine.But on 01.04.2009 none of the asset reports are running.The error it's throwing is as-
    Fiscal year change not yet made for company code PWAL
    Message no. AB059
    Diagnosis
    You have not yet carried out a fiscal year change for company code PWAL, although the current system date is in the new fiscal year.
    Procedure
    Carry out the fiscal year change for company code PWAL.
    Proceed
    The error is quite understandable.We have to close 2007 and then perform the fiscal year change.But the problem is that the adjustment for the year 2007 is not yet complete.Is it the only solution with me that I should close the yr.2007 and again open it after the fiscal yr. change? If that is done can I take care of the adjustment in the posted depreciation? Or is it possible that the system date can be made back to 31.03.2009(very stupid ask!). The real problem is that my client has mistakely created some assets in the year 2007(by AS91 after changing the take over date) those should have been shown in the next year and also some assets are creted in the year 2008 by the same strange method those should be shown in the year 2007.What I am doing now is deleting these legacy assets and creating the new assets in the correct year.And this process is not yet complete.If I close the year 2007, then the depreciation of these legacy assets will also be posted.Later how can I reverse the effect?Also without seeing the reports I can't make the adjustments.Please suggest/advice.
    Debabrata

    Hi Debabrata,
    You have to do all fiscal year closing steps for 2007. When you reopen it you can do a repeat run for 2007. (You can do the reapeat run only for the new/ changed assets.)
    Try first to test this in an actual test system (document it and do the same in production). Perhaps as you know when 2009 is open I want to close 2008 in one week.  All changes they make in the asset system (change depreciation keys, recalulating,...) can result in postings in 2007 / 2008 what they don't want and later fiscal year problems. You will found a lot off masages about this on the form.

  • Change of fiscal year (ie:april2007 -- march2008, to oct 2007 - sep 2008

    Dear all,
       I have defined fiscal year as v3 ie: April 2007 to march 2008, now i have closed the the fincial year in the month of sep 2007 (so it will be six months ie: 6 months i have closed the financial period), after this I have opened new financial year statring from Oct 1,2007 to sep30, 2008, as  i am making this changes does it effect any thing, as the posting period is starting from the month of oct that would be 01.
    plz do help
    thx

    Hi,
        Let me know why these scenorio came into picture,normally these things you have to deside in the business blue print stage ok for your business requirement is necessary do to this then you follow the shortend fiscal year that option sap provided.What you are asking is that scenorio its not possible.
    REgards,
    SAtya

  • Fiscal year variant DD is not maintained for calendar year 2013

    Hi Experts,
    When I try to copy Reference chart of depreciation to current Company code.
    Below Error shown:
    Fiscal year variant DD is not maintained for calendar year 2013
    Message no. FGV002
    FSV created for 2014 as DD (shortend fiscal year July - Dec) and assigned to company code.am not sure why it is asking for 2013...
    Please help me.
    Thanks in advance
    Srinath

    Hi Srinath.
    The Fiscal year variant has to be maintained for the last open fiscl year.
    Best regards Bernhard

  • Shorten fiscal year

    Dear gurus,
    currently, our company would like to change the financial year end from FY2010 (jan- Dec) to (March to Feb). We are using FIAA and CO. Currently the controlling area code is accross companies. Now, we are in month of July 2010. Therefore, can i extend my period from 12 periods to 14 periods in SAP? i understand SAP has the feature of "shortening fiscal year". However, i would like to have details steps on it.
    Please helps.
    Thank you.
    Regards
    Kee Hwee, Lee

    Hi,
    In SAP, the Shortening fiscal year stands for which fiscal year contains less than "12 posting periods" is called as a shortend fiscal year and it would suits to your requirement tentatively for 2 months (Jan and Feb).
    But, how do you draw the balance sheet for the whole year for upcomming year?
    In Generally, the shortend Fiscal Year would be used at the begining of the SAP use, the business go live is for few months rather than one full fiscal year.
    I suggest you to go, to use the Leading and Non-Leading Ledger Concept for the same. So then, you can keep the fiscal year K0, K1, K2, K3, K4 (Any one - Jan to Dec) and create a new fiscal year for your requirement of March to Feb. You do get the reports for both the Fiscal Year Variance at once.
    Regards
    VG

  • FI-AA: no depreciation in depr. 15 (income tax) in fiscal year when retired

    Hello all!
    I have a question concerning settings for a FI-AA depreciation key concerning depr. area 15 (income tax; Slovakia):
    Calculation of depreciation in depr. area 15 (income tax) must be ZERO in case of retirement during fiscal year (no pro rata until retirement date).
    Thanks for an answer.
    Bernd

    Hi Bernd,
    Use a depreciation key with period control 06 At the start of the year for retirements
    When you have made depreciations run in old months in the year it will turned back with the retirement posting
    Paul

  • Problem in fiscal year

    Hi all,
    When i'm maintain material at company code using omsy transaction code, i unable to maintain the fiscal year of previous period like year and month in those fields and system showing those fields inactive(grey mode). Could you tell me how to maintain values in those fields. Please reply me as early as possible.
    Thanks & warm regards
    kesav

    Hi kesav
    You cannnot change directly in OMSY. It has to be in sync with MMRV/MMPV.
    First you check your current period in MMRV and accordingly open/close your
    period in MMPV. This way your fiscal  year issue will get solved. Hope it will
    help you.
    Thanks
    Sushant

  • Asset Aquisition report date problem in indian fiscal year style  (urgent)

    hi all genius there,
    i am developing asset aquisiton report in which i should get
    the record of asset depending on indian fiscal year (1st april to 31st march).
    so that means if i enter 31.03.2006 then i should get all the asset records
    from 01.04.2005 to 31.03.2006.
    how to do it. its very urgent. plz if aany one has done this scenario for
    asset aquisition report then plz send me the code.
    my id is- [removed by moderator]
    or otherwise i am sending my code plz check it and do the modification to get the above requirement.
    REPORT Z_FA_ACQ  NO STANDARD PAGE HEADING
                     LINE-SIZE 400
                     LINE-COUNT 65(3).
    TYPE-POOLS : SLIS.
    TABLES : ANLA,                         "ASSET MASTER RECORD-SEGMENT
             ANLZ,                         "time dependent asset allocations
             ANLC,
             ANEK.
    DATA : BEGIN OF T_ANLA OCCURS 0,
           BUKRS LIKE ANLA-BUKRS,
           ANLN1 LIKE ANLA-ANLN1,
           ANLN2 LIKE ANLA-ANLN2,
           AKTIV LIKE ANLA-AKTIV,
           TXT50 LIKE ANLA-TXT50,
           ZUGDT LIKE ANLA-ZUGDT,
           MENGE LIKE ANLA-MENGE,
           MEINS LIKE ANLA-MEINS,
           ANLKL LIKE ANLA-ANLKL,
           END OF T_ANLA.
    DATA : BEGIN OF T_ANLZ OCCURS 0,
           BUKRS LIKE ANLZ-BUKRS,
           ANLN1 LIKE ANLZ-ANLN1,
           ANLN2 LIKE ANLZ-ANLN2,
           GSBER LIKE ANLZ-GSBER,
           KOSTL LIKE ANLZ-KOSTL,
           STORT LIKE ANLZ-STORT,
           RAUMN LIKE ANLZ-RAUMN,
           KFZKZ LIKE ANLZ-KFZKZ,
           WERKS LIKE ANLZ-WERKS,
           END OF T_ANLZ.
    DATA : BEGIN OF T_ANEK OCCURS 0,
           BUKRS LIKE ANEK-BUKRS,
           ANLN1 LIKE ANEK-ANLN1,
           ANLN2 LIKE ANEK-ANLN2,
           BELNR LIKE ANEK-BELNR,
           BUDAT LIKE ANEK-BUDAT,
           XBLNR LIKE ANEK-XBLNR,
           SGTXT LIKE ANEK-SGTXT,
           GJAHR LIKE ANEK-GJAHR,
          pdate LIKE anek-budat, " modified by sanjeev for date logic
           END OF T_ANEK.
    DATA : BEGIN OF T_ANLC OCCURS 0,
           BUKRS LIKE ANLC-BUKRS,
           ANLN1 LIKE ANLC-ANLN1,
           ANLN2 LIKE ANLC-ANLN2,
           ANSWL LIKE ANLC-ANSWL,
           NAFAP LIKE ANLC-NAFAP,
           AAFAP LIKE ANLC-AAFAP,
           AFABE LIKE ANLC-AFABE,
           GJAHR LIKE ANLC-GJAHR,
           END OF T_ANLC.
    DATA : BEGIN OF IT_FINAL OCCURS 0,
            ANLN1 LIKE ANLA-ANLN1,
            ANLN2 LIKE ANLA-ANLN2,
            AKTIV LIKE ANLA-AKTIV,
            TXT50 LIKE ANLA-TXT50,
            ZUGDT LIKE ANLA-ZUGDT,
            MENGE LIKE ANLA-MENGE,
            MEINS LIKE ANLA-MEINS,
            GSBER LIKE ANLZ-GSBER,
            KOSTL LIKE ANLZ-KOSTL,
            STORT LIKE ANLZ-STORT,
            RAUMN LIKE ANLZ-RAUMN,
            KFZKZ LIKE ANLZ-KFZKZ,
            BELNR LIKE ANEK-BELNR,
            BUDAT LIKE ANEK-BUDAT,
          pdate LIKE anek-budat,
            XBLNR LIKE ANEK-XBLNR,
            SGTXT LIKE ANEK-SGTXT,
            ANSWL LIKE ANLC-ANSWL,
            NAFAP LIKE ANLC-NAFAP,
            AAFAP LIKE ANLC-AAFAP,
            GJAHR LIKE ANEK-GJAHR,
            ANLKL LIKE ANLA-ANLKL,
            END OF IT_FINAL.
    DATA: PDATE LIKE ANEK-BUDAT.
    PDATE = SY-DATUM.
    DATA:V_LOW LIKE SY-DATUM,
        V_HIGH LIKE SY-DATUM,
        V_DATE(04) TYPE N,
        V_YEAR(04) TYPE N.
    V_YEAR = V_DATE(04).
    V_YEAR = V_YEAR - 1.
    CONCATENATE V_YEAR '0401' INTO V_LOW.
    CLEAR V_YEAR.
    V_YEAR = V_DATE(04).
    CONCATENATE V_YEAR '0331' INTO V_HIGH.
    DATA : LINE_COLOR(4) TYPE C.
    DATA : FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
           GD_LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: EVENT  TYPE SLIS_ALV_EVENT OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN : BEGIN OF BLOCK B_FA WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_BUKRS FOR ANLA-BUKRS DEFAULT 'ML',
                     S_ANLN1 FOR ANLA-ANLN1,
                     S_ANLN2 FOR ANLA-ANLN2,
                     S_ANLKL FOR ANLA-ANLKL,
                     S_AKTIV FOR ANLA-AKTIV,
                     S_GSBER FOR ANLZ-GSBER,
                     S_KOSTL FOR ANLZ-KOSTL,
                     S_WERKS FOR ANLZ-WERKS,
                     S_STORT FOR ANLZ-STORT,
                   S_BUDAT FOR ANEK-BUDAT,
                     S_GJAHR FOR ANEK-GJAHR.
    SELECTION-SCREEN : END OF BLOCK B_FA.
    *PARAMETERS : budat LIKE anek-budat.
    SET PF-STATUS '100'.
    SELECT BUKRS ANLN1 ANLN2 AKTIV TXT50 ZUGDT MENGE MEINS ANLKL
           FROM ANLA
           INTO CORRESPONDING FIELDS OF TABLE T_ANLA
           WHERE ANLN1 IN S_ANLN1
           AND   ANLN2 IN S_ANLN2
           AND   BUKRS IN S_BUKRS
           AND   ANLKL IN S_ANLKL
           AND   AKTIV IN S_AKTIV.
    CHECK : NOT T_ANLA[] IS INITIAL.
    SELECT BUKRS ANLN1 ANLN2 GSBER KOSTL STORT RAUMN KFZKZ
           FROM ANLZ
           INTO CORRESPONDING FIELDS OF TABLE T_ANLZ
           FOR ALL ENTRIES IN T_ANLA
           WHERE ANLN1 = T_ANLA-ANLN1
           AND   ANLN2 = T_ANLA-ANLN2
           AND   BUKRS = T_ANLA-BUKRS
           AND   GSBER NOT IN S_GSBER
           AND   KOSTL IN S_KOSTL
           AND   WERKS IN S_WERKS.
    SELECT BUKRS ANLN1 ANLN2 BELNR BUDAT XBLNR SGTXT GJAHR
           FROM ANEK
           INTO CORRESPONDING FIELDS OF TABLE T_ANEK
           FOR ALL ENTRIES IN T_ANLA
           WHERE ANLN1 = T_ANLA-ANLN1
           AND   ANLN2 = T_ANLA-ANLN2
           AND   BUKRS = T_ANLA-BUKRS
           AND   BUDAT >= V_LOW
           AND   BUDAT <= V_HIGH.
          AND  gjahr IN s_gjahr. " modified for date logic by Sanjeev
    SELECT BUKRS ANLN1 ANLN2 ANSWL NAFAP AAFAP AFABE GJAHR
           FROM ANLC
           INTO CORRESPONDING FIELDS OF TABLE T_ANLC
           FOR ALL ENTRIES IN T_ANLA
           WHERE ANLN1 = T_ANLA-ANLN1
           AND   ANLN2 = T_ANLA-ANLN2
           AND   BUKRS = T_ANLA-BUKRS
           AND   AFABE = '01'.
    LOOP AT T_ANLA.
      MOVE : T_ANLA-ANLN1 TO IT_FINAL-ANLN1,
             T_ANLA-ANLN2 TO IT_FINAL-ANLN2,
             T_ANLA-AKTIV TO IT_FINAL-AKTIV,
             T_ANLA-TXT50 TO IT_FINAL-TXT50,
             T_ANLA-ZUGDT TO IT_FINAL-ZUGDT,
             T_ANLA-MENGE TO IT_FINAL-MENGE,
             T_ANLA-MEINS TO IT_FINAL-MEINS.
      READ TABLE T_ANLZ WITH KEY BUKRS = T_ANLA-BUKRS
                                 ANLN1 = T_ANLA-ANLN1
                                 ANLN2 = T_ANLA-ANLN2 BINARY SEARCH.
      IF SY-SUBRC EQ 0.
        MOVE : T_ANLZ-GSBER TO IT_FINAL-GSBER,
               T_ANLZ-KOSTL TO IT_FINAL-KOSTL,
               T_ANLZ-STORT TO IT_FINAL-STORT,
               T_ANLZ-RAUMN TO IT_FINAL-RAUMN,
               T_ANLZ-KFZKZ TO IT_FINAL-KFZKZ.
      ENDIF.
      READ TABLE T_ANLC WITH KEY BUKRS = T_ANLA-BUKRS
                                 ANLN1 = T_ANLA-ANLN1
                                 ANLN2 = T_ANLA-ANLN2 BINARY SEARCH.
      IF SY-SUBRC EQ 0.
        MOVE : T_ANLC-ANSWL TO IT_FINAL-ANSWL,
               T_ANLC-NAFAP TO IT_FINAL-NAFAP,
               T_ANLC-AAFAP TO IT_FINAL-AAFAP.
      ENDIF.
    LOOP AT T_ANEK WHERE BUKRS = T_ANLA-BUKRS AND ANLN1 = T_ANLA-ANLN1 AND
        ANLN2 = T_ANLA-ANLN2 AND   BUDAT >= V_LOW
                                 AND   BUDAT <= V_HIGH AND BUDAT IN S_BUDAT.
        MOVE : T_ANEK-BELNR TO IT_FINAL-BELNR,
               T_ANEK-BUDAT TO IT_FINAL-BUDAT,
               T_ANEK-GJAHR TO IT_FINAL-GJAHR,
               T_ANEK-XBLNR TO IT_FINAL-XBLNR,
               T_ANEK-SGTXT TO IT_FINAL-SGTXT.
        APPEND IT_FINAL.
      ENDLOOP.
    ENDLOOP.
    PERFORM BUILD_FIELDCATALOG.
    PERFORM DISPLAY_ALV_REPORT.
    PERFORM BUILD_LAYOUT.
          FORM BUILD_FIELDCATALOG                                       *
    FORM BUILD_FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'ANLN1'.
      FIELDCATALOG-SELTEXT_M = 'ASSET MAIN NO'.
      FIELDCATALOG-COL_POS   = 0.
      FIELDCATALOG-OUTPUTLEN = 14.
      FIELDCATALOG-EMPHASIZE = 'X'.
      FIELDCATALOG-KEY       = 'X'.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'ANLN2'.
      FIELDCATALOG-SELTEXT_M = 'SUB NO'.
      FIELDCATALOG-COL_POS   = 1.
      FIELDCATALOG-OUTPUTLEN = 7.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'AKTIV'.
      FIELDCATALOG-SELTEXT_M = 'CAP.DATE'.
      FIELDCATALOG-COL_POS   = 2.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'TXT50'.
      FIELDCATALOG-SELTEXT_M = 'NAME'.
      FIELDCATALOG-COL_POS   = 3.
      FIELDCATALOG-OUTPUTLEN = 50.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'ZUGDT'.
      FIELDCATALOG-SELTEXT_M = 'POSTING DATE'.
      FIELDCATALOG-COL_POS   = 4.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'MENGE'.
      FIELDCATALOG-SELTEXT_M = 'QTY'.
      FIELDCATALOG-COL_POS   = 5.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'MEINS'.
      FIELDCATALOG-SELTEXT_M = 'UNITS'.
      FIELDCATALOG-COL_POS   = 6.
      FIELDCATALOG-OUTPUTLEN = 3.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'GSBER'.
      FIELDCATALOG-SELTEXT_M = 'BA'.
      FIELDCATALOG-COL_POS   = 7.
      FIELDCATALOG-OUTPUTLEN = 4.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'KOSTL'.
      FIELDCATALOG-SELTEXT_M = 'COST CENTER'.
      FIELDCATALOG-COL_POS   = 8.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'STORT'.
      FIELDCATALOG-SELTEXT_M = 'LOCATION'.
      FIELDCATALOG-COL_POS   = 9.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'RAUMN'.
      FIELDCATALOG-SELTEXT_M = 'ROOM'.
      FIELDCATALOG-COL_POS   = 10.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'KFZKZ'.
      FIELDCATALOG-SELTEXT_M = 'LICENSE PLATE NO'.
      FIELDCATALOG-COL_POS   = 11.
      FIELDCATALOG-OUTPUTLEN = 20.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'BELNR'.
      FIELDCATALOG-SELTEXT_M = 'DOC NO'.
      FIELDCATALOG-COL_POS   = 12.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'BUDAT'.
      FIELDCATALOG-SELTEXT_M = 'POSTING DATE'.
      FIELDCATALOG-COL_POS   = 13.
      FIELDCATALOG-OUTPUTLEN = 15.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'XBLNR'.
      FIELDCATALOG-SELTEXT_M = 'REF NO'.
      FIELDCATALOG-COL_POS   = 14.
      FIELDCATALOG-OUTPUTLEN = 25.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'SGTXT'.
      FIELDCATALOG-SELTEXT_M = 'TEXT'.
      FIELDCATALOG-COL_POS   = 15.
      FIELDCATALOG-OUTPUTLEN = 50.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'ANSWL'.
      FIELDCATALOG-SELTEXT_M = 'ACQ VAL'.
      FIELDCATALOG-COL_POS   = 16.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'NAFAP'.
      FIELDCATALOG-SELTEXT_M = 'ORD.DEP'.
      FIELDCATALOG-COL_POS   = 17.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'AAFAP'.
      FIELDCATALOG-SELTEXT_M = 'UNPLAN DEP'.
      FIELDCATALOG-COL_POS   = 18.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
    ENDFORM.
    PERFORM ALVDISPLAY.
    FORM ALVDISPLAY.
    EVENT-FORM = 'USERCOMMAND'(002).
    EVENT-NAME = 'USER_COMMAND'(001).
    APPEND EVENT.
    ENDFORM.
    FORM DOWNLOADEXCEL.
    DATA : B_FILE1 LIKE RLGRAP-FILENAME.
    ENDFORM.
          FORM BUILD_LAYOUT                                             *
    FORM BUILD_LAYOUT.
      GD_LAYOUT-ZEBRA = 'X'.
      GD_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
    ENDFORM.
          FORM DISPLAY_ALV_REPORT                                       *
    FORM DISPLAY_ALV_REPORT.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            I_INTERFACE_CHECK        = ' '
             I_CALLBACK_PROGRAM       = SY-REPID
            i_callback_pf_status_set = 100
            i_callback_user_command  = sy-ucomm
            I_STRUCTURE_NAME         =
             IS_LAYOUT                = GD_LAYOUT
               IT_FIELDCAT              = FIELDCATALOG[]
            IT_EXCLUDING             =
            IT_SPECIAL_GROUPS        =
            IT_SORT                  =
            IT_FILTER                =
            IS_SEL_HIDE              =
            I_DEFAULT                = 'X'
            I_SAVE                   = ' '
            IS_VARIANT               = ' '
            IT_EVENTS                =
            IT_EVENT_EXIT            = EVENT[]
            IS_PRINT                 =
            I_SCREEN_START_COLUMN    = 0
            I_SCREEN_START_LINE      = 0
            I_SCREEN_END_COLUMN      = 0
            I_SCREEN_END_LINE        = 0
       IMPORTING
            E_EXIT_CAUSED_BY_CALLER  =
            ES_EXIT_CAUSED_BY_USER   =
           TABLES
                T_OUTTAB                 = IT_FINAL
           EXCEPTIONS
                PROGRAM_ERROR            = 1
                OTHERS                   = 2.
    ENDFORM.
    Hi,
    we encourage open discussion and no emails, as the answer to your question shall be posted in the forum to be read by other users, who might be interested in it as well.
    Mario

    hi,
    i've tried to correct your code:
    -> v_year, v_low and v_high was not filled
    ...SELECTION-SCREEN : END OF BLOCK b_fa.
    PARAMETERS p_year LIKE anlc-gjahr DEFAULT sy-datum(4).
    *PARAMETERS : budat LIKE anek-budat.
    SET PF-STATUS '100'.
    v_year = p_year.
    v_year = v_year - 1.
    CONCATENATE v_year '0401' INTO v_low.
    CLEAR v_year.
    v_year = p_year.
    CONCATENATE v_year '0331' INTO v_high.
    SELECT bukrs anln1 anln2 aktiv txt50 zugdt menge meins anlkl
    FROM anla
    pls reward useful answers
    thx.
    Andreas

  • Invoice problem. Fiscal Year

    Hello,
    When a case lasts between two fiscal years (It begins before April 30th and ends after May 1st), It is generated two invoices: one dated on April 30th with the services provided until that day and another for the new fiscal year. We need to have only one invoice per case. We seached on the billing parameters and on the Customizing and can't find where to define this.

    Hi, Thanks for your help.
    My coworker found the solution. In order to have only one invoice per case, you have to go to customizing to Set billing parameters in Patient Accounting -> Billing and dismark the checks in Period Split and Revenue Assignment.

Maybe you are looking for

  • Auto Model 2 - Constant forecast 1 historical period

    I have a composite forecast (100% each) consisting of 5 univariate models that should select the best model based on MAD.  I have a product that has only 1 historical period of actuals in the last 36 months.  I would have expected the Auto Model 2 to

  • How to restore search history tabs; disappeared after I cleared search history; can't restore tabs!

    I recently cleared my search history - I deleted everything - but now my search history tabs (that were generated after each search) have disappeared, and I can't restore them no matter what I do. Also, under "History", "restore previous session" and

  • Problem viewing pdf files

    When I click on a pdf file, it is black.

  • How to deinstall utorrent from my MBpro? OS-X. mountain lion

    With the help of apple care we tried to deinstall utorrent. This was because their contract kept appearing in the Finder window every time it was opened. Only after clicking "agreed" the utorrent window with the contract disappeared and the Finder co

  • Disaster recovery - Oracle

    Hello! Is there some simple step-by-step guide for disaster recovery of Enterprise 4.7, WAS 620, Oracle? I am trying to create a disaster recovery scenario for our production based on DB13 backup and brrestore (I am doing backup to disk). The backup