SAP FMCA_INCORR_CREATE_POPUP Function Module for Anlegen und Ändern von Anforderungen









FMCA_INCORR_CREATE_POPUP is a standard fmca incorr create popup SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Anlegen und Ändern von Anforderungen 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 create popup FM, simply by entering the name FMCA_INCORR_CREATE_POPUP 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_CREATE_POPUP 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_CREATE_POPUP'"Anlegen und Ändern von Anforderungen
EXPORTING
I_GPART = "Geschäftspartnernummer
* I_SALBE = "Betrag in Hauswährung mit Vorzeichen
* I_SALWA = "Währungsschlüssel
* I_FIX_INCOTYP = ' ' "Eingangskorrespondenztyp fest
* I_FIX_PERSL = ' ' "Periodenschlüssel fest
I_VKONT = "Vertragskontonummer
I_VTREF = "Referenzangaben aus dem Vertrag
I_SUBAP = "Subapplikation im Vertragskontokorrent
* I_INCOTYP = "Eingangskorrespondenztyp
* I_PERSL = "Schlüssel für Periodenzuordnung
* I_ABRZU = "Untergrenze des Abrechnungszeitraums
* I_FAEDN = "Fälligkeitsdatum einer Eingangskorrespondenz
* I_DEFER = "Stundung einer Eingangskorrespondenz

IMPORTING
ET_INCORR = "Eingangskorresponenzanforderung (typisiert)
E_EXISTING_INCORR = "Anzahl der bereits existierenden Anforderungen

EXCEPTIONS
E_CANCELLED = 1 E_PERIOD_CUSTOMIZING = 10 E_NO_FAEDN = 11 E_ERROR = 12 E_EXEMPTION_PERIOD = 13 E_MD_NOT_EXISTING = 14 E_ALREADY_EXISTING = 2 E_INCOTYP_NOT_EXIST = 3 E_PERIOD_NOT_EXIST = 4 E_DEFER_LESS_DUE = 5 E_SEVERAL_REQUESTS = 6 E_NOT_ACTIVE = 7 E_P712_CHANGED = 8 E_AMOUNT_ZERO = 9
.



IMPORTING Parameters details for FMCA_INCORR_CREATE_POPUP

I_GPART - Geschäftspartnernummer

Data type: GPART_KK
Optional: No
Call by Reference: Yes

I_SALBE - Betrag in Hauswährung mit Vorzeichen

Data type: CORR_BETRH_KK
Optional: Yes
Call by Reference: Yes

I_SALWA - Währungsschlüssel

Data type: CORR_WAERS_KK
Optional: Yes
Call by Reference: Yes

I_FIX_INCOTYP - Eingangskorrespondenztyp fest

Data type: BOOLEAN
Default: ' '
Optional: No
Call by Reference: Yes

I_FIX_PERSL - Periodenschlüssel fest

Data type: BOOLEAN
Default: ' '
Optional: No
Call by Reference: Yes

I_VKONT - Vertragskontonummer

Data type: VKONT_KK
Optional: No
Call by Reference: Yes

I_VTREF - Referenzangaben aus dem Vertrag

Data type: VTREF_KK
Optional: No
Call by Reference: Yes

I_SUBAP - Subapplikation im Vertragskontokorrent

Data type: SUBAP_KK
Optional: No
Call by Reference: Yes

I_INCOTYP - Eingangskorrespondenztyp

Data type: INCO_TYP_PS
Optional: Yes
Call by Reference: Yes

I_PERSL - Schlüssel für Periodenzuordnung

Data type: PERSL_KK
Optional: Yes
Call by Reference: Yes

I_ABRZU - Untergrenze des Abrechnungszeitraums

Data type: ABRZU_KK
Optional: Yes
Call by Reference: Yes

I_FAEDN - Fälligkeitsdatum einer Eingangskorrespondenz

Data type: INCORR_FAEDN_KK
Optional: Yes
Call by Reference: Yes

I_DEFER - Stundung einer Eingangskorrespondenz

Data type: INCORR_DEFER_KK
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FMCA_INCORR_CREATE_POPUP

ET_INCORR - Eingangskorresponenzanforderung (typisiert)

Data type: FMCA_INCORR_TAB
Optional: No
Call by Reference: Yes

E_EXISTING_INCORR - Anzahl der bereits existierenden Anforderungen

Data type: I
Optional: No
Call by Reference: Yes

EXCEPTIONS details

E_CANCELLED - abgebrochen durch Benutzer

Data type:
Optional: No
Call by Reference: Yes

E_PERIOD_CUSTOMIZING - Perioden-Customizing inkonsistent

Data type:
Optional: No
Call by Reference: Yes

E_NO_FAEDN - Kein Fälligkeitsdatum

Data type:
Optional: No
Call by Reference: Yes

E_ERROR - Allgemeiner Fehler

Data type:
Optional: No
Call by Reference: Yes

E_EXEMPTION_PERIOD - Liegt im Ausnahmezeitraum

Data type:
Optional: No
Call by Reference: Yes

