Adding fields to the Internal Table Dynamically
Hi Friends,
I have got the following requirement for an Internal Table...Please send your answers very urgently..
I have defined an internal table with fields matnr, bukrs,maktx let us suppose t_inter.
But at runtime based on the condition ..for example if p_flag equal to 'X'
I have to add fields posnr and belnr at runtime to the existing defined internal table t_inter..
if p_flar equal to space we have to add field mtart to t_inter at runtime.
Please let me know if you have any questions related to this requirement.
Thanks in Advance..
Shambu
I have just read an article that shows how to add field dynamically to internal table, have a look at the following link http://searchsap.techtarget.com/tip/1,289483,sid21_gci885265,00.html?FromTaxonomy=/pr/283958
HASSAP