2006 Oct 19 9:46 PM
HI,
can any one tell me the best way to count the number of Columns a structure or internal table has.
Thanks
C
2006 Oct 19 9:49 PM
Hi,
Try using the describe field type s_struc components n..
data: begin of s_struc,
field1,
field2,
end of s_struc.
data: v_int type int4.
describe field s_struc type s_struc components v_int.
write: / v_int.
Thanks,
Naren
Message was edited by: Narendran Muthukumaran
HI,
can any one tell me the best way to count the number of Columns a structure or internal table has.
Thanks
C
2006 Oct 19 9:49 PM
Hi,
Try using the describe field type s_struc components n..
data: begin of s_struc,
field1,
field2,
end of s_struc.
data: v_int type int4.
describe field s_struc type s_struc components v_int.
write: / v_int.
Thanks,
Naren
Message was edited by: Narendran Muthukumaran