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

You use this method to query the document types managed by the instance document:

CALL METHOD document->get_document_type
     EXPORTING no_flush      = no_flush
     IMPORTING document_type = document_type
               error         = error
               retcode       = retcode.

Description of parameters

Parameter

Optional

Description

document_type

 

Document type

Note

The actual document type may, in some cases, not be the same as the type returned by get_document_proxy.

Leaving content frame