SAP API_RE_PL_GET_DETAIL Function Module for
API_RE_PL_GET_DETAIL is a standard api re pl get detail SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for api re pl get detail FM, simply by entering the name API_RE_PL_GET_DETAIL into the relevant SAP transaction such as SE37 or SE38.
Function Group: RELM_API_PARCEL_LAND
Program Name: SAPLRELM_API_PARCEL_LAND
Main Program: SAPLRELM_API_PARCEL_LAND
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function API_RE_PL_GET_DETAIL pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'API_RE_PL_GET_DETAIL'".
EXPORTING
* ID_LOCHIER = "
* ID_PLSUBDIVNO = "
* ID_PLNO = "
* ID_OBJNR = "
* ID_INTRENO = "
* IO_OBJECT = "
* ID_DETAIL_DATA_FROM = "
* ID_DETAIL_DATA_TO = "
* IF_OLD_DATA = ' ' "
IMPORTING
ES_PARCEL_OF_LAND = "
ET_CHARACT = "
ET_TEXT = "
ET_OBJ_ASSIGN = "
ET_RESUBM_RULE = "
ET_RESUBM_DATE = "
ET_STATUS = "
ES_CI_DATA = "
ET_EXT_DATA = "
ET_LOC_HIER = "
ET_ADDRESS = "
ET_MEASUREMENT = "
ET_INFRASTRUCTURE = "
ET_PL_MAP = "
ET_PL_SLIDE = "
ET_PL_USAGE = "
ET_PARTNER = "
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for API_RE_PL_GET_DETAIL
ID_LOCHIER -
Data type: BAPI_RE_PARCEL_LAND_INTK-LOCHIEROptional: Yes
Call by Reference: Yes
ID_PLSUBDIVNO -
Data type: BAPI_RE_PARCEL_LAND_INTK-PLSUBDIVNOOptional: Yes
Call by Reference: Yes
ID_PLNO -
Data type: BAPI_RE_PARCEL_LAND_INTK-PLNOOptional: Yes
Call by Reference: Yes
ID_OBJNR -
Data type: RECAOBJNROptional: Yes
Call by Reference: Yes
ID_INTRENO -
Data type: RECAINTRENOOptional: Yes
Call by Reference: Yes
IO_OBJECT -
Data type: OBJECTOptional: Yes
Call by Reference: Yes
ID_DETAIL_DATA_FROM -
Data type: BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDFROMOptional: Yes
Call by Reference: Yes
ID_DETAIL_DATA_TO -
Data type: BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDTOOptional: Yes
Call by Reference: Yes
IF_OLD_DATA -
Data type: RECABOOLDefault: ' '
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for API_RE_PL_GET_DETAIL
ES_PARCEL_OF_LAND -
Data type: BAPI_RE_PARCEL_LAND_INTOptional: No
Call by Reference: Yes
ET_CHARACT -
Data type: BAPI_RE_T_CHARACT_INTOptional: No
Call by Reference: Yes
ET_TEXT -
Data type: BAPI_RE_T_TEXT_INTOptional: No
Call by Reference: Yes
ET_OBJ_ASSIGN -
Data type: BAPI_RE_T_OBJ_ASSIGN_INTOptional: No
Call by Reference: Yes
ET_RESUBM_RULE -
Data type: BAPI_RE_T_RESUBM_RULE_INTOptional: No
Call by Reference: Yes
ET_RESUBM_DATE -
Data type: BAPI_RE_T_RESUBM_DATE_INTOptional: No
Call by Reference: Yes
ET_STATUS -
Data type: BAPI_RE_T_STATUS_INTOptional: No
Call by Reference: Yes
ES_CI_DATA -
Data type: RELM_PARCEL_OF_LAND_CIOptional: No
Call by Reference: Yes
ET_EXT_DATA -
Data type: RE_T_EXT_DATAOptional: No
Call by Reference: Yes
ET_LOC_HIER -
Data type: BAPI_RE_T_LOC_HIER_INTOptional: No
Call by Reference: Yes
ET_ADDRESS -
Data type: BAPI_RE_T_MULTI_ADDR_INTOptional: No
Call by Reference: Yes
ET_MEASUREMENT -
Data type: BAPI_RE_T_MEASUREMENT_INTOptional: No
Call by Reference: Yes
ET_INFRASTRUCTURE -
Data type: BAPI_RE_T_INFRA_INTOptional: No
Call by Reference: Yes
ET_PL_MAP -
Data type: BAPI_RE_T_PL_MAP_INTOptional: No
Call by Reference: Yes
ET_PL_SLIDE -
Data type: BAPI_RE_T_PL_SLIDE_INTOptional: No
Call by Reference: Yes
ET_PL_USAGE -
Data type: BAPI_RE_T_PL_USAGE_INTOptional: No
Call by Reference: Yes
ET_PARTNER -
Data type: BAPI_RE_T_PARTNER_INTOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for API_RE_PL_GET_DETAIL Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_error | TYPE STRING, " | |||
| lv_id_lochier | TYPE BAPI_RE_PARCEL_LAND_INTK-LOCHIER, " | |||
| lv_es_parcel_of_land | TYPE BAPI_RE_PARCEL_LAND_INT, " | |||
| lv_et_charact | TYPE BAPI_RE_T_CHARACT_INT, " | |||
| lv_et_text | TYPE BAPI_RE_T_TEXT_INT, " | |||
| lv_et_obj_assign | TYPE BAPI_RE_T_OBJ_ASSIGN_INT, " | |||
| lv_et_resubm_rule | TYPE BAPI_RE_T_RESUBM_RULE_INT, " | |||
| lv_et_resubm_date | TYPE BAPI_RE_T_RESUBM_DATE_INT, " | |||
| lv_et_status | TYPE BAPI_RE_T_STATUS_INT, " | |||
| lv_es_ci_data | TYPE RELM_PARCEL_OF_LAND_CI, " | |||
| lv_et_ext_data | TYPE RE_T_EXT_DATA, " | |||
| lv_et_loc_hier | TYPE BAPI_RE_T_LOC_HIER_INT, " | |||
| lv_id_plsubdivno | TYPE BAPI_RE_PARCEL_LAND_INTK-PLSUBDIVNO, " | |||
| lv_id_plno | TYPE BAPI_RE_PARCEL_LAND_INTK-PLNO, " | |||
| lv_et_address | TYPE BAPI_RE_T_MULTI_ADDR_INT, " | |||
| lv_id_objnr | TYPE RECAOBJNR, " | |||
| lv_et_measurement | TYPE BAPI_RE_T_MEASUREMENT_INT, " | |||
| lv_id_intreno | TYPE RECAINTRENO, " | |||
| lv_et_infrastructure | TYPE BAPI_RE_T_INFRA_INT, " | |||
| lv_et_pl_map | TYPE BAPI_RE_T_PL_MAP_INT, " | |||
| lv_io_object | TYPE OBJECT, " | |||
| lv_et_pl_slide | TYPE BAPI_RE_T_PL_SLIDE_INT, " | |||
| lv_id_detail_data_from | TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDFROM, " | |||
| lv_et_pl_usage | TYPE BAPI_RE_T_PL_USAGE_INT, " | |||
| lv_id_detail_data_to | TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDTO, " | |||
| lv_et_partner | TYPE BAPI_RE_T_PARTNER_INT, " | |||
| lv_if_old_data | TYPE RECABOOL. " ' ' |
|   CALL FUNCTION 'API_RE_PL_GET_DETAIL' " |
| EXPORTING | ||
| ID_LOCHIER | = lv_id_lochier | |
| ID_PLSUBDIVNO | = lv_id_plsubdivno | |
| ID_PLNO | = lv_id_plno | |
| ID_OBJNR | = lv_id_objnr | |
| ID_INTRENO | = lv_id_intreno | |
| IO_OBJECT | = lv_io_object | |
| ID_DETAIL_DATA_FROM | = lv_id_detail_data_from | |
| ID_DETAIL_DATA_TO | = lv_id_detail_data_to | |
| IF_OLD_DATA | = lv_if_old_data | |
| IMPORTING | ||
| ES_PARCEL_OF_LAND | = lv_es_parcel_of_land | |
| ET_CHARACT | = lv_et_charact | |
| ET_TEXT | = lv_et_text | |
| ET_OBJ_ASSIGN | = lv_et_obj_assign | |
| ET_RESUBM_RULE | = lv_et_resubm_rule | |
| ET_RESUBM_DATE | = lv_et_resubm_date | |
| ET_STATUS | = lv_et_status | |
| ES_CI_DATA | = lv_es_ci_data | |
| ET_EXT_DATA | = lv_et_ext_data | |
| ET_LOC_HIER | = lv_et_loc_hier | |
| ET_ADDRESS | = lv_et_address | |
| ET_MEASUREMENT | = lv_et_measurement | |
| ET_INFRASTRUCTURE | = lv_et_infrastructure | |
| ET_PL_MAP | = lv_et_pl_map | |
| ET_PL_SLIDE | = lv_et_pl_slide | |
| ET_PL_USAGE | = lv_et_pl_usage | |
| ET_PARTNER | = lv_et_partner | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " API_RE_PL_GET_DETAIL | ||
ABAP code using 7.40 inline data declarations to call FM API_RE_PL_GET_DETAIL
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single LOCHIER FROM BAPI_RE_PARCEL_LAND_INTK INTO @DATA(ld_id_lochier). | ||||
| "SELECT single PLSUBDIVNO FROM BAPI_RE_PARCEL_LAND_INTK INTO @DATA(ld_id_plsubdivno). | ||||
| "SELECT single PLNO FROM BAPI_RE_PARCEL_LAND_INTK INTO @DATA(ld_id_plno). | ||||
| "SELECT single DETAILVALIDFROM FROM BAPI_RE_ADDITIONAL_FIELDS_INT INTO @DATA(ld_id_detail_data_from). | ||||
| "SELECT single DETAILVALIDTO FROM BAPI_RE_ADDITIONAL_FIELDS_INT INTO @DATA(ld_id_detail_data_to). | ||||
| DATA(ld_if_old_data) | = ' '. | |||
Search for further information about these or an SAP related objects