Fonction SAP BAPI_CASE_GETRECORD - Get Record Business Object Key

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
GUID BAPISCMGCASE-CASE_GUID C 32 Technical Case Key (Case GUID)

Paramètre Reférence Type Long. Description
DOCUMENT_CLASS BAPISRMREC-DOCCLASS C 10 Storage Location of Document in SRM (Content Model)
OBJECT_ID BAPISRMREC-OBJECTID C 32 GUID
RETURN BAPIRET2 u 548

Functionality
This BAPI method is used to get the key for the BOR object Record forthe record embedded in a case.

Example
* Call the BAPI
CALL FUNCTION 'BAPI_CASE_GETRECORD'
     EXPORTING
          GUID               = '40908A3045BF1A51E10000000A1550FF'
     IMPORTING
          RETURN             = return
          DOCUMENT_CLASS     = document_class
          OBJECT_ID          = object_id.

Notes
The following prerequisites must be met before this BAPI methodcan be used:

  • The case exists and contains the subcomponent "Record".

  • The following authorizations are required:
    • An authorization for displaying cases (authorization object S_SCMG_CAS).
    • Further information
      See also the documentation for the BOR object Record.

      Description
      The document class of a case record.

      Description
      Object ID of a case record.

      Description
      Result of the BAPI call.

      Description
      GUID of a case whose record is to be returned.