SAP API_RE_PR_GET_DETAIL Function Module for









API_RE_PR_GET_DETAIL is a standard api re pr 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 pr get detail FM, simply by entering the name API_RE_PR_GET_DETAIL into the relevant SAP transaction such as SE37 or SE38.

Function Group: REBD_API_PROPERTY
Program Name: SAPLREBD_API_PROPERTY
Main Program: SAPLREBD_API_PROPERTY
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function API_RE_PR_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_PR_GET_DETAIL'"
EXPORTING
* ID_BUKRS = "Company Code
* ID_SWENR = "Business Entity Number
* ID_SGRNR = "Land Number for BE
* ID_OBJNR = "Object Number
* ID_INTRENO = "Internal Key of Real Estate Object
* IO_OBJECT = "
* ID_DETAIL_DATA_FROM = "Date: Detailed Data Valid From
* ID_DETAIL_DATA_TO = "Date: Detailed Data Valid To
* IF_OLD_DATA = ' ' "

IMPORTING
ES_PROPERTY = "Land
ET_CHARACT = "Fixtures and Fittings Characteristics
ET_OBJ_ASSIGN = "Object Assignment
ET_ARCH_REL = "Architectural Linkage Objects
ET_ARCH_RELMS = "Architectural Linkage Object Parts
ET_RESUBM_RULE = "Reminder Rules
ET_RESUBM_DATE = "Reminder Dates
ET_STATUS = "Status
ES_CI_DATA = "Data of CI Include
ET_EXT_DATA = "Enhancements: Data
ES_OBJECT_ADDRESS = "Address
ES_COSETTLE_PARAM = "CO Settlement Rule: Parameter
ET_TERM_ORG_ASSIGNMENT = "Organizational Assignment
ET_MEASUREMENT = "Measurements
ET_INFRASTRUCTURE = "Infrastructure
ET_PARTNER = "Partner
ET_OPTION_RATE = "Option Rates
ET_COSETTLE_RULE = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for API_RE_PR_GET_DETAIL

ID_BUKRS - Company Code

Data type: BAPI_RE_PROPERTY_INTK-BUKRS
Optional: Yes
Call by Reference: Yes

ID_SWENR - Business Entity Number

Data type: BAPI_RE_PROPERTY_INTK-SWENR
Optional: Yes
Call by Reference: Yes

ID_SGRNR - Land Number for BE

Data type: BAPI_RE_PROPERTY_INTK-SGRNR
Optional: Yes
Call by Reference: Yes

ID_OBJNR - Object Number

Data type: RECAOBJNR
Optional: Yes
Call by Reference: Yes

ID_INTRENO - Internal Key of Real Estate Object

Data type: RECAINTRENO
Optional: Yes
Call by Reference: Yes

IO_OBJECT -

Data type: OBJECT
Optional: Yes
Call by Reference: Yes

ID_DETAIL_DATA_FROM - Date: Detailed Data Valid From

Data type: BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDFROM
Optional: Yes
Call by Reference: Yes

ID_DETAIL_DATA_TO - Date: Detailed Data Valid To

Data type: BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDTO
Optional: Yes
Call by Reference: Yes

IF_OLD_DATA -

Data type: RECABOOL
Default: ' '
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for API_RE_PR_GET_DETAIL

ES_PROPERTY - Land

Data type: BAPI_RE_PROPERTY_INT
Optional: No
Call by Reference: Yes

ET_CHARACT - Fixtures and Fittings Characteristics

Data type: BAPI_RE_T_CHARACT_INT
Optional: No
Call by Reference: Yes

ET_OBJ_ASSIGN - Object Assignment

Data type: BAPI_RE_T_OBJ_ASSIGN_INT
Optional: No
Call by Reference: Yes

ET_ARCH_REL - Architectural Linkage Objects

Data type: BAPI_RE_T_ARCH_REL_INT
Optional: No
Call by Reference: Yes

ET_ARCH_RELMS - Architectural Linkage Object Parts

Data type: BAPI_RE_T_ARCH_RELMS_INT
Optional: No
Call by Reference: Yes

ET_RESUBM_RULE - Reminder Rules

Data type: BAPI_RE_T_RESUBM_RULE_INT
Optional: No
Call by Reference: Yes

ET_RESUBM_DATE - Reminder Dates

Data type: BAPI_RE_T_RESUBM_DATE_INT
Optional: No
Call by Reference: Yes

ET_STATUS - Status

Data type: BAPI_RE_T_STATUS_INT
Optional: No
Call by Reference: Yes

ES_CI_DATA - Data of CI Include

Data type: REBD_PROPERTY_CI
Optional: No
Call by Reference: Yes

ET_EXT_DATA - Enhancements: Data

Data type: RE_T_EXT_DATA
Optional: No
Call by Reference: Yes

ES_OBJECT_ADDRESS - Address

Data type: BAPI_RE_OBJ_ADDRESS_INT
Optional: No
Call by Reference: Yes

