Entering content frameSyntax documentation get_application_property Locate the document in its SAP Library structure

Retrieves the properties of a desktop application. This method allows you to find out, for example, user-specific settings in the desktop application , such as the default directory for templates in Word.

CALL METHOD document->get_application_property
     EXPORTING property_name    = property_name
               subproperty_name = subproperty_name
               no_flush         = no_flush
     IMPORTING error            = error
               retcode          = retcode
     CHANGING  retvalue         = retvalue.

Description of parameters

Parameter

Optional

Description

property_name

 

Name of the property you want to retrieve

subproperty_name

X

Defines the property further

retvalue

 

Value of the property

Possible values:

Property_Name

Subproperty_Name

Description

'TEMPLATE_PATH'

''

The directory path for user-specific templates in a word processing program

'INTERNATIONAL'

'DECIMAL_SEPARATOR'

Character for decimal separator

'INTERNATIONAL'

'THOUSANDS_SEPARATOR'

Character for thousands separator

'INTERNATIONAL'

'LIST_SEPARATOR'

Separator character for lists

'INTERNATIONAL'

'DATE_SEPARATOR'

Separator character for dates

'INTERNATIONAL'

'TIME_SEPARATOR'

Separator character for times

 

Leaving content frame