Ansicht
Dokumentation

EHPRC_DOC_CI - Provides compliance document for released requirements by obj id

EHPRC_DOC_CI - Provides compliance document for released requirements by obj id

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module provides the user with information about the documents attached to a compliance object and its requirement revisions.

Input:

- ObjectID (SAP material master number or SAP document number or Product Safetyspecification) - one of these three parameters should be entered as search criteria.

- Language (Default: logon language)

Output:The attributes of the documents (incoming, outgoing) assigned to the released compliance requirement revision and defined by the configuration shall be read. Additionally, the attributes of the most up-to-date documents (per template) attached to the compliance data object which are defined in the configuration shall be read.

  • ET_REQUIREMENTS_DOC_INFO - table with document atttributes for each released requirement with the following columns :
  • REQ_REV_KEY - technichal key of the requirement revision ( will be used as a parameter for retrieving document information with the function module EHPRC_GET_DOCUMENT_CONTENT )

  • REQ - identifier of the requirement revision for which the document information is retrieved

  • DOCUMENTS_INFORMATION - a table with the actual attributes of the documents with the following columns:

- DOC_KEY - technical key of the document (will be used as a parameter for retrieving a document information with the function module EHPRC_GET_DOCUMENT_CONTENT )

- TEMPLATE_ID - identifier of the document template

- DOCUMENT_DESCRIPTION - description of the document

- DATETIME_CREATED - date and time of the creation of the document

  • ES_CO_DOC_INFO - a structure containing document information for compliance object which has the following components:
  • COMPLIANCE_OBJECT_KEY - technichal key of the compliance object ( will be used as a parameter for retrieving document information with the function module EHPRC_GET_DOCUMENT_CONTENT )

  • DOCUMENTS_INFORMATION - same table as the one described in the exporting table ET_REQUIREMENTS_DOC_INFO above.

Exceptions:

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

- MULTIPLE_COMPL_OBJECTS_FOUND - multiple compliance objects are found for a given compliance identifier

- NO_COMPLIANCE_OBJECT_FOUND - no compliance object is found for the given identifier

Example

Notes

Further information





Parameters

ES_CO_DOC_INFO
ET_REQUIREMENTS_DOC_INFO
IS_DOKNR
IV_LANGUAGE
IV_MAT_ID
IV_MAT_ID_LONG
IV_SUB_ID
IV_SUPPLIER_ID

Exceptions

MULTIPLE_COMPL_OBJECTS_FOUND
NO_COMPLIANCE_OBJECT_FOUND
PROCESSING_ERROR

Function Group

EHPRC_COMPLIANCE_INFO_API

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3801 Date: 20240523 Time: 094048     sap01-206 ( 69 ms )