Count # of days in stampdate column and send email if days 30
I want to create a procedure so that it will be called to see if the user has updated their project within the last 30 days.
I have the following tables VALIDUSER table has UserID and EmailAddress columns, and FOLDER table has StampUser, StampDate and FolderType columns.
Whenever a user updates a project of FolderType ABC, the StampDate in the FOLDER table is update to reflect that date.
The procedure will look at the StampDate to see if that date is within the last 30 days from today.
If the date is either null or more than 30 days from today's date, an email will be sent to the user reminding them to update the project.
Message was edited by:
user644765
Message was edited by:
user644765
Am still stuck on this one. I want to create a procedure that will be called to send an email to the assigneduser if they have not updated their foldertype HJ in the last 30 days.
There is attemptdate in the folderprocessattempt which indicates when the assigned user updated the project(folder).................................................
1. Tables: Validuser, folderprocessattempt, folder, and folderprocess....................... ...
2. Validuser has userid, emailaddress ....................................................
3. Folderprocessattempt has attemptdate (shows when folder was last updated......................
4. Folder has foldertype, folderrsn, indate(indate is when the folder was created .................................................
What I want:......................................
1. Check the foldertype to get HJ folders................
2. Check assigneduser(email will be sent to assigneduser)
3. Check if assigneduser has more than 1 project of foldertype HJ and check if all the projects (HJ) for the user have been updated in the last 30 days...............
4. When email is sent, it should list the folderrsn for each folder that needs to be updated if the user has more than one folderrsn.
Message was edited by:
user644765
Similar Messages
-
Brand new 5c making random calls and sending emails while locked
my husband's brand new 2 day old 5c is making random calls, facetime calls and sending emails while locked and not in use. i have read that this is an ongoing issue, but have not seen a solution for it. any suggestions?
if you search "random calls" there are several threads, one of which started in 2010. i will try turning off voice dial and hope that solves the issue. will report back tomorrow with an update.
thanks! -
Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?
Hi,
Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?
Thnx in advance.I would hope there would be no way to disable Save AS that would reduce the applicationss capability. What are you trying to prevent happening?
-
After updating to the current versions of Adobe, I can no longer scan and send emails.
After updating to the current versions of adobe, I can no longer scan and send emails nor can I open an attachment upon receiving an email.
Capt Camo wrote:
After updating to the current versions of adobe...
What exactly is "adobe"? Adobe is the name of a company that has hundreds of software products, each with a distinct name.
You are posting in the Flash Player forum; do you really receive emails with Flash attachments?
Flash Player also cannot scan or send emails.
Finally you give no information regarding your operating system, email client, etc. -
I am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unablesend any email with my iMac ( i can recieve email) . This problem started suddenly and the error message i get is error 5.7.8. I have read the threads on line and went into settings, even created a new profile, nothing helps...Please advice..is this something to do with my keychain Access?
As Outlook is not an Apple product, you will find more helpers familiar with Outlook here:
Office for Mac forums -
Reg: HRforms converted to PDF and send email to individual employee
Hi Experts,
The requirement is convert the HR form output to pdf and send email to respective employee in standard transaction. I copied RPCEDTX0 to ZRPCEDTX0 and include RPCEDS09 to ZRPCEDS09, the changes need to be done for individual PERNR, I have modified the include as shown below.
CALL FUNCTION 'HRPY_PROCESS_SET_PERNR_STATUS' after this, i have written my code
* start of changes ARAFIQUE
DATA: formname TYPE tdsfname VALUE 'HR_ESS_PAYSLIP_TO_PDF',
fm_name TYPE rs38l_fnam,
pinfo LIKE pc407 OCCURS 0 WITH HEADER LINE,
pform type tt_pc408,
pform_l like pc408 OCCURS 0 WITH HEADER LINE.
IF xform[] IS NOT INITIAL.
pform_l = xform.
APPEND pform_1 TO pform.
pinfo-molga = '99'.
pinfo-forml = 'ZACC'.
APPEND pinfo.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = formname
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION fm_name
EXPORTING
pinfo =
pform = xform[]
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
* end of changes ARAFIQUE
I found out in internet that the smartform 'HR_ESS_PAYSLIP_TO_PDF' will convert to PDF and then i can send email to PERNRS.Hi Experts,
I have written the below code, the payslip is getting converted to PDF and it is getting saved in presentation server. I need to pick this file and mail, I created a customized function module for sending mail. I'm not able to send email to external addresses.
Please find my code below. I will post the function module later.
* start of changes ARAFIQUE
DATA: "formname TYPE tdsfname VALUE 'HR_ESS_PAYSLIP_TO_PDF',
"fm_name TYPE rs38l_fnam,
p_info LIKE pc407 OCCURS 0 WITH HEADER LINE,
"pform type tt_pc408,
p_form LIKE pc408 OCCURS 0 WITH HEADER LINE,
pdf_content TYPE xstring,
pdf_fsize TYPE i,
lv_output_length TYPE i,
lt_binary_data TYPE STANDARD TABLE OF sdokcntbin,
it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
it_message LIKE solisti1 OCCURS 0 WITH HEADER LINE.
IF xform[] IS NOT INITIAL.
p_form[] = xform[].
p_info-molga = '99'.
p_info-forml = 'ZACC'.
p_info-pcols = 1.
p_info-psize = 1.
APPEND p_info.
CALL FUNCTION 'CONVERT_PAYSLIP_TO_PDF'
EXPORTING
p_info = p_info
IMPORTING
pdf_content = pdf_content
pdf_fsize = pdf_fsize
TABLES
p_form = p_form[]
EXCEPTIONS
empty_form = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = pdf_content
IMPORTING
output_length = lv_output_length
TABLES
binary_tab = lt_binary_data.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\Test\Testing.pdf'
filetype = 'BIN'
TABLES
data_tab = lt_binary_data
* FIELDNAMES =
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22
it_receivers-receiver = 'gmailid'.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
APPEND it_receivers .
it_message-line = 'Test for sending email'.
APPEND it_message.
CALL FUNCTION 'ZSEND_MAIL_ATTACHMENT'
EXPORTING
v_file_path = 'C:\Test\Testing.pdf'
v_subject = 'Test Mail'
TABLES
it_receivers = it_receivers[]
it_message = it_message[].
IF sy-subrc EQ 0.
COMMIT WORK.
* Push mail out from SAP outbox
SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
ENDIF. -
Notification Template and send Email in oim 11g
Hi All
I need to send an email(html) format to users.I have created the a notificationtemplate through webconsole.
I am intrested to know are there any api's available in 11 g to access this particular notification template in my java code and send email to a user using this template.
iam referring to the class <oracle.iam.notification.vo.NotificationTemplate> and <Thor.API.OperationsInterface tcEmailOperationsIntf> classes but iam unable to access the notifcation template and send email.
Edited by: Bipin Patil on Jul 1, 2011 12:34 AMHi Rajiv Dewan
Your link was helpful iam able to connect the the notification template.
Now iam able to get the Template name,Subject,ID,Locale etc.
I have one small question how to get the message from the template using this api,
I referred the NotificationEvent,NotificationTemplate api's still iam not able to get message from my template and set message in my template.
Is there any other API's i need to explore to get message from notification template.
Thanks and Regards
Bipin patill
Edited by: Bipin Patil on Jul 1, 2011 5:29 AM -
Someone has hacked into my account and sending emails (iCloud) pretending to be me. I've changed my icloud password. Do i need to do anything else?
You should consider enabling two-factor verification on your Apple ID, to further protect it. Without doing that, it's entirely possible that a hacker who gains access to your account in the future could take control of your Apple ID away from you entirely.
You also should consider whether any confidential information might be stored in iCloud. If you have made the mistake of putting a list of passwords in the Notes app, for example, that list should be considered compromised, and all passwords should be changed (and removed from the Notes app).
If you used the same password as your old iCloud password for other accounts, you need to change the password on all those accounts.
You should also alert your contacts that your e-mail was compromised, so that they are cautious about trusting any attachments supposedly coming from you. Keep in mind that the spammer can continue to "spoof" your e-mail address on the From line of new e-mail messages, even without access to your e-mail account. -
Converting html file into zip file and send email attaching zip file
Hi Experts,
I am trying to send email with attachment(html). Which contains more than 7MB. So, It is throwing an error like Size exceeded.
So, Now i need to compress the data for less than 7MB.
I decided to convert HTML File into ZIP File.
Kindly suggest me to convert the HTML file into ZIP file and sending email with attached ZIP file.
Correct answer rewarded,
Thanks & Regards,
N. HARISH KUMARHi Experts,
*// HTML_TAB converting into ZIP File
DATA : zip_tool TYPE REF TO cl_abap_zip,
filename TYPE string ,
filename_zip TYPE string .
DATA : t_data_tab TYPE TABLE OF x255,
bin_size TYPE i,
buffer_x TYPE xstring,
buffer_zip TYPE xstring.
filename = text-007. "'HTML_TAB
*describe the attachment
DESCRIBE TABLE html_tab LINES tab_lines.
bin_size = tab_lines * 255.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = bin_size
IMPORTING
buffer = buffer_x
TABLES
binary_tab = html_tab.
IF sy-subrc <> 0.
* message id sy-msgid type sy-msgty number sy-msgno
* with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*create zip tool
CREATE OBJECT zip_tool.
*add binary file
CALL METHOD zip_tool->add
EXPORTING
name = 'FSSAI_MAIL.HTML'
content = buffer_x.
*get binary ZIP file
CALL METHOD zip_tool->save
RECEIVING
zip = buffer_zip.
CLEAR: t_data_tab[],bin_size.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = buffer_zip
IMPORTING
output_length = bin_size
TABLES
binary_tab = html_tab.
Thanks & Regards,
N. HARISH KUMAR -
Can I have separate Style Formatting for viewing and sending emails?
Hey All
I was just wondering if it was possible to have separate style settings for viewing emails sent to you and sending emails to others.
Basically I want to set up a kind of style template for all my outgoing emails but I don't necessarily want my incoming mail to be like that if you see where I am coming from.
Any help would be greatly appreciated.
Thanks
DerekThanks for that.
That would certainly be an option. However after some further investigation I came across this article which shows me exactly what I was looking for:
http://www.apple.com/pro/tips/mail_templates.html
But thanks for your help though. It is really appreciated.
Derek -
Create activity with more than partner and send email to all of them
Hello All,
I am working on CRM 5.0 activity management I want to create activity with more than activity partner and send email to all of them
Regards
Khaled Fahimhi
you can achieve this easily by creating a partner determination procedure in which you will be having more than one partner function having the function category as activity partner.
once you created the PDP just attach this to the transaction and then call the procedure when you are actually creating an activity.
for sending mail you can use FM
SO_SEND_MAIL_DOCUMENT_AP1
this is just one way
another way is which stephen suggests
you can use the personalised mail form functionality ,this is good in a way u neednt do any coding it will solve ur purpose in standard way.
another way is when you create campaign and when an inbound activity is created for the every survey response
this way you can send multiple mail and also for more than one or even n number of activity partners ,we can create the activity for the same
best regards
ashish -
Any (source code)FREE BOOK implementing recieving and sending emails
any (source code)FREE BOOK implementing recieving and sending emails
if avgailable on net.
please help...
Regards,
Navin.check this out:
http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-javamail.html -
Where do I go to stay posted on when Icloud will be up and running with respect to receiving and sending email?
http://www.apple.com/support/icloud/systemstatus/
-
I have an Apple Ipad. I was having problems receiving and sending emails via my yahoo email account. I deleted the account and then tried to install it but it won't connect to server. Could you let me know what I do please?
I think you have to turn off Private Browsing.
Tap "Private" on Safari Screen to disable Private Browsing. When top of screen is white, Private Browsing is off.
http://i1224.photobucket.com/albums/ee374/Diavonex/547958b4a8c01ac084dd6649e8386 a0f_zps12fa0cca.jpg -
Problem using iPad to receive and send emails when not at home
I am unable to send or receive emails from any outside wifi location like Tesco / ikea but once home there is not a problem. Messages reads "Server unable to respond" I was wondering if it is a security issue ?
Greetings
I suspect that the issue is the SMTP server settings. On your home network you are using your providers SMTP server and all is fine (If you check your email account configs you will find that the SMTP server is set to your providers?).
When you use a different network (provider) mail will not be sent unless you use that networks (providers) SMTP server (this is a security issue to address ways of "spamming").
So if youre 3G/4G provider is the same as you home provider all will work well via your home WiFi. If you turn off WiFi and just use your 3G/4G connection to send mail (iPhone/iPad etc) all will work well (when you are out and about and using anothers WiFi network).
If you are connected to, say a MacDonalds WiFi, mail will probably not be sent. (It will be received though).
Using WEB mail interface (via your WEB browser) removes this problem as well.
(A SMTP server is what is used to send email. So to successfully use anothers (not a networks the same as your providers) WiFi network and send email via it, you must know the SMTP servers name and reconfigure your email account/s to use that server to send mail.)
Maybe you are looking for
-
After I updated my loved iphone 4 to the iOS 5.1.1, I cant longer find any internet at the wifi? I know there is a internet connection here, im at that network on my computer, so yeah... it always worked before, until i updated. WHAT TO DO?! i have
-
Port forwarding for Warcraft 3 - no other posts have helped me solve this :
Hi everyone, At risk of flogging a dead horse, I am having trouble with port forwarding/port mapping on my new AEBS and need help. Warcraft 3 requires ports 6112-6119 open, which I had successfully set up through the Router Management Interface of my
-
TS1440 how do I reset my password on my macbook pro if I've forgotten my old password?
I have a relatively new (less than 6 months old) macbook pro. Somehow the password got screwed up when I tried to reset it. I can log into my macbook pro, but when I went to reset the password (so it would require it when I turned it on and after i
-
エラー Could not complete the Open command because there is not enough memory(RAM).
Windows 版 Adobe Photoshop CS6 13.0.1(32 ビット)を使用して JPEG 2000 ファイルを開くと.エラー "Could not complete the Open command because there is not enough memory(RAM)"を発生しました. 詳しい情報: http://helpx.adobe.com/jp/photoshop/kb/cq04220115.html 上記の文書を参考にしてください.
-
Can't connect Z10 to BB Link using Wi-Fi
I'm using Windows 7 and can see my Z10 in Link while I have the USB cable plugged in. As soon as I unplug the USB my Z10 shows as being disconnected. The Z10 shows that I'm on the home Wi-Fi network and the computer is connected to the network. When