0FISCPER3 - Default to last closed period in Report Variable

Hi all,
We have a requirement in our reports to default the Posting Period to last closed period.
In the InfoCube we have 0CALMONTH (In Period) and also 0FISCPER3 (Posting Period). The values for Posting Period varies from 1 to 16.
What is the functionality behind Posting Period ?
How can we find the last closed period as months are 12 and Posting period are 16 ?
Kindly clarify.
Thanks!

Hello,
The fiscal year variant contains the number of posting periods in the fiscal year and the number of special periods.
You can define a maximum of 16 posting periods for each fiscal year in the Controlling component (CO).
The fiscal year variant specifies the number of periods and special periods in a fiscal year and how the SAP System is to determine the assigned posting periods.
You have 12 periods in SAP and also four special periods. These periods are stored in what is called the fiscal year variant (K1, K2, K3 and K4)
You can use the function module DATE_TO_PERIOD_CONVERT to get the period by passing the date.
Also see
[Determining Posting Periods|http://help.sap.com/saphelp_nw04/helpdata/en/c6/f0c33b8e2811d4b3090050dadefebd/frameset.htm]
special periods
Thanks
Chandran

Similar Messages

  • Need to create report query to get latest open and last closed period for given application

    Hi All,
    I need to create a report query to get below result displayed in report output.
    1)   -   Application name
    2)   -    Ledger name
    -o/  -Operating Unit
    3)   -  Last Closed Period
    4)   -  Current Open Period
    5)   -  Date Closed – Last Closed Period
    6)   -  Date Open – Current Open Period
    I tr I tried to create the query below is the same. Please let me know if it looks fine.
    SELECT *
      FROM (SELECT fav.application_name ,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status ='C'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc )WHERE ROWNUM = 1 
    UNION ALL
    SELECT *
      FROM (SELECT fav.application_name Application_Name,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status = 'O'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc)
             WHERE ROWNUM = 1

    It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
    I'm just having a hard time pointing the link in the search results report to the document in the blob column.
    The information on that page is great if you're trying to create a link to the document on the initial report.
    But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
    When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
    Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    If you can help me with this I'd really appreciate it.
    Thanks again.
    Greg
    Edited by: gjones77 on Dec 2, 2008 8:14 AM

  • Effects of reopening closed periods in Asset Accounting.

    Hi SAP Gurus,
    My client wants to open the closed periods in Asset accounting. I have used T Code OAAQ and changed the last closed period.
    I would like to know what are the effects of opening the closed periods.
    Will it effect the already posted depriciation and what further steps should I take after the entries are passed.
    Even after I opened the period both in FI and AA it still is giving me a message that I cannot post to this year.
    Can you kindly suggest.
    Thanks in advance,
    Hari

    If you post any entries to the asset , the depreciation will change in asset accounting and will not match with the general ledger unless depreciation posting run is executed.
    However, since you have already executed depreciation posting, AFAB selecting repeat run in the last period or special period if your company code have  special periods.
    Caution:  It will change the P&L and Balance sheet balances.
    Please check the Post Capitalization Option (ABNAN) for asset values missed in the past for capitalization

  • Option to show values up to last closed fiscal period or up to current date

    Hello,
    How would I create a query that would ask if I want it to calculate values 'up to the current date' or for the 'latest closed fiscal period'.
    Currently I have setup a report, within which, has restricted key figures that will give the 'Period to date', 'Year to Date', and 'Last Year Year to Date' values for some RKFs, however, it would be very helpful if this report could be setup so that the user could choose whether the report provides:
    1. Values only through the last closed fiscal period
    or
    2. Values up to the current date.
    <b>For example</b> if we are in period 7 of 2006, the user could have the report show all values up to the last closed fiscal period, which in this case would be period 6 of 2006.
    Or the user could have the report show all the values up to the current date.
    Hopefully I have been clear,
    Thanks,
    Nick
    Message was edited by:
            Nick Bertz

    Nick,
        What is the problem you are facing? As San mentioned you can only report till Last Fiscal Period using Customer Exit Variables(Calculate Current Fiscal Period using Current Month and Fiscal Year Variant).
    Or as you mentioned you can create restricted Key Figures using Date or month (YTD etc)
    If i miss your requirement, please guide me.
    Regards,
    Nagesh Ganisetti.
    *Assign Points if it helps.

  • Last Closed Fiscal Period

    Hi All
    How can I identify the Last Closed Fiscal Period in a query variable ?
    eg. The current calendar month is Feb which is Fiscal period 11 (Variant is Z3). However Finance still have January open so they want to report YTD figures up to and including December (Fiscal periopd 9).
    I have created a user exit variable (with help from SDN) that works out the YTD range for the fiscal periods but it uses system date to calculate current period. Therefore, the current fiscal period is coming out at 11 but I need 9. When the Month End occurs on Friday the current fiscal month should become 10.
    All help appreciated.
    Asif

    Hi Surender
    I need a variable that does not have any user interaction, and will determine the range of periods that constitute the current fiscal year. The range should start at 1 and end at the last closed fiscal period as maitained on R3.
    I have decided to bite the bullet extract the table T100B from R3. It contains details on all open periods.
    I am trying to load it as master data. Its the first tme I have done this type of work so taking some time.
    I have created the extractor and a characteristic with attributes to hold this info. I then plan to read this data in the variable to work out the range.
    If there is a simpler way to do this then please advise.
    Regards
    Asif

  • Report actuals till last closed month

    Hello Experts,
    We have a requirement to report actuals till last closed month(which is August for now) but reports are not created in such a way that it shows different time data for different versions at the same time.Adding time dimension in column axis makes the report static and thereby we ultimately looses its dynamic nature.
    For example, In one of the report,Profit center(expansion is dynamic) and Category dimension(one is actual and another one is always based on user selection) are in column axis and time selection is at the top.It retrieves data for both the versions but for the same time period.But the requirement is show actuals till last closed month and other comparison version based on time selected by the user.Adding time dimension in column axis makes the report static because then profit centers needs to be hardcoded as well.
    Our main goal is not to touch the existing reports because then we loose the dynamic nature of it. Is there any way to do it with minimal changes in Admin or Reports without losing its dynamic nature.
    Any help will be much appreciated.
    Many Thanks
    Sim

    Hi Vadim
    Thanks for replying.Last closed month means the month which has been recently actualised. Like for this year, August actuals are already in and so this month is closed. Right now, the definition in our input form is 8+4 which means 8 months are actualised and available for reporting but rest of four months(Sept till dec) are still open for planning.
    Now, in my report, I have Profit center and category(2 members, one is always actual and another is always based on user selection) in column axis  and data is being retrieved for both versions but for the same time selected by the user.For example, user has selected time as 2014.12, even the actuals will also show till 2014.12 which is incorrect.
    Because this way they are also able to see some of the september actuals(which has not been fully posted in our system as this is month half) and therefore, they are not able to see correct data.
    I am using EPMAxisoverride and Profit center and category dimension is dynamic in column axis and adding time dimension will make the report static(because I dont want to see two times(like 2014.08 and 2014.12) for Actual version and two times for comparison version) and thereby losing its dynamic nature.
    I have attached two snap shots for your refrence(first one is what exists in the system and another one what we are looking for).
    Is there any way to bring data in such a way that we dont even have to touch any report.
    Regards
    Sim

  • SAP KE53 transaction to display the last examination period be default

    Hi Gurus,
    In the transaction code KE53 we need last examination period is default. it means we have create profit center on 01.01.2008 to 31.12.9999 after that we have changed analysis period 01.01.2009 to 31.12.2009. if we go to  tcode KE53 and display the PC it showing analysis period 01.01.2008 to 31.12.9999 .But the requirement is  default values  should be recent changes it means 01.01.2009 to 31.12.9999. How to overcome this issue.
    Appreciate your help.
    Kind Regards,
    Prakash

    Hi Prakash,
    In KE53, you can achieve both the display period: Analysis Period as well as Validity Period separately.
    Please follow this steps:
    Click on Period of Examination button on KE53, on the pop-up screen, it shows "Set Analysis Period" with dates. You enter Valid From 01.01.2009 and Valid to 31.12.2009. Then you click "Confirm". This way it will save your analysis period. Next time when you go to KE53 it will by default display this period. Only when you click on Validity Period, it will display you 01.01.2008 to 31.12.9999.
    Regards,
    Sanjay

  • IMPORTANT! ZXRSAU01 for 0FI_GL_40-Select closed period-last month on BUDAT

    Hello Everybody,
    I want to use Exit: ZXRSAU01 for 0FI_GL_40 : I need to Select data on closed period (last month) in ECC for BI7, with field BUDAT.
    Please, did somebody have any ABAP Code to do this?
    Thanks in advance.

    so, i don't know how to determine the last month, but if you know this your coding should look like this:
    field-symbols: <fld> type extractstructure of Datasource (you find the extractStructure in RSA6 when ds is activated)
    data: lc_tabix type sytabix.
    data: budat_low type sydatum,
            budat_high type sydatum.
    .... here you have to determine low and high date for your period you want to select...
    case i_datasource.
    when '0FI_GL_40'.
    loop at c_t_data assigning <fld>.
      lc_tabix = sy-tabix.
      if not <fld>-budat between budat_low and budat_high.
        delete c_t_data index lc_tabix.
      endif.
    endloop.
    endcase.
    So somewhere you have to determine the month you want to bring to BW.
    But remember  - its not a good idea to select data first and then delete it in this exit. The better way would be not to select them with selection in you Infopackage.
    Br
    M.

  • Change in Specify Transfer Date/Last Closed Fiscal Year in Asset Accounting

    Hi,
    While uploading the asset master data and values,I have given the Specify Transfer Date/Last Closed Fiscal Year date as 31-12-2008.But as per the fiscal year 4-4-5,2008 closed on 03-01-2009.
    what are the consequences,If we change the Specify Transfer Date/Last Closed Fiscal Year date from 31-12-2008 to 03-01-2009 as the 2008 closed on 03-01-2009.
    Kindly give me some inputs regarding this change.
    Thanks
    Supriya

    Hi
    Please note
    I you change the transfer date to current FY date , system will not allow u to upload data in PY.
    See the below
    Transfer Date
    This date determines the status of posting to be used for the
    transfer (posting up to this date will be included in the transfer), not
    the actual date the data transfer is carried out. This specification
    also determines whether you want to perform the transfer during the
    fiscal year (with transfer of posted transactions/depreciation in the
    current fiscal year) or at the end of the fiscal year (without
    transactions).
    If the transfer date is not the last day of the fiscal year (according
    to the fiscal year variant in FI), the system interprets this as
    transfer during the fiscal year. The system cannot transfer any
    historical transactions. It can only transfer cumulative values from the
    end of the last fiscal year, and the transactions in the current fiscal
    year (the second is only possible for transfer during the fiscal year).
    Example
    transfer date = December 31, 1997
    => last closed fiscal year = 1997
    Specify Last Period Posted in Prv.System (Transf.During FY)
        You must specify the period up to which depreciation was posted in the previous
        system. This period refers to the posted depreciation that is to be
        transferred during old assets data takeover.
    Thanks
    GG

  • On a MBP with Mavericks how do I get the Save As dialog box to open at the same size and place at which it was last closed and used to happen before Mavericks?

    Before I upgraded my MBP to Mavericks, the Save As dialog box would reopen at the same size and position as it was when last closed.  Now with Mavericks it always opens in the same position at a very small size.  Is there a way to make it reopen at the last place and size at which it was closed?

    I have resolved the issues presented without having to find and uninstall the Macromedia Flash Player 8.0 in order to get "Adobe Flash Player 10" playback of .swf files on my computer. When I begin this task, I expected to download an "Adobe Flash Player 10" as a player program download instead of the Internet Explorer and Firefox plugin that it appears to be.
    This is what I did and what I believe I have:
    1. I setup Internet Explorer 6 as my default browser and then used the following site to download Adobe Flash Player 10
    http://www.adobe.com/products/flashplayer/
    2. As I had done before (and also suggested in another thread here), I went to Tools/Manage Add Ons and found Shockwave Flash Object, highlighted it, and clicked on Update Active X. Next, what I did not do before, I restarted the computer immediately after that.
    3. Next, I set Mozilla Firefox as my default browser and then used the above site to download Adobe Flash Player 10 again.
    4. With Firefox, the critical step included Firefox Tools/Options/Content with File Types (Configure how Firefox handles certain types of files) and the Manage Tab there. SWF Shockware Flash Object/Change Action/and dotting "use this plugin" - Shockwave Flash, followed by a computer restart got the job done.
    Now, if I want playback of a .swf file, I can
    a. Open With Internet Explorer (assumed with the Adobe Flash 10 "plugin")
    b. Open With Mozilla Firefox (assumed with the Adobe Flash 10 "plugin")
    c. Open With Macromedia Flash Player 8.0
    I am satisfied with those results for my use. Any additional comments on the player vs plugin aspect of the matter would be interesting and helpful.
    ATR

  • Can SAP run the depreciation for closed Period and posting to diff month?

    My client forgot to run the depreciation for Jan 2011, and now the Jan period has been closed and report also done.
    My solution was to re-open the Jan and does the depreciation, once completed reclassify Jan depreciation posting to Feb 2011 manually.
    I am just wandering whether SAP can handle this different way.
    Can SAP performs Jan (Closed Period) depreciation and post to Feb period automatically or any other suggestions?
    Cheers

    Hi
    Yes, you can do that
    Follow this thread... Unable to post depreciation- Error AA730
    Using ABF1, you can do it
    Br, Ajay M

  • Log for the Closing Period & Opening Period -Urgent

    Hello,
    While Opening & Closing Periods in MM where will be the logs saved.
    Thanx & Regards,
    Kumar Rayudu

    Go to transaction SE16> enter the table name MARVCD or MARV and enter the parameters of company code, then execute, you may find the person who changed the last MM period. I am not sure if it holds previoys history, but the latest changes may be found

  • Cs6 opening existing file defaults to last new size created. How do I keep my file properties / size

    cs6 opening existing file defaults to last new size created. How do I keep my file properties / size the same?

    Is that all your HTML code contains?
    Where are the closing </body> and </html> tags in the end?
    Try adding this to the last lines of the file:
    </body>
    </html>
    -ST

  • 1KEH posting line item totals in a closed period

    I have a client who has been running 1KEH but not ticking the line item update.
    Therefore GLPCT has been updated, but when they drill into the detail via KE5Z there is nothing there.
    Say we are in period 6 now. They want to update the line item detail for periods 2, 3, 4 & 5.
    Now doing period 5 is easy as you can run it for the previous period, but how do you move the periods back to say period 3, so I can run it for period 2.
    Is there a special program for this, or do I need to re open MMPV, via MMRV.
    If anyone has done this let me know.

    Hi,
    no need to create a OSS message as I would be the one processing it.
    In your case there is exactly one possibility: Manual posting with the "old" PCA manual posting transaction 1KEL.
    See note 858363, point "Transaction 1KEH". PCA is restricted to only be able to transfer the last 2 periods because of the MM period closing program. Important is that you use transaction 1KEL to be able to also enter the important characteristic field "Origin Object" (technical field RHOART) with value '19' for material stock postings.
    Best regards,
    Andreas

  • Closing Period

    hi,
    What are the precautions we have to take before closing period from MMPV?
    It is possible to open the closed period (closed by MM Consultant) for backdated material movements?
    Can anyone send me detail documentation regarding monthly and yearly closing operation from FI, MM and SD point of view.
    Thanks in Advance,
    [email protected]

    Hi
    See the document they sent you
    When you open the new period in MM then you can still use the period before it. It is (normal) not possible to open an old period in MM. (you can only post in this and last period)
    Offen they create a job to open the new MM Period. When the new period is not open you can not post G/R, .. in the new month.
    The FI closing you are doing some days (weeks) later
    Paul

