SAP Function SWW_WI_LANGUAGE_CHANGE - Change Language of Work Item (Types W, F, and B)

Parameter Reference Type Length Default Optional Text
AUTHORIZATION_CHECKED SWWCOMMIT-AUTHCKFLAG C 1 SPACE X Indicator for Control of Authorization Check
DO_COMMIT SWWCOMMIT-COMMITFLAG C 1 'X' X Indicator for Control of Commit Logic
LANGUAGE SWWWIHEAD-WI_LANG C 1 Language of Work Item
PRECONDITIONS_CHECKED SWWCOMMIT-CHECKFLAG C 1 SPACE X Indicator for Control of Status Checks and Type Checks
WI_ID SWWWIHEAD-WI_ID N 12 Work Item ID

Parameter Reference Type Length Text
TASK_TEXT SWWWIHEAD-WI_RHTEXT C 40 Task Text
WORKITEM_TEXT SWWWIHEAD-WI_TEXT C 120 Display Text of Work Item

Exception Text
INVALID_STATUS Update Not Allowed in Current Status
INVALID_TYPE Method Not Allowed for this Type
NO_AUTHORIZATION Update Not Allowed in Current Status
UPDATE_FAILED Work Item Cannot Be Updated

Functionality
The function module sets the language of the work item WI_ID toLANGUAGE. The task description and work item text appropriate toLANGUAGE are returned in TASK_TEXT and WORKITEM_TEXT respectively.