Application Development and Automation 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: 
Read only

how to use Logical database in function module?

Former Member
0 Likes
1,827

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.

7 REPLIES 7
Read only

Former Member
0 Likes
1,094

pls

Read only

Former Member
0 Likes
1,094

hi,

you cannot use logical database in FM. instead you can use following FMs

RH_READ_INFTY_NNNN

RH_READ_INFTY

Read only

Former Member
0 Likes
1,094

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.

Read only

Former Member
0 Likes
1,094

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

Read only

bpawanchand
Active Contributor
0 Likes
1,094

HI

Use FM LDB_PROCESS

Regards

Pavan

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,094

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

Read only

Former Member
0 Likes
1,094

thank