SAP Function Modules

FM_COM_ITEM_NO_SCREEN_CHECK SAP Function module







FM_COM_ITEM_NO_SCREEN_CHECK is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name FM_COM_ITEM_NO_SCREEN_CHECK into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FMCI2
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FM_COM_ITEM_NO_SCREEN_CHECK - FM COM ITEM NO SCREEN CHECK





CALL FUNCTION 'FM_COM_ITEM_NO_SCREEN_CHECK' "
  EXPORTING
    i_f_old_fmmd_fmci =         " fmmd_fmci
*   i_f_old_fmmd_fmcit =        " fmmd_fmcit
*   i_f_old_fmmd_fmzubsp =      " fmmd_fmzubsp  Assign Budget Structure Elements
    i_flg_child =               " fmdy-xfeld    Checkbox
    i_f_new_fmci =              " fmci
*   i_f_new_fmcit =             " fmcit
*   i_f_new_fmzubsp =           " fmzubsp       Assign Budget Structure Elements
    i_f_fmci_up_std =           " fmci
    i_mode =                    " fmdy-xfeld
*   i_flg_no_enqueue = SPACE    " fmdy-xfeld
*   i_flg_actmode = SPACE       " fmdy-xfeld
*   i_flg_testrun = SPACE       " fmdy-xfeld    Test Run
*   i_flg_hierarchy_call = SPACE  " fmdy-xfeld  Checkbox
*   i_flg_fill_displ_fields = 'X'  " fmdy-xfeld
  IMPORTING
    e_f_fmmd_fmci =             " fmmd_fmci
    e_f_fmmd_fmcit =            " fmmd_fmcit
    e_f_fmmd_fmzubsp =          " fmmd_fmzubsp
    e_flg_save =                " fmdy-xfeld
    e_flg_inherit =             " fmdy-xfeld    Checkbox
  EXCEPTIONS
    INPUT_ERROR = 1             "               Incorrect input data
    NO_AUTHORITY = 2            "               Authorization missing
    FIPEX_EXISTENCE_MODE_CONFLICT = 3  "
    ENQUEUE = 4                 "
    USER_EXIT = 5               "
    HH_FICTR_NOT_FOUND = 6      "
    FIKRS_NOT_FOUND = 7         "
    ERROR_OCCURED = 8           "
    .  "  FM_COM_ITEM_NO_SCREEN_CHECK

ABAP code example for Function Module FM_COM_ITEM_NO_SCREEN_CHECK





The ABAP code below is a full code listing to execute function module FM_COM_ITEM_NO_SCREEN_CHECK including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_f_fmmd_fmci  TYPE FMMD_FMCI ,
ld_e_f_fmmd_fmcit  TYPE FMMD_FMCIT ,
ld_e_f_fmmd_fmzubsp  TYPE FMMD_FMZUBSP ,
ld_e_flg_save  TYPE FMDY-XFELD ,
ld_e_flg_inherit  TYPE FMDY-XFELD .

DATA(ld_i_f_old_fmmd_fmci) = 'Check type of data required'.
DATA(ld_i_f_old_fmmd_fmcit) = 'Check type of data required'.
DATA(ld_i_f_old_fmmd_fmzubsp) = 'Check type of data required'.

DATA(ld_i_flg_child) = some text here
DATA(ld_i_f_new_fmci) = 'Check type of data required'.
DATA(ld_i_f_new_fmcit) = 'Check type of data required'.
DATA(ld_i_f_new_fmzubsp) = 'Check type of data required'.
DATA(ld_i_f_fmci_up_std) = 'Check type of data required'.

DATA(ld_i_mode) = some text here

DATA(ld_i_flg_no_enqueue) = some text here

DATA(ld_i_flg_actmode) = some text here

DATA(ld_i_flg_testrun) = some text here

DATA(ld_i_flg_hierarchy_call) = some text here

