SAP IMMO_OFFENE_POSTEN_PRO_MV Function Module for NOTRANSL: Anzeige aller Offener Posten zu einem Mietvertrag
IMMO_OFFENE_POSTEN_PRO_MV is a standard immo offene posten pro mv SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Anzeige aller Offener Posten zu einem Mietvertrag processing and below is the pattern details for this FM, 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 immo offene posten pro mv FM, simply by entering the name IMMO_OFFENE_POSTEN_PRO_MV into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVEQ
Program Name: SAPLFVEQ
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IMMO_OFFENE_POSTEN_PRO_MV 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 'IMMO_OFFENE_POSTEN_PRO_MV'"NOTRANSL: Anzeige aller Offener Posten zu einem Mietvertrag.
EXPORTING
I_BUKRS = "Company Code
I_DATUM_BIS = "ABAP System Field: Current Date of Application Server
I_KUNNR = "Customer number main contract partner
* I_WAERS = ' ' "Currency Key
* I_KURSF = 1 "Exchange rate
* I_WWERT = SY-DATUM "Translation Date
* I_PICK_VERTN = ' ' "Contract Number
* I_AV = ' ' "Generic Type
TABLES
TAB_BKPF = "Accounting Document Header
TAB_BSEG = "Accounting Document Segment
TAB_MIETV = "Lease-Out
* TAB_ALLV = "Real Estate Contract: Contract Data
IMPORTING Parameters details for IMMO_OFFENE_POSTEN_PRO_MV
I_BUKRS - Company Code
Data type: BSEG-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_DATUM_BIS - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_KUNNR - Customer number main contract partner
Data type: VIMIMV-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
I_WAERS - Currency Key
Data type: VIOB01-WAERSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KURSF - Exchange rate
Data type: BKPF-KURSFDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WWERT - Translation Date
Data type: BKPF-WWERTDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PICK_VERTN - Contract Number
Data type: F50C-RANLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_AV - Generic Type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for IMMO_OFFENE_POSTEN_PRO_MV
TAB_BKPF - Accounting Document Header
Data type: BKPFOptional: No
Call by Reference: No ( called with pass by value option)
TAB_BSEG - Accounting Document Segment
Data type: BSEGOptional: No
Call by Reference: No ( called with pass by value option)
TAB_MIETV - Lease-Out
Data type: VIMIMVOptional: No
Call by Reference: No ( called with pass by value option)
TAB_ALLV - Real Estate Contract: Contract Data
Data type: VICN01Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for IMMO_OFFENE_POSTEN_PRO_MV 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_i_bukrs | TYPE BSEG-BUKRS, " | |||
| lt_tab_bkpf | TYPE STANDARD TABLE OF BKPF, " | |||
| lt_tab_bseg | TYPE STANDARD TABLE OF BSEG, " | |||
| lv_i_datum_bis | TYPE SY-DATUM, " | |||
| lv_i_kunnr | TYPE VIMIMV-KUNNR, " | |||
| lt_tab_mietv | TYPE STANDARD TABLE OF VIMIMV, " | |||
| lv_i_waers | TYPE VIOB01-WAERS, " SPACE | |||
| lt_tab_allv | TYPE STANDARD TABLE OF VICN01, " | |||
| lv_i_kursf | TYPE BKPF-KURSF, " 1 | |||
| lv_i_wwert | TYPE BKPF-WWERT, " SY-DATUM | |||
| lv_i_pick_vertn | TYPE F50C-RANL, " SPACE | |||
| lv_i_av | TYPE C. " SPACE |
|   CALL FUNCTION 'IMMO_OFFENE_POSTEN_PRO_MV' "NOTRANSL: Anzeige aller Offener Posten zu einem Mietvertrag |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_DATUM_BIS | = lv_i_datum_bis | |
| I_KUNNR | = lv_i_kunnr | |
| I_WAERS | = lv_i_waers | |
| I_KURSF | = lv_i_kursf | |
| I_WWERT | = lv_i_wwert | |
| I_PICK_VERTN | = lv_i_pick_vertn | |
| I_AV | = lv_i_av | |
| TABLES | ||
| TAB_BKPF | = lt_tab_bkpf | |
| TAB_BSEG | = lt_tab_bseg | |
| TAB_MIETV | = lt_tab_mietv | |
| TAB_ALLV | = lt_tab_allt | |
| . " IMMO_OFFENE_POSTEN_PRO_MV | ||
ABAP code using 7.40 inline data declarations to call FM IMMO_OFFENE_POSTEN_PRO_MV
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 BSEG INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_datum_bis). | ||||
| "SELECT single KUNNR FROM VIMIMV INTO @DATA(ld_i_kunnr). | ||||
| "SELECT single WAERS FROM VIOB01 INTO @DATA(ld_i_waers). | ||||
| DATA(ld_i_waers) | = ' '. | |||
| "SELECT single KURSF FROM BKPF INTO @DATA(ld_i_kursf). | ||||
| DATA(ld_i_kursf) | = 1. | |||
| "SELECT single WWERT FROM BKPF INTO @DATA(ld_i_wwert). | ||||
| DATA(ld_i_wwert) | = SY-DATUM. | |||
| "SELECT single RANL FROM F50C INTO @DATA(ld_i_pick_vertn). | ||||
| DATA(ld_i_pick_vertn) | = ' '. | |||
| DATA(ld_i_av) | = ' '. | |||
Search for further information about these or an SAP related objects