The noinput command makes SAP elements read-only.
Just as the readonly option used with inputfields restricts users from entering any data in that particular field, the noinput option also makes a SAP screen element into a read-only element. Noinput can be used with any SAP screen that allows input. The command cannot be used on user-defined fields. The syntaxes would be as follows:
| Syntax | Description |
|---|---|
noinput("F[field_name]");
|
Used to make a single inputfield read-only. |
noinput("C[checkbox_name]");
|
Used to make a single checkbox read-only. |
noinput("T[table_name]");
|
Makes an entire table read-only |
noinput("[table_name, col_name]");
|
Makes a table column read-only. |
noinput("[table_name, col_no]");
|
Makes a table column read-only. Uses the column number (an integer) to identify the column instead of the column name. |
noinput("All items, col_name");
|
Alternate syntax to make a table column read-only. Uses column name, not the position. |
noinput("T[table_name]", {"searchhelp":true});
|
Disables input on table but leaves searchhelp visible on any columns that have F4 available. |
noinput("table_name, column_name", {"searchhelp":true});
|
Disables input on specified table column but leaves searchhelp visible on any columns that have F4 available. |
noinput("F[field_name]", {"searchhelp":true});
|
Disables input on specified field but leaves searchhelp visible. |
The noinput command takes the following option:
You can make an inputfield read-only while leaving the search help visible. The syntax is as follows:
{"searchhelp":true}