Fonction SAP BAPI_CASE_DELETE - Delete Case

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
RETURN BAPIRET2 u 548 Return Parameters

Functionality
This BAPI method is used to delete a case.
To delete a case means to delete all its attributes and subcomponents.The documents attached to the case as record elements are not deleted.

Example
* Call the BAPI
CALL FUNCTION 'BAPI_CASE_DELETE'
     EXPORTING
          GUID         = '40908A3045BF1A51E10000000A1550FF'
     IMPORTING
          RETURN       = return.

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

  • The case exists.

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

      Description
      GUID of a case which that is to be deleted.