SAP Function SWW_WI_FEASIBLE_METHODS_GET - Test for Which FMs Are Allowed for the WI Depending on Status and Type

Parameter Reference Type Length Default Optional Text
METHOD_NAME SWWWIHEAD-WI_CBFB C 30 SPACE X Name of Method/FM To Be Checked
WI_ID SWWWIHEAD-WI_ID N 12 Work Item ID

Parameter Reference Length Optional Text
FEASIBLE_METHODS SWWFEAMETH 30 List of Allowed Methods/FMs

Exception Text
INVALID_STATUS Method Not Allowed for Current WI Status
INVALID_TYPE Method Not Allowed for Specified WI Type
NO_FEASIBILITY_CHECK Given Method Cannot Be Checked
READ_FAILED Read Work Item Failed

Functionality
The function module determines which type-dependent and/orstatus-dependent function modules (methods) can be executed on a workitem of a given type and status. No checks are made for dependency onreserving user, enqueue, authorizations, and so on.
You can either check whether a particular function module can be usedon a work item, or have a list created of all useable function modules.

Notes
The function module only checks the calling of function modules thatcan be called with the worklist client (WLC).

Description
Here you can specify a function module which is checked to see if itcan be used on the work item. If it can be used, it is returned in thetable FEASIBLE_METHODS. You can only check function modules that aretype-dependent and/or status-dependent.
If you do not specify a method, all type-dependent and/orstatus-dependent function modules are checked to see if they can beused on the work item. The useable function modules are returned in thetable FEASIBLE_METHODS.

Default
SPACE

Description
If SPACE was passed in METHOD_NAME, those type-dependent and/orstatus-dependent function modules are returned in this table, which canbe used on the work item.
If a type-dependent and/or status-dependent function module was passedin METHOD_NAME, it is returned in this table if it can be used on thework item