SAP NF_GM_CALL_DETAIL_FUNCTION Function Module for
NF_GM_CALL_DETAIL_FUNCTION is a standard nf gm call detail function 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 nf gm call detail function FM, simply by entering the name NF_GM_CALL_DETAIL_FUNCTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: OM_NAVFRAMEWORK_OO_OBJ
Program Name: SAPLOM_NAVFRAMEWORK_OO_OBJ
Main Program: SAPLOM_NAVFRAMEWORK_OO_OBJ
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function NF_GM_CALL_DETAIL_FUNCTION 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 'NF_GM_CALL_DETAIL_FUNCTION'".
EXPORTING
DETAIL_OBJECT = "
* FUZZY_ENDDA = "
* CHANGEMODE = "
* OK_CODE = "Screens, Function Code Triggered by PAI
CALL_FUNCTION = "
* SCENARIO = "
* DETAIL_SERVICE = "OM: Interface Object Service
* MAIN_OBJECT = "
* RELAT_OBJECT = "
* ADDITIONAL_DATA = "OM Framework: Additional Parameter for Request/Service
* DATE = "
* FUZZY_BEGDA = "
IMPORTING
LEAVE_SCREEN = "General Flag
CHANGING
* DETAIL_TABTYPE = "
* DYNNR = "
* REPID = "
TABLES
DETAIL_INTERFACE = "
IMPORTING Parameters details for NF_GM_CALL_DETAIL_FUNCTION
DETAIL_OBJECT -
Data type: OMCLASSKEYOptional: No
Call by Reference: No ( called with pass by value option)
FUZZY_ENDDA -
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGEMODE -
Data type: OMACTMODEOptional: Yes
Call by Reference: No ( called with pass by value option)
OK_CODE - Screens, Function Code Triggered by PAI
Data type: SY-UCOMMOptional: Yes
Call by Reference: No ( called with pass by value option)
CALL_FUNCTION -
Data type: CHAR40Optional: No
Call by Reference: No ( called with pass by value option)
SCENARIO -
Data type: HROMSCENOptional: Yes
Call by Reference: No ( called with pass by value option)
DETAIL_SERVICE - OM: Interface Object Service
Data type: OMSERVICEOptional: Yes
Call by Reference: No ( called with pass by value option)
MAIN_OBJECT -
Data type: OBJECOptional: Yes
Call by Reference: No ( called with pass by value option)
RELAT_OBJECT -
Data type: OBJECOptional: Yes
Call by Reference: No ( called with pass by value option)
ADDITIONAL_DATA - OM Framework: Additional Parameter for Request/Service
Data type: OMADDDATAOptional: Yes
Call by Reference: No ( called with pass by value option)
DATE -
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
FUZZY_BEGDA -
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for NF_GM_CALL_DETAIL_FUNCTION
LEAVE_SCREEN - General Flag
Data type: FLAGOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for NF_GM_CALL_DETAIL_FUNCTION
DETAIL_TABTYPE -
Data type: HRTABTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
DYNNR -
Data type: SY-DYNNROptional: Yes
Call by Reference: No ( called with pass by value option)
REPID -
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for NF_GM_CALL_DETAIL_FUNCTION
DETAIL_INTERFACE -
Data type: OMDETINTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for NF_GM_CALL_DETAIL_FUNCTION 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_leave_screen | TYPE FLAG, " | |||
| lv_detail_object | TYPE OMCLASSKEY, " | |||
| lv_detail_tabtype | TYPE HRTABTYPE, " | |||
| lt_detail_interface | TYPE STANDARD TABLE OF OMDETINT, " | |||
| lv_fuzzy_endda | TYPE SY-DATUM, " | |||
| lv_changemode | TYPE OMACTMODE, " | |||
| lv_ok_code | TYPE SY-UCOMM, " | |||
| lv_dynnr | TYPE SY-DYNNR, " | |||
| lv_call_function | TYPE CHAR40, " | |||
| lv_repid | TYPE SY-REPID, " | |||
| lv_scenario | TYPE HROMSCEN, " | |||
| lv_detail_service | TYPE OMSERVICE, " | |||
| lv_main_object | TYPE OBJEC, " | |||
| lv_relat_object | TYPE OBJEC, " | |||
| lv_additional_data | TYPE OMADDDATA, " | |||
| lv_date | TYPE SY-DATUM, " | |||
| lv_fuzzy_begda | TYPE SY-DATUM. " |
|   CALL FUNCTION 'NF_GM_CALL_DETAIL_FUNCTION' " |
| EXPORTING | ||
| DETAIL_OBJECT | = lv_detail_object | |
| FUZZY_ENDDA | = lv_fuzzy_endda | |
| CHANGEMODE | = lv_changemode | |
| OK_CODE | = lv_ok_code | |
| CALL_FUNCTION | = lv_call_function | |
| SCENARIO | = lv_scenario | |
| DETAIL_SERVICE | = lv_detail_service | |
| MAIN_OBJECT | = lv_main_object | |
| RELAT_OBJECT | = lv_relat_object | |
| ADDITIONAL_DATA | = lv_additional_data | |
| DATE | = lv_date | |
| FUZZY_BEGDA | = lv_fuzzy_begda | |
| IMPORTING | ||
| LEAVE_SCREEN | = lv_leave_screen | |
| CHANGING | ||
| DETAIL_TABTYPE | = lv_detail_tabtype | |
| DYNNR | = lv_dynnr | |
| REPID | = lv_repid | |
| TABLES | ||
| DETAIL_INTERFACE | = lt_detail_interface | |
| . " NF_GM_CALL_DETAIL_FUNCTION | ||
ABAP code using 7.40 inline data declarations to call FM NF_GM_CALL_DETAIL_FUNCTION
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 DATUM FROM SY INTO @DATA(ld_fuzzy_endda). | ||||
| "SELECT single UCOMM FROM SY INTO @DATA(ld_ok_code). | ||||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_dynnr). | ||||
| "SELECT single REPID FROM SY INTO @DATA(ld_repid). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_date). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_fuzzy_begda). | ||||
Search for further information about these or an SAP related objects