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: 

calling logical database

Former Member
0 Kudos
157

Hi,

I have created one logical database using BSAK & BSEG named as "ZVENLDB".

While iam calling this LDB into abap program...it is showing error that "BSAK is not a node of the logical database".

Could any one tell me where might be the problem?

...this is abap program...

report Z_SAMPLE.

NODES: BSAK,BSEG.

GET BSAK.

SKIP.

WRITE:/BSAK.

GET BSEG.

SKIP.

WRITE:/BSEG.

Reward guaranteed...

Kaki

1 ACCEPTED SOLUTION

Former Member
0 Kudos
134

In the attributes of your program have you entered the name of the logical databse?

5 REPLIES 5

Former Member
0 Kudos
134

Include BKPF in the logical database .

the call BKPF first an then others. Hope this might help you.

0 Kudos
134

Hi MCG,

I have included BKPF.

BSAK

BKPF

BSEG

Is my abap program is correct?How do the abap program recognise the particular LDB? Do i need to write any include<LDB> some thing like this??

kaki

0 Kudos
134

Here is the link for help for more details:

http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm

Hope this will be helpful.

Former Member
0 Kudos
134

Pls check this program RFBELJ00 for LDB. this might be helpful.

Former Member
0 Kudos
135

In the attributes of your program have you entered the name of the logical databse?