Tagged: abap diffirence between two dates

Abap iki tarih arası fark 0

Abap iki tarih arası fark

REPORT  Z_IKI_TARIF_ARASI_FARK. DATA: EDAYS   LIKE VTBBEWE–ATAGE, EMONTHS LIKE VTBBEWE–ATAGE, EYEARS  LIKE VTBBEWE–ATAGE. PARAMETERS: FROMDATE LIKE VTBBEWE–DBERVON, TODATE   LIKE VTBBEWE–DBERBIS . call function ‘FIMA_DAYS_AND_MONTHS_AND_YEARS’ exporting i_date_from          = FROMDATE i_date_to            = TODATE *   I_FLG_SEPARATE       = ‘ ‘ IMPORTING E_DAYS               = EDAYS E_MONTHS             = EMONTHS E_YEARS              = EYEARS. WRITE:/ ‘Difference in Days   ‘, EDAYS. WRITE:/ ‘Difference in Months ‘, EMONTHS. WRITE:/ ‘Difference in Years  ‘, EYEARS.