SAP FMCA_INCORR_SAMPLE_1211 Function Module for Anzeigen der Musterbelege im Kontenstand
FMCA_INCORR_SAMPLE_1211 is a standard fmca incorr sample 1211 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Anzeigen der Musterbelege im Kontenstand 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 sample 1211 FM, simply by entering the name FMCA_INCORR_SAMPLE_1211 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_SAMPLE_1211 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_SAMPLE_1211'"Anzeigen der Musterbelege im Kontenstand.
EXPORTING
I_WITH_SIMULATED_ITEMS = "Postentabelle enthält simulierte Ausgleiche
* I_FKKEPOSC = "Selektionssteuerung bei internem Aufruf
IMPORTING
E_NDTXT_DEACTIVATE = "Funktionstext zum Ausblenden
E_NDTXT_ACTIVATE = "Funktionstext zum Einblenden
E_SNDSP = "Ausblendbare Posten zunächst ausgeblendet?
E_FUNCTION_FOR_DISPLAY = "Name des Funktionsbausteins
E_FTEXT_1117 = "Funktionstext für 'Ursprungsbeleg'
E_FCODE_1117 = "Funktion für 'Ursprungsbeleg'
E_ICON_1117 = "Ikone für 'Ursprungsbeleg'
TABLES
T_POSTAB = "Selektierte Posten
T_SEL_VALUES = "Selektionswerte (Einstiegsbild)
* T_TOTALS = "Zusätzliche Summenzeilen
* T_NEW_ITEMS = "Kontenstand: Neue Posten
* T_SEL_CRITERIA = "Selektionsbedingungen (Feldwerte)
IMPORTING Parameters details for FMCA_INCORR_SAMPLE_1211
I_WITH_SIMULATED_ITEMS - Postentabelle enthält simulierte Ausgleiche
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
I_FKKEPOSC - Selektionssteuerung bei internem Aufruf
Data type: FKKEPOSCOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FMCA_INCORR_SAMPLE_1211
E_NDTXT_DEACTIVATE - Funktionstext zum Ausblenden
Data type: FKKL1-NDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_NDTXT_ACTIVATE - Funktionstext zum Einblenden
Data type: FKKL1-NDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_SNDSP - Ausblendbare Posten zunächst ausgeblendet?
Data type: FKKL1-SNDSPOptional: No
Call by Reference: No ( called with pass by value option)
E_FUNCTION_FOR_DISPLAY - Name des Funktionsbausteins
Data type: TFDIR-FUNCNAMEOptional: No
Call by Reference: No ( called with pass by value option)
E_FTEXT_1117 - Funktionstext für 'Ursprungsbeleg'
Data type: FKKL1-NDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_FCODE_1117 - Funktion für 'Ursprungsbeleg'
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
E_ICON_1117 - Ikone für 'Ursprungsbeleg'
Data type: ICONNAMEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FMCA_INCORR_SAMPLE_1211
T_POSTAB - Selektierte Posten
Data type: FKKEPOSOptional: No
Call by Reference: Yes
T_SEL_VALUES - Selektionswerte (Einstiegsbild)
Data type: FKKL1Optional: No
Call by Reference: Yes
T_TOTALS - Zusätzliche Summenzeilen
Data type: FKKEPOS_TOTOptional: Yes
Call by Reference: Yes
T_NEW_ITEMS - Kontenstand: Neue Posten
Data type: FKKEPOSOptional: Yes
Call by Reference: Yes
T_SEL_CRITERIA - Selektionsbedingungen (Feldwerte)
Data type: FKKEPOSS2Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FMCA_INCORR_SAMPLE_1211 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_t_postab | TYPE STANDARD TABLE OF FKKEPOS, " | |||
| lv_e_ndtxt_deactivate | TYPE FKKL1-NDTXT, " | |||
| lv_i_with_simulated_items | TYPE BOOLE-BOOLE, " | |||
| lv_i_fkkeposc | TYPE FKKEPOSC, " | |||
| lt_t_sel_values | TYPE STANDARD TABLE OF FKKL1, " | |||
| lv_e_ndtxt_activate | TYPE FKKL1-NDTXT, " | |||
| lv_e_sndsp | TYPE FKKL1-SNDSP, " | |||
| lt_t_totals | TYPE STANDARD TABLE OF FKKEPOS_TOT, " | |||
| lt_t_new_items | TYPE STANDARD TABLE OF FKKEPOS, " | |||
| lv_e_function_for_display | TYPE TFDIR-FUNCNAME, " | |||
| lv_e_ftext_1117 | TYPE FKKL1-NDTXT, " | |||
| lt_t_sel_criteria | TYPE STANDARD TABLE OF FKKEPOSS2, " | |||
| lv_e_fcode_1117 | TYPE SY-UCOMM, " | |||
| lv_e_icon_1117 | TYPE ICONNAME. " |
|   CALL FUNCTION 'FMCA_INCORR_SAMPLE_1211' "Anzeigen der Musterbelege im Kontenstand |
| EXPORTING | ||
| I_WITH_SIMULATED_ITEMS | = lv_i_with_simulated_items | |
| I_FKKEPOSC | = lv_i_fkkeposc | |
| IMPORTING | ||
| E_NDTXT_DEACTIVATE | = lv_e_ndtxt_deactivate | |
| E_NDTXT_ACTIVATE | = lv_e_ndtxt_activate | |
| E_SNDSP | = lv_e_sndsp | |
| E_FUNCTION_FOR_DISPLAY | = lv_e_function_for_display | |
| E_FTEXT_1117 | = lv_e_ftext_1117 | |
| E_FCODE_1117 | = lv_e_fcode_1117 | |
| E_ICON_1117 | = lv_e_icon_1117 | |
| TABLES | ||
| T_POSTAB | = lt_t_postab | |
| T_SEL_VALUES | = lt_t_sel_values | |
| T_TOTALS | = lt_t_totals | |
| T_NEW_ITEMS | = lt_t_new_items | |
| T_SEL_CRITERIA | = lt_t_sel_criteria | |
| . " FMCA_INCORR_SAMPLE_1211 | ||
ABAP code using 7.40 inline data declarations to call FM FMCA_INCORR_SAMPLE_1211
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 NDTXT FROM FKKL1 INTO @DATA(ld_e_ndtxt_deactivate). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_with_simulated_items). | ||||
| "SELECT single NDTXT FROM FKKL1 INTO @DATA(ld_e_ndtxt_activate). | ||||
| "SELECT single SNDSP FROM FKKL1 INTO @DATA(ld_e_sndsp). | ||||
| "SELECT single FUNCNAME FROM TFDIR INTO @DATA(ld_e_function_for_display). | ||||
| "SELECT single NDTXT FROM FKKL1 INTO @DATA(ld_e_ftext_1117). | ||||
| "SELECT single UCOMM FROM SY INTO @DATA(ld_e_fcode_1117). | ||||
Search for further information about these or an SAP related objects