SAP FM4C_MASTER_DATA_OVERVIEW Function Module for









FM4C_MASTER_DATA_OVERVIEW is a standard fm4c master data overview 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 fm4c master data overview FM, simply by entering the name FM4C_MASTER_DATA_OVERVIEW into the relevant SAP transaction such as SE37 or SE38.

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



Function FM4C_MASTER_DATA_OVERVIEW 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 'FM4C_MASTER_DATA_OVERVIEW'"
EXPORTING
I_FIKRS = "
* I_FLG_MARK_ONE_ONLY = ' ' "
* I_FLG_WITH_CHECKBOX = 'X' "
* I_FLG_WITHOUT_MARK_CHILDREN = ' ' "
* I_GJAHR = "
* I_CI_VARNT = '000' "
* I_CTR_VARNT = "
* I_FIPEX = ' ' "
* I_FIPOS = ' ' "
* I_FICTR = ' ' "
* I_FLG_FIPOS = 'X' "
* I_FLG_FICTR = ' ' "

TABLES
* T_NODES = "
* T_SEL_NODES = "
.



IMPORTING Parameters details for FM4C_MASTER_DATA_OVERVIEW

I_FIKRS -

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

I_FLG_MARK_ONE_ONLY -

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

I_FLG_WITH_CHECKBOX -

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

I_FLG_WITHOUT_MARK_CHILDREN -

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

I_GJAHR -

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

I_CI_VARNT -

Data type: FMHICI-VARNT
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CTR_VARNT -

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

I_FIPEX -

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

I_FIPOS -

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

I_FICTR -

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

I_FLG_FIPOS -

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

I_FLG_FICTR -

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

TABLES Parameters details for FM4C_MASTER_DATA_OVERVIEW

T_NODES -

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

T_SEL_NODES -

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

Copy and paste ABAP code example for FM4C_MASTER_DATA_OVERVIEW 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_fikrs  TYPE FM01-FIKRS, "   
lt_t_nodes  TYPE STANDARD TABLE OF IFMPTRNODE, "   
lv_i_flg_mark_one_only  TYPE FMDY-XFELD, "   SPACE
lv_i_flg_with_checkbox  TYPE FMDY-XFELD, "   'X'
lv_i_flg_without_mark_children  TYPE FMDY-XFELD, "   SPACE
lv_i_gjahr  TYPE FMCI-GJAHR, "   
lt_t_sel_nodes  TYPE STANDARD TABLE OF SNODETEXT, "   
lv_i_ci_varnt  TYPE FMHICI-VARNT, "   '000'
lv_i_ctr_varnt  TYPE FMHISV-HIVARNT, "   
lv_i_fipex  TYPE FMCI-FIPEX, "   SPACE
lv_i_fipos  TYPE FMFPO-FIPOS, "   SPACE
lv_i_fictr  TYPE FMFCTR-FICTR, "   SPACE
lv_i_flg_fipos  TYPE FMDY-XFELD, "   'X'
lv_i_flg_fictr  TYPE FMDY-XFELD. "   SPACE

  CALL FUNCTION 'FM4C_MASTER_DATA_OVERVIEW'  "
    EXPORTING
         I_FIKRS = lv_i_fikrs
         I_FLG_MARK_ONE_ONLY = lv_i_flg_mark_one_only
         I_FLG_WITH_CHECKBOX = lv_i_flg_with_checkbox
         I_FLG_WITHOUT_MARK_CHILDREN = lv_i_flg_without_mark_children
         I_GJAHR = lv_i_gjahr
         I_CI_VARNT = lv_i_ci_varnt
         I_CTR_VARNT = lv_i_ctr_varnt
         I_FIPEX = lv_i_fipex
         I_FIPOS = lv_i_fipos
         I_FICTR = lv_i_fictr
         I_FLG_FIPOS = lv_i_flg_fipos
         I_FLG_FICTR = lv_i_flg_fictr
    TABLES
         T_NODES = lt_t_nodes
         T_SEL_NODES = lt_t_sel_nodes
. " FM4C_MASTER_DATA_OVERVIEW




ABAP code using 7.40 inline data declarations to call FM FM4C_MASTER_DATA_OVERVIEW

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 FIKRS FROM FM01 INTO @DATA(ld_i_fikrs).
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_mark_one_only).
DATA(ld_i_flg_mark_one_only) = ' '.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_with_checkbox).
DATA(ld_i_flg_with_checkbox) = 'X'.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_without_mark_children).
DATA(ld_i_flg_without_mark_children) = ' '.
 
"SELECT single GJAHR FROM FMCI INTO @DATA(ld_i_gjahr).
 
 
"SELECT single VARNT FROM FMHICI INTO @DATA(ld_i_ci_varnt).
DATA(ld_i_ci_varnt) = '000'.
 
"SELECT single HIVARNT FROM FMHISV INTO @DATA(ld_i_ctr_varnt).
 
"SELECT single FIPEX FROM FMCI INTO @DATA(ld_i_fipex).
DATA(ld_i_fipex) = ' '.
 
"SELECT single FIPOS FROM FMFPO INTO @DATA(ld_i_fipos).
DATA(ld_i_fipos) = ' '.
 
"SELECT single FICTR FROM FMFCTR INTO @DATA(ld_i_fictr).
DATA(ld_i_fictr) = ' '.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_fipos).
DATA(ld_i_flg_fipos) = 'X'.
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_fictr).
DATA(ld_i_flg_fictr) = ' '.
 


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!