DATA(ld_i_flg_fill_displ_fields) = some text here . CALL FUNCTION 'FM_COM_ITEM_NO_SCREEN_CHECK' EXPORTING i_f_old_fmmd_fmci = ld_i_f_old_fmmd_fmci * i_f_old_fmmd_fmcit = ld_i_f_old_fmmd_fmcit * i_f_old_fmmd_fmzubsp = ld_i_f_old_fmmd_fmzubsp i_flg_child = ld_i_flg_child i_f_new_fmci = ld_i_f_new_fmci * i_f_new_fmcit = ld_i_f_new_fmcit * i_f_new_fmzubsp = ld_i_f_new_fmzubsp i_f_fmci_up_std = ld_i_f_fmci_up_std i_mode = ld_i_mode * i_flg_no_enqueue = ld_i_flg_no_enqueue * i_flg_actmode = ld_i_flg_actmode * i_flg_testrun = ld_i_flg_testrun * i_flg_hierarchy_call = ld_i_flg_hierarchy_call * i_flg_fill_displ_fields = ld_i_flg_fill_displ_fields IMPORTING e_f_fmmd_fmci = ld_e_f_fmmd_fmci e_f_fmmd_fmcit = ld_e_f_fmmd_fmcit e_f_fmmd_fmzubsp = ld_e_f_fmmd_fmzubsp e_flg_save = ld_e_flg_save e_flg_inherit = ld_e_flg_inherit EXCEPTIONS INPUT_ERROR = 1 NO_AUTHORITY = 2 FIPEX_EXISTENCE_MODE_CONFLICT = 3 ENQUEUE = 4 USER_EXIT = 5 HH_FICTR_NOT_FOUND = 6 FIKRS_NOT_FOUND = 7 ERROR_OCCURED = 8 . " FM_COM_ITEM_NO_SCREEN_CHECK
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_f_fmmd_fmci  TYPE FMMD_FMCI ,
ld_i_f_old_fmmd_fmci  TYPE FMMD_FMCI ,
ld_e_f_fmmd_fmcit  TYPE FMMD_FMCIT ,
ld_i_f_old_fmmd_fmcit  TYPE FMMD_FMCIT ,
ld_e_f_fmmd_fmzubsp  TYPE FMMD_FMZUBSP ,
ld_i_f_old_fmmd_fmzubsp  TYPE FMMD_FMZUBSP ,
ld_e_flg_save  TYPE FMDY-XFELD ,
ld_i_flg_child  TYPE FMDY-XFELD ,
ld_e_flg_inherit  TYPE FMDY-XFELD ,
ld_i_f_new_fmci  TYPE FMCI ,
ld_i_f_new_fmcit  TYPE FMCIT ,
ld_i_f_new_fmzubsp  TYPE FMZUBSP ,
ld_i_f_fmci_up_std  TYPE FMCI ,
ld_i_mode  TYPE FMDY-XFELD ,
ld_i_flg_no_enqueue  TYPE FMDY-XFELD ,
ld_i_flg_actmode  TYPE FMDY-XFELD ,
ld_i_flg_testrun  TYPE FMDY-XFELD ,
ld_i_flg_hierarchy_call  TYPE FMDY-XFELD ,
ld_i_flg_fill_displ_fields  TYPE FMDY-XFELD .

ld_i_f_old_fmmd_fmci = 'Check type of data required'.
ld_i_f_old_fmmd_fmcit = 'Check type of data required'.
ld_i_f_old_fmmd_fmzubsp = 'Check type of data required'.

ld_i_flg_child = some text here
ld_i_f_new_fmci = 'Check type of data required'.
ld_i_f_new_fmcit = 'Check type of data required'.
ld_i_f_new_fmzubsp = 'Check type of data required'.
ld_i_f_fmci_up_std = 'Check type of data required'.

ld_i_mode = some text here

ld_i_flg_no_enqueue = some text here

ld_i_flg_actmode = some text here

ld_i_flg_testrun = some text here

ld_i_flg_hierarchy_call = some text here

ld_i_flg_fill_displ_fields = some text here

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FM_COM_ITEM_NO_SCREEN_CHECK or its description.