HR_BR_LOAD_ID 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 HR_BR_LOAD_ID into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAYBR16
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_BR_LOAD_ID' "
EXPORTING
perno = " pernr-pernr
* b_date = " sy-datum
* e_date = " sy-datum
* id_type = " p0185-subty
* sw_raw = PBR99_OFF " xflag
IMPORTING
all_infos = " pbr18_all_infos
TABLES
* pp0185 = " p0185
list_of_ids = " pbr18_table_id
list_of_not_found = " pbr18_table_id
EXCEPTIONS
INFTY_NOT_FOUND = 1 "
PARAMS_INITIAL = 2 "
. " HR_BR_LOAD_ID
The ABAP code below is a full code listing to execute function module HR_BR_LOAD_ID 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_all_infos | TYPE PBR18_ALL_INFOS , |
| it_pp0185 | TYPE STANDARD TABLE OF P0185,"TABLES PARAM |
| wa_pp0185 | LIKE LINE OF it_pp0185 , |
| it_list_of_ids | TYPE STANDARD TABLE OF PBR18_TABLE_ID,"TABLES PARAM |
| wa_list_of_ids | LIKE LINE OF it_list_of_ids , |
| it_list_of_not_found | TYPE STANDARD TABLE OF PBR18_TABLE_ID,"TABLES PARAM |
| wa_list_of_not_found | LIKE LINE OF it_list_of_not_found . |
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_all_infos | TYPE PBR18_ALL_INFOS , |
| ld_perno | TYPE PERNR-PERNR , |
| it_pp0185 | TYPE STANDARD TABLE OF P0185 , |
| wa_pp0185 | LIKE LINE OF it_pp0185, |
| ld_b_date | TYPE SY-DATUM , |
| it_list_of_ids | TYPE STANDARD TABLE OF PBR18_TABLE_ID , |
| wa_list_of_ids | LIKE LINE OF it_list_of_ids, |
| ld_e_date | TYPE SY-DATUM , |
| it_list_of_not_found | TYPE STANDARD TABLE OF PBR18_TABLE_ID , |
| wa_list_of_not_found | LIKE LINE OF it_list_of_not_found, |
| ld_id_type | TYPE P0185-SUBTY , |
| ld_sw_raw | TYPE XFLAG . |
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 HR_BR_LOAD_ID or its description.