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

Logical Database?

Former Member
0 Likes
535

Can anyone explain, how to create an LDB (Logical Database)?

I need a step by step explanation, if possible with an example.

4 REPLIES 4
Read only

Former Member
0 Likes
510

Hi srihari,

1. A logical database is in fact

a program only.

2. This LDB provides two main things :

a) a pre-defined selection screen

which handles all user inputs and validations

b) pre defined set of data

based upon the user selection.

3. So we dont have to worry about from

which tables to fetch data.

4. Moreover, this LDB Program,

handles all user-authorisations

and is efficient in all respects.

5. tcode is SLDB.

*----


1. To get a taste of it.

2. create a new z program.

3. while creating type PNP

in logical database field.

4. paste this code and execute.

REPORT ABC.

*----


infotypes : 0001.

TABLES : PERNR.

*----


GET PERNR.

WRITE 😕 PERNR-PERNR.

5. The selection screen which u see

is coming from logical database PNP program.

6. Execute

7. U will get a list of pernr.

-


SAPDBPNP

this is the main program of LDB PNP

which does the main work.

SAPDB + ldb name.

regards,

amit m.

Read only

suresh_datti
Active Contributor
0 Likes
510

Use Tcode Se36 & Pl take a look at this <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm">SAP Help</a>

~Suresh

Read only

Former Member
0 Likes
510

Thank You Amit.. n thank you all.