Skip to Content
0
Former Member
Jan 21, 2008 at 03:47 AM

call function in abap routine of infopackage

103 Views

Experts,

Good day. I have a problem concerning the data to be imported in my ods.I can't find a similar thread corcerning my problem. My ‘File date’ field should contain only 2 years and 3months data of recent data. I'm using a call function fima_date_create to filter values of zfile_date.

CALL FUNCTION 'FIMA_DATE_CREATE'

EXPORTING

I_DATE = sy-datum

I_FLG_END_OF_MONTH = ' '

I_YEARS = 2-

I_MONTHS = 3-

I_DAYS = 0

I_CALENDAR_DAYS = 0

I_SET_LAST_DAY_OF_MONTH = ' '

IMPORTING

E_DATE =

E_FLG_END_OF_MONTH =

E_DAYS_OF_I_DATE =

The sy-datum becomes the “High” value and the date generated by this FM will be the “low” value. I already tested this function module and it is what i want. How Should I write the ABAP code for this in the abap routine for my infopackage? Or what steps do I need to take.