Email send to SAPoffice inbox by KRML(credit processing)
Hi,
Output type KRML can send a email to SAPoffice inbox for credit blocked order.
I would like to know if I can add some attachment through the mail.
if yes, how can I?
Many Thanks
Jean
Hi iimnava,
Thank you very much for your kind help.
Temporarily, I rewarded 6 points to you. After it realize, I will reward you with 10.
I will explain you with my detail requirement.
I need to send the email with attachment when I save the credit hold sales order.
Now output type KRML has been set to send mail to the SAP inbox when saving the order(I don't want to use SAP-SBWP).
But the problem is that I don't how to add the attachment with this email send by KRML.
If you have some code example, could you please also send to me?
In addition, the content in the attachement can not be maintained in the text id, the information has to be retrieved by function module.
Many Thanks
Jean
Message was edited by:
Jean Chang
Similar Messages
-
Process blocked sales and distribution documents from the SAPoffice inbox
Hi,
I know VKM1/VKM3 can be used to release order.
And SAP help shows we can process blocked sales and distribution documents from the SAPoffice inbox. Could anyone tell me how?
I can use output type KRML to send a mail to SAPoffice inbox, but don't know how to release blocked sales orders in the SAPoffice inbox.
Many Thanks
JeanHello Jean,
Release the blocked document directly via mail received:
- After carry out the step 4 in note 677377, you will be able to
release the blocked document directly by:
Display the SAP office mail recieved;
Menu: Document -> Execute;
Then you will be redirected to transaction vkm3, with the blocked
document number defaulted on that screen;
Unfortunately, it is not possible to direct your mails to Outlook
and release the document from VKM3.
Best regards,
Lela -
CSV, email, send report to other aplication
hello
My user needs some particular funcionalties into the report, but I am not an expert in WEBbi, somebody can help me with the answer, please?
is it possible to export the Webbi report to CSv? is it possible to send by email a webbi report? is it possible to send the report to File in a server creating a bottom into the report?
thanks a lot for all your help
Best Regardswhat version of business objects youa re using?
1) Yes you can export a report to CSV
2) Yes you can send WEBI Report to Business Objects Inbox, Similar to above task, click on Send To option.
Send To-->BO Inbox-->Uncheck "use Default Settings"--> enter user id
3) You can send the report to specific location on share point or some other location -
Converting alv list to excel and send to sapoffice or mail in batch mode
Hi every one.
I have the alv list and then I can send to sapoffice or mail in batch mode.
If I open the list in Sapoffice I can save the list in XLS format or if I open the list by mail, I can select all the content (because is a html file), select the copy option and then open EXCEL and paste the content.
Can I use an option to convert the alv list to an excel format and then send to mail or sapconnect in batch mode?if your requirement is to send a Excel sheet by Email then use this sample program.
*& Report ZEMAIL_ATTACH *
*& Example of sending external email via SAPCONNECT *
REPORT ZEMAIL_ATTACH .
TABLES: ekko.
PARAMETERS: p_email TYPE somlreci1-receiver
DEFAULT '[email protected]'.
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
wa_ekpo TYPE t_ekpo.
TYPES: BEGIN OF t_charekpo,
ebeln(10) TYPE c,
ebelp(5) TYPE c,
aedat(8) TYPE c,
matnr(18) TYPE c,
END OF t_charekpo.
DATA: wa_charekpo TYPE t_charekpo.
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c,
w_doc_data LIKE sodocchgi1,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
*START_OF_SELECTION
START-OF-SELECTION.
Retrieve sample data from table ekpo
PERFORM data_retrieval.
Populate table with detaisl to be entered into .xls file
PERFORM build_xls_data_table.
*END-OF-SELECTION
END-OF-SELECTION.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'filename'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp aedat matnr
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekpo.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
FORM build_xls_data_table.
CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
con_tab TYPE x VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF.
CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
LOOP AT it_ekpo INTO wa_charekpo.
CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
wa_charekpo-aedat wa_charekpo-matnr
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
REFRESH it_message.
it_message = 'Please find attached a list test ekpo records'.
APPEND it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODY
- Guru -
Email sender not matching address book
I have just noticed a change in my ipad 4th generation and iphone 5 running ios6.1. I uses to have have the email sender appear as entered in my address book for notificationson my home screen, inbox list, sent items and so forth. Also after openning the email it matches in the from section at the top. Now something has changed. The sender now only matches when i open the email in the from section at the top. But now notifications on my lock screen and in my innbox list show a different name that the sender used to sign up for their email. The sender is my mom. My dad set up her email using his name. For months it has been matching just fine but now why the change? It is strange because now the label mom only shows in the sent item list but not in the inbox list Now when i receive an email from my mom in notifications and inbox list it shows my dads name and only when i open the email does the from box change to mom. I have my mom listed as family in my contact card. I have the nickname added as mom and as well as only mom in the first name field. I don't know what has changed in my devices to make this happen. Strangly enough i have an old iphone 4s running ios7 and it still works with no problem. It lists mom in all areas. Inbox list, sent items list, notifications on lockscreen and so on. Because my ipad and iphone 5 are still under warranty i called apple and was told to reset all settings but that has not solved my problem. Anyone know how to fix this. Other threads with this issue offer no help but i believe were not communicated properly to the support members so I thought i would try.
There could be any one of three solutions... Try these:
1. Make sure you set your own country code at Phone dialer Screen > Options > Smart dialing.
Set your Country Code in this format: "+xx" where xx = your country code. Some countries have two or three digit Country Codes. Do not place the '+' in your contact's entry.
* In the US, set this Country Code as "+1", and place your loca area code in the proper box (this normally the default setting in a new BB).
2. At the same location, change the National Number Length to the number of digits for your country (since some countries will have less than 10 as set as the default in the BB). Find out the total digits, minus the country code. Do not place the '+' in your contact's entry.
* For example, some countries have a total number to 8 (plus 3 for country code). You would enter "8".
3. You may have "Content Protection" set on your Address Book.
Look at Options > Security > General Settings. Scroll down to Content Protection > Include Address Book = NO.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Why is my email sending out auto replies to EVERY email I receive and how do I turn this off? I recently bought a new iPad and set up my email account on it, now whenever I receive an email it is automatically sending a response to every email I receive. There isn't even anything in the file, it's just a reply with my signature on it. Could this be because I have to many devices connected to the same email account? I can't think of any other reason as to why this would be happening as I have never had this problem before when configuring new devices... Any help would be magical!
You're welcome.
Yes, but would it cause massive duplicates?
It all depends on how the rules are defined. The following scenario seems likely in your case. When the first message arrives, both an auto-reply is generated and the message is redirected to the .Mac account. The redirected message is received in the .Mac account and, hence, treated as just another incoming message, i.e. processed by all the rules. Since redirecting preserves the headers, it's treated in the same way as the first one, i.e. both a new auto-reply is generated and the message is redirected again...
If I have setup a 'reply' rule, then that shouldn't
cause any duplicates, right? It should simply reply
to the sender with my stock message.
Right.
Why it would send duplicates
It doesn't. It's the redirect rule that creates the new copy and sends it to yourself.
Maybe it's continuing to apply the rule as it sits in the Inbox?
No, it doesn't do that. The rule is applied to the new message that is received in your .Mac account because of the redirect rule.
Is there a way to tell it to only apply the rule once?
That's how it works. Rules are applied automatically to incoming messages only, not to already received messages, even if they are in the Inbox.
The redirect rule doesn't seem to theorectically
cause duplicates either.
Sure it does.
It should simply redirect
the email to my .Mac account, once.
In order to do so, it must create a new message, just like when forwarding. And yes, it does so once... for each incoming message...
Maybe I need to setup a rule saying [...]
Instead of (or in addition to) processing messages based on the address they're being sent to, process them based on the account that receives them. -
My email stopped going into inbox 2 days ago
my email stopped going into inbox 2 days ago
OS X Mail: Troubleshooting sending and receiving email messages - Apple Support
-
HT1277 new gen 3 ipad email -deleated email loading in my inbox
set up my email account on my new gen 3 ipad (yahoo) and it seems like it is sending to my inbox thousands of emails that i deleated from my pc. i deleated over 2k already.(over14k total) there is something wrong here.
i found the solution from Jerome Perakis blog. Thanks
http://jeromeperakis.blogspot.com.au/2012/05/solving-gmail-imap-empty-inbox-in-a pple.html
Solving Gmail IMAP empty inbox in Apple Mail 5
Man! Took me a long evening and finally a portion of this morning to solve the following issue between my Google Apps Gmail Account synchronized with the Apple Mail 5 client over IMAP...
When creating the account, I had briefly seen my messages in my Google Apps account's inbox, but then the rest of the account folders were displaying the messages, I couldn't see the messages anymore neither in the account's inbox folder nor in the All accounts' combined inbox...
I had found several instructions how to setup the Gmail account and also others complaining about this issue, but nothing to solve it. Of course, start with the following instructions to setup Apple Mail 4, they are the same for the version 5. Nevertheless, if you cannot see the messages in the inbox, despite showing in your gmail account through your favorite browser, check this:
Check in Apple Mail whether you have sub-folders below the inbox (you will have a small little triangle on the left of the inbox icon).
If you have those sub-folders, go to gmail directly and check whether you have label's names which start with inbox/something.
If that's the case, in many cases, they have been created out of previous migration from another client e.g. Outlook migrated to Gmail... they are considered as sub-folders in IMAP and it seems that Apple Mail is lost and cannot retrieve the inbox content in the such case.
So from Gmail, select all related messages tagged with this label and move them to another folder.
Once done, get back to Apple Mail, and select the menu Mailbox - Rebuild
Your inbox should start displaying your messages and same for the combined inboxes
Enjoy! -
Deleted emails greyed out in Inbox
Hi,
I have absolutely no idea how it happened but i have suddenly got upwards of 1000 deleted emails showing in my Inbox, greyed-out. I cant move them or do anything else with them, much less remove them.
I tried Cmd-Z when it happened, nothing happened, then I listed them by sender (Facebook) and tried to move them to Trash with no luck either.
Anyone got a suggestion?
Helen.One more thing to try, but make sure you have your Mail folder backed up. You already did, so no need to do it again. But also make a backup copy of the Mail Downloads folder as well. It's nearby.
Navigate to your Home Folder Library, this time to Preferences, and move the file com.apple.mail.plist to the Trash. Important, don't empty the Trash. If this doesn't work you can use File>Put Back to restore everything the way it was.
Doing this will bring you to the initial Mail setup and you will have to redo all your accounts, rules, mailboxes, whatever. Before doing this, it's probably a good idea to make screenshots of everything you will need again (Cmd-Shift-4) It's a PITA, but it may fix the problem. All your mail messages should be intact, but if there's a problem along the way, you just use Put Back for that .plist file. And, you have the Mail and Mail Downloads folders backed up, which you would move/drag back to their original locations. -
I set up a new folder for an email sender and now my emails are not able to use the rules that I set up. What can I do to enable them again.
I don't seem to be able to copy a rule, but, this is how one rulel displays.
Name of Rule is Richard Cryar.
If any of the following conditions are met:
From contains rcryar@auduboncapital
Move message to Richard Cryar mailbox
Not only does this rule not work, but all emails are going into the new box I created and not to the inbox. -
Problem with replies in Maverick's mail. Originating emails send fine. When replying to an email (various addresses) the reply is hung up and can not be sent. Option becomes put in draft, delete, etc. Any suggestions would be helpful. Mid 2013 iMac.
I don't know how rare this is. I went a week or so without a problem, and now it's starting to recur. Also, in some instances, an email will look unsent (remain in the outbox on the Treo), but it has been sent, and recipients are replying while I'm trying to figure out what is going on. Further, it will send the same email over and over during this madness.
This is a show stopper. If there isn't a software fix soon, I may chuck this phone in the garbage.
Post relates to: Treo 800w (Sprint)
UPDATE: The problem comes and goes. The next day, no changes to the treo, everything workeds. Now i'm suspecting the sprint server, and how it/the phone responds from failing to send while roaming. I've since turned off roaming, and haven't had a problem for several days.
Message Edited by slrichardson on 12-22-2008 01:12 PM -
Ok, since upgrading to Mountain Lion, when I reply to an email from the Global Inbox it incorrectly selects just my main business email account, even if the email was sent to a completely different persoanl address. This use to work without issue in Lion. I have at least a half dozen accounts that all come into the "Global Inbox" and I never worried about what account I was replying from as it always matched the account the email was originally sent to.
Now in Mountain Lion, this is broken and no matter what email I select it defaults to my main account and I have to remember to manually select the proper reply address from the drop down menu. So far the only way to avoid this is the keep all the separate account Inboxes showing and then selecting the account that I want to view. Then when I repy it is to the correct address, but having to do this makes the "Global Inbox" view completely worthless! If I have to select teh correct Inbox to get the proper reply address every time then what is the point of having a Global View?
Why did you break this Apple?Hello,
When you compose a message right click on the attachement and choose "View as Icon".
I know there was a Terminal command to set all attachements as icons by default but never tried it :
- You can also use the Terminal (in your Applications folder > Utilities) quit Mail, and type in the Terminal :
defaults write com.apple.mail DisableInlineAttachmentViewing -boolean yes
- To restore the original settings type :
defaults write com.apple.mail DisableInlineAttachmentViewing -boolean no
(source)
Hope this will help. -
Can I merge 3 email accounts into one inbox on iphone 3g?
Is there anyway I can merge my mobileme email and my two other email accounts into one inbox on my iphone 3g? It is a pain selecting back to another account then forward to another inbox.
I agree but at least for now the answer is NO.
-
is there a way to address email (i.e. a word or some code) that would place that email in a specified inbox folder? not using internal rule, rather the beginning of this sort happening as it comes in?
In other words
I tell a friend if he is emailing me on a particular subject, is there something he can do at his end ([email protected]/research)
like adding the word research at the end of my eamil address that would tell my inbox to place that in the inbox/research folder?
If I have to use a rule on my end, then do I tell him to just place the word research in the subjct line and then I write a rule to place anything with the word research in the subject line in my inbox/research folder?
will the subject line be required to only have the one word research to work, or will the rule look for any presense of that word in the subject line?
thanks
ericiCloud email supports 'plus' addressing. http://en.wikipedia.org/wiki/Email_address#Address_tags
So your friend could just add '+research' to the username part of your email address, and you setup a rule at icloud.com to put all emails sent to that address into a particular folder.
For example:
[email protected]
There's no way to do it without rules on the server though. -
Is there a way to delete all my email messages in my inbox at once?
Is there a way to delete all my email messages in my inbox in one move, rather than selecting one at a time, then deleting?
You CAN delete all your email. Here's how: >> Open Inbox >> Edit >> Check/select the top message; it will highlight the move button. >> Press and hold the move button and uncheck the message that you had checked earlier. >> Lift all your fingers off from the ipad screen and leave it alone. Wait until all your messages pile up on the right hand portion of the screen (in ipad); iphone will give you the actual number of emails it has selected for the action. Now they are just waiting for your command to be moved ALL at once. >> Choose trash to delete all of them or any other folder where u want to move them, like one piece. Remember this will replicate your action on the server so you will ACTUALLY move them or delete them on the server and not just the ipad. Once you have moved all messages to the trash you can either leave them there for the scheduled cleaning or empty it right away by doing this: go to trash folder and touch Edit. The Delete All button shows up at the bottom of the screen. Hit it! You’re done! If you do not see the effects of your actions on the server make sure you have enabled your email accounts for such actions.
Maybe you are looking for
-
HT4527 an iphone can be synced with only one itunes library at a time error on same pc
an iphone can be synced with only one itunes library at a time error on same pc why?
-
How do I pause a slide without the playbar?
Hi I am using Cap 6 and I do not have a playbar on my published project, I have a back and next button, how can allow the user to stop or pause the slide do I need some java script on a button?
-
How do I install Mapature Pro plug-in into Aperture 3.4.3?
I have MaperturePro.dmg but can't get Aperture to recognize it. I know that it worked fine on my old MBP. Thanks!!!
-
ITunes doesn't see my Calenders for syncing in with my iPod
I am using OS 10.5.1 and iTunes 7.5... this issue started after installing Leopard... any suggestions?
-
IE 11 Parent Page/Tab refreshes automatically when we close Child page before completion of load
HI, We have opened the application in IE 11 then when i am click on the button it will open another window, before it is opening fully we have closed the child page then it is refreshing parent page automatically because of this what ever the change