Thanks a lot guys, but one more can you please post the declaration part too please? also, if i have a transparent table named called ZTABLE which has 5 columns and i want to declare my internal table's structure just like it what would be the code look like? i know how to declare an internal table like this.
types:
begin of xxxx,
fields type ztable-field,
.
.
.
end of xxxx,
then work area.
in this way i have to type out the entire structure. is there a way where i can just give reference? "LIKE" ztable and then any time if ztable's structure changes it also updates my internal table structure too?
thanks again.