SAP REAL_ESTATE_SETTLEMENT_RULES Function Module for
REAL_ESTATE_SETTLEMENT_RULES is a standard real estate settlement rules 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 real estate settlement rules FM, simply by entering the name REAL_ESTATE_SETTLEMENT_RULES into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVI9
Program Name: SAPLFVI9
Main Program: SAPLFVI9
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function REAL_ESTATE_SETTLEMENT_RULES 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 'REAL_ESTATE_SETTLEMENT_RULES'".
EXPORTING
BUKRS = "
* SWENR = ' ' "
* TEXT = ' ' "
DIALOG = "
* KOKRS = ' ' "
OBJNR = "
* PROFL = ' ' "
* SGENR = ' ' "
* SGRNR = ' ' "
* SMENR = ' ' "
* SMIVE = ' ' "
IMPORTING
NORULE = "
XSAVE = "
IMPORTING Parameters details for REAL_ESTATE_SETTLEMENT_RULES
BUKRS -
Data type: VIOB01-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
SWENR -
Data type: VIOB01-SWENRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT -
Data type: COBR_INFO-OBJ_TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DIALOG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KOKRS -
Data type: VIOB01-KOKRSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJNR -
Data type: VIOB01-J_OBJNROptional: No
Call by Reference: No ( called with pass by value option)
PROFL -
Data type: TZS13-APROFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SGENR -
Data type: VIOB03-SGENRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SGRNR -
Data type: VIOB02-SGRNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SMENR -
Data type: VIMI01-SMENRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SMIVE -
Data type: VIMI04-SMIVEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for REAL_ESTATE_SETTLEMENT_RULES
NORULE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
XSAVE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for REAL_ESTATE_SETTLEMENT_RULES 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_bukrs | TYPE VIOB01-BUKRS, " | |||
| lv_norule | TYPE VIOB01, " | |||
| lv_swenr | TYPE VIOB01-SWENR, " SPACE | |||
| lv_text | TYPE COBR_INFO-OBJ_TEXT, " SPACE | |||
| lv_xsave | TYPE COBR_INFO, " | |||
| lv_dialog | TYPE COBR_INFO, " | |||
| lv_kokrs | TYPE VIOB01-KOKRS, " SPACE | |||
| lv_objnr | TYPE VIOB01-J_OBJNR, " | |||
| lv_profl | TYPE TZS13-APROF, " SPACE | |||
| lv_sgenr | TYPE VIOB03-SGENR, " SPACE | |||
| lv_sgrnr | TYPE VIOB02-SGRNR, " SPACE | |||
| lv_smenr | TYPE VIMI01-SMENR, " SPACE | |||
| lv_smive | TYPE VIMI04-SMIVE. " SPACE |
|   CALL FUNCTION 'REAL_ESTATE_SETTLEMENT_RULES' " |
| EXPORTING | ||
| BUKRS | = lv_bukrs | |
| SWENR | = lv_swenr | |
| TEXT | = lv_text | |
| DIALOG | = lv_dialog | |
| KOKRS | = lv_kokrs | |
| OBJNR | = lv_objnr | |
| PROFL | = lv_profl | |
| SGENR | = lv_sgenr | |
| SGRNR | = lv_sgrnr | |
| SMENR | = lv_smenr | |
| SMIVE | = lv_smive | |
| IMPORTING | ||
| NORULE | = lv_norule | |
| XSAVE | = lv_xsave | |
| . " REAL_ESTATE_SETTLEMENT_RULES | ||
ABAP code using 7.40 inline data declarations to call FM REAL_ESTATE_SETTLEMENT_RULES
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 VIOB01 INTO @DATA(ld_bukrs). | ||||
| "SELECT single SWENR FROM VIOB01 INTO @DATA(ld_swenr). | ||||
| DATA(ld_swenr) | = ' '. | |||
| "SELECT single OBJ_TEXT FROM COBR_INFO INTO @DATA(ld_text). | ||||
| DATA(ld_text) | = ' '. | |||
| "SELECT single KOKRS FROM VIOB01 INTO @DATA(ld_kokrs). | ||||
| DATA(ld_kokrs) | = ' '. | |||
| "SELECT single J_OBJNR FROM VIOB01 INTO @DATA(ld_objnr). | ||||
| "SELECT single APROF FROM TZS13 INTO @DATA(ld_profl). | ||||
| DATA(ld_profl) | = ' '. | |||
| "SELECT single SGENR FROM VIOB03 INTO @DATA(ld_sgenr). | ||||
| DATA(ld_sgenr) | = ' '. | |||
| "SELECT single SGRNR FROM VIOB02 INTO @DATA(ld_sgrnr). | ||||
| DATA(ld_sgrnr) | = ' '. | |||
| "SELECT single SMENR FROM VIMI01 INTO @DATA(ld_smenr). | ||||
| DATA(ld_smenr) | = ' '. | |||
| "SELECT single SMIVE FROM VIMI04 INTO @DATA(ld_smive). | ||||
| DATA(ld_smive) | = ' '. | |||
Search for further information about these or an SAP related objects