SAP IDCN_FSC_CHECK Function Module for Check FSC completeness









IDCN_FSC_CHECK is a standard idcn fsc check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check FSC completeness 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 idcn fsc check FM, simply by entering the name IDCN_FSC_CHECK into the relevant SAP transaction such as SE37 or SE38.

Function Group: IDCN_FSC
Program Name: SAPLIDCN_FSC
Main Program: SAPLIDCN_FSC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function IDCN_FSC_CHECK 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 'IDCN_FSC_CHECK'"Check FSC completeness
EXPORTING
IM_FSCKEY = "Form Structure Key
IM_VERSN = "Financial Statement Version
* X_ACC_MISS_CHOA = 'X' "Check Accounts missing in ChOAcc.
* X_FSC_NODE = 'X' "Check node assignment
* IM_BILATYP = "Print Variant of Financial Statement Form

IMPORTING
E_ERR = "Nr.of messages of type E
E_WARN = "Nr.of messages of type W
E_OTH = "Nr.of messages of type E

EXCEPTIONS
FSV_READ_ERROR = 1 FSC_READ_ERROR = 2 LOG_ERR = 3
.



IMPORTING Parameters details for IDCN_FSC_CHECK

IM_FSCKEY - Form Structure Key

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

IM_VERSN - Financial Statement Version

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

X_ACC_MISS_CHOA - Check Accounts missing in ChOAcc.

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FSC_NODE - Check node assignment

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_BILATYP - Print Variant of Financial Statement Form

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

EXPORTING Parameters details for IDCN_FSC_CHECK

E_ERR - Nr.of messages of type E

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

E_WARN - Nr.of messages of type W

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

E_OTH - Nr.of messages of type E

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

EXCEPTIONS details

FSV_READ_ERROR - FSV read error

Data type:
Optional: No
Call by Reference: Yes

FSC_READ_ERROR - FSC read error

Data type:
Optional: No
Call by Reference: Yes

LOG_ERR - Logging error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for IDCN_FSC_CHECK 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_e_err  TYPE I, "   
lv_im_fsckey  TYPE IDCN_FSCKEY, "   
lv_fsv_read_error  TYPE IDCN_FSCKEY, "   
lv_e_warn  TYPE I, "   
lv_im_versn  TYPE VERSN_011, "   
lv_fsc_read_error  TYPE VERSN_011, "   
lv_e_oth  TYPE I, "   
lv_log_err  TYPE I, "   
lv_x_acc_miss_choa  TYPE XFLAG, "   'X'
lv_x_fsc_node  TYPE XFLAG, "   'X'
lv_im_bilatyp  TYPE IDCN_BILATYP. "   

  CALL FUNCTION 'IDCN_FSC_CHECK'  "Check FSC completeness
    EXPORTING
         IM_FSCKEY = lv_im_fsckey
         IM_VERSN = lv_im_versn
         X_ACC_MISS_CHOA = lv_x_acc_miss_choa
         X_FSC_NODE = lv_x_fsc_node
         IM_BILATYP = lv_im_bilatyp
    IMPORTING
         E_ERR = lv_e_err
         E_WARN = lv_e_warn
         E_OTH = lv_e_oth
    EXCEPTIONS
        FSV_READ_ERROR = 1
        FSC_READ_ERROR = 2
        LOG_ERR = 3
. " IDCN_FSC_CHECK




ABAP code using 7.40 inline data declarations to call FM IDCN_FSC_CHECK

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_x_acc_miss_choa) = 'X'.
 
DATA(ld_x_fsc_node) = 'X'.
 
 


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!