on 02-04-2011 7:38 AM
Hello,
can somebody tell me how to display the message number of support request in the topic of outsended email. Backround: Users wanted to see number in topic in the overview of MS Outlook.
Thanks in advance
Johannes
Hello Johannes,
Here is a step-by-step procedure to add status values in the mail smartform.
In the item Form Interface, fill the Import tab with the following values:
STATUS_H TYPE CRMT_OUTPUT_STATUS_H_COMT
In the item Global Definitions, tab Global Data, fill as follows:
STATUS_H_WRK TYPE CRMT_OUTPUT_STATUS_H_COM
SALES_H_WRK TYPE CRMT_OUTPUT_SALES_H_COM
Right-click the MAIN item, under the created page, and execute the menu Create | Flow Logic | Loop.
Rename the loop title to STATUS and fill the fields under tab Data exactly as follows:
Internal Table (flagged): STATUS_H INTO STATUS_H_WRK
Row 0 to 0
WHERE conditions:
ACTIVE = 'X'
USER_STATUS_PROC <> ''
This is needed because the STATUS_H is a complex structure with several lines. The loop will take the line based on the criteria informed in the WHERE Condition box and put the result in the STATUS_H_WRK memory structure.
If you need to read more than one structured table, create one loop inside another (cascade) and put the page itself under (inside) the last loop.
Use the variable in your text (or subject)
Dear user, please check the following document:
Number: &orderadm_h-object_id&
Description: &orderadm_h-description&
Status: &status_h_wrk-TXT30&
Please set the thread as "answered" if this solves your problem.
Best Regards,
Canzone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
ok very helpful hints!
Implement in own class and method
CONCATENATE ' ' '&' into ls_output_options-tdtitle.
ls_output_ptions = is_output_options.
ls_output_options-tdtitle = text-xxx.
*Insert >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
REPLACE '&' WITH ls_orderadm_h-object_id
INTO ls_output_options-tdtitle.
this works for number. But how can I add the status in tobic so that I have status and number.
Thanks in advance
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Email sending is configured in Action. Class name and smart forms are input to this action configuration.
Logic for the subject/topic of the email is written in the class CL_DOC_PROCESSING_CRM_ORDER method - CRM_ORDER_EXEC_SMART_FORM. You have to create the new Z class & method similar to the CL_DOC_PROCESSING_CRM_ORDER class, and in method you can write logic to change the subject line.
This Z class and method has to be configured in Action for sending email.
thanks-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.