API_RE_PG_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 API_RE_PG_GET_DETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RESC_API_PARTICIP_GROUP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'API_RE_PG_GET_DETAIL' "
* EXPORTING
* id_bukrs = " bapi_re_particip_grp_intk-bukrs
* id_swenr = " bapi_re_particip_grp_intk-swenr
* id_pgid = " bapi_re_particip_grp_intk-pgid
* id_objnr = " recaobjnr
* id_intreno = " recaintreno
* io_object = " object
* id_detail_data_from = " bapi_re_additional_fields_int-detailvalidfrom
* id_detail_data_to = " bapi_re_additional_fields_int-detailvalidto
* if_old_data = ' ' " recabool
IMPORTING
es_particip_group = " bapi_re_particip_grp_int
et_particip_obj = " bapi_re_t_particip_obj_int
et_resubm_rule = " bapi_re_t_resubm_rule_int
et_resubm_date = " bapi_re_t_resubm_date_int
et_status = " bapi_re_t_status_int
es_ci_data = " resc_particip_group_ci
et_ext_data = " re_t_ext_data
EXCEPTIONS
ERROR = 1 "
. " API_RE_PG_GET_DETAIL
The ABAP code below is a full code listing to execute function module API_RE_PG_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_es_particip_group | TYPE BAPI_RE_PARTICIP_GRP_INT , |
| ld_et_particip_obj | TYPE BAPI_RE_T_PARTICIP_OBJ_INT , |
| ld_et_resubm_rule | TYPE BAPI_RE_T_RESUBM_RULE_INT , |
| ld_et_resubm_date | TYPE BAPI_RE_T_RESUBM_DATE_INT , |
| ld_et_status | TYPE BAPI_RE_T_STATUS_INT , |
| ld_es_ci_data | TYPE RESC_PARTICIP_GROUP_CI , |
| ld_et_ext_data | TYPE RE_T_EXT_DATA . |
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_es_particip_group | TYPE BAPI_RE_PARTICIP_GRP_INT , |
| ld_id_bukrs | TYPE BAPI_RE_PARTICIP_GRP_INTK-BUKRS , |
| ld_et_particip_obj | TYPE BAPI_RE_T_PARTICIP_OBJ_INT , |
| ld_id_swenr | TYPE BAPI_RE_PARTICIP_GRP_INTK-SWENR , |
| ld_et_resubm_rule | TYPE BAPI_RE_T_RESUBM_RULE_INT , |
| ld_id_pgid | TYPE BAPI_RE_PARTICIP_GRP_INTK-PGID , |
| ld_et_resubm_date | TYPE BAPI_RE_T_RESUBM_DATE_INT , |
| ld_id_objnr | TYPE RECAOBJNR , |
| ld_et_status | TYPE BAPI_RE_T_STATUS_INT , |
| ld_id_intreno | TYPE RECAINTRENO , |
| ld_es_ci_data | TYPE RESC_PARTICIP_GROUP_CI , |
| ld_io_object | TYPE OBJECT , |
| ld_et_ext_data | TYPE RE_T_EXT_DATA , |
| ld_id_detail_data_from | TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDFROM , |
| ld_id_detail_data_to | TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDTO , |
| ld_if_old_data | TYPE RECABOOL . |
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 API_RE_PG_GET_DETAIL or its description.