SAP SWF_GP_RUN_USR_START_PROC_GET Function Module for









SWF_GP_RUN_USR_START_PROC_GET is a standard swf gp run usr start proc get 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 gp run usr start proc get FM, simply by entering the name SWF_GP_RUN_USR_START_PROC_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: SWF_GP_RUN
Program Name: SAPLSWF_GP_RUN
Main Program: SAPLSWF_GP_RUN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SWF_GP_RUN_USR_START_PROC_GET 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_GP_RUN_USR_START_PROC_GET'"
EXPORTING
* IM_USER = SY-UNAME "
* IM_LANGU = SY-LANGU "
IT_STATUS = "
IM_CREATE_TS_START = "
IM_CREATE_TS_END = "

IMPORTING
ET_GPI_INFOS = "
EX_RETURNCODE = "

TABLES
* ET_MESSAGES = "
.



IMPORTING Parameters details for SWF_GP_RUN_USR_START_PROC_GET

IM_USER -

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

IM_LANGU -

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

IT_STATUS -

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

IM_CREATE_TS_START -

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

IM_CREATE_TS_END -

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

EXPORTING Parameters details for SWF_GP_RUN_USR_START_PROC_GET

ET_GPI_INFOS -

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

EX_RETURNCODE -

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

TABLES Parameters details for SWF_GP_RUN_USR_START_PROC_GET

ET_MESSAGES -

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

Copy and paste ABAP code example for SWF_GP_RUN_USR_START_PROC_GET 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_im_user  TYPE SYUNAME, "   SY-UNAME
lt_et_messages  TYPE STANDARD TABLE OF SWR_MESSAG, "   
lv_et_gpi_infos  TYPE SWFGPIINFOT, "   
lv_im_langu  TYPE SYLANGU, "   SY-LANGU
lv_ex_returncode  TYPE SWFGPRETCODE, "   
lv_it_status  TYPE SWFGPACISTATTAB, "   
lv_im_create_ts_start  TYPE SWFGPCRETS, "   
lv_im_create_ts_end  TYPE SWFGPCRETS. "   

  CALL FUNCTION 'SWF_GP_RUN_USR_START_PROC_GET'  "
    EXPORTING
         IM_USER = lv_im_user
         IM_LANGU = lv_im_langu
         IT_STATUS = lv_it_status
         IM_CREATE_TS_START = lv_im_create_ts_start
         IM_CREATE_TS_END = lv_im_create_ts_end
    IMPORTING
         ET_GPI_INFOS = lv_et_gpi_infos
         EX_RETURNCODE = lv_ex_returncode
    TABLES
         ET_MESSAGES = lt_et_messages
. " SWF_GP_RUN_USR_START_PROC_GET




ABAP code using 7.40 inline data declarations to call FM SWF_GP_RUN_USR_START_PROC_GET

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.

DATA(ld_im_user) = SY-UNAME.
 
 
 
DATA(ld_im_langu) = SY-LANGU.
 
 
 
 
 


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!