BAPI_RE_PR_CREATE 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_RE_PR_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
REBD_BAPI_PROPERTY
Released Date:
19.08.2005
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_RE_PR_CREATE' "Create Land
EXPORTING
comp_code_ext = " bapi_re_property_key-comp_code External: Company Code
business_entity_number_ext = " bapi_re_property_key-business_entity External: Number of Business Entity
* property_number_ext = " bapi_re_property_key-property External: Number of Property
* property = " bapi_re_property_dat Property - Data
* object_address = " bapi_re_obj_address_dat Address
* cosettle_param = " bapi_re_cosettle_par_dat CO Settlement Rule: Parameter
* trans = " bapi_re_additional_fields-trans Business Transaction
* test_run = SPACE " bapi_re_additional_fields-testrun Simulation indicator
IMPORTING
compcode = " bapi_re_property_key-comp_code Company Code
businessentitynumber = " bapi_re_property_key-business_entity Number of Business Entity
propertynumber = " bapi_re_property_key-property Number of Property Belonging to BE
TABLES
* term_org_assignment = " bapi_re_term_oa_dat Org. Assignment
* measurement = " bapi_re_measurement_dat Measurements
* partner = " bapi_re_partner_dat Partner
* option_rate = " bapi_re_option_rate_dat Option Rates
* cosettle_rule = " bapi_re_cosettle_rl_dat CO Settlement Rule: Allocation Rules
* obj_assign = " bapi_re_obj_assign_dat Object Assignment
* resubm_rule = " bapi_re_resubm_rule_dat Reminder Rule
* arch_rel = " bapi_re_arch_rel_dat Architectural Linkage Objects
* arch_relms = " bapi_re_arch_relms_dat Architectural Linkage Object Parts
* status = " bapi_re_status_dat Status
* extension_in = " bapiparex Add. Data: Entry
return = " bapiret2 Return Parameters
* infrastructure = " bapi_re_infra_dat Infrastructure
* charact = " bapi_re_charact_dat Fixt./Fittings Characteristics
. " BAPI_RE_PR_CREATE
The ABAP code below is a full code listing to execute function module BAPI_RE_PR_CREATE 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_compcode | TYPE BAPI_RE_PROPERTY_KEY-COMP_CODE , |
| ld_businessentitynumber | TYPE BAPI_RE_PROPERTY_KEY-BUSINESS_ENTITY , |
| ld_propertynumber | TYPE BAPI_RE_PROPERTY_KEY-PROPERTY , |
| it_term_org_assignment | TYPE STANDARD TABLE OF BAPI_RE_TERM_OA_DAT,"TABLES PARAM |
| wa_term_org_assignment | LIKE LINE OF it_term_org_assignment , |
| it_measurement | TYPE STANDARD TABLE OF BAPI_RE_MEASUREMENT_DAT,"TABLES PARAM |
| wa_measurement | LIKE LINE OF it_measurement , |
| it_partner | TYPE STANDARD TABLE OF BAPI_RE_PARTNER_DAT,"TABLES PARAM |
| wa_partner | LIKE LINE OF it_partner , |
| it_option_rate | TYPE STANDARD TABLE OF BAPI_RE_OPTION_RATE_DAT,"TABLES PARAM |
| wa_option_rate | LIKE LINE OF it_option_rate , |
| it_cosettle_rule | TYPE STANDARD TABLE OF BAPI_RE_COSETTLE_RL_DAT,"TABLES PARAM |
| wa_cosettle_rule | LIKE LINE OF it_cosettle_rule , |
| it_obj_assign | TYPE STANDARD TABLE OF BAPI_RE_OBJ_ASSIGN_DAT,"TABLES PARAM |
| wa_obj_assign | LIKE LINE OF it_obj_assign , |
| it_resubm_rule | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_RULE_DAT,"TABLES PARAM |
| wa_resubm_rule | LIKE LINE OF it_resubm_rule , |
| it_arch_rel | TYPE STANDARD TABLE OF BAPI_RE_ARCH_REL_DAT,"TABLES PARAM |
| wa_arch_rel | LIKE LINE OF it_arch_rel , |
| it_arch_relms | TYPE STANDARD TABLE OF BAPI_RE_ARCH_RELMS_DAT,"TABLES PARAM |
| wa_arch_relms | LIKE LINE OF it_arch_relms , |
| it_status | TYPE STANDARD TABLE OF BAPI_RE_STATUS_DAT,"TABLES PARAM |
| wa_status | LIKE LINE OF it_status , |
| it_extension_in | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extension_in | LIKE LINE OF it_extension_in , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return , |
| it_infrastructure | TYPE STANDARD TABLE OF BAPI_RE_INFRA_DAT,"TABLES PARAM |
| wa_infrastructure | LIKE LINE OF it_infrastructure , |
| it_charact | TYPE STANDARD TABLE OF BAPI_RE_CHARACT_DAT,"TABLES PARAM |
| wa_charact | LIKE LINE OF it_charact . |
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_compcode | TYPE BAPI_RE_PROPERTY_KEY-COMP_CODE , |
| it_term_org_assignment | TYPE STANDARD TABLE OF BAPI_RE_TERM_OA_DAT , |
| wa_term_org_assignment | LIKE LINE OF it_term_org_assignment, |
| ld_comp_code_ext | TYPE BAPI_RE_PROPERTY_KEY-COMP_CODE , |
| it_measurement | TYPE STANDARD TABLE OF BAPI_RE_MEASUREMENT_DAT , |
| wa_measurement | LIKE LINE OF it_measurement, |
| ld_business_entity_number_ext | TYPE BAPI_RE_PROPERTY_KEY-BUSINESS_ENTITY , |
| ld_businessentitynumber | TYPE BAPI_RE_PROPERTY_KEY-BUSINESS_ENTITY , |
| ld_property_number_ext | TYPE BAPI_RE_PROPERTY_KEY-PROPERTY , |
| ld_propertynumber | TYPE BAPI_RE_PROPERTY_KEY-PROPERTY , |
| it_partner | TYPE STANDARD TABLE OF BAPI_RE_PARTNER_DAT , |
| wa_partner | LIKE LINE OF it_partner, |
| ld_property | TYPE BAPI_RE_PROPERTY_DAT , |
| it_option_rate | TYPE STANDARD TABLE OF BAPI_RE_OPTION_RATE_DAT , |
| wa_option_rate | LIKE LINE OF it_option_rate, |
| ld_object_address | TYPE BAPI_RE_OBJ_ADDRESS_DAT , |
| it_cosettle_rule | TYPE STANDARD TABLE OF BAPI_RE_COSETTLE_RL_DAT , |
| wa_cosettle_rule | LIKE LINE OF it_cosettle_rule, |
| ld_cosettle_param | TYPE BAPI_RE_COSETTLE_PAR_DAT , |
| it_obj_assign | TYPE STANDARD TABLE OF BAPI_RE_OBJ_ASSIGN_DAT , |
| wa_obj_assign | LIKE LINE OF it_obj_assign, |
| ld_trans | TYPE BAPI_RE_ADDITIONAL_FIELDS-TRANS , |
| it_resubm_rule | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_RULE_DAT , |
| wa_resubm_rule | LIKE LINE OF it_resubm_rule, |
| ld_test_run | TYPE BAPI_RE_ADDITIONAL_FIELDS-TESTRUN , |
| it_arch_rel | TYPE STANDARD TABLE OF BAPI_RE_ARCH_REL_DAT , |
| wa_arch_rel | LIKE LINE OF it_arch_rel, |
| it_arch_relms | TYPE STANDARD TABLE OF BAPI_RE_ARCH_RELMS_DAT , |
| wa_arch_relms | LIKE LINE OF it_arch_relms, |
| it_status | TYPE STANDARD TABLE OF BAPI_RE_STATUS_DAT , |
| wa_status | LIKE LINE OF it_status, |
| it_extension_in | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extension_in | LIKE LINE OF it_extension_in, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| it_infrastructure | TYPE STANDARD TABLE OF BAPI_RE_INFRA_DAT , |
| wa_infrastructure | LIKE LINE OF it_infrastructure, |
| it_charact | TYPE STANDARD TABLE OF BAPI_RE_CHARACT_DAT , |
| wa_charact | LIKE LINE OF it_charact. |
This BAPI allows you to create
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_RE_PR_CREATE or its description.