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

Use this method to return a list of file extensions valid for a particular application.

CALL METHOD control->get_extensions
       EXPORTING document_type = document_type
                 no_flush      = no_flush
       IMPORTING error         = error
                 retcode       = retcode
       CHANGING  extensions    = extensions.

Description of parameters

Parameter

Optional

Description

document_type

 

The Program ID of the application as it appears in the Registry (such as 'Word.Document.8')

extensions

 

A single-column internal table containing the list of valid file extensions for the application. The method reads these from the Registry of your frontend computer.

Define it with reference to soi_colnames_table .

 

 

 

Leaving content frame