Fonction SAP BAPI_RECORD_DELETE - Delete Record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTCLASS BAPISRMREC-DOCCLASS C 10 Record Location
DOC_CONTEXT BAPIDOCCONTEXT u 64 X SRM Context for Document Access
OBJECTID BAPISRMREC-GUID C 32 Internal ID of Record

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

Functionality
Deletes the record identified by the specified parameters OBJECTID andDOCUMENTCLASS.
The elements contained in the record are not deleted.

Notes
The following authorizations are required:

  • Authorization for deleting records (authorization object S_SRMGS_DC)

  • Authorization for deleting versions/variants of records (authorization
  • object S_SRMGS_VV)

    Description
    Result of the BAPI call

    Description
    Location of the record (content model) that you want to delete.If the record is in the WebDAV, give this parameter an initialvalue.

    Description
    If the record is stored in the WebDAV, you must specify the RMS and SPS(corresponding element type of the record) here. Otherwise, you do notneed to set this parameter.

    Description
    Internal ID of the record to be deleted