Fonction SAP BAPI_BROKERREP_CHANGE - Change a Broker Report

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BROKERREPORTHEADER BAPIBROKREPHEADER u 212 Broker Report - BAPI Structure Broker Report Header
BROKERREPORTHEADERX BAPIBROKREPHEADERX u 23 Broker Report - BAPI Structure Broker Report Header
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
BROKERREPORTDEFAULT BAPIBROKREPDEFAULT 42 X Broker Report - BAPI Structure Proposal Data
BROKERREPORTDEFAULTX BAPIBROKREPDEFAULTX 10 X Broker Report: BAPI Structure Proposal Data Changes
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 change a broker report with this method.

  • You can only change a broker report if it has one of the following
  • statuses:
    Items can still be added (manual processing)
    Report processed with BAPI
    • In the REPORTID field, enter the identification of the
    • BrokerReport Business Object that you would like to change.
      • If you want to change header data, enter the values to be changed in the
      • fields for the BROKERREPORTHEADER parameter, and set an X forevery field in the change structure BROKERREPORTHEADERX.
        • If you want to change default data, enter the values to be changed in
        • the remaining fields for the BROKERREPORTDEFAULT parameter, andset an Xfor every field in the change structureBROKERREPORTDEFAULTX.
          • The method is executed in the test run if you fill the TESTRUN
          • parameter with X.
            • Event V596 runs at the start of the method,
            • and you can use it to check the parameters for the method.
              • Event V598 runs at the end of the method, and
              • you can use it to fill the ExtensionOut parameter.
                Example
                Notes
                Further information

                Notes
                You require the authorization to change a broker report (activity 02 inthe I_VVBR_STM authorization object).


                INCLUDE BAPI_CD_BROREP_HEADER OBJECT DOKU ID TX
                In the REPORT field, you have to specify the identification forthe BrokerReport Business Object. You have to flag the fieldsthat are to be changed with an 'X' in the change structure.
                The following fields cannot be changed:

                • Broker report identification

                • Reconciliation key

                • If items already exist for the broker report:

                • Broker/broker contract
                  Currency
                  Company code
                  Clearing account
                  Exchange rate
                  INCLUDE BAPI_CD_BROREP_HEADERX OBJECT DOKU ID TX
                  INCLUDE BAPI_CD_BROREP_BROREPID OBJECT DOKU ID TX
                  INCLUDE BAPI_CD_BROREP_TESTRUN OBJECT DOKU ID TX


                  INCLUDE BAPI_CD_BROREP_DEFAULT OBJECT DOKU ID TX
                  When you specify default values, they overwrite the default values thatyou defined in the Implementation Guide. Only those values that you havefilled wiht X in the change structure are retained.
                  Create a line for every category whose default values are to be changed.
                  INCLUDE BAPI_CD_BROREP_DEFAULTX OBJECT DOKU ID TX

                  Description
                  The parameter can be checked for event V596and processed for event V598.

                  Description
                  The parameter can be filled for event V598.


                  INCLUDE BAPI_CD_BROREP_RETURN OBJECT DOKU ID TX
                  After being called, the RETURN parameter contains:
                  o Information method I501 (IBRO) - if the method was called in thetest run
                  o Success message S002 (BAPI) - if the broker report was created.
                  o Error message E003 (BAPI) - if the broker report was not created -as well as an appropriate error message about why the broker report wasnot created.