Skip to Content
0
Former Member
Apr 14, 2008 at 09:47 AM

ABAP routine for loading data of current month in InfoPackage

237 Views

Hello experts,

I want to load data of current month. Therefore I implemented the following ABAP-Routine for field 0CALDAY in the InfoPackage's data selection:

data: lv_datum_l like sy-datum,

lv_datum_h like sy-datum.

concatenate sy-datum(6) '01' into lv_datum_l.

call function 'RP_LAST_DAY_OF_MONTHS'

exporting

day_in = sy-datum

importing

last_day_of_month = lv_datum_h.

l_t_range-sign = 'I'.

l_t_range-option = 'BT'.

l_t_range-low = lv_datum_l.

l_t_range-high = lv_datum_h.

But function 'RP_LAST_DAY_OF_MONTHS' cannot be found!

Any other suggestions for getting last day of current month?

regards

hiza