Hi Team,
We have a data mapping scenario, where data is mapped from TABLE A to TABLE A. The SOURCE & TARGET fields that are to be populated respectively are maintained as a list of values in a custom table as shown below:
COLUMN 1 (Table A - Source Field) | COLUMN 2 (Table B - Target Field) |
---|---|
FIELD1 | FIELD1 |
FIELD2 | FIELD2 |
FIELD3 | FIELD3 |
FIELD4 | FIELD4 |
FIELD5 | FIELD5 |
FIELD....N | FIELD....N |
The above list of fields is subject to change frequently and the source and the target fields will be added/changed/removed.
We need to create dynamic internal table & work areas for both the above field lists. This helps the data can be taken from the respective source fields and be populated into the respective fields of the target table. Though I have worked on creating dynamic internal tables and work areas, this seems a bit different. Your inputs pls....
Thank you in Advance,
Chaitanya