SAP Function SRM_DOCUMENT_GET_COMP_INFO - SRM: Get Document Content by Specifying Tables

Parameter Reference Type Length Default Optional Text
DOCUMENTCLASS BAPISRMDOC-DOCCLASS C 10 Location of Document
DOC_CONTEXT BAPIDOCCONTEXT u 64 X Access Context: RMS ID and SPS ID
OBJECTID BAPISRMDOC-GUID C 32 Internal Document ID
VARIANT BAPISRMDOC-VARIANT I 4 0 X Variant Number
VERSION BAPISRMDOC-VERSION I 4 0 X Physical Version Number

Parameter Reference Type Length Text
RETURN BAPIRET2 u 548 Return Parameter

Parameter Reference Length Optional Text
COMPONENT_INFO BAPIDOCCOMP 400 Document Components

Exception Text
DOC_NOT_FOUND Document Not Found
INTERNAL_ERROR Internal Error
NOT_AUTHORIZED No Authorization
PARAMETER_ERROR Parameter error

Functionality
Gets information on the files that make up the document, such asthe file ID, MIME type, file size.