Skip to Content
0
Former Member
Feb 23, 2010 at 05:27 AM

For a READ TABLE how to build a dynamic WITH KEY condition?

338 Views

Hi All,

I have a Z table with 6 fields. The first field is the Plant and is the key field. This field can be matched with the field from selection screen. Now I have 4 character fields which can contain various values. Now I have another field at the end of the table and this field is the one which I will need for further processing.

Now this last field will be selected based on the data for first 5 fields.

This Read is performed in a loop and the data for all the 4 character fields may not be present.

Now my problem is how to build a Read statement for this table where I need to get the value of the Last field based on the values of first 5 fields?