Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module to retain data for a given period.

Former Member
0 Likes
358

Hi all,

This is my requirement:

I have a selection screen on which a specific number of months is entered. Using the FM 'FI_PERIOD_DETERMINE' and passing the current date to it, I'll be fetching the current fiscal year and fiscal period. I got to retain the data maintained in a custom table for that many number of months as is specified on the selection screen starting backwards from the current fiscal period obtained after the FM call. And thereby deleting all the data maintained in the same table prior to it.

Is there any function module to do so..... If not, kindly let me know the procedure to follow in order to obtain this requirements

Regards,

Jean Pearl D'souza

1 REPLY 1
Read only

Former Member
0 Likes
312

Hi,

Use FM HR_GB_PERIOD_DATES

Payroll area is mandatry.