Maybe you are looking for

  • DreamWeaver CS4 CSS code hints not working

    Please help. DreamWeaver has stopped showing code hints for CSS selector values. When I start typing "…   div {border:   …" DreamWeaver used to show the possible value for this selector (i.e. 1px solid #ccc). Now all that pops up is this "…   'border

  • Javax.servlet.jsp.JspException: Can't insert page '/common/MenuFiles.jsp' :

    Hi, I am using WebLogic 11g. In my application am getting following exception in my console ####<Jun 4, 2012 2:03:47 AM CDT> <Error> <HTTP> <cuscmas1.hillscte.com> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-t

  • Scion xB no long recognizes iPod

    I tried hooking up my iPod to my xB's stereo through the car's add-on iPod adapter last week only to discover that it no longer recognized my iPod. Previous to this, things were fine. This happened after I updated to the latest version of iTunes/iPod

  • Running Adobe Flash CS5 Trial

    Hi everyone.  I have to use Adobe Flash Pro to create my own Flash animation for an online class assignment.  I downloaded the trial fine but I have no idea how to open it and get into the program.  There's no icon for it and it's nothing in the Star

  • Warehouse Stock (Urgent)

    I need to get my stock of material at the warehouse. I know its config of warehouse mgt and i think that too of full warehouse mgt config. but i dont know the relavant settings for the same. can anybody help me on the same. Rgds