Entering content frame

Background documentation .exists Locate the document in its SAP Library structure

You use the .exists attribute to determine whether a screen field exists on the screen.

Example

The following code determines whether the vbcom-kunde field exists on the screen and whether it is ready for input:

`if ( vbcom-kunde.exists )`
  `if ( vbcom-kunde.disabled )`
    <! Value only -->
    `vbcom-kunde`
  `else`
    <! ready for input -->
    <input type="text" name="vbcom-kunde"
           value "`vbcom-kunde`">
  `endif`
`endif`

Leaving content frame