SAP SWD_SET_STEP_PROPERTIES Function Module for
SWD_SET_STEP_PROPERTIES is a standard swd set step properties 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 swd set step properties FM, simply by entering the name SWD_SET_STEP_PROPERTIES into the relevant SAP transaction such as SE37 or SE38.
Function Group: SWDA
Program Name: SAPLSWDA
Main Program: SAPLSWDA
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SWD_SET_STEP_PROPERTIES 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 'SWD_SET_STEP_PROPERTIES'".
EXPORTING
NODEID = "
* PROPERTIES = "Properties
* CONTAINERS = "Container
* LOCAL_EVENTS = "Local Events
* EVENTS = "Workflow Definition: Table of Events in WF Builder
IMPORTING
SNDMETHODS_FLAG = "
TABLES
* METHODS = "
* TASKS = "
* CONDITION = "Workflow definition: Binding (runtime+definition)
* BINDING = "
* FUNCTIONS = "Functions
EXCEPTIONS
STEP_NOT_FOUND = 1
IMPORTING Parameters details for SWD_SET_STEP_PROPERTIES
NODEID -
Data type: SWD_ASTEP-NODEIDOptional: No
Call by Reference: No ( called with pass by value option)
PROPERTIES - Properties
Data type: SWDTIPROPTSOptional: Yes
Call by Reference: No ( called with pass by value option)
CONTAINERS - Container
Data type: SWDTACONTOptional: Yes
Call by Reference: No ( called with pass by value option)
LOCAL_EVENTS - Local Events
Data type: SWDTILOCEVTOptional: Yes
Call by Reference: No ( called with pass by value option)
EVENTS - Workflow Definition: Table of Events in WF Builder
Data type: SWDTIEVNTSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SWD_SET_STEP_PROPERTIES
SNDMETHODS_FLAG -
Data type: SWD_DATA-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SWD_SET_STEP_PROPERTIES
METHODS -
Data type: SWD_IMETHDOptional: Yes
Call by Reference: Yes
TASKS -
Data type: SWD_ITASKSOptional: Yes
Call by Reference: Yes
CONDITION - Workflow definition: Binding (runtime+definition)
Data type: SWD_CONDEFOptional: Yes
Call by Reference: Yes
BINDING -
Data type: SWD_STBINDOptional: Yes
Call by Reference: Yes
FUNCTIONS - Functions
Data type: SWD_IFUNCSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
STEP_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SWD_SET_STEP_PROPERTIES 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_nodeid | TYPE SWD_ASTEP-NODEID, " | |||
| lt_methods | TYPE STANDARD TABLE OF SWD_IMETHD, " | |||
| lv_step_not_found | TYPE SWD_IMETHD, " | |||
| lv_sndmethods_flag | TYPE SWD_DATA-XFELD, " | |||
| lt_tasks | TYPE STANDARD TABLE OF SWD_ITASKS, " | |||
| lv_properties | TYPE SWDTIPROPTS, " | |||
| lt_condition | TYPE STANDARD TABLE OF SWD_CONDEF, " | |||
| lv_containers | TYPE SWDTACONT, " | |||
| lt_binding | TYPE STANDARD TABLE OF SWD_STBIND, " | |||
| lv_local_events | TYPE SWDTILOCEVT, " | |||
| lv_events | TYPE SWDTIEVNTS, " | |||
| lt_functions | TYPE STANDARD TABLE OF SWD_IFUNCS. " |
|   CALL FUNCTION 'SWD_SET_STEP_PROPERTIES' " |
| EXPORTING | ||
| NODEID | = lv_nodeid | |
| PROPERTIES | = lv_properties | |
| CONTAINERS | = lv_containers | |
| LOCAL_EVENTS | = lv_local_events | |
| EVENTS | = lv_events | |
| IMPORTING | ||
| SNDMETHODS_FLAG | = lv_sndmethods_flag | |
| TABLES | ||
| METHODS | = lt_methods | |
| TASKS | = lt_tasks | |
| CONDITION | = lt_condition | |
| BINDING | = lt_binding | |
| FUNCTIONS | = lt_functions | |
| EXCEPTIONS | ||
| STEP_NOT_FOUND = 1 | ||
| . " SWD_SET_STEP_PROPERTIES | ||
ABAP code using 7.40 inline data declarations to call FM SWD_SET_STEP_PROPERTIES
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 NODEID FROM SWD_ASTEP INTO @DATA(ld_nodeid). | ||||
| "SELECT single XFELD FROM SWD_DATA INTO @DATA(ld_sndmethods_flag). | ||||
Search for further information about these or an SAP related objects