Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Difference in statements

Former Member
0 Kudos

If i write in my program :

get lfa1.

get lfb1.


get lfb1.

get lfa1.

What difference it makes ? Is it : get lfa1 gets some records based on it selection ( say country US ) ,

then get lfb1 will get records ( for ccode 1000 selection) from what lfa1 returned ??

I would rellly appreciate if anyone who knows ldb help me out ...I m stuck


Active Contributor
0 Kudos


I think there is no difference.

Each logical database has own selection screen and logic to read the data and pass it back the result.

Please check this link perhaps it may help.


Ferry Lianto

0 Kudos

Thanks Ferry , this report uses the ldb kdf and in normal course it was designed to fetch the records based on the selection screen ( designed for the report ) .

Now , they want to use the Dynamic selection screen too ...!! So , i went in and put the get lfa1 statement where it did the SELECT code in the start of selection , but i couldnt make it work for the Company code lfb1...!!

The concpet of using the ldb is unclear ...if i do get lfb1 and then get lfa1 late gets records one by one to match ( for lfb1-lifnr = lfa1-lifnr )them in lfa1 doesnt make sense....!!