E_MD_NOT_EXISTING - Stammdaten existieren nicht

Data type:
Optional: No
Call by Reference: Yes

E_ALREADY_EXISTING - Zu erzeugende Anforderung existiert bereits

Data type:
Optional: No
Call by Reference: Yes

E_INCOTYP_NOT_EXIST - Eingangskorrespondenztyp existiert nicht

Data type:
Optional: No
Call by Reference: Yes

E_PERIOD_NOT_EXIST - Periodenschlüssel existiert nicht

Data type:
Optional: No
Call by Reference: Yes

E_DEFER_LESS_DUE - Stundungsdatum kleiner als Fälligkeitsdatum

Data type:
Optional: No
Call by Reference: Yes

E_SEVERAL_REQUESTS - Zu dieser Periode gehören mehrere Abrechnungszeiträume

Data type:
Optional: No
Call by Reference: Yes

E_NOT_ACTIVE - Erweiterte Eingangskorrespondenzen nicht aktiviert

Data type:
Optional: No
Call by Reference: Yes

E_P712_CHANGED - nicht änderbares Feld in P712 geändert

Data type:
Optional: No
Call by Reference: Yes

E_AMOUNT_ZERO - Betrag darf nicht Null sein

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FMCA_INCORR_CREATE_POPUP 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_gpart  TYPE GPART_KK, "   
lv_et_incorr  TYPE FMCA_INCORR_TAB, "   
lv_e_cancelled  TYPE FMCA_INCORR_TAB, "   
lv_i_salbe  TYPE CORR_BETRH_KK, "   
lv_e_period_customizing  TYPE CORR_BETRH_KK, "   
lv_i_salwa  TYPE CORR_WAERS_KK, "   
lv_e_no_faedn  TYPE CORR_WAERS_KK, "   
lv_e_error  TYPE CORR_WAERS_KK, "   
lv_i_fix_incotyp  TYPE BOOLEAN, "   ' '
lv_i_fix_persl  TYPE BOOLEAN, "   ' '
lv_e_exemption_period  TYPE BOOLEAN, "   
lv_e_md_not_existing  TYPE BOOLEAN, "   
lv_i_vkont  TYPE VKONT_KK, "   
lv_e_existing_incorr  TYPE I, "   
lv_e_already_existing  TYPE I, "   
lv_i_vtref  TYPE VTREF_KK, "   
lv_e_incotyp_not_exist  TYPE VTREF_KK, "   
lv_i_subap  TYPE SUBAP_KK, "   
lv_e_period_not_exist  TYPE SUBAP_KK, "   
lv_i_incotyp  TYPE INCO_TYP_PS, "   
lv_e_defer_less_due  TYPE INCO_TYP_PS, "   
lv_i_persl  TYPE PERSL_KK, "   
lv_e_several_requests  TYPE PERSL_KK, "   
lv_i_abrzu  TYPE ABRZU_KK, "   
lv_e_not_active  TYPE ABRZU_KK, "   
lv_i_faedn  TYPE INCORR_FAEDN_KK, "   
lv_e_p712_changed  TYPE INCORR_FAEDN_KK, "   
lv_i_defer  TYPE INCORR_DEFER_KK, "   
lv_e_amount_zero  TYPE INCORR_DEFER_KK. "   

  CALL FUNCTION 'FMCA_INCORR_CREATE_POPUP'  "Anlegen und Ändern von Anforderungen
    EXPORTING
         I_GPART = lv_i_gpart
         I_SALBE = lv_i_salbe
         I_SALWA = lv_i_salwa
         I_FIX_INCOTYP = lv_i_fix_incotyp
         I_FIX_PERSL = lv_i_fix_persl
         I_VKONT = lv_i_vkont
         I_VTREF = lv_i_vtref
         I_SUBAP = lv_i_subap
         I_INCOTYP = lv_i_incotyp
         I_PERSL = lv_i_persl
         I_ABRZU = lv_i_abrzu
         I_FAEDN = lv_i_faedn
         I_DEFER = lv_i_defer
    IMPORTING
         ET_INCORR = lv_et_incorr
         E_EXISTING_INCORR = lv_e_existing_incorr
    EXCEPTIONS
        E_CANCELLED = 1
        E_PERIOD_CUSTOMIZING = 10
        E_NO_FAEDN = 11
        E_ERROR = 12
        E_EXEMPTION_PERIOD = 13
        E_MD_NOT_EXISTING = 14
        E_ALREADY_EXISTING = 2
        E_INCOTYP_NOT_EXIST = 3
        E_PERIOD_NOT_EXIST = 4
        E_DEFER_LESS_DUE = 5
        E_SEVERAL_REQUESTS = 6
        E_NOT_ACTIVE = 7
        E_P712_CHANGED = 8
        E_AMOUNT_ZERO = 9
. " FMCA_INCORR_CREATE_POPUP




ABAP code using 7.40 inline data declarations to call FM FMCA_INCORR_CREATE_POPUP

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_fix_incotyp) = ' '.
 
DATA(ld_i_fix_persl) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!