on 12-10-2007 12:47 PM
hi,
i am facing a problem here: i am completly new to sap-workflow.
we start with LSO - learning solution very soon. there we have a learn-portal where users can book courses and trainings. and there is a workflow behind it.
now i want to change the email which is created from that workflow. i have to include the price of the course to the email.
how can i handle this ? i have copied the sap-standard-workflow, but i have no idea how to put in the new values there ?!?
best regards, Martin
Hi Martin
If those details are not present then you need to create a 'subtype' of the Business Object whose event gets triggered which in turn starts the workflow, this will allow you to add 'Attributes' like price for example and show them in the text....
Have a look on <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2f/c9a937a7777c38e10000009b38f842/frameset.htm">SAP Help</a> for more detailed info. Once you create a subtype, you need to delegate it to the parent one from which you created the subtype. After delegation, the new attribute should be available in the workflow for your use....The tcode for this is SWO1..
Good Luck
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin
You have to create a subtype...the i'll automatically inherits all the attributes,methods and events from the supertype(SAP Standard Business object).
Then you have to create your own attribute or method or event...After that you should delegate the subtype to supertype...
Regards,
Hemalatha
hi,
thanks for your help !
now i was able to add my Z-business object to the workflow, BUT:
i know how to catch the data, but i want to put it into a mail which is part of the workflow. this is no problem with 'normal' fields, like the price.
but how does it work for tables ?? i want to add a text-table to the mail, which comes back from one of my methods in the z-business object. how can i display the table-lines in the email ?
b. regards, Martin
okay, now it is okay, but still a problem:
i want to put the lines of the table in a seperate line in the email. for every entry in the table (text) i want to add a line in the email.
when i do it that way:
Text: &TABLE.TEXTLINE&
i get all the lines, but concatenated one after the other, that looks very bad
ideas ?
regards, Martin
Message was edited by:
Martin Svik
You need to go to the task and edit the task description. Then you have to insert the multi line container element from the task (it is multi-line there?). Then when you edit the text you have the button there (or from the menu Insert -> Expression). When the element is inserted it looks something like this: &Text##&.
Regards,
Martin
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.