Use this method to find out the number of rows and columns in each table in the word processor document.
CALL METHOD wp->get_table_info
EXPORTING no_flush = no_flush
IMPORTING retcode = retcode
error = error
CHANGING tableinfo = tableinfo.
Parameter |
Optional |
Description |
tableinfo |
An internal table with the type SOI_TABLEINFO_TABLE . This has two columns - ROWS and COLUMNS , which the method fills with the dimensions of each table in the document. The tables are listed in the internal table in the order in which they appear in the word processor document. |