BAPI_0035_GET_DETAIL 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_0035_GET_DETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
0035
Released Date:
21.09.2004
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_0035_GET_DETAIL' "Get detail of grant master data
EXPORTING
grant = " bapi_0035_fields-grant_nbr Grant
* get_control = " bapi_0035_get_control GM: control for data retrieval in
IMPORTING
header_get = " bapi_0035_header_get GM grant master : Header for GetDetail
* TABLES
* responsibility = " bapi_0035_responsible Responsiblity for the grant
* funds = " bapi_0035_funds Funds for the grant master
* sponsored_program = " bapi_0035_sponsored_prog Sponsored program for grant master
* sponsored_class = " bapi_0035_sponsored_class sponsored class for grant master
* cost_sharing = " bapi_0035_costsharing Cost sharing in the grant master
* indirect_costs = " bapi_0035_indirectcost Indirectcost for grant master
* idc_cap = " bapi_0035_idc_cap Grant IDC Cap (Program + Class)
* idc_cap2 = " bapi_0035_idc_cap2 Grant IDC Cap (Grant level)
* fund_recovery = " bapi_0035_fund_recovery Fund recovery for grant
* budget_layout = " bapi_0035_budget_layout GM budget layout
* report_tracking = " bapi_0035_report_track GM report tracking
* extension_in = " bapiparex Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
* extension_out = " bapiparex Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
* return = " bapiret2 Return Parameter
. " BAPI_0035_GET_DETAIL
The ABAP code below is a full code listing to execute function module BAPI_0035_GET_DETAIL 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_header_get | TYPE BAPI_0035_HEADER_GET , |
| it_responsibility | TYPE STANDARD TABLE OF BAPI_0035_RESPONSIBLE,"TABLES PARAM |
| wa_responsibility | LIKE LINE OF it_responsibility , |
| it_funds | TYPE STANDARD TABLE OF BAPI_0035_FUNDS,"TABLES PARAM |
| wa_funds | LIKE LINE OF it_funds , |
| it_sponsored_program | TYPE STANDARD TABLE OF BAPI_0035_SPONSORED_PROG,"TABLES PARAM |
| wa_sponsored_program | LIKE LINE OF it_sponsored_program , |
| it_sponsored_class | TYPE STANDARD TABLE OF BAPI_0035_SPONSORED_CLASS,"TABLES PARAM |
| wa_sponsored_class | LIKE LINE OF it_sponsored_class , |
| it_cost_sharing | TYPE STANDARD TABLE OF BAPI_0035_COSTSHARING,"TABLES PARAM |
| wa_cost_sharing | LIKE LINE OF it_cost_sharing , |
| it_indirect_costs | TYPE STANDARD TABLE OF BAPI_0035_INDIRECTCOST,"TABLES PARAM |
| wa_indirect_costs | LIKE LINE OF it_indirect_costs , |
| it_idc_cap | TYPE STANDARD TABLE OF BAPI_0035_IDC_CAP,"TABLES PARAM |
| wa_idc_cap | LIKE LINE OF it_idc_cap , |
| it_idc_cap2 | TYPE STANDARD TABLE OF BAPI_0035_IDC_CAP2,"TABLES PARAM |
| wa_idc_cap2 | LIKE LINE OF it_idc_cap2 , |
| it_fund_recovery | TYPE STANDARD TABLE OF BAPI_0035_FUND_RECOVERY,"TABLES PARAM |
| wa_fund_recovery | LIKE LINE OF it_fund_recovery , |
| it_budget_layout | TYPE STANDARD TABLE OF BAPI_0035_BUDGET_LAYOUT,"TABLES PARAM |
| wa_budget_layout | LIKE LINE OF it_budget_layout , |
| it_report_tracking | TYPE STANDARD TABLE OF BAPI_0035_REPORT_TRACK,"TABLES PARAM |
| wa_report_tracking | LIKE LINE OF it_report_tracking , |
| it_extension_in | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extension_in | LIKE LINE OF it_extension_in , |
| it_extension_out | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extension_out | LIKE LINE OF it_extension_out , |
| 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_header_get | TYPE BAPI_0035_HEADER_GET , |
| ld_grant | TYPE BAPI_0035_FIELDS-GRANT_NBR , |
| it_responsibility | TYPE STANDARD TABLE OF BAPI_0035_RESPONSIBLE , |
| wa_responsibility | LIKE LINE OF it_responsibility, |
| ld_get_control | TYPE BAPI_0035_GET_CONTROL , |
| it_funds | TYPE STANDARD TABLE OF BAPI_0035_FUNDS , |
| wa_funds | LIKE LINE OF it_funds, |
| it_sponsored_program | TYPE STANDARD TABLE OF BAPI_0035_SPONSORED_PROG , |
| wa_sponsored_program | LIKE LINE OF it_sponsored_program, |
| it_sponsored_class | TYPE STANDARD TABLE OF BAPI_0035_SPONSORED_CLASS , |
| wa_sponsored_class | LIKE LINE OF it_sponsored_class, |
| it_cost_sharing | TYPE STANDARD TABLE OF BAPI_0035_COSTSHARING , |
| wa_cost_sharing | LIKE LINE OF it_cost_sharing, |
| it_indirect_costs | TYPE STANDARD TABLE OF BAPI_0035_INDIRECTCOST , |
| wa_indirect_costs | LIKE LINE OF it_indirect_costs, |
| it_idc_cap | TYPE STANDARD TABLE OF BAPI_0035_IDC_CAP , |
| wa_idc_cap | LIKE LINE OF it_idc_cap, |
| it_idc_cap2 | TYPE STANDARD TABLE OF BAPI_0035_IDC_CAP2 , |
| wa_idc_cap2 | LIKE LINE OF it_idc_cap2, |
| it_fund_recovery | TYPE STANDARD TABLE OF BAPI_0035_FUND_RECOVERY , |
| wa_fund_recovery | LIKE LINE OF it_fund_recovery, |
| it_budget_layout | TYPE STANDARD TABLE OF BAPI_0035_BUDGET_LAYOUT , |
| wa_budget_layout | LIKE LINE OF it_budget_layout, |
| it_report_tracking | TYPE STANDARD TABLE OF BAPI_0035_REPORT_TRACK , |
| wa_report_tracking | LIKE LINE OF it_report_tracking, |
| it_extension_in | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extension_in | LIKE LINE OF it_extension_in, |
| it_extension_out | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extension_out | LIKE LINE OF it_extension_out, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
You can use this method to get the details of the master data of an
existing grant.
...See here for full SAP fm documentation
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_0035_GET_DETAIL or its description.