Fonction SAP BAPI_BROKERREP_REMOVE - Delete a Broker Report

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NO_AUTH_CHECK BAPIBROKREPCTRL-NO_AUTH_CHECK C 1 X
REPORTID BAPIBROKREPHEADER-REPORT C 12 Broker Report Identification
TESTRUN BAPIBROKREPCTRL-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN BAPIRET2 548 X Return Parameters

Functionality
You delete a broker report with this method.

  • A broker report can only be deleted if it has one of the following
  • statuses:
    Items can still be added (manual processing)
    Broker report processed with BAPI
    Items cannot be added or deleted
    Broker report is incomplete
    • The method is executed in the test run if you fill the TESTRUN
    • parameter with X.
      • Event V599 is executed at the end of the
      • method, in which processing can be cancelled or additional processingtasks can be executed and the ExtensionOut parameter can befilled.

        Notes
        You require the authorization to delete broker report (activity 06 inthe I_VVBR_STM authorization object).
        INCLUDE BAPI_CD_BROREP_BROREPID OBJECT DOKU ID TX
        INCLUDE BAPI_CD_BROREP_TESTRUN OBJECT DOKU ID TX

        Description
        The parameter can be checked for event V599and can be used for further processing.

        Description
        The parameter can be filled for event V599.
        INCLUDE BAPI_CD_BROREP_RETURN OBJECT DOKU ID TX
        After being called, the RETURN parameter contains:
        o Information message I501(IBRO) - if the method was executed in thetest run.
        o Success message S004(BAPI) - if the broker report was deleted.
        o Error message E005(BAPI) - if the broker report items were notdeleted - as well as an appropriate error message about why the brokerreport items were not deleted.