02-16-2015 3:30 PM
Hi Experts,
I have move data from dynamic internal table to static internal table means <dyn_table> this is the dynamic internal table having records.These records are i want to move into gt_dyntab this internal table.gt_dyntab in this internal table two fields having name nad data.The name field is holding internal table name and data field is holding column of internal table, So i want move records into in data field of internal table gt_dyntab.Anybody can help me for this requirement.
CREATE DATA gs_dyntab-data TYPE STANDARD TABLE OF (v_kotab).
APPEND gs_dyntab TO gt_dyntab. CLEAR gs_dyntab.
MOVE-CORRESPONDING <dyn_table> TO gt_dyntab-data.
Thanks.
02-17-2015 5:46 AM
Hi Ram,
Can you tell me whether your structure of <dyn_table> and <gt_dyntab> are same or different ?
Regards,
Swaroop
02-17-2015 8:12 AM
Moderator message: why is your question identical to this one http://scn.sap.com/message/15756146#15756146 by http://scn.sap.com/people/pradeepkumar.padhy
Note: failure to address my question adequately may result in further moderation action.
Edit: I know why. It's because the question was rejected already three times. Refusal to accept moderator decisions can result in your account being suspended. Do not do this again. If you disagree with a moderator decision, take it to http://scn.sap.com/community/support