SRM_WF_PATH_DYNP is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name SRM_WF_PATH_DYNP into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SRM_WF_PATH_DIALOG1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SRM_WF_PATH_DYNP' "
EXPORTING
im_update_mode = " srmwfmode Processing Mode of Process Route
im_actarea = " srmactar Business segment
* im_pathid = " srmwfpthid Process Route ID
* im_posid = " srmwfposid Item to Select
* im_pathdesc = " srmwfpthdc Description of Process Route
* im_commit = " c
* im_workflow = " c 'X' = Call Using Work Item
* im_template = " c
IMPORTING
ex_new_path = " srmwfpthid Process Route ID
EXCEPTIONS
ACTAREA_NOT_VALID = 1 "
PATHID_NOT_VALID = 2 "
NOT_AUTHORIZED = 3 " No Authorization for Current Action
. " SRM_WF_PATH_DYNP
The ABAP code below is a full code listing to execute function module SRM_WF_PATH_DYNP including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_ex_new_path | TYPE SRMWFPTHID . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ex_new_path | TYPE SRMWFPTHID , |
| ld_im_update_mode | TYPE SRMWFMODE , |
| ld_im_actarea | TYPE SRMACTAR , |
| ld_im_pathid | TYPE SRMWFPTHID , |
| ld_im_posid | TYPE SRMWFPOSID , |
| ld_im_pathdesc | TYPE SRMWFPTHDC , |
| ld_im_commit | TYPE C , |
| ld_im_workflow | TYPE C , |
| ld_im_template | TYPE C . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SRM_WF_PATH_DYNP or its description.