SAP SKWF_FOLDER_CREATE Function Module for
SKWF_FOLDER_CREATE is a standard skwf folder create 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 skwf folder create FM, simply by entering the name SKWF_FOLDER_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SKWF_FOLDER
Program Name: SAPLSKWF_FOLDER
Main Program: SAPLSKWF_FOLDER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function SKWF_FOLDER_CREATE 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 'SKWF_FOLDER_CREATE'".
EXPORTING
FOLDER_CLASS = "Directory Class
* FOLDER_UNIQUE_ID = "
* PTYPE = "KW Framework: Storage Type of Attribute
* X_STRICT = "KW Framework: Boolean Flag ('X' Set, ' ' Deleted)
* ORDER_TYPE = "KW Framework: Sort Sequence
* PARENTPOS = "IO Parent Position
IMPORTING
FOLDER = "
ERROR = "Error Object
TABLES
* PROPERTIES = "
IMPORTING Parameters details for SKWF_FOLDER_CREATE
FOLDER_CLASS - Directory Class
Data type: SKWF_CLSOptional: No
Call by Reference: No ( called with pass by value option)
FOLDER_UNIQUE_ID -
Data type: SKWF_OBJIDOptional: Yes
Call by Reference: No ( called with pass by value option)
PTYPE - KW Framework: Storage Type of Attribute
Data type: SKWF_PTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_STRICT - KW Framework: Boolean Flag ('X' Set, ' ' Deleted)
Data type: SKWF_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
ORDER_TYPE - KW Framework: Sort Sequence
Data type: SKWF_ORDTPOptional: Yes
Call by Reference: No ( called with pass by value option)
PARENTPOS - IO Parent Position
Data type: SKWF_PAPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SKWF_FOLDER_CREATE
FOLDER -
Data type: SKWF_IOOptional: No
Call by Reference: No ( called with pass by value option)
ERROR - Error Object
Data type: SKWF_ERROROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SKWF_FOLDER_CREATE
PROPERTIES -
Data type: SDOKPROPTYOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SKWF_FOLDER_CREATE 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_folder | TYPE SKWF_IO, " | |||
| lt_properties | TYPE STANDARD TABLE OF SDOKPROPTY, " | |||
| lv_folder_class | TYPE SKWF_CLS, " | |||
| lv_error | TYPE SKWF_ERROR, " | |||
| lv_folder_unique_id | TYPE SKWF_OBJID, " | |||
| lv_ptype | TYPE SKWF_PTYPE, " | |||
| lv_x_strict | TYPE SKWF_FLAG, " | |||
| lv_order_type | TYPE SKWF_ORDTP, " | |||
| lv_parentpos | TYPE SKWF_PAPOS. " |
|   CALL FUNCTION 'SKWF_FOLDER_CREATE' " |
| EXPORTING | ||
| FOLDER_CLASS | = lv_folder_class | |
| FOLDER_UNIQUE_ID | = lv_folder_unique_id | |
| PTYPE | = lv_ptype | |
| X_STRICT | = lv_x_strict | |
| ORDER_TYPE | = lv_order_type | |
| PARENTPOS | = lv_parentpos | |
| IMPORTING | ||
| FOLDER | = lv_folder | |
| ERROR | = lv_error | |
| TABLES | ||
| PROPERTIES | = lt_properties | |
| . " SKWF_FOLDER_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM SKWF_FOLDER_CREATE
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.Search for further information about these or an SAP related objects