sapgui_table_set_column_width
| Table Functions |
Selects a table column width.
int sapgui_table_set_column_width( const char *description, const char *tableID, const char *column, const char *width, [args,] LAST );
| description | User entered text to aid in understanding script |
| tableID | Object ID Strings |
| column | Column number. the first column is numbered zero. |
| width | The new width in characters |
| args | Optional Arguments |
| LAST | A marker indicating the end of the argument list. Not required if Optional Arguments are used. |
sapgui_table_set_column_width emulates a user dragging the edge of a column header in a table.
Return Values
This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.
Parameterization
You can parameterize all string (char type) arguments.
Example
The following example uses sapgui_table_set_column_width to set the third column of a table to 11 characters wide.
sapgui_table_set_column_width("Depart.city", "usr/tblRSDEMO02TC_SPFLI",
"2",
"11",
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui1036",
END_OPTIONAL);

