Code for customer email reply
We need to link a "Click here for info" graphic to an email reply. Effectively, when user clicks image, he/she is led to their default email client (e.g., gmail) with the To:, Subject: and From: completed. Can anyone help? We're using Dreamweaver CS4.
themeister wrote:
Thanks for the help. Could I use this code in an .html page that I use with - for example - Eudora and send to specific customers?
Are you talking about an html email?
In all honesty, the mailto: link shouldn't really ever be used for two main reasons...
1. Browser based email clients will do nothing when the link is clicked
2. Your email address is primed and available for any and all spam harvester bots that happen across it
If you don't mind that your viewers/recipients get the "nothing happened" effect when they click the link or that you may start receiving an inordinate number of discount pharmaceuticals advertisements from seemingly upstanding sites run by a group of down on their luck Nigeria doctors, sure, it will work fine.
Similar Messages
-
Transaction code for Custom report
Hi,
How to create transaction code for Custom report ?
the custom report is a drilldown report of COPA, which can seen in tcode FDI3.
then how to add this new transaction to the menu path Easy assess->FI->AR->Information system->Reports->customers:items.
Thanks,
SwethaHi Swetha,
There is a special way to assign tcodes to such reports. Normally you create the report via report painter/writer. These reports are part of library and report group.
Create the tcode in SE93. Then at the bottom of the screen you would find option to specify report group, report name, variant to lauch with. Don't have system to specify the exact way of specifying, if you need I can provide on monday. You can take some existing COPA standard report and check from SE93.
--Ram -
T code for custom infotype in PA
Hi
T code for custom infotype in PA.
Regards
SudhaHi Sudha,
PM01 is the tcode.
Similar questions were already answered in the following threads
ABAP HR : Infotype Enhancement
So please search and then post specific queries.
rgds
gayathri -
Could somebody tell me the rules of t-codes for Customizing Implementation in EHS?
For example:
" Specify Value Assignment Types " ( EHS_MD_120_30_3 )
Normally it is the last 4 letters. But what is the rule for this?
Thanks!
LiHi Jayakumar;
Maybe I didn't describe it clearly.
SPRO --> IMG
In the menu, Additional information -->Additional information --> Display key --> Activity IMG
Then there is a column of " Additional information " coming out.
For example:
SAP NetWeaver --> General Settings --> Maintain Calendar
The Additional information is " SIMG_CFMENUSAPCOY05 "
Then you go back to " SAP easy access ",
Input the t-code " OY05 " (Normally it is the last four letters of the code of Activity IMG).
My question is: This t-code rule of " the last 4 letters " doesn't fit EHS customizing.
I just don't want to each time turn on the long guiding menu of IMG.
Do you have an easier way?
Thank you!
Li
Edited by: Li Cheng on Mar 25, 2010 11:42 AM
Edited by: Li Cheng on Mar 25, 2010 11:42 AM
Edited by: Li Cheng on Mar 25, 2010 11:43 AM -
Error in the ABAP Code for Customer Exit Variable
Could you please update me what is the wrong with the below ABAP Code developed for Customer Exit Variable in BW
i created a Variable (ZVWKNO) of Customer Exit,Single Value ,Mandatory and Variable is ready for input
In CMOD i had written the below Code:
When 'ZVWKNO'.
DATA: WEEK(2) TYPE N,
WEEKNO(2) TYPE N.
IF i_step = 1.
l_st_date = SY-DATUM.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = l_st_date
IMPORTING
WEEK = l_fn_week.
CHECK sy-subrc = 0.
WEEK = l_fn_week+4(2).
If WEEK 0.
WEEKNO = WEEK - 1.
l_s_range-low = WEEKNO.
l_s_range-sign = k_sign_inclusive.
l_s_range-opt = k_option_equals.
APPEND l_s_range to e_t_range.
ENDIF.
ENDIF.
But when i execute the query the default value is not populated with Week-1 No in the variable screen
Please update me what went wrong
ThanksCase ZVWKNO. "write this with out comments
When '1'. "write the value that needs to equal with value in varaible ZVWKNO after when in sungle quotes
DATA: WEEK(2) TYPE N,
WEEKNO(2) TYPE N.
IF i_step = 1.
l_st_date = SY-DATUM.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = l_st_date
IMPORTING
WEEK = l_fn_week.
CHECK sy-subrc = 0.
WEEK = l_fn_week+4(2).
If WEEK 0. "check this Week Minimum is '01' and Maximum '52'
WEEKNO = WEEK - 1.
l_s_range-low = WEEKNO.
l_s_range-sign = k_sign_inclusive.
l_s_range-opt = k_option_equals.
APPEND l_s_range to e_t_range.
ENDIF.
ENDIF.
Prabhudas -
Transaction code for custom table
Hi there,
I created one custom table. I created Tbale Maintenance Generator for this. I have to create transaction code for this table so that user can directly open this custom table in SM30. Can anybody suggest on this. is there any other way to do this so that user can directly open this custom table in SM30 mode?
Regards,
Zakir.Hi
Check this link for creating a transaction code for a TM
http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
Please go throught below link ..... it was given with screen shots of the T.code Creating for the table after the maintaince view had been created ......
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
Regards
Anji -
Can you share the source code for Customer ToughDay stress test tool?
Hello,
I would like to try Customer ToughDay tool (http://dev.day.com/docs/en/cq/current/testing/tough-day.html) for load testing of our author instances of CQ5. While I am able to execute the application, the logging with log4j seems to be configured incorrectly.
Can you share the source code for toughday-5.5.jar? I think it can be a very good starting point for those of us who are new to CQ5 and need to load test it.
Thank you!Hi,
I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
What has prompted this question?
Regards
Ray Farmer
Regards
Ray Farmer -
Code for Customer exit in a variable is required
Hi Guys,
Document numbers are flowing in to two OD's. These doc numbers are available in 'X' and 'Y' ODS's.
We are missing some doc nos both the ODS's. we want to display those doc nos in a report.
We Created an infoset on these two ODS's.We want to write a Code for the Ccustome exit on this document number.
Can anybody suggest how to get these doc nos in areport.
Can anybody help me in writing a code on customer exit.
Pleas give suggestions how to display rhes doc nos in areport.
Thanks,
NelaHi,
case I_VNAM.
when 'ZPRYRPER'.
if I_STEP = '2'.
loop at i_t_var_range into temp.
append temp.
endloop.
read table temp with key vnam = '0S_FPER'.
if sy-subrc eq 0.
move temp-low to l1_period.
move temp-high to l_period.
endif.
if l_period-gjahr = 0000.
l_period-gjahr = 2020.
endif.
if l1_period-gjahr = 0001.
l1_period-gjahr = 1990.
endif.
CLEAR E_T_RANGE_WA.
l1_period-buper = '001'.
l_period-gjahr = l_period-gjahr - 1.
l1_period-gjahr = l_period-gjahr.
E_T_RANGE_WA-SIGN = 'I'.
E_T_RANGE_WA-OPT = 'BT'.
E_T_RANGE_WA-HIGH = L_PERIOD.
E_T_RANGE_WA-LOW = L1_PERIOD.
APPEND E_T_RANGE_WA TO E_T_RANGE.
endif.
Regards,
Marasa. -
Where do I write the code for customer exit variable?
Hi Gurus,
Can anyone tell me where and the procedure that I have to follow to get to the include ZXRSRU01 where I can write customer exit variable code.
I know its written in ZXRSRU01, but in my system it seems like its not active or does not exist. How do I get to start working in this include for customer exit variables?
Any help is appreciated. Thank you.
Regards
Reddyhi Reddy,
variable exit use enhancement RSR00001 not RSAP0001. EXIT_SAPLRRS0_001.
try to follow some steps in 'how to' doc related to this, and sample code may useful for you
https://websmp206.sap-ag.de/~sapdownload/011000358700002762582003E/HowToDeriveVariableValue.pdf
https://websmp206.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
INCLUDE ZXRSRU01 *
DATA: L_S_RANGE TYPE RSR_S_RANGESID.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
CASE I_VNAM.
WHEN 'CUMMONTH'.
IF I_STEP = 2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'MONTH'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)."low value, e.g.200001
L_S_RANGE-LOW+4(2) = '01'.
L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
ENDCASE.
hope this helps. -
Need a code for Customer exit for extractor 0WBS_ELEMT_ATTR
Hi Guys,
I need a code for following requirement.
I have appended some fields to standard extractor 0WBS_ELEMT_ATTR which normally takes data from PRPS table. But the new fields will be getting data from PRTE and PROJ table. with common keys. Following is my code which is not working. Please help me out, I am not good in abap. Please note some lines are commented.
Thanks,
H
CODE:::::
form 0wbs_elemt_attr tables i_t_data structure biw_prps.
data: it_wbs_prps like biw_prps occurs 0.
data wa_prps like it_wbs_prps.
data: begin of it_wbs_prps occurs 0,
PSPNR like prps-pspnr,
POSID like prps-posid,
PBUKR like prps-PBUKR,
IZWEK like prps-IZWEK,
USR10 like prps-USR10,
USR00 like prps-USR00,
USR02 like prps-USR02,
OBJNR like prps-OBJNR,
end of it_wbs_prps.
data wa_prps like it_wbs_prps.
data: begin of it_wbs_prps1 occurs 0,
PSPNR like prps-pspnr,
POSID like prps-posid,
end of it_wbs_prps1.
data wa_prps1 like it_wbs_prps1.
data: begin of it_wbs_prte occurs 0,
posnr like prte-posnr,
PSTRT like prte-PSTRT,
PENDE like prte-PENDE,
ESTRT like prte-ESTRT,
EENDE like prte-EENDE,
ISTRT like prte-ISTRT,
IENDE like prte-IENDE,
end of it_wbs_prte.
data wa_prte like it_wbs_prte.
data: begin of it_wbs_proj occurs 0,
PSPNR like proj-pspnr,
PLFAZ like proj-plfaz,
PLSEZ like proj-plsez,
end of it_wbs_proj.
data wa_proj like it_wbs_proj.
refresh: it_wbs_prte, it_wbs_proj.
*it_wbs_jest.
if i_t_data[] is not initial.
Get data from PRPS WBS Master Data
select pspnr posid PBUKR IZWEK USR10 USR00 USR02 objnr
into corresponding fields of table it_wbs_prps
from prps
for all entries in i_t_data
where POSID = i_t_data-POSID.
sort it_wbs_prps by posid.
Get data from PRPS1 WBS Master Data
select pspnr posid
into corresponding fields of table it_wbs_prps1
from prps
for all entries in i_t_data
where POSID = i_t_data-POSID.
sort it_wbs_prps1 by posid.
Get data from PRTE Scheduling Data for Project Item
if it_wbs_prps1[] is not initial.
select posnr PSTRT PENDE ESTRT EENDE ISTRT IENDE
into corresponding fields of table it_wbs_prte
from prte
for all entries in it_wbs_prps1
where posnr = it_wbs_prps1-pspnr.
sort it_wbs_prte by posnr.
endif.
Get data from PROJ Project Master Data
if it_wbs_prps1[] is not initial.
select pspnr PLFAZ PLSEZ
into corresponding fields of table it_wbs_proj
from proj
for all entries in it_wbs_prps
where pspnr = it_wbs_proj-pspnr.
sort it_wbs_proj by pspnr.
endif.
loop at i_t_data.
clear: wa_prps1, wa_prte, wa_proj.
read table it_wbs_prps into wa_prps with key
posid = i_t_data-posid binary search.
read table it_wbs_prte into wa_prte with key
posnr = wa_prps1-pspnr.
read table it_wbs_proj into wa_proj with key
pspnr = it_wbs_proj-pspnr.
i_t_data-zzPBUKR = wa_prps-pbukr.
i_t_data-zzIZWEK = wa_prps-IZWEK.
i_t_data-zzUSR10 = wa_prps-USR10.
i_t_data-zzUSR00 = wa_prps-USR00.
i_t_data-zzUSR02 = wa_prps-USR02.
i_t_data-zzPSTRT = wa_prte-PSTRT.
i_t_data-zzPENDE = wa_prte-PENDE.
i_t_data-zzESTRT = wa_prte-ESTRT.
i_t_data-zzEENDE = wa_prte-EENDE.
i_t_data-zzISTRT = wa_prte-ISTRT.
i_t_data-zzIENDE = wa_prte-IENDE.
i_t_data-zzPLFAZ = wa_proj-PLFAZ.
i_t_data-zzPLSEZ = wa_proj-PLSEZ.
modify i_t_data.
endloop.
endif.
endform. " 0wbs_elemt_attrHi,
it_wbs_prps1 .
If you are going to use this internal table to check for a null condition, shouldn't you first assign the data package to it?
For example, it_wbs_prps1 = i_t_data[].
Because you are now using it_wbs_prps1 to select data from a table and it doesn't have any data.
Please check.
-RMP
Edit : Please ignore this. I didn't see that you are actually filling the internal table. Sorry!
Edited by: RMP on Oct 18, 2010 12:16 PM -
How to map company code for customer master in CRM
Dear CRM Experts,
The scenario is ,Customer Master is created in SAP CRM 6.0 and it flows to ECC 6.0 . After replicating the data to ecc i am manually assinging company code to customer master.Is there any option to map company code to crm customer master level.
Regards
AshwinDear All,
The above requirement was address by Development. -
T-code for customs office creation
Dear Experts,
Please guide me how to create new "*Office of exit" and "Export customs office*" for Trade/Customs in Billing document for Export.
Waiting for your response.
With regards,
JhelumOffice of Exit is determine in the billing document through Table-Field EIKP-ZOLLA.
Also, for Customs Office check Table EKIP-AZOLL
Check following exits:
EXIT_SAPLV50E_001 - SD documents - Header: User exit for default of Foreign Trad
EXIT_SAPLV50E_002 - MM documents - header: User exit for default of import heade
EXIT_SAPLV50E_005 - Foreign Trade data - Header: User exit: Check completeness o
Check Tcode
OVE2 - Customs offices
VI48 - Conversion of Customs Offices
VI76 - Mode of Transport - Office of Exit
Thanks & Regards
JP -
Hi,
I've developed custom application in Office365(Sharepoint Online) using CSOM/Javascript. Security team from client side has been reported one major issue to the our application that any end user can comment our CSOM/Javascript code and bypass the validation
or can update / insert into sharepoint list item using developer tool/ Console in Google Chrome(F12 Key).
Also end user can write his own separate code in console of Google Chrome (Developer Tool / F12) and can update / insert into Sharepoint List.
Note:- End user has Add, Edit, View permission on all Sharepoint List.
This is one major security flaw of the Sharepoint/Office365 to use CSOM /Javascript for writing code, to overcome this issue could you please provide me some solution.
Your help would be greatly appreciated!!!
Looking for reply.
Thanks,
Mahesh Sherkar
Web: http://Mahesh-Sherkar.com
Email: [email protected]Hello Paras,
Did you get any solution for this? I think your website was implemented this form. Can you please tell me the way how I can achieve it? I am also facing same problem. Please reply me as early as possible.
Thanks,
Mihir -
Does any one have a sample code for sending email using IMAP ?
Hi
thank you for reading my post
I have tried to use SMTP and because of some problems i could not use it and i must use Imap (authentication required)
here is my SMTP code , does any one know how i can tune it to use Imap , or has a code snippet to send email using Imap ?
thanks
private static void postMail(String[] recipients, String subject, String message,
String from) throws MessagingException {
boolean debug = false;
class SMTPAuthenticator extends javax.mail.Authenticator
public PasswordAuthentication getPasswordAuthentication()
return new PasswordAuthentication(mail_usrname,mail_password);
//Set the host smtp address
Properties props = new Properties();
FileInputStream fis;
try {
System.out.println("Loading property file");
fis = new FileInputStream(new File("c:/email.properties"));
props.load(fis);
System.out.println("property file done");
} catch (FileNotFoundException e) {
System.out.println("file not found");
e.printStackTrace();
} catch (IOException e) {
System.out.println("can not read properties file");
e.printStackTrace();
/*props.put("mail.smtp.user", mail_usrname);
props.put("mail.smtp.host", smtpHost);
props.put("mail.smtp.port", smtpPort);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.socketFactory.port", smtpPort);
// create some properties and get the default Session
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getDefaultInstance(props, null);
session.setDebug(debug);
// create a message
Message msg = new MimeMessage(session);
// set the from and to address
InternetAddress addressFrom = new InternetAddress(from);
msg.setFrom(addressFrom);
InternetAddress[] addressTo = new InternetAddress[recipients.length];
for (int i = 0; i < recipients.length; i++) {
addressTo[i] = new InternetAddress(recipients);
msg.setRecipients(Message.RecipientType.TO, addressTo);
// Setting the Subject and Content Type
msg.setSubject(subject);
msg.setContent(message, "text/HTML");
System.out.println(msg.toString());
Transport.send(msg);Please try this out!!!!!!!!!
You can send emails using Outlook also. You can send email over Microsoft Exchange with this object (or another email server, using IMAP/POP).
Sub SendMailOutlook(aTo, Subject, TextBody, aFrom)
'Create an Outlook object
Dim Outlook 'As New Outlook.Application
Set Outlook = CreateObject("Outlook.Application")
'Create e new message
Dim Message 'As Outlook.MailItem
Set Message = Outlook.CreateItem(olMailItem)
With Message
'You can display the message To debug And see state
'.Display
.Subject = Subject
.Body = TextBody
'Set destination email address
.Recipients.Add (aTo)
'Set sender address If specified.
Const olOriginator = 0
If Len(aFrom) > 0 Then .Recipients.Add(aFrom).Type = olOriginator
'Send the message
.Send
End With
End Sub -
ABAP code for custom OLAP variables
Hi experts,
We have a custom variant set as customer exit that I have just added to an infopackge for the data selection of 0FISCYEAR infoobject via 7-OLAP Variant. When I click on the magnifying glass under the "details for Type" column, the "Use Variable of OLAP Processor" window appears showing the OLAP Variable and the fiscal year variant. When you hit F6 (check) it should process the variant and return data for the ranges. With this variant we are using there is not data being returned (using the SAP exit variants data is returned).
I have gone through the forums and have seen people citing the function module EXIT_SAPLRRS0_001 as this is the user exit which houses such abap code. I have seen the variant inside this module and the code itself, but why is it in the infopackage when I click on check (F6) no data is returned? I am getting the feeling this abap code is only executed for reporting. In this case I want the infopackage to select certain data from R/3 (via the use of OLAP variable with custom code) during the load to the ODS.Hi Mark,
If you created the custom fiscal year variant as a customer exit type, I doubt that it'll work.
Variant is an auxiliary time characteristic. You cannot create it. You can only add new char values:
BW Customizing Implementation Guide (SPRO tcode) -> Business Information Warehouse -> General BW Settings -> Maintain fiscal year variant.
Though, maybe I misunderstood your requirements.
Best regards,
Eugene
Message was edited by: Eugene Khusainov
Maybe you are looking for
-
When opening image in Photoshop from Lightroom "edit it," it defaults to TIF format
When I open an image in Photoshop CC by using the "edit with" command in Lightroom 5, after editing, the file will default to a TIF image rather than PSD. This ends up creating large, duplicate files (TIF and PSD) after I correct the problem. Isn't t
-
In the finder window, column view, I double click on icon, eg. a spread sheet, and document will not open since I updated to OSXv10.8.2. Help anyone?
-
Attaching xml document to SOAP body
Hi, i have two question. Q1: Is it allowed to attach xml document (org.w3c.dom.Document) to SOAP body when sending request to web service.( I have implemented web service to accept attached xml document.) Q2: If it is allowed, how thoes the WSDL look
-
Adobe digital editions will not respond or open please help!!
I really just need help getting the adobe reader to respond and open. I tried uninstalling and reinstalling multiple times. I tried restoring the settings. I tried troubleshooting and changing the settings. All it does is give me an error saying it s
-
hi how to install OEL 5.4 from kernel source code? i am using OEL 5.2,now i want build the OEL 5.4 and nstall it from the source code.how to do that? regards