SAP SWF_CUSTOMIZING_NAVIGATE Function Module for









SWF_CUSTOMIZING_NAVIGATE is a standard swf customizing navigate 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 swf customizing navigate FM, simply by entering the name SWF_CUSTOMIZING_NAVIGATE into the relevant SAP transaction such as SE37 or SE38.

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



Function SWF_CUSTOMIZING_NAVIGATE 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 'SWF_CUSTOMIZING_NAVIGATE'"
EXPORTING
WF_ID = "
WF_TASK = "
* DEACTIVATE_BACK = "
* DEACTIVATE_CANCEL = "
* DEACTIVATE_EXIT = "

CHANGING
* IMG_HELP_SHOW = "

TABLES
* TASKS_TO_DISPLAY = "

EXCEPTIONS
BACK = 1 WORKFLOW_SUSPENDED_BY_USER = 2 WORKFLOW_CANCELLED_BY_USER = 3 INTERNAL_ERROR = 4
.



IMPORTING Parameters details for SWF_CUSTOMIZING_NAVIGATE

WF_ID -

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

WF_TASK -

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

DEACTIVATE_BACK -

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

DEACTIVATE_CANCEL -

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

DEACTIVATE_EXIT -

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

CHANGING Parameters details for SWF_CUSTOMIZING_NAVIGATE

IMG_HELP_SHOW -

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

TABLES Parameters details for SWF_CUSTOMIZING_NAVIGATE

TASKS_TO_DISPLAY -

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

EXCEPTIONS details

BACK -

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

WORKFLOW_SUSPENDED_BY_USER -

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

WORKFLOW_CANCELLED_BY_USER -

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

INTERNAL_ERROR -

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

Copy and paste ABAP code example for SWF_CUSTOMIZING_NAVIGATE 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_back  TYPE STRING, "   
lv_wf_id  TYPE SWP_HEADER-WF_ID, "   
lv_img_help_show  TYPE SY-INPUT, "   
lt_tasks_to_display  TYPE STANDARD TABLE OF SY, "   
lv_wf_task  TYPE SWF_COMMON-TASK, "   
lv_workflow_suspended_by_user  TYPE SWF_COMMON, "   
lv_deactivate_back  TYPE SY-INPUT, "   
lv_workflow_cancelled_by_user  TYPE SY, "   
lv_internal_error  TYPE SY, "   
lv_deactivate_cancel  TYPE SY-INPUT, "   
lv_deactivate_exit  TYPE SY-INPUT. "   

  CALL FUNCTION 'SWF_CUSTOMIZING_NAVIGATE'  "
    EXPORTING
         WF_ID = lv_wf_id
         WF_TASK = lv_wf_task
         DEACTIVATE_BACK = lv_deactivate_back
         DEACTIVATE_CANCEL = lv_deactivate_cancel
         DEACTIVATE_EXIT = lv_deactivate_exit
    CHANGING
         IMG_HELP_SHOW = lv_img_help_show
    TABLES
         TASKS_TO_DISPLAY = lt_tasks_to_display
    EXCEPTIONS
        BACK = 1
        WORKFLOW_SUSPENDED_BY_USER = 2
        WORKFLOW_CANCELLED_BY_USER = 3
        INTERNAL_ERROR = 4
. " SWF_CUSTOMIZING_NAVIGATE




ABAP code using 7.40 inline data declarations to call FM SWF_CUSTOMIZING_NAVIGATE

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 WF_ID FROM SWP_HEADER INTO @DATA(ld_wf_id).
 
"SELECT single INPUT FROM SY INTO @DATA(ld_img_help_show).
 
 
"SELECT single TASK FROM SWF_COMMON INTO @DATA(ld_wf_task).
 
 
"SELECT single INPUT FROM SY INTO @DATA(ld_deactivate_back).
 
 
 
"SELECT single INPUT FROM SY INTO @DATA(ld_deactivate_cancel).
 
"SELECT single INPUT FROM SY INTO @DATA(ld_deactivate_exit).
 


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!