Skip to Content

Developing HCM reports through Function Module: LDB_PROCESS

Mar 01 at 06:46 AM


avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Mar 01 at 08: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.

10 |10000 characters needed characters left characters exceeded