TMW Selection IDs and Function Module - date issue
In the Time Managers Workbench and customizing Employee Selection IDs I have created a custom Function Module.
As per the documentation the FM has a standard interface.
uname = SY-UNAME " sy-uname
begda = " sy-datum
endda = " sy-datum
plvar = " plvar
authority_check = 'X' " flag_x
objects_in = " hrsobid
objects_out = " hrsobid
NOTHING_FOUND = 1 "
. " HRCM_OWN_ORGUNIT_EMPL_GET
My issue is no matter what date or range of dates I select on the TMW when I debug my FM the BEGDA/ENDDA passed to the FM is 01-jun-2011 - 31-Aug-2011. I had assumed the range selected on the screen would be passed but this does not appear to be the case.
Any body any insight into using FMs in selection IDs and what I might be able to do to get the required dates into the FM ?
In the config for the function module there is a sub node that appears to be for passing additional data to the FM but I cannot find any documentation on this and have been unable to figure out how it can be used !! again any insight would be appreciated.