03-01-2018 6:46 AM
Hi Team,
Could you please any one let me know function module "LDB_PROCESS" will work for HCM reports or not. As per SAP recommendations TABLES / INFOTYPES declarations are obsolete so without using those LDB program will not work for HCM Reports.I have tried using function module "LDB_PROCESS" by passing LDB name as "PNP" and selection details but after execution its not showing any selection screen and call back routine also not triggered.
03-01-2018 8:27 AM
The FM won't display any selection-screen, those must be executed in the calling program and the selection passed to the FM (use of RS_REFRESH_FROM_SELECTOPTIONS is easy) the callback forms will only be executed if the event is executed, so when some data found for the node for a get/get_late event. Don't forget that HR logical database use authorizations.
NB: AFAIK INFOTYPES and TABLES are not obsolete, only some options of those statements are obsolete like TABLES: *MARA. Logical database are obsolete, and SAP should provide services using a global class to replace those.