Ansicht
Dokumentation

EHPRC_GET_DOCUMENT_CONTENT - Provides compliance iinformation for document content

EHPRC_GET_DOCUMENT_CONTENT - Provides compliance iinformation for document content

Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module provides the user with document content information.

Input:

- IV_INSTANCE_KEY - technical key of the requirement revision instance or compliance object instance (retrieved from the output of the function modules EHPRC_DOC_CI_BY_MATID or EHPRC_DOC_CI_BY_SUBID -see their corresponding documentation)

- IV_DOCUMENT_KEY - technical key of the document instance (retrieved from the output of the function modules EHPRC_DOC_CI_BY_MATID or EHPRC_DOC_CI_BY_SUBID -see their corresponding documentation )

- IV_FOR_CO - this indicator should be set if the document requested relates to the compliance object. Otherwise it is assumed that it is requested for a requirement revision (default value is abap_false)

Output:

  • ES_DOCUMENT_CONTENT - structure containing the document information with the following components:
  • MIME_CODE - HTML content type of the document

  • FILE_NAME - Relative storage location of physical document

  • CONTENT- binary representation of the document content

Exceptions:

- PROCESSING_ERROR,, - an error has occurred while retrieving compliance information

Example

Notes

Further information





Parameters

ES_DOCUMENT_CONTENT
IV_DOCUMENT_KEY
IV_FOR_CO
IV_INSTANCE_KEY

Exceptions

PROCESSING_ERROR

Function Group

EHPRC_COMPLIANCE_INFO_API

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 2135 Date: 20240523 Time: 094536     sap01-206 ( 33 ms )