Hi,
I've got a query related to Dynamic table read with Dynamic key fields.
e.g.
Int. Table Name#### CASE 1#### CASE 2
T_CURRENT#### Structure of MARA#### Structure of BSEG
T_COMPARE#### Structure of MARA#### Structure of BSEG
T_FIELD#### MATNR#### BUKRS/BELNR/GJAHR/BUZEI
T_CURRENT and T_COMPARE tables have dynamic structure, and they will be populated at run time based on the table name specified. So, table keys depend on the table name selected by the user, which will be available in T_FIELDS table.
I've to read contents of the table T_CURRENT, for each record of T_COMPARE table using key fields. As mentioned in given example, we can have multiple scenarios, where Key fields vary from 1 to n.
So, how do I tackle this logic?
Thanks in advance.
Regards,
Amit
Edited by: Amit Satose on Jun 8, 2009 9:49 AM