Mail send issue - Workflow Triggered from Error Message
hi
i am learning workflow and doing some practical sessions using tutorials found on the internet. I have successfully enabled a workflow triggering options from the error message. The workflow will simply send an email and there is nothing else in that workflow definition. When i get the error message i open up the error message window and trigger the workflow option which is enabled. I get a message that the workflow has been started but i dont get the email immediately. I see the emails only after a long time. Infact the emails sent yesterday is only visible today.
i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox. But i dont see the mails queued in SOST. But if i wait for a day i can see the emails in my inbox. Any idea what is wrong.
~Suresh
Message was edited by:
Suresh Reddy
Hi Suresh
Good on you that you are actually going through the SAP Help and trying the harder but better way unlike many others...your input regarding your problem is also quite well explained....Keep it up!
Coming to your problem,
<b>1.>>I see the emails only after a long time. Infact the emails sent yesterday is >>only visible today.</b>
RSCONN01 is the program that sends email out of SAP, make sure this scheduled to run frequently otherwise you can manually run this from SE/SA38.
<b>2. i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox</b>
When you run SOST make sure you tick all the checkboxes - Waiting, Errors, Sent and Transmitted. If you are on ECC, then these are available on the Send Status tab...
Good Luck
Ravi
Similar Messages
-
Can receive email, but can't send....getting error message
I can receive email just fine...but when I try to send email I get this error message:
"This message could not be delivered and will remain in your Outbox until it can be delivered.
The connection to the server "smtp.mac.com" on port 25 timed out."
Just started happening a few days ago. Worked fine before then. Any ideas? Reboot / reconnect to isp doesn't help. thanks!Sounds like your ISP made a recent change regarding the use of an SMTP server that is outside of their network.
Are you also accessing an email account and SMTP server that is provided by your ISP used for connecting to the internet with the Mail.app and if so, are you able to send messages with this account and SMTP server?
If yes to both, try this first.
Go to Mail > Preferences > Accounts and under the Account Information tab for your .Mac account preferences at the SMTP server selection, select the Server Settings button below for the .Mac SMTP server.
Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed setting.
If this doesn't work and you are accessing an email account and SMTP server provided by your ISP with the Mail.app and if not, add your ISP's SMTP server to the Mail.app as an available SMTP server to choose from and select/use your ISP's SMTP server to send messages with your .Mac account. -
How to enable the screen after triggering the error message
Hi All,
we have a tcode IW31, in that one field(WBS element -PROID) is not mandatory. so we have written the following code to make it mandatory in a user exit EXIT_SAPLCOIH_010.It's triggering the error message, but it is going into disable mode. Please sugget me how to enable the screen after getting the error message triggering.
if not caufvd_imp-proid is initial.
select single * from t350 into wa_t350
where auart = caufvd_imp-auart
and imord = 'X'.
if sy-subrc is initial.
pspel = caufvd_imp-proid.
else.
call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
exporting
input = caufvd_imp-proid
importing
output = l_posid.
concatenate text-t10 l_posid text-t11
into l_textline1 separated by space.
message i208(00) with l_textline1.
endif.
else.
message e208(00) with 'Please maintain WBS element in Location Tab'.
endif.
ThanksHi,
Instead of error message use status message like
message s208(00) with 'Please maintain WBS element in Location Tab'.
Leave to screen sy-synnr.
This will allow to move to the screen and have in enable mode.
WIth Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Feb 13, 2009 7:46 AM -
Change of Message status from Error message to Warning message
Hello,
I would like to know the configuration details of changing the status of a message class from Error message to warning message.
Thanks
ManishHi,
You can do it via OBA5 transaction; enter the application code, and put an entry for the message setting the flag to warning. Keep in mind, that not for every message it could be done.
Regards,
Eli -
I am able to receive email, but when I try to reply I get an error message to go to settings and enter a password. My password is there and I have re-entered it with no success. How can I enable send feature from my I Phone?
You have to go to SMTP settings for your email account and enter a password there. Sended and receiving are two different activities managed by 2 differet servers, and each may require a separate user ID and password.
-
Custom e-mail send method (workflow) not working
Hi all,
I have a custom workflow (my first one, so bear with me), and implemented in the BOR a method that calls a FM which implements CL_BCS class to send an e-mail.
BOR is a Z copy of BUS1065.
The workflow is triggered from a FM called using SWEHR3 transaction every time a particular infotype is created/updated from either PA30 or PA40.
The strange thing is the email is not appearing in SOST transaction and of course, not being sent. (Commit Work is in place).
And what is more... if I execute the FM outside the PA30/40-SWEHR3 scenario, the e-mail sent is working perfectly.
So... anyone can point me in the right direction to solve this?
Thanks in advance for your valuable time.
Regards,
Andres.Hi Klaus,
As I said, all the Commits are in place. In fact, I added extra ones just in case.
Anyway... I'm happy to say I managed to solve the issue and here's how I did it. If anyone has a better solution, please fell free to share it.
While I was going through the standard code of method "SendTaskDescription" BOR "SELFITEM", I noticed this SAP comment:
*- There problems with the implementation of persistence service
*- of objects. The symptom of this problems is that sendorders
*- (SCOT) are not saved if an object pool exists. Therefore we
*- create a new session in this environments.
The "new session in this environment" made me think in "STARTING NEW TASK", so this the final calling sequence:
PA30/PA40
--> Trigger Z Function configured in Tx. SWEHR03.
> Call Z RFC Function STARTING NEW TASK.
> Do lots of stuff and triggers Workflow.
And everything works like a charm!
Thanks for your suggestions! -
MAIL Sender adapter going in to error
Hello Experts ,
We have configured one mail sender adpater with a custom module to read the attachements in the email message. This was working fine before.
We recently had a restart of the PI servers. After that the channel is going in to error. The first error as per NWA logs is :
failed to call the adapter engine; caused by javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.adapter.mail.app*xml|com.sap.aii.adapter.mail.ejb.jar*xml|XIMailAdapterBean; nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.adapter.mail.ejb.XIMailAdapterBean.ejbCreate() throws javax.ejb.CreateException method on bean instance com.sap.aii.adapter.mail.ejb.XIMailAdapterBean@243be1e1 for bean sap.com/com.sap.aii.adapter.mail.app*xml|com.sap.aii.adapter.mail.ejb.jar*xml|XIMailAdapterBean; nested exception is: javax.ejb.CreateException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Failed to load messages into Queue AFWSend from database. Reason: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection. Reason: the thread of component "ejbContexts/sap.com/com.sap.aii.adapter.mail.app/com.sap.aii.adapter.mail.ejb.jar/XIMailAdapterBean" in application "sap.com/com.sap.aii.adapter.mail.app" is currently associated with a restricted resource set and it is not allowed to get connection within it.
After that whenever it is trying to process a message its throwing the below error :
exception caught during processing mail message [588]com.sap.aii.af.lib.mp.module.ModuleException
Has anybody faced thsi error before? Please help!!!
ThanksHi VR
Have you tried swapping by Payload name?
Please try it out with the following configuration, and remove any extra lines - there are duplicate key names and values in your configuration.
You should be able to see the successfully swap by payload name in the audit log as shown below.
Rgds
Eng Swee -
Hi, problem in goods issue to cost center Error message M7314
Hi to you all,
I am trying to post a good issue for a material to a cost center but an error message is coming out and says that "stock becomes negative see long text. message no - M7314". the material type was at the begining not valorated (like NLAG material type) but later on it had to be valorated, so the flag was triggered from the basic configuration of material type. if i see the material master record i can noticed that the material has no price neither the amount of stock in the plant, but if i check the stock in any MM report TX like MMBE or MB52 i can see that there is some stock in it. we need to registered the stock issue, any help that you can provide me i´ll appreciate it.
Best regards.
OOOPWhen we issue the material to Cost Center then amount (Qty X Value) get debited to that particular cost center,
I think system fails to calculate the amount as there is NO value maintained in material master
this is what I thought
Error Message M7314 is
Short Text
Valuated stock becomes negative: & -> see long text
Diagnosis
When a goods movement or an incoming invoice is entered, the system simulates the update of the valuation data in the material master record. The current simulation indicates that this posting would lead to a negative stock quantity (or a negative sales value) although negative stocks are not allowed for this material.
Procedure
You cannot post this item. Therefore, terminate current processing.
Display the material master record (accounting data).
Check the price, stock value, and stock quantity (also for the previous month, if required).
Proceed
Display the material documents and the accounting documents for the material and check whether the stock quantity is realistic.
Material documents Proceed
Accounting documents Proceed
If the stock value does not correspond to the stock quantity, data inconsistencies may exist.
Please contact SAP Support via SAPNet Frontend as soon as possible.
Support requires the following information from you:
ID and number of this error message (M7 3XX)
Material number and plant
Total stock and its value (see the accounting data in the material master record) -
Can receive but not send emails in Outlook 2010 - error message 0x8DE000006 The operation failed
I an @outlook.com email in my Outlook 2010 which worked well at first.
It now come up with the error message - error message 0x8DE000006 The operation failed and on my Sync Issues it has the following note:
19:35:57 Error: 3209. Server. We noticed some unusual activity in your Hotmail account. To help protect you, we've temporarily blocked your account..
19:35:57 Contact Support (with the live link which brought me here)
Which brought me here......any support would be amazing! Thanks19:35:57 Error: 3209. Server. We noticed some unusual activity in your Hotmail account. To help protect you, we've temporarily blocked your account..
From this message, it seems that your Outlook.com account is blocked due to some unusual activity. Please first try login to your webmail and check if you can send emails from there. If you can't send email even from webmail, we may try to follow the following
instructions to unblock your account to resolve the issue:
http://windows.microsoft.com/en-IN/windows/outlook/account-temporarily-blocked
Hope this helps.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Oracle Workflow triggering from OAF
Hi all,
Can we send a workflow notification by accessing Oracle Workfloe from OAF.
Regards
AshwiniIn your application AM write a method
import java.math.BigDecimal;
import oracle.apps.fnd.wf.WFContext;
import oracle.apps.fnd.wf.engine.NotificationAPI;
public sendNotification(String toUser, String fromUser,String mSubject, String mBody)
String m_charSet = System.getProperty(”CHARSET”);
if (m_charSet == null) { // cannot be null
m_charSet = ”UTF8”;
WFContext wCtx = new WFContext(m_charSet);
wCtx.setJDBCConnection(getOADBTransaction().getJdbcConnection());
* public static BigDecimal send
(WFContext wCtx,
String role,
String messagType,
String messageName,
String dueDate,
String callback,
String context,
string sendComment,
BigDecimal priority)
BigDecimal nid = NotificationAPI.send(wCtx,
toUser,
"WFMAIL",
"O_OPEN_MAIL_FYI",
null,
null,
null,
"From Workflow Mailer",
null);
* public static boolean setAttrText
(WFContext wCtx,
BigDecimal nid,
String aName,
String aValue)
NotificationAPI.setAttrText(wCtx,nid,"SENDER",fromUser);
NotificationAPI.setAttrText(wCtx,nid,"SUBJECT",mSubject);
NotificationAPI.setAttrText(wCtx,nid,"BODY",mBody);
getTransaction().commit();
Call this from your Controller Code when ever you like.
When you set values for fromUser and toUser of this method make sure they exist in WF_USERS table
Note : This code is not tested, so correct if any errors.
Regards,
Ravi. -
Change in sender name of mail sended through workflow
Hi All,
I have requirement where we want to chage the sender name decription for mails which are going through workflow.When we send mails through send mail step in workflow it is taking sender decription name automatically as "GSAP E1B WORKFLOW SYSTEM".
I have to change this decription to "OSIRIS Invoice". Is there any way to change sender name?
We are using SENDTASKDESCRIPTION method of SELFITEM object in send mail step.
Any help on this regards will be grate help...
Regards,
RahulHello Rahul,
here, the sender's name is the user's name of the background user performing this task, i.e. usually WF-BATCH.
If you do not have any other workflow scenarios running that could interfere here you could possibly just change that user's name.
Otherwise you have to re-program the sendmail step to specifically set the sender description.
Best regards,
Florin
P.S: Workflow issues have a separate forum:
SAP Business Workflow -
Workflow not found error message
Hi all,
While creating P.O ,we are getting error message that workflow not found for some Product categories.
However, its working fine for some other product categories.
Any suggestion please.
Points will be awarded for any usefull infromation.
Thnx
HarishHi,
I have already worked on a PO Scenario. You can check the same..!! This might help u.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
While creating P.O ,we are getting error message that workflow not found for some Product categories.
However, its working fine for some other product categories.
What I can infer from this is that, your WF is not found for certain categories.
Kindly Check the Following:-
1> Find the WF Number that is working behind this PO.
2> Check the Log where it stucks.
3> Check the Start Condition of the WF, is there anything mentioned related to the Product Category.
Kindly check and revert.
Regards,
Kanika -
Mac Mail suddenly gave me a fatal error message
Hello there:
Yesterday out of the blue, I got an error message (wish I would have written it down) that Mail had a fatal error and needed to be re-set. And a button to click to start now. Which I did. It took about 30 minutes to remake, and now I show that I have 6600 unread messages and I don't. The 2nd problem is now I can't sent attachments as all. I get an error message theta they are too big - when they're not.
Hoping someone can help,
Susan
System:
Mac OS X Version 10.6.4
2 GHz Intel Core Duo
Memory 1 GB 667 MHz DDR2 SDRAMAre you following these instructions?
Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
Continue holding the Home button until you see the Connect to iTunes screen.
iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device. -
Exclude ORA-06512 from error message
Hi all,
Lets have a simple example:
declare
EXP_FRZN_VER EXCEPTION;
begin
if (1=1) then
raise EXP_FRZN_VER;
end if;
exception
when EXP_FRZN_VER then
raise_application_error (-20303, 'Frozen version cannot be modified!');
when OTHERS then
dbms_output.put_line('TEST');
end;
I want to send error message to my web application through raise_application_error.
Error message looks like:
Error report:
ORA-20303: Frozen version cannot be modified!
ORA-06512: at line 12
Question: Is there a way to exclude string "ORA-06512: at line 12" from that message? I need to handle it on DB side...
Thanks
FinecYour calling code shouldn't get that line as you haven't passed back the error stack in your raise_application_error...
e.g.
SQL> ed
Wrote file afiedt.buf
1 declare
2 EXP_FRZN_VER EXCEPTION;
3 v_err varchar2(200);
4 procedure x is
5 begin
6 if (1=1) then
7 raise EXP_FRZN_VER;
8 end if;
9 exception
10 when EXP_FRZN_VER then
11 raise_application_error (-20303, 'Frozen version cannot be modified!');
12 end;
13 begin
14 x;
15 exception
16 when others then
17 v_err := SQLERRM;
18 dbms_output.put_line('Error Message received is actually: '||v_err);
19* end;
SQL> /
Error Message received is actually: ORA-20303: Frozen version cannot be modified!
PL/SQL procedure successfully completed.If you did pass back the whole stack, then you'd get the whole thing...
SQL> ed
Wrote file afiedt.buf
1 declare
2 EXP_FRZN_VER EXCEPTION;
3 v_err varchar2(200);
4 procedure x is
5 begin
6 if (1=1) then
7 raise EXP_FRZN_VER;
8 end if;
9 exception
10 when EXP_FRZN_VER then
11 raise_application_error (-20303, 'Frozen version cannot be modified!', true); -- pass back whole error stack
12 end;
13 begin
14 x;
15 exception
16 when others then
17 v_err := SQLERRM;
18 dbms_output.put_line('Error Message received is actually: '||v_err);
19* end;
SQL> /
Error Message received is actually: ORA-20303: Frozen version cannot be modified!
ORA-06512: at line 11
ORA-06510: PL/SQL: unhandled user-defined exception
PL/SQL procedure successfully completed. -
Help! Sporadic Mail sending issues
I have recently upgraded to Lion and since then have been having sporadic problems sending mail. I use a .mac account with O2 broadband at home and an unknown provider at work.
Mail stops sending for several hours at a time, and has done so from both locations. Since my iphone and ipad still send mail without a problem at these times, I have to assume that it is a Lion issue and not a provider issue.
Connection doctor shows green for incoming and outgoing but mail simply refuses to send.
My current mail-send-blackout has been going on for 18 hours now. Yet yesterday my mail would send from home and also when I arrived at work. But halfway through the working day it just stopped. Again. No apparent reason or pattern
If anyone has any suggestions, I'd be very grateful
Thanks
CalYes well there were no changes to the account, just stopped sending mail via SMTP
Deleted account and set up new one, same thing cannot send mail via Mail app
As mentioned another disc on the same comp with same account details etc works fine
so don't understand
Seems a lot of people are having this problem too.
Thanks Anyway
Maybe you are looking for
-
Warning message in Transaction VF31
Hi, I want a warning message in transaction VF31 and my system is ECC 5.0. I couldnt locate any billing exit. Is it possible to throw a warning message in this case?
-
So I'm messing around with my phone, and open my app store. At the very top u see the "purchased" option and I select, cool it shows me all the apps I have. Now I'm done and I wanna go back to the way it was..... What do I do??? I don't like it this
-
In my flash project i am using ActionScript to get FULLScreen and mouse hide action. I hv already used the AS3 in Adobe Flash CC and AS2 in Adobe Flash CS6. All my files are working well, both .SWF and .EXE (projector..) . But the client is saying i
-
How to Restrict one more line item in Purchase Requisition
Dear SAP MM Guru's My business Requirement is to Restrict one more line item to create in Purchase Requisition, Using T code : ME51N i have created a PR with 10 (TEN) Line item's on 20 June '14 , Using T Code : ME52N on 23 June '14 my business dem
-
Single Album splitting in 3 or 4 folders with exactly the same na
Hi, I have a Zen Micra (5Gigs, firmwire .02.05) I would like to know if there is a way to fix a problem. When I rip an album with the correct tag and everything, my player split an album to put it in a different folders with the same artist name and