Fonction SAP BAPI_SRM_DOC_GET_COMP_INFO - SRM BAPI: Get Document Content by Specifying Tables

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter

Paramètre Reférence Long. Facultatif Description
COMPONENT_INFO BAPIDOCCOMP 400 Document Components

Functionality
Gets information on the files used to compose the document, for example,file ID, MIME type, file size, and so on.

Description
Result of BAPI call

Description
Location of document (content model)

Description
Context for accessing documents. If the document is stored on a WebDAVserver, you must specify the RMS ID and SPS ID in the document context.

Description
Internal ID of document

Description
Variant number of a physical version.

Description
Number of the physical version that actually exists and carries thecontent of a logical version.

Value range
The default value 0 stands for the current version.

Description
Table for the description of the document components
comp_count: Consecutive number of the component, is not stored by theback end.
comp_id: Name of the component
mimetype: MIME type
comp_size: File size of the component in bytes
binary_flag: 'X' - component is in binary format; ' ' - ASCII format
comp_num: Number of the component, stored by back end.