With fieldsize(), you can fix the maximum number of characters entry in native SAP fields.
Note: Fieldsize() is restricted to standard SAP editable fields.
- Label name - name of the field.
- n - field size.
You can use the following options with the fieldsize:
"scrollable":true - Enables scrolling in a field.
- In the following example, we will resize the Material field on the MM01 screen.
- Launch SAP and navigate to the MM01 transaction.
- The default screen appears as shown below: