SAP IMMO_OPEN_PAYINS Function Module for NOTRANSL: Zuordnung von Zahlungseingängen
IMMO_OPEN_PAYINS is a standard immo open payins 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: Zuordnung von Zahlungseingängen 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 open payins FM, simply by entering the name IMMO_OPEN_PAYINS into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVEP
Program Name: SAPLFVEP
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IMMO_OPEN_PAYINS 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_OPEN_PAYINS'"NOTRANSL: Zuordnung von Zahlungseingängen.
EXPORTING
* BELNR = ' ' "Document Number
* HKONT = ' ' "General Ledger Account
* I_BKPF = ' ' "Accounting Document Header
* I_RF05A = "Work Fields for SAPMF05A
* KZ_ZAHL_EING = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* SMIVE = ' ' "Lease-Out
* VALUT = ' ' "Value Date
* VBEWA = '9999' "Flow type
* WAERS = ' ' "Currency
* KURSF = 1 "Exchange rate
* UWERT = ' ' "Translation Date
* BETRAG = 0 "Amount in Document Currency
* SGTXT = ' ' "Item Text
* I_RFVI05A = ' ' "Additional Real Estate fields for RF05A, incoming payment
* ZUONR = ' ' "Assignment Number
* I_AV = ' ' "Generic Type
* BKTXT = ' ' "Document Header Text
BLART = "Document Type
BUDAT = "Posting Date in the Document
* BUKRS = ' ' "Company Code
* BUZEI = ' ' "Number of Line Item Within Accounting Document
* GJAHR = ' ' "Fiscal Year
* GSBER = ' ' "Business Area
TABLES
* E_VIMIMV = "Lease-Out
* E_VICN01 = "Real Estate Contract: Contract Data
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for IMMO_OPEN_PAYINS
BELNR - Document Number
Data type: BKPF-BELNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
HKONT - General Ledger Account
Data type: BSEG-HKONTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BKPF - Accounting Document Header
Data type: BKPFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RF05A - Work Fields for SAPMF05A
Data type: RF05AOptional: Yes
Call by Reference: No ( called with pass by value option)
KZ_ZAHL_EING - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SMIVE - Lease-Out
Data type: VIMIMV-SMIVEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VALUT - Value Date
Data type: BSEG-VALUTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VBEWA - Flow type
Data type: BSID-VBEWADefault: '9999'
Optional: Yes
Call by Reference: No ( called with pass by value option)
WAERS - Currency
Data type: VIOB01-WAERSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KURSF - Exchange rate
Data type: BKPF-KURSFDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
UWERT - Translation Date
Data type: BKPF-WWERTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
BETRAG - Amount in Document Currency
Data type: BSEG-WRBTROptional: Yes
Call by Reference: No ( called with pass by value option)
SGTXT - Item Text
Data type: BSEG-SGTXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RFVI05A - Additional Real Estate fields for RF05A, incoming payment
Data type: RFVI05ADefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ZUONR - Assignment Number
Data type: BSEG-ZUONRDefault: 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)
BKTXT - Document Header Text
Data type: BKPF-BKTXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
BLART - Document Type
Data type: BKPF-BLARTOptional: No
Call by Reference: No ( called with pass by value option)
BUDAT - Posting Date in the Document
Data type: BSIS-BUDATOptional: No
Call by Reference: No ( called with pass by value option)
BUKRS - Company Code
Data type: T001-BUKRSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
BUZEI - Number of Line Item Within Accounting Document
Data type: BSEG-BUZEIDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GJAHR - Fiscal Year
Data type: BKPF-GJAHRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GSBER - Business Area
Data type: VIOB01-GSBERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for IMMO_OPEN_PAYINS
E_VIMIMV - Lease-Out
Data type: VIMIMVOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VICN01 - Real Estate Contract: Contract Data
Data type: VICN01Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for IMMO_OPEN_PAYINS 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_belnr | TYPE BKPF-BELNR, " SPACE | |||
| lv_error | TYPE BKPF, " | |||
| lt_e_vimimv | TYPE STANDARD TABLE OF VIMIMV, " | |||
| lv_hkont | TYPE BSEG-HKONT, " SPACE | |||
| lv_i_bkpf | TYPE BKPF, " SPACE | |||
| lv_i_rf05a | TYPE RF05A, " | |||
| lv_kz_zahl_eing | TYPE RF05A, " SPACE | |||
| lv_smive | TYPE VIMIMV-SMIVE, " SPACE | |||
| lv_valut | TYPE BSEG-VALUT, " SPACE | |||
| lv_vbewa | TYPE BSID-VBEWA, " '9999' | |||
| lv_waers | TYPE VIOB01-WAERS, " SPACE | |||
| lv_kursf | TYPE BKPF-KURSF, " 1 | |||
| lv_uwert | TYPE BKPF-WWERT, " SPACE | |||
| lv_betrag | TYPE BSEG-WRBTR, " 0 | |||
| lt_e_vicn01 | TYPE STANDARD TABLE OF VICN01, " | |||
| lv_sgtxt | TYPE BSEG-SGTXT, " SPACE | |||
| lv_i_rfvi05a | TYPE RFVI05A, " SPACE | |||
| lv_zuonr | TYPE BSEG-ZUONR, " SPACE | |||
| lv_i_av | TYPE C, " SPACE | |||
| lv_bktxt | TYPE BKPF-BKTXT, " SPACE | |||
| lv_blart | TYPE BKPF-BLART, " | |||
| lv_budat | TYPE BSIS-BUDAT, " | |||
| lv_bukrs | TYPE T001-BUKRS, " SPACE | |||
| lv_buzei | TYPE BSEG-BUZEI, " SPACE | |||
| lv_gjahr | TYPE BKPF-GJAHR, " SPACE | |||
| lv_gsber | TYPE VIOB01-GSBER. " SPACE |
|   CALL FUNCTION 'IMMO_OPEN_PAYINS' "NOTRANSL: Zuordnung von Zahlungseingängen |
| EXPORTING | ||
| BELNR | = lv_belnr | |
| HKONT | = lv_hkont | |
| I_BKPF | = lv_i_bkpf | |
| I_RF05A | = lv_i_rf05a | |
| KZ_ZAHL_EING | = lv_kz_zahl_eing | |
| SMIVE | = lv_smive | |
| VALUT | = lv_valut | |
| VBEWA | = lv_vbewa | |
| WAERS | = lv_waers | |
| KURSF | = lv_kursf | |
| UWERT | = lv_uwert | |
| BETRAG | = lv_betrag | |
| SGTXT | = lv_sgtxt | |
| I_RFVI05A | = lv_i_rfvi05a | |
| ZUONR | = lv_zuonr | |
| I_AV | = lv_i_av | |
| BKTXT | = lv_bktxt | |
| BLART | = lv_blart | |
| BUDAT | = lv_budat | |
| BUKRS | = lv_bukrs | |
| BUZEI | = lv_buzei | |
| GJAHR | = lv_gjahr | |
| GSBER | = lv_gsber | |
| TABLES | ||
| E_VIMIMV | = lt_e_vimimv | |
| E_VICN01 | = lt_e_vicn01 | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " IMMO_OPEN_PAYINS | ||
ABAP code using 7.40 inline data declarations to call FM IMMO_OPEN_PAYINS
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 BELNR FROM BKPF INTO @DATA(ld_belnr). | ||||
| DATA(ld_belnr) | = ' '. | |||
| "SELECT single HKONT FROM BSEG INTO @DATA(ld_hkont). | ||||
| DATA(ld_hkont) | = ' '. | |||
| DATA(ld_i_bkpf) | = ' '. | |||
| DATA(ld_kz_zahl_eing) | = ' '. | |||
| "SELECT single SMIVE FROM VIMIMV INTO @DATA(ld_smive). | ||||
| DATA(ld_smive) | = ' '. | |||
| "SELECT single VALUT FROM BSEG INTO @DATA(ld_valut). | ||||
| DATA(ld_valut) | = ' '. | |||
| "SELECT single VBEWA FROM BSID INTO @DATA(ld_vbewa). | ||||
| DATA(ld_vbewa) | = '9999'. | |||
| "SELECT single WAERS FROM VIOB01 INTO @DATA(ld_waers). | ||||
| DATA(ld_waers) | = ' '. | |||
| "SELECT single KURSF FROM BKPF INTO @DATA(ld_kursf). | ||||
| DATA(ld_kursf) | = 1. | |||
| "SELECT single WWERT FROM BKPF INTO @DATA(ld_uwert). | ||||
| DATA(ld_uwert) | = ' '. | |||
| "SELECT single WRBTR FROM BSEG INTO @DATA(ld_betrag). | ||||
| "SELECT single SGTXT FROM BSEG INTO @DATA(ld_sgtxt). | ||||
| DATA(ld_sgtxt) | = ' '. | |||
| DATA(ld_i_rfvi05a) | = ' '. | |||
| "SELECT single ZUONR FROM BSEG INTO @DATA(ld_zuonr). | ||||
| DATA(ld_zuonr) | = ' '. | |||
| DATA(ld_i_av) | = ' '. | |||
| "SELECT single BKTXT FROM BKPF INTO @DATA(ld_bktxt). | ||||
| DATA(ld_bktxt) | = ' '. | |||
| "SELECT single BLART FROM BKPF INTO @DATA(ld_blart). | ||||
| "SELECT single BUDAT FROM BSIS INTO @DATA(ld_budat). | ||||
| "SELECT single BUKRS FROM T001 INTO @DATA(ld_bukrs). | ||||
| DATA(ld_bukrs) | = ' '. | |||
| "SELECT single BUZEI FROM BSEG INTO @DATA(ld_buzei). | ||||
| DATA(ld_buzei) | = ' '. | |||
| "SELECT single GJAHR FROM BKPF INTO @DATA(ld_gjahr). | ||||
| DATA(ld_gjahr) | = ' '. | |||
| "SELECT single GSBER FROM VIOB01 INTO @DATA(ld_gsber). | ||||
| DATA(ld_gsber) | = ' '. | |||
Search for further information about these or an SAP related objects