Fonction SAP BAPI_CASE_READLOG - Read Log

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
END_DATE BAPISCMGCASE-SEARCH_DATE D 8 X Date
GUID BAPISCMGCASE-CASE_GUID C 32 Technical Case Key (Case GUID)
MAX_ENTRIES BAPISCMGCASE-MAX_ENTRIES I 4 X Position
START_DATE BAPISCMGCASE-SEARCH_DATE D 8 X Date

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

Paramètre Reférence Long. Facultatif Description
LOG_ENTRIES BAPILOG 840 Case: Log Entries

Functionality
This BAPI method is used to read case log entries.
The input parameters define the search conditions for log entries.

Example
* Call the BAPI
CALL FUNCTION 'BAPI_CASE_READLOG'
     EXPORTING
          GUID               = '40908A3045BF1A51E10000000A1550FF'
          START_DATE         = '20040101'
          END_DATE           = '20040501'
          MAX_ENTRIES        = 20
     IMPORTING
          RETURN             = return
     TABLES
          LOG_ENTRIES        = log_entries.

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

  • The case exists.

  • The following authorizations are required:
    • An authorization for displaying cases (authorization object S_SCMG_CAS).
    • Description
      Result of the BAPI call.

      Description
      The end date for a log entry search.

      Description
      The GUID of a case whose log is to be read.

      Description
      The maximum number of entries to be returned for the search.

      Description
      Start date for a log entry search.

      Description
      Case log entries.