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

Regarding Logical Databases

Former Member
0 Likes
718

Hi,

I have selected the logical dtaabase pnp in my attributs screen.

i have read that logical databases can have a maximum of 300 tables.

So what tables can i access using the pnp LDB.

Also i have heard that if we select a LDB a standard selection screen appears.

But in my case it does not appear.

Please help.

Thanks in advance,

Bala.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
685

hi

declare node also

use get pernr

regards

vivek

6 REPLIES 6
Read only

Former Member
0 Likes
685

>

> Also i have heard that if we select a LDB a standard selection screen appears.

> But in my case it does not appear.

.

please add the following statement in your program

TABLES: pernr.

Please check the link below

[Logical Databases |http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]

and the following demo programs on LDB

DEMO_SELECTION_SCREEN_LDB_1

DEMO_SELECTION_SCREEN_LDB_2

DEMO_SEL_SCREEN_SELECT_LDB_1

DEMO_SEL_SCREEN_SELECT_LDB_2

Edited by: Rajesh on Oct 23, 2008 5:36 PM

Added additional info

Read only

0 Likes
685

Thanks...

If i want to disable the selection screen what should i do

i got the selection screen by using nodes statement.

nodes pernr.

thanks in advance,

Bala.

Read only

KK07
Contributor
0 Likes
685

hi,

use the statements

TABLES :PERNR

INFOOTYPES:0001,....etc(as per ur requirement).

use GET PERNR (for ldb PNP )

and activate it.it should show u default selection-screen.

yes u can use max.300 dbtables in ldb.for the ldb PNP u can read infotypes related to PA,TM,etc..

Edited by: krishna kishore on Oct 23, 2008 5:38 PM

Read only

Former Member
0 Likes
686

hi

declare node also

use get pernr

regards

vivek

Read only

0 Likes
685

Thank you guys.

worked like a breeze!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thank you all very much.

I have a doubt.

You told about infotypes : 0001....

But i heard infotypes statement is obsolste.

is it so

Thanks in advance,

Bala.

Read only

0 Likes
685

>

> Thank you guys.

> worked like a breeze!!!!!!!!!!!!!!!!!!!!!!!!!!!

>

> Thank you all very much.

>

>

> I have a doubt.

>

> You told about infotypes : 0001....

>

> But i heard infotypes statement is obsolste.

> is it so

>

> Thanks in advance,

> Bala.

Yes, the "Infotypes" declaration is obsolete, you can replace the "infotypes" declaration with the declaration below

DATA:
  P0001 TYPE TABLE OF P0001.