SAP FMCA_INCORR_RECEIVE Function Module for Behandlung von Eingehenden Korrespondenzen
FMCA_INCORR_RECEIVE is a standard fmca incorr receive SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Behandlung von Eingehenden Korrespondenzen 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 fmca incorr receive FM, simply by entering the name FMCA_INCORR_RECEIVE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCA_INCORR
Program Name: SAPLFMCA_INCORR
Main Program: SAPLFMCA_INCORR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FMCA_INCORR_RECEIVE 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 'FMCA_INCORR_RECEIVE'"Behandlung von Eingehenden Korrespondenzen.
EXPORTING
I_INCOTYP = "Eingangskorrespondenztyp
* I_MISSING_AS_ERROR = ' ' "Sollen fehlende Korrespondenzen als Fehler gewertet werden?
* I_ADDITIONAL_AS_ERROR = ' ' "Sollen zusätzliche Korrespondenzen als Fehler behandelt werden?
* I_ACCEPT_ADDITIONAL = 'X' "Sollen auch zusätzliche Korrespondenzen behandelt werden?
* I_XSIMU = ' ' "Simulationsmodus
I_GPART = "Geschäftspartnernummer
I_VKONT = "Vertragskontonummer
I_VTREF = "Referenzangaben aus dem Vertrag
I_SUBAP = "Subapplikation im Vertragskontokorrent
I_PERSL = "Schlüssel für Periodenzuordnung
* I_ABRZU = "Untergrenze des Abrechnungszeitraums
I_INDATE = "Eingangsdatum einer Eingangskorrespondenz
I_CALLER = "Aufrufer für Eingangskorrespondenz
IMPORTING
E_ALL_CONSOLIDATED = "Alle konsolidierten Anforderungen der zugehörigen konsolidierender Anforderung
E_INCORR = "Eingangskorresponenzanforderung (typisiert)
TABLES
* IT_INCORR = "abhängige Objekt
* ET_ADDITIONAL = "Objekte, die zusätzlich übergeben wurden
* ET_MISSING = "Objekte, die erwartet wurde aber nicht übergeben
EXCEPTIONS
E_DUPLICATE = 1 E_ALREADY_CLEARED = 10 E_LOCKED = 11 E_NOT_EXISTING = 2 E_ADDITIONAL_INCORR = 3 E_MISSING_INCORR = 4 E_DATE_WRONG = 5 E_INCONSISTENT_CONS = 6 E_NOT_AUTHORIZED = 7 E_CANCELLED = 8 E_SEVERAL_PERIODS = 9
IMPORTING Parameters details for FMCA_INCORR_RECEIVE
I_INCOTYP - Eingangskorrespondenztyp
Data type: INCO_TYP_PSOptional: No
Call by Reference: Yes
I_MISSING_AS_ERROR - Sollen fehlende Korrespondenzen als Fehler gewertet werden?
Data type: BOOLEANDefault: ' '
Optional: No
Call by Reference: Yes
I_ADDITIONAL_AS_ERROR - Sollen zusätzliche Korrespondenzen als Fehler behandelt werden?
Data type: BOOLEANDefault: ' '
Optional: No
Call by Reference: Yes
I_ACCEPT_ADDITIONAL - Sollen auch zusätzliche Korrespondenzen behandelt werden?
Data type: BOOLEANDefault: 'X'
Optional: No
Call by Reference: Yes
I_XSIMU - Simulationsmodus
Data type: BOOLEANDefault: ' '
Optional: No
Call by Reference: Yes
I_GPART - Geschäftspartnernummer
Data type: GPART_KKOptional: No
Call by Reference: Yes
I_VKONT - Vertragskontonummer
Data type: VKONT_KKOptional: No
Call by Reference: Yes
I_VTREF - Referenzangaben aus dem Vertrag
Data type: VTREF_KKOptional: No
Call by Reference: Yes
I_SUBAP - Subapplikation im Vertragskontokorrent
Data type: SUBAP_KKOptional: No
Call by Reference: Yes
I_PERSL - Schlüssel für Periodenzuordnung
Data type: PERSL_KKOptional: No
Call by Reference: Yes
I_ABRZU - Untergrenze des Abrechnungszeitraums
Data type: ABRZU_KKOptional: Yes
Call by Reference: Yes
I_INDATE - Eingangsdatum einer Eingangskorrespondenz
Data type: INCORR_INDATE_KKOptional: No
Call by Reference: Yes
I_CALLER - Aufrufer für Eingangskorrespondenz
Data type: INCO_CALLER_PSOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FMCA_INCORR_RECEIVE
E_ALL_CONSOLIDATED - Alle konsolidierten Anforderungen der zugehörigen konsolidierender Anforderung
Data type: BOOLEANOptional: No
Call by Reference: Yes
E_INCORR - Eingangskorresponenzanforderung (typisiert)
Data type: FMCA_INCORROptional: No
Call by Reference: Yes
TABLES Parameters details for FMCA_INCORR_RECEIVE
IT_INCORR - abhängige Objekt
Data type: FMCA_MD_KEY_SOptional: Yes
Call by Reference: Yes
ET_ADDITIONAL - Objekte, die zusätzlich übergeben wurden
Data type: FMCA_INCORR_KEYOptional: Yes
Call by Reference: Yes
ET_MISSING - Objekte, die erwartet wurde aber nicht übergeben
Data type: FMCA_INCORR_KEYOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
E_DUPLICATE - Anforderung wurde schon von anderem Objekt ausgeglichen
Data type:Optional: No
Call by Reference: Yes
E_ALREADY_CLEARED - Schätzbuchung bereits ausgeglichen
Data type:Optional: No
Call by Reference: Yes
E_LOCKED - gesperrt
Data type:Optional: No
Call by Reference: Yes
E_NOT_EXISTING - Anforderung existiert nicht
Data type:Optional: No
Call by Reference: Yes
E_ADDITIONAL_INCORR - Es existieren nicht erwartete Eingangskorrespondenzen
Data type:Optional: No
Call by Reference: Yes
E_MISSING_INCORR - Es fehlen Eingangskorrespondenzen
Data type:Optional: No
Call by Reference: Yes
E_DATE_WRONG - Datum hat falsches Format
Data type:Optional: No
Call by Reference: Yes
E_INCONSISTENT_CONS - Konsolidiertes Objekt kann keine Objekte konsolidieren
Data type:Optional: No
Call by Reference: Yes
E_NOT_AUTHORIZED - Keine Berechtigung
Data type:Optional: No
Call by Reference: Yes
E_CANCELLED - Anforderung storniert
Data type:Optional: No
Call by Reference: Yes
E_SEVERAL_PERIODS - Es existieren mehrere Teilperioden
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FMCA_INCORR_RECEIVE 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_incorr | TYPE STANDARD TABLE OF FMCA_MD_KEY_S, " | |||
| lv_i_incotyp | TYPE INCO_TYP_PS, " | |||
| lv_e_duplicate | TYPE INCO_TYP_PS, " | |||
| lv_e_all_consolidated | TYPE BOOLEAN, " | |||
| lv_e_already_cleared | TYPE BOOLEAN, " | |||
| lv_i_missing_as_error | TYPE BOOLEAN, " ' ' | |||
| lv_e_locked | TYPE BOOLEAN, " | |||
| lv_i_additional_as_error | TYPE BOOLEAN, " ' ' | |||
| lv_i_accept_additional | TYPE BOOLEAN, " 'X' | |||
| lv_i_xsimu | TYPE BOOLEAN, " ' ' | |||
| lv_i_gpart | TYPE GPART_KK, " | |||
| lv_e_incorr | TYPE FMCA_INCORR, " | |||
| lt_et_additional | TYPE STANDARD TABLE OF FMCA_INCORR_KEY, " | |||
| lv_e_not_existing | TYPE FMCA_INCORR_KEY, " | |||
| lv_i_vkont | TYPE VKONT_KK, " | |||
| lt_et_missing | TYPE STANDARD TABLE OF FMCA_INCORR_KEY, " | |||
| lv_e_additional_incorr | TYPE FMCA_INCORR_KEY, " | |||
| lv_i_vtref | TYPE VTREF_KK, " | |||
| lv_e_missing_incorr | TYPE VTREF_KK, " | |||
| lv_i_subap | TYPE SUBAP_KK, " | |||
| lv_e_date_wrong | TYPE SUBAP_KK, " | |||
| lv_i_persl | TYPE PERSL_KK, " | |||
| lv_e_inconsistent_cons | TYPE PERSL_KK, " | |||
| lv_i_abrzu | TYPE ABRZU_KK, " | |||
| lv_e_not_authorized | TYPE ABRZU_KK, " | |||
| lv_i_indate | TYPE INCORR_INDATE_KK, " | |||
| lv_e_cancelled | TYPE INCORR_INDATE_KK, " | |||
| lv_i_caller | TYPE INCO_CALLER_PS, " | |||
| lv_e_several_periods | TYPE INCO_CALLER_PS. " |
|   CALL FUNCTION 'FMCA_INCORR_RECEIVE' "Behandlung von Eingehenden Korrespondenzen |
| EXPORTING | ||
| I_INCOTYP | = lv_i_incotyp | |
| I_MISSING_AS_ERROR | = lv_i_missing_as_error | |
| I_ADDITIONAL_AS_ERROR | = lv_i_additional_as_error | |
| I_ACCEPT_ADDITIONAL | = lv_i_accept_additional | |
| I_XSIMU | = lv_i_xsimu | |
| I_GPART | = lv_i_gpart | |
| I_VKONT | = lv_i_vkont | |
| I_VTREF | = lv_i_vtref | |
| I_SUBAP | = lv_i_subap | |
| I_PERSL | = lv_i_persl | |
| I_ABRZU | = lv_i_abrzu | |
| I_INDATE | = lv_i_indate | |
| I_CALLER | = lv_i_caller | |
| IMPORTING | ||
| E_ALL_CONSOLIDATED | = lv_e_all_consolidated | |
| E_INCORR | = lv_e_incorr | |
| TABLES | ||
| IT_INCORR | = lt_it_incorr | |
| ET_ADDITIONAL | = lt_et_additional | |
| ET_MISSING | = lt_et_missing | |
| EXCEPTIONS | ||
| E_DUPLICATE = 1 | ||
| E_ALREADY_CLEARED = 10 | ||
| E_LOCKED = 11 | ||
| E_NOT_EXISTING = 2 | ||
| E_ADDITIONAL_INCORR = 3 | ||
| E_MISSING_INCORR = 4 | ||
| E_DATE_WRONG = 5 | ||
| E_INCONSISTENT_CONS = 6 | ||
| E_NOT_AUTHORIZED = 7 | ||
| E_CANCELLED = 8 | ||
| E_SEVERAL_PERIODS = 9 | ||
| . " FMCA_INCORR_RECEIVE | ||
ABAP code using 7.40 inline data declarations to call FM FMCA_INCORR_RECEIVE
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.| DATA(ld_i_missing_as_error) | = ' '. | |||
| DATA(ld_i_additional_as_error) | = ' '. | |||
| DATA(ld_i_accept_additional) | = 'X'. | |||
| DATA(ld_i_xsimu) | = ' '. | |||
Search for further information about these or an SAP related objects