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

Problem with LDB

Former Member
0 Likes
488

Hi

I am using the LDB DDF. In START-OF-SELECTION, I am getting the data for BSID using GET BSID and then filling the internal table. Then I am using GET KNB1. After this statement the data for BSID is becoming initial for all the fields.

Can anyone pls tell me why this is happening?

Thanks

Priya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
455

Are you putting any filtering conditions before GET statement. If so that could be one possibility of error.

- Guru

2 REPLIES 2
Read only

Former Member
0 Likes
456

Are you putting any filtering conditions before GET statement. If so that could be one possibility of error.

- Guru

Read only

Clemenss
Active Contributor
0 Likes
455

Hi,

I don't know DDF in detail but I know logical databases are very complex and I think is caused by the internal design.

Declare a field and store BSID after GET.

DATA:
  GS_BSID type BSID.
GET BSID.
GS_BSID = BSID.
GET KNB1.
* use GS_BSID here...

The results for GET are defined to be valid when GET is executed - not necessarily until the next GET for the same structure.

Regards,

Clemens