You can determine the length of a table row by calling ItLeng:
unsigned SAP_API ItLeng(ITAB_H itab);
Returns length of a row of the internal table.
itab (handle of an internal table).
This function is defined in SAPITAB.H.
Return Value:
Function Parameter:
handle of an internal table