Start of Content Area

Background documentation Services and Runtime Objects  Locate the document in its SAP Library structure

In a BSP application, the runtime object (runtime) allows you to access information that is relevant at runtime, such as the current document (method get_document). This includes the information that has to be set explicitly for the visualization. This information can be defined for the runtime object with the service object ddic_utils.

You can either use the data returned in a BSP application. For example, you can display the list of values from a simple input help.

Service object ddic_utils offers the following services:

Specification of language-specific texts (from the Dictionary and calendar)

 

Method GET_FIELD_LABEL for assigning the field label.

See also: Field Label.

 

Method GET_QUICKINFO gives a short description of the elementary data objects with their Dictionary reference.

See also: Application Help.

 

Method GET_DAY_COLLECTION returns the names of the days stored in the Dictionary.

See also: Calendar.

 

Method GET_MONTH_COLLECTION returns the names of the months stored in the Dictionary.

See also: Calendar.

Definition of a local or global history ID

 

Method GET_HISTORY_ID defines a global history ID.

See also: Field History.

 

Method GET_LOCAL_HISTORY_ID defines a local history ID.

See also: Field History.

Definition of a list of values

 

Method GET_SIMPLE_HELPVALUES returns a list of values from a simple value help.

See also: Value Help.

 

The part of the methods defining the type-specific information from the Dictionary has a reference to a data object as its importing parameter. This data object must have a direct or indirect reference to an elementary Dictionary type (data element or component of a structure) because the corresponding information that is relevant for visualization (such as the language-specific texts) are defined in the Dictionary for the elementary Dictionary types. For example, the method can pass a reference to a data object that is associated with an elementary component of a Dictionary structure (DATA: var TYPE strucname-compname.) or a data object that directly is associated with a data reference (DATA: var TYPE dtelname.) as actual argument.

 

 

 

End of Content Area