SAP FM_COM_ITEM_GET_LIST_RFC Function Module for









FM_COM_ITEM_GET_LIST_RFC is a standard fm com item get list rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fm com item get list rfc FM, simply by entering the name FM_COM_ITEM_GET_LIST_RFC into the relevant SAP transaction such as SE37 or SE38.

Function Group: FMCI_RFC
Program Name: SAPLFMCI_RFC
Main Program: SAPLFMCI_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FM_COM_ITEM_GET_LIST_RFC 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 'FM_COM_ITEM_GET_LIST_RFC'"
EXPORTING
I_FM_AREA = "
I_FISC_YEAR = "
* I_FLG_ONLY_POSTABLE = "
* I_FLG_ONLY_NON_POSTABLE = "
* I_FLG_TEXT = ' ' "
* I_FLG_HIERARCHY = ' ' "

IMPORTING
ET_MESSAGES = "

TABLES
* R_FIPEX = "
* ET_CMMT_ITEM_TEXT = "
ET_CMMT_ITEM_DATA = "
* ET_CMMT_ITEM_HIER = "
.



IMPORTING Parameters details for FM_COM_ITEM_GET_LIST_RFC

I_FM_AREA -

Data type: FIKRS
Optional: No
Call by Reference: No ( called with pass by value option)

I_FISC_YEAR -

Data type: GJAHR
Optional: No
Call by Reference: No ( called with pass by value option)

I_FLG_ONLY_POSTABLE -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_ONLY_NON_POSTABLE -

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_TEXT -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_HIERARCHY -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FM_COM_ITEM_GET_LIST_RFC

ET_MESSAGES -

Data type: BAPIRET2_T
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FM_COM_ITEM_GET_LIST_RFC

R_FIPEX -

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

ET_CMMT_ITEM_TEXT -

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

ET_CMMT_ITEM_DATA -

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

ET_CMMT_ITEM_HIER -

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

Copy and paste ABAP code example for FM_COM_ITEM_GET_LIST_RFC 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_r_fipex  TYPE STANDARD TABLE OF RANGE_C24, "   
lv_i_fm_area  TYPE FIKRS, "   
lv_et_messages  TYPE BAPIRET2_T, "   
lv_i_fisc_year  TYPE GJAHR, "   
lt_et_cmmt_item_text  TYPE STANDARD TABLE OF FMCIT, "   
lt_et_cmmt_item_data  TYPE STANDARD TABLE OF FMCI, "   
lv_i_flg_only_postable  TYPE XFELD, "   
lt_et_cmmt_item_hier  TYPE STANDARD TABLE OF FMHICI, "   
lv_i_flg_only_non_postable  TYPE XFELD, "   
lv_i_flg_text  TYPE XFELD, "   SPACE
lv_i_flg_hierarchy  TYPE XFELD. "   SPACE

  CALL FUNCTION 'FM_COM_ITEM_GET_LIST_RFC'  "
    EXPORTING
         I_FM_AREA = lv_i_fm_area
         I_FISC_YEAR = lv_i_fisc_year
         I_FLG_ONLY_POSTABLE = lv_i_flg_only_postable
         I_FLG_ONLY_NON_POSTABLE = lv_i_flg_only_non_postable
         I_FLG_TEXT = lv_i_flg_text
         I_FLG_HIERARCHY = lv_i_flg_hierarchy
    IMPORTING
         ET_MESSAGES = lv_et_messages
    TABLES
         R_FIPEX = lt_r_fipex
         ET_CMMT_ITEM_TEXT = lt_et_cmmt_item_text
         ET_CMMT_ITEM_DATA = lt_et_cmmt_item_data
         ET_CMMT_ITEM_HIER = lt_et_cmmt_item_hier
. " FM_COM_ITEM_GET_LIST_RFC




ABAP code using 7.40 inline data declarations to call FM FM_COM_ITEM_GET_LIST_RFC

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_flg_text) = ' '.
 
DATA(ld_i_flg_hierarchy) = ' '.
 


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!