Can current year net profit (In PL) reclass to RE (in BS)?

Hi all,
Qustion pertaining reclassification in BCS.
Can current year net profit (in PL) reclass to RE (in BS)?
Pls advise. Thanks.
Regards, Renee

Re: SEM-BCS: Configuring Calculation of retained Earnings

Similar Messages

  • How to transfer current year profit to the Balance sheet in BPC 7.5nw

    Dear Experts,
    I have  maintained script logic for current year profit transfer to Balance sheet. How to check my self whether the profit is moved or not properly. I ran the Legal Consolidation package. This was success. Now how to check by giving the test data values and what combination I have to use in Current view and In Input schedule.  I have maintained two cubes that is moments and Balances cubes. or else through input schedule how can i test with test data. or advise me clearly the steps to execute.
    Regards,
    GURU

    Hi,
    The current year profit should automatically be transferring to your reserves whenver you have data for your P&L accounts.
    The net effect of your income and expense accounts should be tranferred to your reserves account as per your script logic.
    Thanks,
    Sreeni

  • Use FI Posting date as a filter value, can I get YTD for current year?

    Dear Expert,
    I work on a BI report which calculate the YTD key figure (restricted by 0CYEAR and =< 0CMONTH).
    One of the requirement for the report is to allow user to enter a value for a date using FI Posting date (although this is optional).
    Without entering the value for FI Posting date, my report works fine.
    But once FI Posting date is entered, no data found.
    I expect that when the value for the FI Posting date is entered, the YTD value will be calcuated starting from the Jan 1 of that FI Posting year to the FI Posting date entered.
    But this seems not happen.
    Could you help me to resolve this problem?
    If there is a better solution, please let me know.
    Very appreciated.
    Arthur

    Hi Dipika,
    Thanks for your reply.
    In my report, FI Posting date is a free characteristic, which user can optionally select it and fiter it for a specific FI Posting Date. Do you consider it as a global filter?
    my query structure is as below:
    rows: profit center, department, manager
    columns: YTD for current year, YTD for Previous year, the difference betwwen the two
    The requirement is when user enter a FI Posting date, use it  to restrict the KF shown above.
    For example, if the FI posting date is March 15, 2008, then YTD for current year should be restricted by the period between Jan 1, 2008 and March 15, 2008 and YTD for previous year should be restricted by Jan 1, 2007 and March 15, 2007.
    Do you have any idea how to implement this requirement in term of FI Posting date?
    Thanks and appreciated.
    Arthur

  • When using the search function in mail I only see results from the current year. how can I see results from all years?

    When searching mail results only contain messages from the current year. I'd like to see results from all years. This just started after upgrading from Snow leopard to Lion.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • How can we import Fixed asset of the current year ?

    Hi ,
    in 1272578 note , SAP Support explain that's it's not possible to create fixed asset of the current year( example = acquisition date = 2009-02-01 )  using import , but they gave no workaround .
    does it mean that we have to manually create all assets of the current year ? or there is another way ( using DI-API for example ) ?
    Thanks

    Good day
    The fixed asset master data import functionality in SAP Business One is used to import assets of the previous year. If you are to force the importation of current year assets some of them might load but system will not be able to calculate planned depreciation for that year, which will give u problems when u try to run depreciation forcing u to post manual depreciation.
    With manual depreciation will not look good on the Fixed Asset Master since it sort of duplicate depreciation ONLY on the Master your report will be fine.
    Capturing Current year assets manually will be the safer road.
    Thanks
    Louis

  • Current year Previous Year in Query

    Hi,
    I have to get the results of current year 12 months( 12 columns) previous year 12 month( 12 columns) in one report.
    Once the user gives the current year , how to automatically populate the previous year. The PY varaint can be used for all months of previous year.
    Any thoughts on this, please let me know.

    As venkat said , using offset is the best option, rather than jumping directly to custom exit variable.
    for e.g.
    you report display is
    net qty.............net qty
    current year......  previous year........
    bil1
    bil2
    so u intend to see the net quantity for current year and previous year.
    Bring net qty... in Columns in query designer.
    Now right click and hit Edit
    Now bring in time chara. that u wish to use and want to create variable for.................
    for e.g. say fiscal period....
    Now hit fiscal period with right click andhit  Restrict.
    Go for Interval variable if already exist or else create a new one.
    hit okey..
    now in query designer in columns copy ur net quantity
    now paste there again.
    in Second net quantity u can hit edit.
    now where fiscal period is there hit restrict
    in dialog box hit Select offset.
    As ur intention is for previous year, keep the offset value as -12
    also restrict fiscal year variant in selection.....
    hit okey
    test it...
    if this doesnot work
    then go for custom exit....

  • Expression - First date and last date of current month, current year

    Hi
    I need to have 2 ssrs expression as I can use  as default parameters in my report where I can -  out from my Time dimension, get the
    first date of the current, current year - and one where I get last date, current month, current year.
    My data source is a SSAS cube and my timedimension is structured like this:
    [Time].[Days].&[2009-01-16T00:00:00]
    Any suggestions how to solve this ?

    Hi ,
    You can use below in Default Values in ssrs ;
    for first Day of current month and year
    ="[Time].[Days].&[" +Format(dateadd("m",0,dateserial(year(Today),month(Today),1)), "yyyy-MM-dd")+"T00:00:00]"
    output will be ;
    [Time].[Days].&[2014-09-01T00:00:00]
    For last day of current month and year
    ="[Time].[Days].&[" +Format(DateSerial(Year(Now()), Month(Now()), "1").AddMonths(1).AddDays(-1), "yyyy-MM-dd")+"T00:00:00]"
    output will be ;
    [Time].[Days].&[2014-09-30T00:00:00]
    Please correct me if I misunderstood your requirement.
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • SSRS Matrix report. Variance expression by Month. Need to compare month from prior year to current month of current year VS2010

    Please help.  I have a matrix report.  In the report I have row group  PO Type.  One the Column groups I have a parent group by Fiscal Year, and then a child group by Month.  When I run the report, I get two years of data back broken
    out by month.  Please see below.
    Now here is where I am getting stuck.  I need to take the variance between the current month of the current year, from the same month of the prior year.  So I need to show the difference between Oct , 2014 from Oct, 2013. November, 2014 from November
    2013... etc. etc.
    In the example below, how do I create a column or row showing the variance for Contracts for October 2014.  I need to take the contracts for October 2014 which is 3 and subtract that from October 2013 which is 8.  Any suggestions? How do I do that
    for each month?  Then I need to do it for the quarter... then the year?  But I'll be happy if I can just get the month working first.
    Any help will be appreciated. 
    here is what my rdl file looks like.
    Here is what my report looks like when I render it.

    Hi Adrian_s2012,
    According to your description, you want to compare values for the month of current year with the month of prior year and get the variance. Right?
    In Reporting Services, we don't have any function to get this "Year to Year" Growth. In this scenario, if you data source is a cube, we suggest you use Analysis Services to achieve your requirement. If this data source is just from database, it will be hardly
    to calculate the variance because we need to compare the values within every two different column group and matrix generate adjacent columns one by one. Even we make it by using custom, every time executing the long code when generating result
    in a cell will reduce a lot of performance, we really don't suggest to do that in SSRS. Here is a thread with much easier requirement, please take a reference of that:
    http://social.msdn.microsoft.com/Forums/office/en-US/842e2dcb-d949-4297-9d91-eac989692cb5/difference-between-the-grouped-column?forum=sqlreportingservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Fixed Asset: Current Year Depreciation

    Dear Experts,
    Previously, fixed assets was managed manually in an excel sheet and depreciation was calculated manually in the excel sheet.
    My client wants to start using the FA Addon in March. I managed to import all the fixed asset master data with its Cost, Acc. Depn and NBV. They all tally with the GL balances as at 31.12.2010 which is the last day of the accounting year.
    However, I have problem with the current year accumulated depn figure. When I run depreciation for Jan-Feb, the figure does not tally with the GL balances as at 28.02.2011.
    For example:
    Fixed Asset Cost: $5,859.00
    In SAP B1
    Depreciation method: Straight-line depreciation
    Calculation medthod: Percentage of Acquisition Value
    Percentage: 33.33%
    Planned monthly depreciation: $162.77  <-- Not sure how B1 get this figure
    Therefore, accumulated depreciation for current year as at 28.02.2011 = $325.54
    Manual via Excel
    Depreciation method: Straight-line depreciation
    Calculation medthod: Percentage of Acquisition Value
    Percentage: 33.33%
    Accumulated depreciation for current year as at 28.02.2011=  ($5,859 x 33.33%) / 12 x 2 = $325.47 
    How do I get the current year depreciation to tie with the GL?

    Hi Joyce,
    I understand the issue you are facing is that
    accumulated depreciation for current year as at 28.02.2011(calculated by Fixed assets addon) = $325.54,
    but
    accumulated depreciation for current year as at 28.02.2011(calculated by excel)= ($5,859 x 33.33%) / 12 x 2 = $325.47
    you want to know how system calculate the accumulated depreciation as $325.54?
    in order to make it clear,
    please let me know how did you define the FA master data,such as the net book value,useful life,remaing life and so on.
    Please check the FA master data->general tab and calculation tab,as it is not possible to attach the screenshot to show the relevant data,please log a SAP message for the further assistance.
    Kind regards,
    Eleven

  • Asset Revaluation issue - Reval of Current year depreciation

    Hi All,
    We are setting up the system to do asset revaluation for our company code in South America. My client wants to
    revalue the assets from Jul'09 to Dec'09.
    1) We have maintained inflation indexes for the last day of each period in the year 2009.
    2) Maintained Posting Variants and Time Base and Exposure variant accordingly for all the periods and year as 9999.
    3) Assigned the appropriate Time base and exposure variant in the period control method.
    4) Maintained the Revaluation Areas:
    a) Area 01 - Book
    b) Area 02 - Inflation Adj (Revaluation Area)
    c) Area 03 - Derived (Area 01+Area02)
    d) Area 22 - Infla Adj in Group Currency
    5) Maintained the Revaluation key and assigned it to the relevant Asset classes by Depreciation Area (02 and 22)
    6) Maintained the transaction types as below:
    897 - Revaluation (downward) current year
    892 - Revaluation (upward) current year
    891 - Revaluation (downward) prior year
    893 - Revaluation (upward) prior year
    7) Maintained the Inflation Method and last revaluation date on Inflation method as 01.07.2009.
    8) We have also activated the Revaluation after useful life.
    With this setup in the system I took a test asset which had depreciation postings for the period 08 and 09. When I
    ran the J1AI - Revaluation (Inflation) Program in the test run mode the outcome was that the APC value of the asset
    was being revalued and Revaluation of Prior year Depreciation but not the Revaluation of current year
    Depreciation. Can anyone tell me why current year Depreciation is not being revalued.
    Am I doing something wrong process-wise or configuration-wise?
    Please help me in resolving this issue.
    Regards,
    Raj

    Hi Rajesh Phanibatla,
    I've always happened that Issue. But what I realized is that although the program output (J1AI) does not show you nothing on "Rev of CY Depn", the system calculates. This only happens for the first month of adjustment (In your case, Aug 08).
    Try checking the test asset with the Assets Explorer (AW01N) just after running the adjust (J1AI) in background process (NO test mode) at 31.08.2009. See if the area Area 02 - Inflation Adj (Revaluation Area) on "Posted values" tab shows something different to zero on month 08 with "Planned" status.
    Then, for the adjustment of the following months, the output of the program will show you the "Rev of CY Depn" value.
    If you want, let me know your email to show you a presentation (PowerPoint in spanish) that has screens that I captured on that occasion that happened to me.
    I hope this is your case and can help you that I said.
    Good Look!
    PD: Sorry for my bad english :S

  • Current Year and current month?simple question

    How can i get four Digit current Year and two digit current month. So if is march it should get me as 03 and the Year as 2002. Please do help me, is a simple question isn't it ?. Thanks for your earliest response.
    Thank you.

    i have a directory structre of the format
    REPTS2000209/E200209-98000001
    in which 2002 is current YEAR
    09 is current month
    and 9800001 is the code i would submit(list box) from a form
    so what i need is a program that can generate the above path and open that particular PDF file
    so basically E200209-98000001.pdf is the PDF file.
    i am submitting it from JSP page. PLEASE HELP ME how can i program.

  • Parameter for current year and previous year

    Hi all,
    I currently have 2 reports where the query is the same except in the where clause I have it filtered to current year and previous year based on the List_Date. I would like to make this one report with a parameter of Current or Previous year.
    Would I create 2 more datasets one for current and another for previous? I would think there is a easier way. Any help or direction would be great.  

    If you define a parameter in SSRS, you can use it's value in your query. Just make sure the parameter name, and CASE (SSRS is case sensitive when it comes to parameters) are the same in SSRS and your query. There's a parameter tab on the dataset properties.
    It SHOULD auto fill, but it never hurts to check, just in case.
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.
    Yes it did auto fill the parameter tab in the dataset and I get a parameter to enter the year when I preview the report. Still a little confused on how I do current or previous year. Are the next steps what I need to do?
    @yearParam parameter:
    1) Create  Available or Default values 
    2) Current and Previous year as label
    3) For Value do I need to use a expression for current year =Year(now()) and previous Year?
    4) Add a filter on the tablix for list_date?

  • Current Year and YTD in Report/Query

    Hi to all the experts here,
    I have a report requirements to show the cost in the report for the current fiscal year and last fiscal year filtering by YTD month in the report as below when the user enter the month: 12.2010, the month: 07.2010 is the first posting period of the fiscal year.
                          07.2010    08.2010     09.2010      10.2010     11.2010     12.2010     Last Fiscal Year     Last 2 Fiscal Year
    Current Year           10,000    20,000       20,000       20,000       20,000    20,000       100,000                  90,000
    Last Year              15,000    15,000       15,000       15,000       15,000    15,000       120,000                 100,000
    I know that I need to create customer exit to archieve this, but I not sure what to do to get this, I have problems on getting the figures for the Last Fiscal Year and Last 2 Fiscal Year here.
    Please help. Appreciated alot. Thanks alot!

    Hi
    The Fiscal year/period (0FISCPER) in your BW system must be maintained as starting from 07.2010 onwards then you can try the below:
    In the report Filters you can use the manual entry variable for 0FISCPER where the user can input the month restrictions.
    Then for the Current year and Previous year amount KFs you can create 2 customer exits for Current year and Previous year on 0FISCPER characteristic where you can set the interval using the values input by the user in the selection screen. (eg. If user enters 7.2010 to 12.2010 you can use these values in the exit code to set the interval for the customer exit variable.)
    This way you can have the amounts restricted by the period entered by the user in the report.
    For the structure you have mentioned in your post you can have the 0FISCPER in columns and then the KFs current/previous year in the rows so that once you have the Current/Previous YTD as created above, you will see the individual month period values also in the drilldown.
    Hope this helps.
    Regards,
    Ninad

  • Details of open invoices for the current year/ material price analysis

    Hi,
    I'm very new to SAP SD,MM modules. Can any one help me in the following of my requirements?
    1. How to get the details of open invoices for the current year? Which table should I look into?
    2. I have to create a report to display material price analysis. How should I do that?
    3. How to develope a report to list out all the Open Sales Order with earliest ship date and requested ship date
    4.How to create an interactive report for displaying plant status to know the status of a particular material
    5. How to develope a report on Sales Order displaying Sales order Number, Sales order date, Material, PO Date and Customer requested date
    Thanks in advance!!
    Uma.
    Message was edited by:
            Uma Ravi

    Hi Ravi,
    for 3, 4, 5 --> u can go through the code ...
    REPORT ZEX2  MESSAGE-ID arc NO STANDARD PAGE HEADING.
    Tables :kna1,vbak.
    SELECT-OPTIONS : so_vkorg FOR  vbak-vkorg OBLIGATORY,
                     so_vtweg FOR  vbak-vtweg OBLIGATORY,
                     so_spart FOR  vbak-spart,
                     so_kunnr FOR  kna1-kunnr.
    DATA : BEGIN OF sales_open OCCURS 0 ,
           vbeln LIKE vbak-vbeln,
           auart LIKE vbak-auart,
           kunnr LIKE kna1-kunnr,
           bstnk LIKE vbak-bstnk,
           lfstk LIKE vbuk-lfstk,
           fkstk LIKE vbuk-fkstk,
           gbstk LIKE vbuk-gbstk,
           END OF sales_open.
    DATA : BEGIN OF itm_sales OCCURS 0,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           matnr LIKE vbap-matnr,
           kwmeng like vbap-kwmeng,
           lfsta LIKE vbup-lfsta,
           lfgsa LIKE vbup-lfgsa,
           fksta LIKE vbup-fksta,
           fksaa LIKE vbup-fksaa,
           gbsta LIKE vbup-gbsta,
           END OF itm_sales.
    DATA : l_kunnr LIKE kna1-kunnr,
           l_vkorg LIKE vbak-vkorg,
           l_vtweg LIKE vbak-vtweg,
           l_spart LIKE vbak-spart.
    DATA: v_statusl(20) TYPE c,
          v_statusb(20) TYPE c,
          v_statusf(20) TYPE c,
          v_statusg(20) TYPE c,
          v_status(20) TYPE c,
          v_field(1) TYPE c.
    data : v_openqty like vbap-kwmeng.
    **Selection Screen Validations.
    AT SELECTION-SCREEN.
      PERFORM validations.
    *&      Form  Validations
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM validations.
    **Customer
      IF NOT so_kunnr[] IS INITIAL.
        SELECT SINGLE kunnr INTO l_kunnr
               FROM kna1
               WHERE kunnr IN so_kunnr.
        IF sy-subrc NE 0.
          MESSAGE e002 WITH text-005.
        ENDIF.
      ENDIF.
    **Sales Organization
      IF NOT so_vkorg[] IS INITIAL.
        SELECT SINGLE vkorg INTO l_vkorg
               FROM tvko
               WHERE vkorg IN so_vkorg.
        IF sy-subrc NE 0.
          MESSAGE e003 WITH text-006.
        ENDIF.
      ENDIF.
    **Distribution Channel
      IF NOT so_vtweg[] IS INITIAL.
        SELECT SINGLE vtweg INTO l_vtweg
                FROM tvkov
                WHERE   vkorg IN so_vkorg
                 AND    vtweg IN so_vtweg.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-007.
        ENDIF.
      ENDIF.
    **Division
      IF NOT so_spart[] IS INITIAL.
        SELECT SINGLE spart INTO l_spart
                FROM tvta
                WHERE   vkorg IN so_vkorg
                AND     vtweg IN so_vtweg
                AND     spart IN so_spart.
        IF sy-subrc NE 0.
          MESSAGE e005 WITH text-008.
        ENDIF.
      ENDIF.
    ENDFORM.                    " Validations
    Top-of-page.
    PERFORM sales_top_of_page.
    Start-of-selection.
    PERFORM sales_sel.
    *&      Form  sales_sel
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_sel.
    SELECT vbeln auart kunnr bstnk
         lfstk fkstk gbstk
         INTO TABLE sales_open
         FROM vbakuk
         WHERE vkorg IN so_vkorg
         AND   vtweg IN so_vtweg
         AND   spart IN so_spart
         AND   kunnr IN so_kunnr
         AND gbstk NE 'C'.
      LOOP AT sales_open.
        WRITE:/4 sy-vline,
               5 sales_open-vbeln HOTSPOT ON COLOR 2 INTENSIFIED OFF,
               16 sy-vline,
               17 sales_open-auart COLOR 2 INTENSIFIED OFF,
               27 sy-vline,
               28 sales_open-kunnr COLOR 2 INTENSIFIED OFF,
               40 sy-vline,
               41 sales_open-bstnk COLOR 2 INTENSIFIED OFF,
               55 sy-vline,
               56 sales_open-lfstk,
               76 sy-vline,
               77 sales_open-fkstk,
               96 sy-vline,
               97 sales_open-gbstk ,
               117 sy-vline.
        HIDE sales_open-vbeln .
      ENDLOOP.
    ENDFORM.                    " sales_sel
    *&      Form  sales_top_of_page
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_top_of_page.
      WRITE:/4 sy-uline(114),
         50 'OPEN SALES ORDERS' COLOR 7 INTENSIFIED ON .
      WRITE: /4 sy-vline,
              5 'SalesOrder' COLOR 1 ,
              16 sy-vline,
             17  'OrderType' COLOR 1,
             27  sy-vline,
             28  'Customer' COLOR 1,
             40  sy-vline,
             41  'PoNumber' COLOR 1,
             55  sy-vline,
             56  'Delivery Status' COLOR 1,
             76  sy-vline,
             77  'Billing Status' COLOR 1,
             96  sy-vline,
             97  'Processing Status' COLOR 1,
             117  sy-vline .
      WRITE:/4 sy-uline(114).
    ENDFORM.                    " sales_top_of_page
    AT LINE-SELECTION.
      SELECT       a~vbeln
                   a~posnr
                   a~matnr
                   a~kwmeng
                   b~lfsta
                   b~lfgsa
                   b~fksta
                   b~fksaa
                   b~gbsta
                   INTO TABLE itm_sales
                   FROM vbap AS a JOIN vbup AS b
                   ON a~vbeln EQ b~vbeln
                   AND a~posnr EQ b~posnr
                   AND b~gbsta NE 'C'
                   WHERE a~vbeln EQ sales_open-vbeln.
      IF NOT sales_open IS INITIAL.
        LOOP AT itm_sales.
          at end of vbeln .
          sum.
          v_openqty = itm_sales-kwmeng.
          endat.
          WRITE:/5  itm_sales-vbeln,
                    itm_sales-posnr,
                    itm_sales-matnr,
                    itm_sales-kwmeng,
                    itm_sales-lfsta,
                    itm_sales-lfgsa,
                    itm_sales-fksta,
                    itm_sales-fksaa,
                    itm_sales-gbsta.
        ENDLOOP.
      ENDIF.
    skip 2.
      write:/  'open Quantity for the order is ', v_openqty .
    for 1.
    open invoices..
    SELECT vbeln
             fkart
             kunag
             gbstk
             INTO TABLE it_billing_h
             FROM vbrkuk
             WHERE vkorg IN so_vkorg
             AND vtweg IN so_vtweg
    *        AND spart IN so_spart
             AND kunag IN so_kunnr
            and   year in p_year                  ---->"parameter for year..
             AND gbstk NE 'C'.                   "----> open invoices
    for 2..
    2. refer TABLES mara, EINA ..
    regards,
    VIjay

  • Formula for finding specific date in a Current Year

    Hello ,
    Can get  a formula which i can use in variable to find date having first  Thursday in a current Year.
    So in case of Current Year i.e 2014 , Formula should return date as "01/02/2014"(mm/dd/yyyy)
    Thanks & Regards
    Gourav Joshi

    Hi Gourav Joshi,
    Create a variable as per below. it will give you "First Thursday" of the year.
    First_Thursday=
    If(DayNumberOfWeek(RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-1)))=1) Then RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-4)) Else
    If (DayNumberOfWeek(RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-1)))=2) Then RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-3)) Else
    If (DayNumberOfWeek(RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-1)))=3) Then RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-2)) Else
    If (DayNumberOfWeek(RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-1)))=5) Then RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())+6)) Else
    If (DayNumberOfWeek(RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-1)))=6) Then RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())+5)) Else
    If (DayNumberOfWeek(RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-1)))=7) Then RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())+4)) Else
    RelativeDate(CurrentDate();-(DayNumberOfYear(CurrentDate())-1))
    It will help you.
    Regards,
    Anish

Maybe you are looking for