Skip to Content
0
Former Member
Apr 23, 2007 at 06:46 AM

getting last two digits of running year

469 Views

Hi

i need the last two digits of year

currently i am using

  • Getting Fiscal Year

  • L_BUKRS = C_BUKRS.

  • CALL FUNCTION 'FTI_FISCAL_YEAR_MONTH_GET'

  • EXPORTING

  • I_BUKRS = L_BUKRS

  • I_BUDAT = G_OUT_DATE

  • IMPORTING

  • E_GJAHR = L_GJAHR.

Here if the date is 20070323 i mean beyond april it is giving 06 as last two digits

but i want 07.