ES_COSETTLE_PARAM - CO Settlement Rule: Parameter

Data type: BAPI_RE_COSETTLE_PAR_INT
Optional: No
Call by Reference: Yes

ET_TERM_ORG_ASSIGNMENT - Organizational Assignment

Data type: BAPI_RE_T_TERM_OA_INT
Optional: No
Call by Reference: Yes

ET_MEASUREMENT - Measurements

Data type: BAPI_RE_T_MEASUREMENT_INT
Optional: No
Call by Reference: Yes

ET_INFRASTRUCTURE - Infrastructure

Data type: BAPI_RE_T_INFRA_INT
Optional: No
Call by Reference: Yes

ET_PARTNER - Partner

Data type: BAPI_RE_T_PARTNER_INT
Optional: No
Call by Reference: Yes

ET_OPTION_RATE - Option Rates

Data type: BAPI_RE_T_OPTION_RATE_INT
Optional: No
Call by Reference: Yes

ET_COSETTLE_RULE -

Data type: BAPI_RE_T_COSETTLE_RL_INT
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR - Error Occurred While Determining the Data

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for API_RE_PR_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_bukrs  TYPE BAPI_RE_PROPERTY_INTK-BUKRS, "   
lv_es_property  TYPE BAPI_RE_PROPERTY_INT, "   
lv_et_charact  TYPE BAPI_RE_T_CHARACT_INT, "   
lv_et_obj_assign  TYPE BAPI_RE_T_OBJ_ASSIGN_INT, "   
lv_et_arch_rel  TYPE BAPI_RE_T_ARCH_REL_INT, "   
lv_et_arch_relms  TYPE BAPI_RE_T_ARCH_RELMS_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 REBD_PROPERTY_CI, "   
lv_et_ext_data  TYPE RE_T_EXT_DATA, "   
lv_id_swenr  TYPE BAPI_RE_PROPERTY_INTK-SWENR, "   
lv_es_object_address  TYPE BAPI_RE_OBJ_ADDRESS_INT, "   
lv_id_sgrnr  TYPE BAPI_RE_PROPERTY_INTK-SGRNR, "   
lv_es_cosettle_param  TYPE BAPI_RE_COSETTLE_PAR_INT, "   
lv_id_objnr  TYPE RECAOBJNR, "   
lv_et_term_org_assignment  TYPE BAPI_RE_T_TERM_OA_INT, "   
lv_id_intreno  TYPE RECAINTRENO, "   
lv_et_measurement  TYPE BAPI_RE_T_MEASUREMENT_INT, "   
lv_io_object  TYPE OBJECT, "   
lv_et_infrastructure  TYPE BAPI_RE_T_INFRA_INT, "   
lv_et_partner  TYPE BAPI_RE_T_PARTNER_INT, "   
lv_id_detail_data_from  TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDFROM, "   
lv_et_option_rate  TYPE BAPI_RE_T_OPTION_RATE_INT, "   
lv_id_detail_data_to  TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDTO, "   
lv_if_old_data  TYPE RECABOOL, "   ' '
lv_et_cosettle_rule  TYPE BAPI_RE_T_COSETTLE_RL_INT. "   

  CALL FUNCTION 'API_RE_PR_GET_DETAIL'  "
    EXPORTING
         ID_BUKRS = lv_id_bukrs
         ID_SWENR = lv_id_swenr
         ID_SGRNR = lv_id_sgrnr
         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_PROPERTY = lv_es_property
         ET_CHARACT = lv_et_charact
         ET_OBJ_ASSIGN = lv_et_obj_assign
         ET_ARCH_REL = lv_et_arch_rel
         ET_ARCH_RELMS = lv_et_arch_relms
         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
         ES_OBJECT_ADDRESS = lv_es_object_address
         ES_COSETTLE_PARAM = lv_es_cosettle_param
         ET_TERM_ORG_ASSIGNMENT = lv_et_term_org_assignment
         ET_MEASUREMENT = lv_et_measurement
         ET_INFRASTRUCTURE = lv_et_infrastructure
         ET_PARTNER = lv_et_partner
         ET_OPTION_RATE = lv_et_option_rate
         ET_COSETTLE_RULE = lv_et_cosettle_rule
    EXCEPTIONS
        ERROR = 1
. " API_RE_PR_GET_DETAIL




ABAP code using 7.40 inline data declarations to call FM API_RE_PR_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 BUKRS FROM BAPI_RE_PROPERTY_INTK INTO @DATA(ld_id_bukrs).
 
 
 
 
 
 
 
 
 
 
 
"SELECT single SWENR FROM BAPI_RE_PROPERTY_INTK INTO @DATA(ld_id_swenr).
 
 
"SELECT single SGRNR FROM BAPI_RE_PROPERTY_INTK INTO @DATA(ld_id_sgrnr).
 
 
 
 
 
 
 
 
 
"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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!