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

Use multiple LDB in a single program

Former Member
0 Likes
840

Hi,

I want to use multiple log Database in a single program, is there a way to acheive the same..

Thanx.

Arjun.G

4 REPLIES 4
Read only

Former Member
0 Likes
631

i dont think so..as in attribute you casn specify only one ldb name...

best way specify the ldb name from which maximum data has to be retrieved..rest do select or fm

Read only

Former Member
0 Likes
631

Use FM LDB_PROCESS ..

call this for every LDB U want to use ...

Read only

Former Member
0 Likes
631

hi...

you can do so by calling function module LDB_PROCESS

REGARDS

Read only

Former Member
0 Likes
631

Hi,

You can use function module "LDB_PROCESS" to call a second Logical Database from a program where you already assigned one Logical DB.

There is a documentation and sample program available in every SAP system.

1. Call transaction ABAPDOCU

2. Expand node: Database Access > Logical Databases

3. Double click on node: Calling LDBs using a Function Module

There you will see an example how this can be achieved.

<<text removed>>

Regards,

Ogeday

Edited by: Matt on Feb 17, 2009 5:54 AM - please do not ask for points