SAP NAVIGATION_EXECUTE_OBJECT Function Module for









NAVIGATION_EXECUTE_OBJECT is a standard navigation execute object 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 navigation execute object FM, simply by entering the name NAVIGATION_EXECUTE_OBJECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: SMTR_NAVIGATION_MODULES
Program Name: SAPLSMTR_NAVIGATION_MODULES
Main Program: SAPLSMTR_NAVIGATION_MODULES
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function NAVIGATION_EXECUTE_OBJECT 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 'NAVIGATION_EXECUTE_OBJECT'"
EXPORTING
* CONTROL_INSTANCE = ' ' "
* REPLACE_RFC_VARIABLES = 'X' "
* CHECK_TRUSTED_SYSTEM = 'X' "Customized ('C') or standard menu ('S') flag
* DO_NO_ALLOW_UNTRUSTED_START = 'X' "Customized ('C') or standard menu ('S') flag
* READ_SY_DATAR = ' ' "Customized ('C') or standard menu ('S') flag
OBJECT_NAME = "
REPORTTYPE = "
SAP_GUID = "
* NEW_WINDOW = "
* TARGET_SYSTEM = ' ' "
* URL = ' ' "
* BW_ACTIVE = ' ' "
* NO_PROGRESS_INDICATOR = ' ' "
.



IMPORTING Parameters details for NAVIGATION_EXECUTE_OBJECT

CONTROL_INSTANCE -

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

REPLACE_RFC_VARIABLES -

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

CHECK_TRUSTED_SYSTEM - Customized ('C') or standard menu ('S') flag

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

DO_NO_ALLOW_UNTRUSTED_START - Customized ('C') or standard menu ('S') flag

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

READ_SY_DATAR - Customized ('C') or standard menu ('S') flag

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

OBJECT_NAME -

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

REPORTTYPE -

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

SAP_GUID -

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

NEW_WINDOW -

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

TARGET_SYSTEM -

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

URL -

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

BW_ACTIVE -

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

NO_PROGRESS_INDICATOR -

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

Copy and paste ABAP code example for NAVIGATION_EXECUTE_OBJECT 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_control_instance  TYPE SMENSAPNEW-CUSTOMIZED, "   SPACE
lv_replace_rfc_variables  TYPE SMENSAPNEW-CUSTOMIZED, "   'X'
lv_check_trusted_system  TYPE SMENSAPNEW-CUSTOMIZED, "   'X'
lv_do_no_allow_untrusted_start  TYPE SMENSAPNEW-CUSTOMIZED, "   'X'
lv_read_sy_datar  TYPE SMENSAPNEW-CUSTOMIZED, "   SPACE
lv_object_name  TYPE SMEN_BUFFC-REPORT, "   
lv_reporttype  TYPE SMEN_BUFFC-REPORTTYPE, "   
lv_sap_guid  TYPE SMEN_BUFFC-SAP_GUID, "   
lv_new_window  TYPE SMENSAPNEW-CUSTOMIZED, "   
lv_target_system  TYPE RFCDES-RFCDEST, "   SPACE
lv_url  TYPE SMEN_BUFFI-URL, "   SPACE
lv_bw_active  TYPE SMENSAPNEW-CUSTOMIZED, "   SPACE
lv_no_progress_indicator  TYPE SMENSAPNEW-CUSTOMIZED. "   SPACE

  CALL FUNCTION 'NAVIGATION_EXECUTE_OBJECT'  "
    EXPORTING
         CONTROL_INSTANCE = lv_control_instance
         REPLACE_RFC_VARIABLES = lv_replace_rfc_variables
         CHECK_TRUSTED_SYSTEM = lv_check_trusted_system
         DO_NO_ALLOW_UNTRUSTED_START = lv_do_no_allow_untrusted_start
         READ_SY_DATAR = lv_read_sy_datar
         OBJECT_NAME = lv_object_name
         REPORTTYPE = lv_reporttype
         SAP_GUID = lv_sap_guid
         NEW_WINDOW = lv_new_window
         TARGET_SYSTEM = lv_target_system
         URL = lv_url
         BW_ACTIVE = lv_bw_active
         NO_PROGRESS_INDICATOR = lv_no_progress_indicator
. " NAVIGATION_EXECUTE_OBJECT




ABAP code using 7.40 inline data declarations to call FM NAVIGATION_EXECUTE_OBJECT

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 CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_control_instance).
DATA(ld_control_instance) = ' '.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_replace_rfc_variables).
DATA(ld_replace_rfc_variables) = 'X'.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_check_trusted_system).
DATA(ld_check_trusted_system) = 'X'.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_do_no_allow_untrusted_start).
DATA(ld_do_no_allow_untrusted_start) = 'X'.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_read_sy_datar).
DATA(ld_read_sy_datar) = ' '.
 
"SELECT single REPORT FROM SMEN_BUFFC INTO @DATA(ld_object_name).
 
"SELECT single REPORTTYPE FROM SMEN_BUFFC INTO @DATA(ld_reporttype).
 
"SELECT single SAP_GUID FROM SMEN_BUFFC INTO @DATA(ld_sap_guid).
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_new_window).
 
"SELECT single RFCDEST FROM RFCDES INTO @DATA(ld_target_system).
DATA(ld_target_system) = ' '.
 
"SELECT single URL FROM SMEN_BUFFI INTO @DATA(ld_url).
DATA(ld_url) = ' '.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_bw_active).
DATA(ld_bw_active) = ' '.
 
"SELECT single CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_no_progress_indicator).
DATA(ld_no_progress_indicator) = ' '.
 


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!