SAP FC_COI_SYSTEM_USAGE_GET Function Module for Read Selected Settings for System Utilization for C/I
FC_COI_SYSTEM_USAGE_GET is a standard fc coi system usage get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Selected Settings for System Utilization for C/I 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 fc coi system usage get FM, simply by entering the name FC_COI_SYSTEM_USAGE_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: FC06
Program Name: SAPLFC06
Main Program: SAPLFC06
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FC_COI_SYSTEM_USAGE_GET 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 'FC_COI_SYSTEM_USAGE_GET'"Read Selected Settings for System Utilization for C/I.
EXPORTING
I_DIMEN = "Dimension
IMPORTING
E_USTPFLG = "Universal Statistical Posting Logic
E_TDIFLG = "
E_SCONMI = "
E_SAQOCI = "
E_CCHFLG = "
E_MERFLG = "
E_GWNFLG = "
E_GWAFLG = "
E_GWDFLG = "
E_GWRFLG = "
E_NGNFLG = "
E_NEWLL_YEAR = "First Fiscal Year from Which the New Level Logic Should be Used
E_NGAFLG = "
E_NGDFLG = "
E_NGRFLG = "
E_HFSFLG = "
E_EQIFLG = "
E_PUAFLG = "Push-down Method
E_OCFLG = "Organizational Changes, No Effect on Earnings
E_GWCTFLG = "Goodwill in Local Currency
E_LDTFLG = "Legacy Data Transfer
E_IWDUFLG = "Investment Amortization/Write-up
E_DGWFLG = "Separation of Goodwill from Investment
E_PDEFLG = "Partial Divestiture as Equity Transaction
IMPORTING Parameters details for FC_COI_SYSTEM_USAGE_GET
I_DIMEN - Dimension
Data type: FC_DIMENOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FC_COI_SYSTEM_USAGE_GET
E_USTPFLG - Universal Statistical Posting Logic
Data type: FC_USTPFLGOptional: No
Call by Reference: Yes
E_TDIFLG -
Data type: FC_TDIFLGOptional: No
Call by Reference: Yes
E_SCONMI -
Data type: FC_SCONMIOptional: No
Call by Reference: Yes
E_SAQOCI -
Data type: FC_SAQOCIOptional: No
Call by Reference: Yes
E_CCHFLG -
Data type: FC_CCHFLGOptional: No
Call by Reference: Yes
E_MERFLG -
Data type: FC_MERFLGOptional: No
Call by Reference: Yes
E_GWNFLG -
Data type: FC_GWNFLGOptional: No
Call by Reference: Yes
E_GWAFLG -
Data type: FC_GWAFLGOptional: No
Call by Reference: Yes
E_GWDFLG -
Data type: FC_GWDFLGOptional: No
Call by Reference: Yes
E_GWRFLG -
Data type: FC_GWRFLGOptional: No
Call by Reference: Yes
E_NGNFLG -
Data type: FC_NGNFLGOptional: No
Call by Reference: Yes
E_NEWLL_YEAR - First Fiscal Year from Which the New Level Logic Should be Used
Data type: FC_RYEAROptional: No
Call by Reference: Yes
E_NGAFLG -
Data type: FC_NGAFLGOptional: No
Call by Reference: Yes
E_NGDFLG -
Data type: FC_NGDFLGOptional: No
Call by Reference: Yes
E_NGRFLG -
Data type: FC_NGRFLGOptional: No
Call by Reference: Yes
E_HFSFLG -
Data type: FC_ASTHFSOptional: No
Call by Reference: Yes
E_EQIFLG -
Data type: FC_EQIFLGOptional: No
Call by Reference: Yes
E_PUAFLG - Push-down Method
Data type: FC_PUAFLGOptional: No
Call by Reference: Yes
E_OCFLG - Organizational Changes, No Effect on Earnings
Data type: FC_OCFLGOptional: No
Call by Reference: Yes
E_GWCTFLG - Goodwill in Local Currency
Data type: FC_GWCTFLGOptional: No
Call by Reference: Yes
E_LDTFLG - Legacy Data Transfer
Data type: FC_LDTFLGOptional: No
Call by Reference: Yes
E_IWDUFLG - Investment Amortization/Write-up
Data type: FC_IWDUFLGOptional: No
Call by Reference: Yes
E_DGWFLG - Separation of Goodwill from Investment
Data type: FC_DGWFLGOptional: No
Call by Reference: Yes
E_PDEFLG - Partial Divestiture as Equity Transaction
Data type: FC_PDEFLGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FC_COI_SYSTEM_USAGE_GET 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_dimen | TYPE FC_DIMEN, " | |||
| lv_e_ustpflg | TYPE FC_USTPFLG, " | |||
| lv_e_tdiflg | TYPE FC_TDIFLG, " | |||
| lv_e_sconmi | TYPE FC_SCONMI, " | |||
| lv_e_saqoci | TYPE FC_SAQOCI, " | |||
| lv_e_cchflg | TYPE FC_CCHFLG, " | |||
| lv_e_merflg | TYPE FC_MERFLG, " | |||
| lv_e_gwnflg | TYPE FC_GWNFLG, " | |||
| lv_e_gwaflg | TYPE FC_GWAFLG, " | |||
| lv_e_gwdflg | TYPE FC_GWDFLG, " | |||
| lv_e_gwrflg | TYPE FC_GWRFLG, " | |||
| lv_e_ngnflg | TYPE FC_NGNFLG, " | |||
| lv_e_newll_year | TYPE FC_RYEAR, " | |||
| lv_e_ngaflg | TYPE FC_NGAFLG, " | |||
| lv_e_ngdflg | TYPE FC_NGDFLG, " | |||
| lv_e_ngrflg | TYPE FC_NGRFLG, " | |||
| lv_e_hfsflg | TYPE FC_ASTHFS, " | |||
| lv_e_eqiflg | TYPE FC_EQIFLG, " | |||
| lv_e_puaflg | TYPE FC_PUAFLG, " | |||
| lv_e_ocflg | TYPE FC_OCFLG, " | |||
| lv_e_gwctflg | TYPE FC_GWCTFLG, " | |||
| lv_e_ldtflg | TYPE FC_LDTFLG, " | |||
| lv_e_iwduflg | TYPE FC_IWDUFLG, " | |||
| lv_e_dgwflg | TYPE FC_DGWFLG, " | |||
| lv_e_pdeflg | TYPE FC_PDEFLG. " |
|   CALL FUNCTION 'FC_COI_SYSTEM_USAGE_GET' "Read Selected Settings for System Utilization for C/I |
| EXPORTING | ||
| I_DIMEN | = lv_i_dimen | |
| IMPORTING | ||
| E_USTPFLG | = lv_e_ustpflg | |
| E_TDIFLG | = lv_e_tdiflg | |
| E_SCONMI | = lv_e_sconmi | |
| E_SAQOCI | = lv_e_saqoci | |
| E_CCHFLG | = lv_e_cchflg | |
| E_MERFLG | = lv_e_merflg | |
| E_GWNFLG | = lv_e_gwnflg | |
| E_GWAFLG | = lv_e_gwaflg | |
| E_GWDFLG | = lv_e_gwdflg | |
| E_GWRFLG | = lv_e_gwrflg | |
| E_NGNFLG | = lv_e_ngnflg | |
| E_NEWLL_YEAR | = lv_e_newll_year | |
| E_NGAFLG | = lv_e_ngaflg | |
| E_NGDFLG | = lv_e_ngdflg | |
| E_NGRFLG | = lv_e_ngrflg | |
| E_HFSFLG | = lv_e_hfsflg | |
| E_EQIFLG | = lv_e_eqiflg | |
| E_PUAFLG | = lv_e_puaflg | |
| E_OCFLG | = lv_e_ocflg | |
| E_GWCTFLG | = lv_e_gwctflg | |
| E_LDTFLG | = lv_e_ldtflg | |
| E_IWDUFLG | = lv_e_iwduflg | |
| E_DGWFLG | = lv_e_dgwflg | |
| E_PDEFLG | = lv_e_pdeflg | |
| . " FC_COI_SYSTEM_USAGE_GET | ||
ABAP code using 7.40 inline data declarations to call FM FC_COI_SYSTEM_USAGE_GET
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.Search for further information about these or an SAP related objects