Function Sets the focus to a specific field
Example s10setfocus( 'kunnr' ).
Format data:
  myattributename type string.

  s10setfocus( myattributename ).
Name Type Description
attributename string
Attribute name
Description In the current screen, at the end of the dialogue step, the focus is set to the HTML element with the specified attribute name.

On table cells, the focus can be set with the following notation: 'tablename.row.colname', e.g. 'mycustomers.27.kunnr'.

If the object from which s10setfocus() is called occurs in a table that is currently displayed, the table notation is not necessary. The focus is then automatically given to the named column in the corresponding table row.
Components S10 Framework