Fonction SAP BAPI_BROKERREP_REMOVEITEM - Delete a Broker Report Item

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
SUB_POSITION BAPIBROKREPITEM_IDENT-SUB_POSITION N 6 Assignment key for broker report item
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
The method deletes an item for a broker report.
o In the REPORTID parameter, you specify the ID of theBrokerReport business object for which an item is to be deleted.
o The broker report must have one of the following statuses:
Items can still be added (manual processing)
Report processed with BAPI
o In the SUB_POSITION parameter, you specify the ID of thebroker report item that is to be deleted.

  • The method is executed as a test run if you fill the TESTRUN
  • parameter with X.

    Notes
    You require the authorization to change a broker report (activity 02 inthe I_VVBR_STM authorization object).
    INCLUDE BAPI_CD_BROREP_BROREPID OBJECT DOKU ID TX
    INCLUDE BAPI_CD_BROREP_SUBPOSITIONID OBJECT DOKU ID TX
    INCLUDE BAPI_CD_BROREP_TESTRUN OBJECT DOKU ID TX

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

    Description
    The parameter can be filled for event V579.
    INCLUDE BAPI_CD_BROREP_RETURN OBJECT DOKU ID TX
    After being called, the RETURN parameter contains:

    • Information method I501 (IBRO) - if the method was executed in the test
    • run.
      • Success message S014 (IBRO) - if the broker report item was deleted.

      • Error message E015 (IBRO) - if the broker report items were not deleted
      • - as well as an appropriate error message about why the broker reportitems were not deleted.