0 fiscper3 (posting period)and 0fiscyear (fiscal year) in bw report

Hi I need a quick help, please resolve my issue in step by step. Report is required to display the 0 fiscper3 (posting period)and 0fiscyear (fiscal year) in bw report. I have a 0fiscper Fiscal Yr / Period in my datasource and infosource but not 0fiscper3 (posting period)and 0fiscyear (fiscal year). Can any body help me how to add the abap code to convert the 0fiscper Fiscal Yr / Period to display 0fiscper3 (posting period)and 0fiscyear (fiscal year in report or how to add by abap code 0fiscper3 (posting period)and 0fiscyear (fiscal year)in datasource. User will select the value of 0FISCYEAR
Fiscal year during the execution of report. please help
will reward all points.
thanks
soniya kapoor

In de update rules from infosource to datatarget you fill the rules like this:
For 0FISCYEAR:
  result = comm_structure-fiscper(4).
For 0FISPER3
  result = comm_structure-fiscper+4(3).
Note that this can also be done by using formula's. If you can't ABAP you may prefer to use formula's.

Similar Messages

  • Display the 0 fiscper3 (posting period)and 0fiscyear (fiscal year) in bw re

    Hi I need a quick help, please resolve my issue in step by step. Report is required to display the 0 fiscper3 (posting period)and 0fiscyear (fiscal year) in bw report. I have a  0fiscper Fiscal Yr / Period in my datasource and infosource but not 0fiscper3 (posting period)and 0fiscyear (fiscal year). Can any body help me how to add the abap code to convert the 0fiscper Fiscal Yr / Period to display 0fiscper3 (posting period)and 0fiscyear (fiscal year in report or how to add by abap code 0fiscper3 (posting period)and 0fiscyear (fiscal year)in datasource. User will select the value of 0FISCYEAR
    Fiscal year during the execution of report. please help
    will reward all points.
    thanks
    soniya kapoor

    Hi Soniya,
    Y don't you enhance ur datasource with these fields?
    Anyways the workaround could be add 0FISCPER3 and 0FISCYEAR in ur data target, and write ABAP code for it in transformation.
    Map 0FISCPER with both the fields, and now click rule type of both the fields independently.  Select rule type as routine.
    0FISCPER stores data in format YYYYPPP, so you have to write code accordingly.
    Likie in 0FISCPER3 assign last 3 digits of 0FISCPER to 0FISCPER3 and first 4 to 0FISCYEAR.
    Suppose u have pne temp variable with name fis_yp which stores value of 0FISCYEAR. For getting period from it you have to write:
    period = fis_yp+4(3), ( 3 characters from 4 place)
    and similarly for year,
    year = fis_yp+0(4),  ( 4 charaters from 0 place)
    I hope now u can write code for it easily?
    KJ!!!

  • New posting period for former fiscal year

    Hello All!
    For a customer we set up a database with posting periods for 2011 and 2012 (monthly periods). The database went live in 2011.
    Now the requirement came up to post the opening balances for 2011 per end of 2010 (to have the postings not in fiscal year 2011).
    My question is: is it a problem to add now a fiscal year 2010 (yearly basis)?
    Thanks and regards
    Peter Ganserer

    Hi Peter,
    Although it is your 2nd posting, I would add welcome message because I had not do so 1st time.
    For your question, it is not possible to add new posting period for former fiscal year. You best solution is to post those OB as the first date of the first period.
    Thanks,
    Gordon

  • Period and Fiscal Year in a report selction screen (3.1 I version of SAP.)

    Hi Team,
    I have a requirement on a Zreport. Suppose if we are executing a report in the month of March (3)-fiscal year 2011 and if I select a variant and the varinat should populate period as Feb (2 period) and fiscal year as last year (2010).
    In Nut shull if i am executing the report todays date the period and fiscal year in the selection screen should be 2 and 2010.
    Also please note that i am working on 3.1 I version of SAP.
    Your inputs are highly appreciated.
    Thank you
    Venkatesh Billa

    Hi,
    Generatlly while saing the variant for the report selection screen you can use the dynamic date calculation , where the last period and last fiscal year options are available.
    Also you can choose the option of calculating the period and fiscal year in your program and can default the same on the selection screen. But I think you should check in ABAP forum for this, whether there anything in coding also.
    Regards,
    Gaurav

  • Can we post entries in 2014 and 2015 fiscal years simultaneously

    Hi,
    Now we are in fiscal year 2015.Still postings are going on for FY2014.Not yet done any year end activities for 2014.Client is asking to open posting periods for fiscal year 2015.They want to post in fiscal years 2014 and 2015 as well simultaneously. Is it possible? If possible,what are the precautions we need to take ?
    Thanks

    Hi
    Yes if you have special period defined for 2014
    or keep both Fiscla period open in FI .
    in MM you should be able to post only in period 12 of fiscal year 2014 . so its depend on what sort of entriews you want to post

  • Asset Report to check periods in Closed Fiscal Year

    Hi Gurus,
    Would want to check what other standard SAP t-codes that could be used to check the periods for the closed Fiscal year in asset reporting? i.e. FY 2008 closed, would need to check asset balances, NBV, etc for period 7, system prompts an error and could only execute for period 12.
    Appreciate feedback
    Many thanks
    eddie lim

    Hi
    If you are using the report S_ALR_87011963, following is the limitation for it.
    You cannot run a report for any day you choose within a period. The
    following restrictions apply to the report date:
    o   If the report date is in the past, or in the current fiscal year:
         You can use the end of a fiscal year or the end of any period as the
         report date. If the fiscal year is already closed, you can only use
         the end of the fiscal year as the date.
    o   If the report date is in a future fiscal year:
         The system always uses the last day of the fiscal year as the report
         date.
    o   If the report date is the first day of a fiscal year:
         To ensure that the values for the beginning of the fiscal year are
         same as those for the end of the previous fiscal year, the
         system runs reports with the report date 1/1/YYYY for the date
         12/31/YYYY-1 (the same applies for a non-calendar fiscal year).
    If you want to run report for forcating depreciation and NBV, use TCOD - S_ALR_87012026
    Thanks
    GG

  • Posting periods and account segmentation

    the company has several suboffice/division, but they want all under one company in B1. also they receive some of they invoices 2 months lates. Data migration will go back 2 years. So what is best way to set up posting period and account segmentation.

    Hello,
    Take a look at this thread and copied to your notepad :
    Division in SAP Business One
    about how to create suboffice/division.
    The posting period can be created go back more than 1 years from now as long when performing data migration, do not forget to set the current period that match with your data dates. The invoices and other opening balances can be migrated using DTW templates.
    So, I suggest you could create posting period more than 2 years ago in the last time and create 2 segmented accounts consists of sub office and division beside natural account. E.g. :
    12111-01-02 : 12111 is natural account, 01 is suboffice code and 02 is division.
    Rgds,

  • Get Fiscal Period based on Fiscal Year

    Hello Experts,
    I have one query. I wanted to get fiscal period based on fiscal year entered in selection screen.
    I tried to find the FM for it but didn't get it. Can you suggest me any FM which gives in Fiscal period based on fiscal year in FI?
    Regards,
    Neha

    Hi,
    Check the following link:
    How to get fiscal period based on date and Fiscal year?
    http://www.sapdev.co.uk/fmodules/fms_fiscalyr.htm
    Regards,
    Bhaskar

  • Linking a Period Indicator to a Posting Period and Document Numbering

    Dear All,
    Could you please tell me that, what will be the consequences if I do not link a Period Indicator to a Posting Period and use the Period Indicator in any document numbering?

    Hi,
    The use of the period indicators depends on the accounting practice of the company.
    The consequence you will face when you are not using period indicators:
    1.Your document numbering series will be continued from year to year,for ex.if your last document numbering series for AP Invoice is 3489 for FY200809,then the starting series for the FY200910 will be 3490.
    2.You should perform period end closure before proceeding to the next financial year,which would not be possible(Atleast one month in the new financial yr) as we may need to use adjustment transaction for accounting/auditing purpose
    3.Unless you perform year end closure the new series can not be continued,if you continue there must be accepted/explained in the accounts auditing too .
    4.But you don't use period indicator,there will not be any necessity to create new document series for every new financial year.
    Also check this document on [Period indicators|https://websmp105.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000513532005E] for better understanding.
    Hope this is helpful!

  • Period indicator with Fiscal Year Variant in MRP3

    Hi  SAP Gurus,
    I donu2019t know the use of Period indicator with Fiscal Year Variant in MRP3 view.
    For some material  is maintain as
    1. Period indicator u201CMu201D & Fiscal Year Variant as blank.
    & for other materials it is maintain as
    2. Period indicator u201CPu201D & Fiscal Year Variant as V3
    What is the meaning of maintaining those different values ?
    as per my understanding I only know that as per those indicator consumption data is store in table MVER.
    Is there any other table /  data gets affected due to this indicator.
    Plz help.
    Best Regards,
    Parag Save.

    Hi,
    Nomally,  period of  12 months, for which the company produces financial statements or analyse inventory.Under certain circumstances, fiscal years containing fewer than 12 months are also permitted (short fiscal year
    When defining your fiscal year, you have the following options:
    Your fiscal year is the calendar year
    In this case, you must only select the Calendar year field.
    Your fiscal year is not the same as the calendar year and is not year-dependent
    Your fiscal year is not the same as the calendar year and is year-dependent.
    In customizing (spro), you make these setting in transaction OB29.
    Regards,
    SATYAJIT

  • PERIODIC CALC for Fiscal Year Aug - Jul

    Hi,
    I am currently having issues with my fiscal year.  Our physical year is from AUG - JUL.  The application is a YTD so the periodic measure is a calculation.  On processing and optimizing the legalapp I noticed that the calculation for periodic resets to include NOT INSTR("TOTALQ1JAN",[TIME].PROPERTIES("PERIOD") as part of the calculation for each instance of my account hierararchy.  On changing teh TOTALQ1JAN to TOTALQ1AUG directly in the MDX my periodic calcs work correctly again for those periods, however once an optimise is run again the calc is reset.  This is now also possibly causing us problems with our account transformations for opening balances.  I have had a look at appset parameters and application parameters and I can't seem to see where the first period of the fiscal year should be set.

    There are no specific problems with this beyond the logic / stored procedures that rely upon the property.  I suggest checking the logic you've implemented as well as any input schedules / reports that may reference the property to ensure they are working properly. If you need to store AUG as a property of August, then you can add another property to hold the propery month abbreviations. 
    Unfortunately, the YTD measures assumes that all apps are calendar year.  The note from product support indicated that the issue is resolved in the 7.0M release.  Once your client upgrades to 7.0, you should be able to change the property value back AUG.
    Just a case of a developer making an assumption that didn't work in the real world.

  • Current fiscal year and previous fiscal year restriction in Query  Customer

    Hi ,
    My requirment is disply current year qtrs and previous year qtrs in the report . User will not enter year , date , month or qtr . system should calucualte and disply curremt year qtrs and previous year qtrs .
    I have created ZFISCYEAR reference of a 0FISYEAR year . now I would like to write customer exit for Current fiscal year and previous fiscal year to display current year qtrs and previous year qtrs.
    Could you please provide customer exit code if you have or recomend if you know any other options.
    Appriciate you help
    Thanks

    hi try this
    take into account that I don't know th periv you use could be K4 or one defined by you so I have commented it.
    The coding here is for the current fiscal period for the previous year just to another l_year varibale and populate with offset for instance l_year = l_year - 1.
    so for current year
    WHEN 'CURRPERIOD'.
        current_date = sy-datum.
        CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
          EXPORTING
            i_date  = current_date
        '    i_periv = ''
          IMPORTING
         '   e_buper = l_period.
            e_gjahr = l_year.
        l_s_range-low = l_year.
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        APPEND l_s_range TO e_t_range.
    for previous period
    WHEN 'PREVPERIOD'.
        current_date = sy-datum.
        CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
          EXPORTING
            i_date  = current_date
        '    i_periv = ''
          IMPORTING
         '   e_buper = l_period.
            e_gjahr = l_year.
        l_year = l_year - 1.
        l_s_range-low = l_year.
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        APPEND l_s_range TO e_t_range.
    bye
    Boujema

  • To get Fiscal period based on Fiscal Year

    Hi Guys,
               Can anybody tell me how to get Fiscal period based on Fiscal Year?
    Thanks,
    Arpan

    Hi Anshu,
    Have a good day.
    I need to convert fiscal year(2011) to fiscal period(2011001).
    Fiscal year(key field in data source) mapped to the fiscal period(key field in infoprovider).
    But in the transformation when I have mapped these fields, data is not coming propperly into the infoprovider because in the transformation its not converting fiscal year to fiscal period.
    This is the scenario. Please help.
    Thanks,
    Arpan

  • Fiscal period / fiscal year shift in Reporting

    Hello all,
    our company has defined 0FISCVARNT = V6 because our fiscal year end in June. I want to provide the time char 0FISCPER in our reports as key and text.
    The text table table T009C is maintained as Jan fo period 007, Feb for period 008.
    When I run a report and drill down by FISCPER and display text and key and the characteristic 0FISCYEAR is combined with 0FISCPER. Therefore text information is correct for july until December (July 2006 - December 2006) but from January on the result is not correct (January 2006 instead of January 2007).
    Is there a way to adjust or to shift the Fiscal year in the query output. Any help would be great.
    Best Regards,
    Stefan from Munich/Germany

    Stefanos,
    The result with the Fiscal Year is fine.
    Fiscal Year, even though you're reporting January 2007, is still 2006. If you "shift" the Fiscal Year, then the result would be wrong.
    Make a simple test, make a drill-down by 0FISCPER and 0CALMONTH. I'm sure 0CALMONTH will show "January 2007".
    Regards,
    Luis

  • Posting Period incorrectly setup as Year instead of Month with transactions

    Hi,
    User has created posting periods wrongly, it should be months and they have set it to year. There
    are transactions posted to the first two periods - Jan 2010 and Feb 2010.
    Any suggestions how to resolve this issue?
    Regards,
    Priscilla

    Hello Ms Tan,
    The only suggestion I can give you is consulting the document called:
    Business One in Action u2013 How to Correct Posting Periods?
    You can google the exact sentence above and you will find it:
    http://www.google.ie/search?hl=en&source=hp&q=BusinessoneinactionHowtoCorrectPostingPeriods%3F&meta=&aq=f&oq=
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

Maybe you are looking for