BAPI_BROKERREP_GETDETAIL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_BROKERREP_GETDETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
IBRBAPI
Released Date:
21.08.2007
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_BROKERREP_GETDETAIL' "Reading Broker Report Information
EXPORTING
reportid = " bapibrokrepheader-report Broker Report Identification
* no_auth_check = " bapibrokrepctrl-no_auth_check Do Not Execute Authorization Checks for User Data
IMPORTING
brokerreportheader = " bapibrokrepheader_detail Broker Report - BAPI Structure Broker Report Header
* TABLES
* brokerreportdefault = " bapibrokrepdefault_detail Broker Report - BAPI Structure Proposal Data
* brokerreportitem = " bapibrokrepitem_detail Broker Report: BAPI Structure Item Data
* brokerreportselitem = " bapibrokrepselitem Broker Report: BAPI Structure Selected Open Items
* brokerreportitemdoc = " bapibrokrepitem_docs Broker Report: BAPI Structure for Additional Documents
* brokerreportclarcases = " bapibrokrepclarcases Broker Report: BAPI Structure Clarification Cases
* extensionin = " bapiparex Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* extensionout = " bapiparex Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* return = " bapiret2 Return Parameters
. " BAPI_BROKERREP_GETDETAIL
The ABAP code below is a full code listing to execute function module BAPI_BROKERREP_GETDETAIL including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_brokerreportheader | TYPE BAPIBROKREPHEADER_DETAIL , |
| it_brokerreportdefault | TYPE STANDARD TABLE OF BAPIBROKREPDEFAULT_DETAIL,"TABLES PARAM |
| wa_brokerreportdefault | LIKE LINE OF it_brokerreportdefault , |
| it_brokerreportitem | TYPE STANDARD TABLE OF BAPIBROKREPITEM_DETAIL,"TABLES PARAM |
| wa_brokerreportitem | LIKE LINE OF it_brokerreportitem , |
| it_brokerreportselitem | TYPE STANDARD TABLE OF BAPIBROKREPSELITEM,"TABLES PARAM |
| wa_brokerreportselitem | LIKE LINE OF it_brokerreportselitem , |
| it_brokerreportitemdoc | TYPE STANDARD TABLE OF BAPIBROKREPITEM_DOCS,"TABLES PARAM |
| wa_brokerreportitemdoc | LIKE LINE OF it_brokerreportitemdoc , |
| it_brokerreportclarcases | TYPE STANDARD TABLE OF BAPIBROKREPCLARCASES,"TABLES PARAM |
| wa_brokerreportclarcases | LIKE LINE OF it_brokerreportclarcases , |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extensionin | LIKE LINE OF it_extensionin , |
| it_extensionout | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extensionout | LIKE LINE OF it_extensionout , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_brokerreportheader | TYPE BAPIBROKREPHEADER_DETAIL , |
| ld_reportid | TYPE BAPIBROKREPHEADER-REPORT , |
| it_brokerreportdefault | TYPE STANDARD TABLE OF BAPIBROKREPDEFAULT_DETAIL , |
| wa_brokerreportdefault | LIKE LINE OF it_brokerreportdefault, |
| ld_no_auth_check | TYPE BAPIBROKREPCTRL-NO_AUTH_CHECK , |
| it_brokerreportitem | TYPE STANDARD TABLE OF BAPIBROKREPITEM_DETAIL , |
| wa_brokerreportitem | LIKE LINE OF it_brokerreportitem, |
| it_brokerreportselitem | TYPE STANDARD TABLE OF BAPIBROKREPSELITEM , |
| wa_brokerreportselitem | LIKE LINE OF it_brokerreportselitem, |
| it_brokerreportitemdoc | TYPE STANDARD TABLE OF BAPIBROKREPITEM_DOCS , |
| wa_brokerreportitemdoc | LIKE LINE OF it_brokerreportitemdoc, |
| it_brokerreportclarcases | TYPE STANDARD TABLE OF BAPIBROKREPCLARCASES , |
| wa_brokerreportclarcases | LIKE LINE OF it_brokerreportclarcases, |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionin | LIKE LINE OF it_extensionin, |
| it_extensionout | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionout | LIKE LINE OF it_extensionout, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
The method delivers all data for a broker report:
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_BROKERREP_GETDETAIL or its description.
BAPI_BROKERREP_GETDETAIL - Reading Broker Report Information BAPI_BROKERREP_EXISTENCECHECK - Check Whether Broker Report or Broker Report Item Exists BAPI_BROKERREP_CREATE - Creating a Broker Report BAPI_BROKERREP_COLLECTITEMS - Summarization of Open Items to Be Cleared in Broker Report Items BAPI_BROKERREP_CLOSE - Closing a Broker Report BAPI_BROKERREP_CHANGEITEM - Change a Broker Report Item