using attachments in work-flow and creating custom text with key values
I have 2 simple requirements.
1. how to attach a tcode or trigger method of business object for work-flow item. The user should be able to navigate to transaction to see data before approval or rejection.
2. I have created custom task for long text that will be displayed in the SAP inbox. How do I provide key values in this long text. I was able to do in the subject line using Substitution parameters(&Name1& etc..)
For requirement 1:
A work item is nothing but a task on your work flow.
Every task has control tab on which you specify which method of the business object has to be called.
When the user executes the work item, the same method is called . (You can put call transaction statements inside the code of that method)