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 |
The actual document type may, in some cases, not be the same as the type returned by get_document_proxy.