Skip to Content
0
Former Member
Dec 24, 2008 at 10:40 AM

Read a dynamic table with key .

1021 Views

Hi All,

I have created a table maintenance generator for a DB table.

I need to make some customizations to this table maintenance, i.e. I need to make changes to the specific function group . In this function group there is a table EXTRACT, which is a dynamic table. I cannot read or reference to any of its fields directly.

This table has following fields:

KSCHL , KAPPKLKE , ERKRS , ACTION , VORTZEIN etc..

Now I need to read this table with a certain key , i.e for a certain value of KSCHL , KAPPLKE and ERKRS, I have these values of KSCHL , KAPPLKE and ERKRS in some variables.

My ultimate goal is to read table as:

read table extract with key kschl = v_kschl kapplke = v_kapplke erkrs = v_erkrs.

but since extract is a dynamic table I cannot use the statement above. How can I read this table as in the manner depicted by read statement above.

Any help appreciated.

TIA.