Skip to Content
avatar image
Former Member

Annual Leave Carry Forward on Fiscal Year End (Date not Fixed)

Hi Gurus,

I have received a very unique requirement related to Carry Forward Leave balance.

The Carry Forward date is not fixed as the Fiscal Year is not fixed. It seems to me the last day of Fiscal Year always falls on the last Friday of June.

I have set up annual parameter in T549Q table to store Fiscal years. Those are used for my validity period.

I tried to create Fiscal Year check in T511K (Execute PCR if value is 1) but no success.

Any thoughts that would resolve my issue will be highly appreciated.

Thank you,

TC

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 05, 2017 at 03:25 PM

    Hi Thamina,

    If I understand you correctly you have set up a new payroll period in V_T549Q. Using operation VARSTLDYPP in a custom PCR you can query whether or not it is the last day of that particular payroll period. PP represents the number you have assigned to your new payroll period.

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 02, 2017 at 02:25 PM

    Hi,

    Suggestion - only valid if the last Friday in June is always the day you want

    In a PCR you check is it June, if it is, is it a Friday, if it is, is the day number between 24 and 30, if it is then that is the day you want to process your carry over logic.

    If it is the case that the day you want is not always a Friday then you could write a custom operator (requires ABAP) to pull the required date from T549Q and make it available to a PCR.

    bg

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Brendan,

      I did not think of using operation VARSTWEDAY Get day of week (1=monday).

      I just need to confirm with the Finance Dept. if the last day of the Fiscal Year is always Friday.

      I have already requested ABAPer to write a custom Function/Operation to read last/1st day of FY from T549Q but no success yet.

      I was able to use T511K to get the last /1st day of FY in PCR but the client thinks it is too much to maintain multiple tables.

      Thank you,

      TC

  • avatar image
    Former Member
    Jun 12, 2017 at 04:31 PM

    I have set up a new payroll period in V_T549Q. Using operation VARSTLDYPP in a custom PCR query whether or not it is the last day of that particular payroll period.

    Add comment
    10|10000 characters needed characters exceeded