SAP REMD_BUILDING_MAINTAIN Function Module for
REMD_BUILDING_MAINTAIN is a standard remd building maintain 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 remd building maintain FM, simply by entering the name REMD_BUILDING_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVCKBU
Program Name: SAPLFVCKBU
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function REMD_BUILDING_MAINTAIN 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 'REMD_BUILDING_MAINTAIN'".
EXPORTING
I_VIOB03 = "
* I_SANO1 = "
* I_VZSORT = "
* I_VIOB03_DB = "
* I_VZSORT_DB = "
* I_SANO1_DB = "
I_AKTYP = "
* I_SAVE = ' ' "
* I_COMMIT_AND_WAIT = ' ' "
IMPORTING
E_ERROR_OCCURED = "
E_VIOB03 = "
TABLES
* IT_VZGPO = "
* IT_VIOB42 = "
* IT_VZGPO_DB = "
* IT_VIEIGE_DB = "
* IT_VIOB04_DB = "
* IT_VIOB05_DB = "
* IT_VIOB20_DB = "
* IT_VIOB37_DB = "
* IT_VIOB38_DB = "
* IT_VIOB39_DB = "
* IT_AREA_DB = "
* IT_VIEIGE = "
ET_MSG = "
* IT_VIOB04 = "
* IT_VIOB05 = "
* IT_VIOB20 = "
* IT_VIOB37 = "
* IT_VIOB38 = "
* IT_VIOB39 = "
* IT_AREA = "
EXCEPTIONS
WRONG_CALL = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for REMD_BUILDING_MAINTAIN
I_VIOB03 -
Data type: VIOB03Optional: No
Call by Reference: No ( called with pass by value option)
I_SANO1 -
Data type: SANO1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VZSORT -
Data type: VZSORTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VIOB03_DB -
Data type: VIOB03Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VZSORT_DB -
Data type: VZSORTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SANO1_DB -
Data type: SANO1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_AKTYP -
Data type: BU_AKTYPOptional: No
Call by Reference: No ( called with pass by value option)
I_SAVE -
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_COMMIT_AND_WAIT -
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for REMD_BUILDING_MAINTAIN
E_ERROR_OCCURED -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: Yes
E_VIOB03 -
Data type: VIOB03Optional: No
Call by Reference: Yes
TABLES Parameters details for REMD_BUILDING_MAINTAIN
IT_VZGPO -
Data type: VZGPOOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB42 -
Data type: VIOB42Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VZGPO_DB -
Data type: VZGPOOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIEIGE_DB -
Data type: VIEIGEOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB04_DB -
Data type: VIOB04Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB05_DB -
Data type: VIOB05Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB20_DB -
Data type: VIOB20Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB37_DB -
Data type: VIOB37Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB38_DB -
Data type: VIOB38Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB39_DB -
Data type: VIOB39Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_AREA_DB -
Data type: VIOB41Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIEIGE -
Data type: VIEIGEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_MSG -
Data type: SYMSGOptional: No
Call by Reference: No ( called with pass by value option)
IT_VIOB04 -
Data type: VIOB04Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB05 -
Data type: VIOB05Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB20 -
Data type: VIOB20Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB37 -
Data type: VIOB37Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB38 -
Data type: VIOB38Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_VIOB39 -
Data type: VIOB39Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_AREA -
Data type: VIOB41Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
WRONG_CALL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for REMD_BUILDING_MAINTAIN 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: | ||||
| lt_it_vzgpo | TYPE STANDARD TABLE OF VZGPO, " | |||
| lv_i_viob03 | TYPE VIOB03, " | |||
| lv_wrong_call | TYPE VIOB03, " | |||
| lv_e_error_occured | TYPE BOOLE-BOOLE, " | |||
| lt_it_viob42 | TYPE STANDARD TABLE OF VIOB42, " | |||
| lt_it_vzgpo_db | TYPE STANDARD TABLE OF VZGPO, " | |||
| lt_it_vieige_db | TYPE STANDARD TABLE OF VIEIGE, " | |||
| lt_it_viob04_db | TYPE STANDARD TABLE OF VIOB04, " | |||
| lt_it_viob05_db | TYPE STANDARD TABLE OF VIOB05, " | |||
| lt_it_viob20_db | TYPE STANDARD TABLE OF VIOB20, " | |||
| lt_it_viob37_db | TYPE STANDARD TABLE OF VIOB37, " | |||
| lt_it_viob38_db | TYPE STANDARD TABLE OF VIOB38, " | |||
| lt_it_viob39_db | TYPE STANDARD TABLE OF VIOB39, " | |||
| lt_it_area_db | TYPE STANDARD TABLE OF VIOB41, " | |||
| lv_i_sano1 | TYPE SANO1, " | |||
| lv_e_viob03 | TYPE VIOB03, " | |||
| lt_it_vieige | TYPE STANDARD TABLE OF VIEIGE, " | |||
| lv_internal_error | TYPE VIEIGE, " | |||
| lt_et_msg | TYPE STANDARD TABLE OF SYMSG, " | |||
| lv_i_vzsort | TYPE VZSORT, " | |||
| lt_it_viob04 | TYPE STANDARD TABLE OF VIOB04, " | |||
| lt_it_viob05 | TYPE STANDARD TABLE OF VIOB05, " | |||
| lv_i_viob03_db | TYPE VIOB03, " | |||
| lt_it_viob20 | TYPE STANDARD TABLE OF VIOB20, " | |||
| lv_i_vzsort_db | TYPE VZSORT, " | |||
| lt_it_viob37 | TYPE STANDARD TABLE OF VIOB37, " | |||
| lv_i_sano1_db | TYPE SANO1, " | |||
| lv_i_aktyp | TYPE BU_AKTYP, " | |||
| lt_it_viob38 | TYPE STANDARD TABLE OF VIOB38, " | |||
| lv_i_save | TYPE XFELD, " ' ' | |||
| lt_it_viob39 | TYPE STANDARD TABLE OF VIOB39, " | |||
| lt_it_area | TYPE STANDARD TABLE OF VIOB41, " | |||
| lv_i_commit_and_wait | TYPE XFELD. " ' ' |
|   CALL FUNCTION 'REMD_BUILDING_MAINTAIN' " |
| EXPORTING | ||
| I_VIOB03 | = lv_i_viob03 | |
| I_SANO1 | = lv_i_sano1 | |
| I_VZSORT | = lv_i_vzsort | |
| I_VIOB03_DB | = lv_i_viob03_db | |
| I_VZSORT_DB | = lv_i_vzsort_db | |
| I_SANO1_DB | = lv_i_sano1_db | |
| I_AKTYP | = lv_i_aktyp | |
| I_SAVE | = lv_i_save | |
| I_COMMIT_AND_WAIT | = lv_i_commit_and_wait | |
| IMPORTING | ||
| E_ERROR_OCCURED | = lv_e_error_occured | |
| E_VIOB03 | = lv_e_viob03 | |
| TABLES | ||
| IT_VZGPO | = lt_it_vzgpo | |
| IT_VIOB42 | = lt_it_viob42 | |
| IT_VZGPO_DB | = lt_it_vzgpo_db | |
| IT_VIEIGE_DB | = lt_it_vieige_db | |
| IT_VIOB04_DB | = lt_it_viob04_db | |
| IT_VIOB05_DB | = lt_it_viob05_db | |
| IT_VIOB20_DB | = lt_it_viob20_db | |
| IT_VIOB37_DB | = lt_it_viob37_db | |
| IT_VIOB38_DB | = lt_it_viob38_db | |
| IT_VIOB39_DB | = lt_it_viob39_db | |
| IT_AREA_DB | = lt_it_area_db | |
| IT_VIEIGE | = lt_it_vieige | |
| ET_MSG | = lt_et_msg | |
| IT_VIOB04 | = lt_it_viob04 | |
| IT_VIOB05 | = lt_it_viob05 | |
| IT_VIOB20 | = lt_it_viob20 | |
| IT_VIOB37 | = lt_it_viob37 | |
| IT_VIOB38 | = lt_it_viob38 | |
| IT_VIOB39 | = lt_it_viob39 | |
| IT_AREA | = lt_it_area | |
| EXCEPTIONS | ||
| WRONG_CALL = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " REMD_BUILDING_MAINTAIN | ||
ABAP code using 7.40 inline data declarations to call FM REMD_BUILDING_MAINTAIN
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 BOOLE FROM BOOLE INTO @DATA(ld_e_error_occured). | ||||
| DATA(ld_i_save) | = ' '. | |||
| DATA(ld_i_commit_and_wait) | = ' '. | |||
Search for further information about these or an SAP related objects