VIEW
This action is very similar to the EDIT
action. The difference is that the process in which the action has been called does not wait for the user to change the values of the object and continues execution immediately after displaying the form. Also the VIEW
action allows viewing the specific presentation of the business object.
Syntax
VIEW
AttributeIdentifier() [ USING
Id() or StringLiteral() ] [ NOEDIT
]
where AttributeIdentifier() must be the name of the business object.
Example
VIEW Account
Id() or StringLiteral optionally indicate presentation or form of the business object to be viewed, for example
VIEW Account USING 'Some fancy presentation'
where “Some fancy presentation” is the name of the presentation that must be configured with the Account object.
note
It is possible to optionally indicate the name of the specific section of the business object that will be displayed first, for example:VIEW Account USING 'Form for administrators' FORM_SECTION 'Personal details'
note
IfNOEDIT
keyword is specified at the end of the action the form viewed will have all its input controls disabled, so that the user cannot change any of the values.