ABAP-HR : - Email payslips to respective Empoyee
Hi All,
My requirement is to email payslips to respective employee .
i found answer in sdn , it is working fine but my problem is i am getting standard form IN01 instea of my form ZACR
i debugged the program,during that i found it is taking form as IN01 and not Z-form in the transaction PC00_M40_CEDT.
So i am thinking of breaking standard program, i know it is not good to break standard program.
So plz can anyone help me.
Plz Suggest.
Regard,
Paresh G.
Hi,
You can check whether select your Z-form in form name tab in the transaction PC00_M40_CEDT.
Regards,
Manjula
Similar Messages
-
Script for check users password's expiry and email it to respective users
Hi,
I am a beginner in Solaris environment. Anyone have sample script to read password's expiry and email it to respective users ?
Thanks in Advance.
Sincerely,
DanielIf you don't want to be constrained by keeping your videos super small so they can fit in an email, there are several solutions:
1) Get a .mac account and use Web Gallery ($)
2) Use Youtube and include a link to the video in your email (free)
3) Use Google Video and include a link to the video in your email (free)
4) Use VIMEO and include a link to the video in your email (free)
There are several other video hosting services but you get the idea. -
Friends,
I'm using below code to send an email , But problem is , After using the Bcc field , People whose name used in Bcc filed are still appering in 'To' field when they receive the email,
Actually the people who added in Bcc field must be disablled,
Can anone let me know inputs on this
========================================================================
To Sent the email as in To:
wa_receivers-receiver = so_malid-low.
wa_receivers-rec_id = so_malid-low.
wa_receivers-rec_type = 'U'.
wa_receivers-com_type = 'INT'.
wa_receivers-notif_del = 'X'.
wa_receivers-notif_ndel = 'X'.
To send email as CC:
wa_receivers-receiver = so_malid-low.
wa_receivers-rec_id = so_malid-low.
wa_receivers-rec_type = 'U'.
wa_receivers-com_type = 'INT'.
wa_receivers-notif_del = 'X'.
wa_receivers-notif_ndel = 'X
wa_receivers-copy = 'X''.
To send as BCC:
wa_receivers-receiver = so_malid-low.
wa_receivers-rec_id = so_malid-low.
wa_receivers-rec_type = 'U'.
wa_receivers-com_type = 'INT'.
wa_receivers-notif_del = 'X'.
wa_receivers-notif_ndel = 'X
wa_receivers-copy_copy = 'X'.
Where wa_receivers is of type somlreci1
=========================================================
Thank you
Regards
SandyHi Raj,
How to use the below line whichever u have told and where to use..in the below code
Use BLIND_COPY of wa_receivers
lt_mailrecipients-rec_type = 'U'.
lt_mailrecipients-com_type = 'INT'.
lt_mailrecipients-RECEIVER = email.
lt_mailrecipients-BLIND_COPY = 'X'.
APPEND lt_mailrecipients .
CLEAR lt_mailrecipients .
lt_mailrecipients-rec_type = 'U'.
lt_mailrecipients-com_type = 'INT'.
lt_mailrecipients-RECEIVER = email.
lt_mailrecipients-BLIND_COPY = 'X'. APPEND lt_mailrecipients .
CLEAR lt_mailrecipients .
Edited by: mrSandy1981 on Mar 11, 2010 8:12 AM -
Abap sent Email attachmetExcel can open/read on PC but can't read on Iphone
I write a program to sent Email with attachment .
It's work fine on pc but when my Iphone receive the Email ,the attachment(excel .XLS)can't open ,the message is "Unable to Read Document The file format is invalid"
FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
i_objpack-doc_type = 'XLS'.
i_objpack-obj_name = 'text'.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = str
mimetype = '"text/html; charset=gb2312"'
I have tried CVS、TXT、HTM,gb2312/utf-8 ,the number and English alphabet is right,the Chinese character can't be read on Iphone.Hi Abhishek and Parupelly
Thanks for your replys.
I'm afraid I have to tell you that I'm quite sure Iphone could open the Excel which was Creat on PC by Microsoft office ,it aslo could open the Excel which was download from SAP report on PC . But It con't open the Excel which was Creat by SAP program by the FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
Evan -
Weekly subscription email doesn't respect permissions
Hello everyone!
We have a group of users subscribed on a weekly basis to a folder that has many subfolders. The subscription is active for the parent folder and all subfolders to the complete depth.
The group of users subscribed don't all have access to every single subfolder. Some users have access to some subfolders, others have access to other subfolders. However, in the weekly subscription email, ALL new documents from all the subfolders are listed, and the permissions are checked at the time they click the link. If they aren't allowed to read the document, they get an 'access denied' error at that time.
Is this how the subscription is supposed to work? A bulk subscription email won't leave out the documents the user isn't allowed to see?
Thanks in advance!
Fallon WillHi Fallon,
your configuration is correct and the behaviour you have detect is as well correct.
This is a "missing feature". The subscription service doesn't regards the permission because the service generates the list independent of an user context.
Best Regards
Frank -
Regarding text attachment in Email in ABAP program
Hello...
Need your expertise in one of the issues. Requirement is seems to be simple
but i am stuck up at this moment. i have refereed SDN with Several code but
some point its not giving the proper solution. So its a request to you please
do not provide any SDN link for reference as i am very much tried all of them.
please share piece of code.
Requirement : Need to develope one ABAP program, Email text attachment with Header line.thought its
very simple but still facing difficulties.
i have tried many code either its showing Data in single line without new line , in one of the Codes
data is coming in successive line but there is lot of spacing within Words means all alphabates are tab
separated. coud you please provide ,me the proper solution for this.
in one of the codes is working fine for excel but when Txt extension done data is not coming in successive line all
data is coming in single line.
Ex. Text file should contain 1 head and 4 colunns and Data size 50..
Thanks
NishiHi,
Another option....
Some sample code using cl_bcs .
Note the use of cl_abap_char_utilities=>cr_lf .
FORM mail_1_prep_10
USING
it_data TYPE table
CHANGING
ob_document_bcs TYPE REF TO cl_document_bcs .
DATA: txt_line TYPE string .
DATA: txt_data TYPE string .
* Create some text data .
DO 20 TIMES .
txt_line = '' .
DO 10 TIMES .
CONCATENATE txt_line '|' 'some data 01' '|' INTO txt_line .
ENDDO .
CONCATENATE txt_line cl_abap_char_utilities=>cr_lf INTO txt_line .
CONCATENATE txt_data txt_line INTO txt_data .
ENDDO .
* Mail stuf....
DATA: it_solix TYPE solix_tab .
CALL METHOD cl_bcs_convert=>string_to_solix
EXPORTING
iv_string = txt_data
IMPORTING
et_solix = it_solix.
DATA: attachment_subject TYPE so_obj_des .
DATA: attachment_type TYPE so_obj_tp .
attachment_subject = 'Some text data' .
attachment_type = 'txt' .
TRY.
CALL METHOD ob_document_bcs->add_attachment
EXPORTING
i_attachment_type = attachment_type
i_attachment_subject = attachment_subject
i_att_content_hex = it_solix.
CATCH cx_document_bcs .
ENDTRY.
ENDFORM . "mail_1_prep_10
regards.
This is how I see it in my mail : -
Receiving/Reading external Email from ABAP
Unhelpfully, certain information will only be sent to us in the text of emails sent to a specified email address (instead of a flat text file via sftp etc). This will all be within the same Intranet. We can specify the format.
How can ABAP read the emails in the Inbox of a specified email address? Do you get a specific user to link their Office settings to a POP3/IMAP account (for example?).
/people/anton.wenzelhuemer/blog/2006/05/27/abap-pop3-email-client-using-an-rfc-enabled-php-client-proxy gives a solution but is there a simpler way? No mail management is required (delete, flag when read etc).
Cheers,
Matt.
Message was edited by:
Matt Kinghi
good
try this
Use the FM ALSM_EXCEL_TO_INTERNAL_TABLE.
parameters : p_ifile like rlgrap-filename obligatory.
data t_ifile like table of alsmex_tabline with header line.
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
exporting
filename = p_ifile
i_begin_col = 1
i_begin_row = 1
i_end_col = 100
i_end_row = 5000
tables
intern = t_ifile
exceptions
inconsistent_parameters = 1
upload_ole = 2
others = 3.
thanks
mrutyun^ -
Mass sending (email attachments)
Hii all,
I am working on sending payslips as email attachment to respective employees in a single shot. The standard program that generates the payslip is HINCALC0. When you execute this program and enter the required field values, you will be able to see the payslip. Now, this payslip can be sent as attachment using standard menu option, List-->Send. You will have to enter the email address of the receipient. This is fine if you want to send email to one or two individuals, but, if you want to send this as email attachment to 1000 odd employees, then, what is to be done? I thought of writing a BDC, but, I am unable to record the whole thing. Any other suggestions???
Thaks in advance.Hi,
look at OSS-Note 190669. It describes how to start a report via ABAP, get its listoutput and save it in local file or send it via email.
All you have to do is to do a loop with all needed employeenumbers and to "submit report / send email" for every single number.
Herbert -
Remittance advice through email and printing
Hi Experts,
Our requirement is that email needs to be triggered for all remittance advices and simultaneously printing needs to carried out for those vendors with no email address or invalid email address. We have activated BTE 2040 to trigger the email and it triggered the email(for vendors wth email addr only) and sent it to the spool( for vendors with and without email addr) . Now our requirement is to select only few vendors from the spool for printing. How do we go about it please guide .
Thanks and regards,
Ashwin GHi,
For this first you have to maintain the respective email ids for the vendors/payees in your vendor master
Secondly, create a zmail program wherein once the ACH payments are executed, the z program should trigger an email to the respective payees. You have to co ordinate with your abaper and provide him the FS and requirements so that he can develop the required program. Assign a Tcode to the program which should have selection parameters Run date and identification ) to trigger email to respective payee in ACH payment list.
Hope this clarifies.
regards,
radhika -
How can I email pay slip of eplyees on their email iD
Help !!
I am using Oracle/AS/Report 10G on windows 2003. I want to send payslip of respective employee to their Email ID.
can any body help me out?
Thanx in advanceHi,
I got information that we don't have installed this Application Integration Architecture.
Can you guide me how can I get install this product although I have license of AS 10g(Forms & Report),Oracle DB 10g for windows .
regards -
Virtual SAP Teched Lecture ABAP
Hi all,
Could anybody tell me what was the name of last weeks Virtual SAP Teched Lecture of the week and the lectuarer's name? It was about new enhancement in ABAP including demos.
Could you tell me where can I download it from?
It was online yesterday and now the link is pointing to a another free Operate and Manage SAP Systems on Virtual Server Technology lecture.
Thanks in advance,
KrisztiáHi again -
Yes, SAP TechEd '07 Las Vegas and Munich registrants who purchased full-conference registration receive complimentary access to the <i><b>entire</b></i> Virtual SAP TechEd '07 program, not just the five free sessions.
Virtual SAP TechEd '07 resides on the Content Subscriptions webpage at https://www.sdn.sap.com/irj/sdn/subscriptions/content.
Use the same e-mail address to log in to SDN that you used when registering for the conference.
If you still do not see the complete Virtual SAP TechEd '07 offering on the Content Subscriptions webpage, it may be that the e-mail address you used to register for SAP TechEd 07 does not match the e-mail address associated with your SDN or BPX account.
To validate your SAP TechEd '07 registration and gain access to Virtual SAP TechEd '07, please send an email to the respective SAP TechEd Conference Team:
SAP TechEd '07 Las Vegas
[email protected]
SAP TechEd '07 Munich
[email protected]
Kind regards,
Diane Davis -
Can someone remind me how to split the folders so that sms all go to one folder and emails to theire respective folders.
Solved!
Go to Solution.in the main menu, click on the message folder. in there, hit the menu key, go to options>general options>sms and email inboxes>separate
-
How do I create folders on my email account?
When I open my email account on the Internet it shows all my emails in their respected folders that I created and organized. Unfortunately, when I try to open my account on the desktop email app they provide for us (the postage stamp with the bird) it does not show any of my folders and just has all my emails under ?not junk" and "junk"..... HOW CAN I CREATE FOLDERS (or organize my emails)?!
Hi tigergirlie,
First off, how is your email configured in Mail? It sounds like POP (if you just have one folder) versus IMAP. Is that correct? Are you familiar with how to determine that information? Secondly, who is your email provider? Do you know if they offer IMAP access?
POP will download only the content of your Inbox to your Mail application, you'd then be required to create local folders and manage your email (organize it). IMAP, if you like to work with folders would be the preferred solution here. This way the folders that you see on the web will "sync" with the folders in your Mail application.
Not all free email providers offer IMAP, GMail is the only one to my knowledge, at least of the popular ones. Most ISP emails or work/corporate email providers offer IMAP but you'd need to get the appropriate server settings. -
hi
For payment advise , i have done configurtion in BTE to send mail to vendor. When i chkd the mail , there is no attachment found. Is it necessary to apply note 1033893 . If nt necessary what may be problem?
Is there any changes to be done in FM SAMPLE_PROCESS_00002040? If any expert explain the process of sending mail in detail using BTE, it will be more useful.
Thanks in advanceHi,
ABAP CODE
Email ITAB structure
DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
INCLUDE STRUCTURE SOLI.
DATA: END OF EMAIL_ITAB.
DATA: T_EMAIL LIKE SOOS1-RECEXTNAM. "EMail distribution list
CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
Initialization
REFRESH EMAIL_ITAB.
Populate data
EMAIL_ITAB-LINE = u2018Email body text 1u2019.
APPEND EMAIL_ITAB.
EMAIL_ITAB-LINE = u2018Email body text 2u2019.
APPEND EMAIL_ITAB.
T_EMAIL = C_EMAIL_DISTRIBUTION.
--- EMAIL FUNCTION ---------------------------------------------------
REQUIRMENTS:
1) The user running the program needs a valid email address in their
address portion of tx SU01 under external comms -> SMTP -> internet
address.
2) A job called SAP_EMAIL is running with the following parameters:
Program: RSCONN01 Variant: INT User: XXX
This program moves mail from the outbox to the mail server using
RFC destination: SAP_INTERNET_GATEWAY_SERVER
INTERFACE:
1) APPLICATION: Anything
2) EMAILTITLE: EMail subject
3) RECEXTNAM: EMail distribution lists separated by commas
4) TEXTTAB: Internal table for lines of the email message
EXCEPTIONS:
Send OK = 0 otherwise there was a problem with the send.
CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
EXPORTING
APPLICATION = 'EMAIL'
EMAILTITLE = 'Email Subject'
RECEXTNAM = T_EMAIL
TABLES
TEXTTAB = EMAIL_ITAB
EXCEPTIONS
OTHERS = 1.
Function Z_SEND_EMAIL_ITAB
""Local interface:
*" IMPORTING
*" VALUE(APPLICATION) LIKE SOOD1-OBJNAM
*" VALUE(EMAILTITLE) LIKE SOOD1-OBJDES
*" VALUE(RECEXTNAM) LIKE SOOS1-RECEXTNAM
*" TABLES
*" TEXTTAB STRUCTURE SOLI
*- local data declaration
DATA: OHD LIKE SOOD1,
OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
DATA: BEGIN OF RECEIVERS OCCURS 0.
INCLUDE STRUCTURE SOOS1.
DATA: END OF RECEIVERS.
*- fill odh
CLEAR OHD.
OHD-OBJLA = SY-LANGU.
OHD-OBJNAM = APPLICATION.
OHD-OBJDES = EMAILTITLE.
OHD-OBJPRI = 3.
OHD-OBJSNS = 'F'.
OHD-OWNNAM = SY-UNAME.
*- send Email
CONDENSE RECEXTNAM NO-GAPS.
CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
*- for every individual recipient send an Email
(see OSS message 0120050409/0000362105/1999)
WHILE RECEXTNAM CS ','.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
ADD 1 TO SY-FDPOS.
SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDWHILE.
*- check last recipient in recipient list
IF RECEXTNAM <> SPACE.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDIF.
ENDFUNCTION.
FORM SO_OBJECT_SEND_REC *
FORM SO_OBJECT_SEND_REC
TABLES OBJCONT STRUCTURE SOLI
RECEIVERS STRUCTURE SOOS1
USING OBJECT_HD STRUCTURE SOOD1.
DATA: OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
EXTERN_ADDRESS = 'X'
OBJECT_HD_CHANGE = OBJECT_HD
OBJECT_TYPE = 'RAW'
OUTBOX_FLAG = 'X'
SENDER = SY-UNAME
IMPORTING
OBJECT_ID_NEW = OID
SENT_TO_ALL = TO_ALL
OFFICE_OBJECT_KEY = OKEY
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
X_ERROR = 20
OTHERS = 21.
IF SY-SUBRC <> 0.
RAISE OTHERS.
ENDIF.
ENDFORM.
FORM INIT_REC *
FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
CLEAR RECEIVERS.
REFRESH RECEIVERS.
MOVE SY-DATUM TO RECEIVERS-RCDAT .
MOVE SY-UZEIT TO RECEIVERS-RCTIM.
MOVE '1' TO RECEIVERS-SNDPRI.
MOVE 'X' TO RECEIVERS-SNDEX.
MOVE 'U-' TO RECEIVERS-RECNAM.
MOVE 'U' TO RECEIVERS-RECESC.
MOVE 'INT' TO RECEIVERS-SNDART.
MOVE '5' TO RECEIVERS-SORTCLASS.
APPEND RECEIVERS.
endform.
pls chk this links. they have some threds they may solve your problem
BTE-process 2040 email payment advice to Vendors
Business Transaction Event
http://help.sap.com/saphelp_nw04/helpdata/en/08/48f340dda3702ae10000000a155106/frameset.htm
thanks
karthik -
How to send automatic Birthday email to users in a list.
Hi,
I know this question has been asked multiple times but I'm not able to implement any solution correctly.
I have a list containing users and their birthdays. I created a sharepoint workflow which first checks if value in the field "Birthdays" is equal to today's date and if true then it sends email to the respective user. I ticked all options for starting
workflow (automatic, manually, new, changed). This workflow works when I add a new item(or modify) in the list.
Now, I want this workflow to work even when all users and their birthdays are already created in the list and there is no scope of triggering the workflow through creating new item or changing any item. Anyway birthday workflow is supposed to check the entire
"Birthdays" column match the dates with today's date and if they match then it should send email. I tried to play with information policy settings with no success (I followed this - *not able to post the link*. The workflow just doesn't trigger.
I'm not sure what will be the impact of pause until on the performance of my website. I'll be glad to know any suggestions on how I can make it work?I dont think your approach will work. This type of repeatative jobs can either be done with some sort of timer service or Scheduling a task.
One way to achieve your desired result is:
1) Create your list of users with their birthday and any required information (It seems you have this)
2) Create a list with some metadata that you will require during sending email. Add one dummy list Item in it.
3) Now create a workflow (you already have this) on this second list.
4) Write a PowerShell script and schedule task it to run everyday which will loop through your Employee Birthday List and if it founds a match it will update that dummy list item with real metadata.
5) Configure your workflow to run automatically when an item is updated.
The only challenge you will have is when two users have their birthday on the same day. What you can do in that case is as soon you update your dummy item you pause your script for 60 seconds or whatever the time it takes to complete your workflow notificiation.
Amit
Maybe you are looking for
-
I can no longer open .pdf files in Firefox 4
Ever since I moved to the beta version of Firefox 4, I have lost the ability to view .pdf files in Firefox. I was convinced this was a problem totally with Firefox, but at around the same time I upgraded from an old G4 PPC laptop to a new Macbook Pro
-
Is it possible to add a hyperlink to a comment?
I'd like to be able to click on a hyperlink in the comments box. I have some GPS data from my trips and would like to link it to google maps. Thanks Mac mini Mac OS X (10.4.7)
-
(sorry, but ny english is very bad) Hi, I'm using the Nokia Messaging with my N95 phone working fine, but I have a problem when try to send emails The Nokia servers doesn't have FQDN and my business mail servers drop my emails. I made some test: Oct
-
EPub to iBooks on iPad OK, but how to upload to iTunes Store?
This http://support.apple.com/kb/HT4168 was a great summary and I successfully exported my PhD thesis to ePub format via Pages 9 (v4.0.4). Looks great! I would next like to distribute on iTunes Store - yes, I hold copyright - but where do I start? Th
-
Adobe Acrobat XI suddenly stops working
I have acrobat XI pro. I keep having a problem that I will be working on some and it works fine then all of a sudden it just stops working and won't open or let me open any documents. this has happed to me 2 times in week. please help me.