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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Query with logical DB KDF

Former Member
0 Kudos

How can I obtain the value of the field LFA1-EMNFR?

4 REPLIES 4

Former Member
0 Kudos

Hi,

You could use the <b>GET LFA1</b> statement to evaluate LFA1-EMNFR. Try something like:

<b>

GET lfa1.

WRITE lfa1-emnfr.

</b>

The LDB driver program would automatically fill the work area of LFA1 and make it available for you in your program. You could then manipulate it as you need. Hope this helps.

Regards

0 Kudos

My problem is that I get always an empty field for EMNFR even if the table LFA1 has not initial values.

0 Kudos

Hi,

Could you please post the portion of code where you are evluating the contents of this field. Additionally, have you tried using a direct SELECT statement for the same selection criterion? And have you debugged the driver program to see if the value is being returned for the selection criterion passed to it.

Regards

0 Kudos

I'm trying to change a Query (SQ01) that uses an infoset that gets the data from a logical DB (KDF), I've included the field lfa1-emnfr in a field group (Vendor Master), but it's empty always, when I execute the query.