Hi
Are you changing the value of the container element of the workflow or of the task workitem?
Also, at which event of the program exit are we doing that?
Regards,
Modak
Better approach is to use in-line functional methods in binding to get the right work item text and pass it to a container element of the task. Use that element in Work item text. This is a maintainable approach.
http://wiki.scn.sap.com/wiki/display/ABAP/Using+functional+methods+in+workflows+and+tasks
Expressions: Functional Methods - SAP Business Workflow: Reference Documentation - SAP Library
Regards,
Modak