‎2008 Aug 26 10:22 AM
I will create a function module in HR.
but how to use Logical database in function module ? Logical database PNP always show screen.in function (RFC) code , it is a matter.
‎2008 Aug 26 10:37 AM
‎2008 Aug 26 10:42 AM
hi,
you cannot use logical database in FM. instead you can use following FMs
RH_READ_INFTY_NNNN
RH_READ_INFTY
‎2008 Aug 26 10:48 AM
As far as I know LDB can be assigned to a report but not to a function module. If you want to read the data for any infotype we have to use the other function modules which reads the data from infotypes without using LDB.
‎2008 Aug 26 10:48 AM
hi,
I think you cannot use LDB in a Function module.
Please find some Function modules for Reading the data of yuor infotype.
Regards
Sumit Agarwal
‎2008 Aug 26 10:53 AM
‎2008 Aug 26 11:05 AM
You cannot attach the LDB to the main program of the function group.
- So you may [SUBMIT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=submit&adv=false&sortby=cm_rnd_rankvalue] a report which use the LDB and get back the data (export/import), by default in the syntax of SUBMIT the selection-screen will not be displayed
- Use [LDB_PROCESS|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=ldb_process&cat=sdn_all], fill a structured table for selection, and get data back in another table
- Use [HR function modules to read Infotypes|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrfunctionmodulestoread+Infotypes&adv=false&sortby=cm_rnd_rankvalue].
Regards
‎2009 Nov 21 12:38 AM