Application Development 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: 

Developing HCM reports through Function Module: LDB_PROCESS

Former Member
0 Kudos

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.

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

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.