Apps 11i - Import Items - Unable to Send Email
Hello Experts,
Oracle Apps Version - 11i
SQL> select banner from V$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
PL/SQL Release 8.1.7.4.0 - Production
CORE 8.1.7.0.0 Production
TNS for IBM/AIX RISC System/6000: Version 8.1.7.4.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
I am calling the program(Query-1) for Import Items(i.e from Interface tables to Main Tables).
After this, i am using the (Query-2) logic to send e-mail to user.
But the email is not getting triggered after "Import Items " been run.
When i comment the Import Items code; e-mail has been send across.
Please help...
Query - 1
-- Start of Item Import
BEGIN
--Getting Responsbility and Application Id
BEGIN
SELECT responsibility_id, application_id
INTO v_responsibility_id_1, v_application_id_1
FROM fnd_responsibility_tl
WHERE responsibility_name = v_responsibility_name_1
AND language = userenv ('LANG');
----Getting User Id
BEGIN
SELECT user_id
INTO v_user_id_1
FROM fnd_user
WHERE user_name = v_user_name_1;
END;
IF v_flag_1 = 0
THEN
fnd_global.apps_initialize (v_user_id_1, v_responsibility_id_1,
v_application_id_1);
END IF;
END;
--End of Initialzing the Apps
-- Submitting the Import Items Request
l_request_id_1 :=
FND_REQUEST.SUBMIT_REQUEST (application => 'INV',
program => 'INCOIN',
description => NULL,
start_time => SYSDATE,
sub_request => FALSE,
argument1 => 1,
argument2 => 1,
argument3 => 1,
argument4 => 1,
argument5 => 1,
argument6 => 111, -- Group ID passed in Interface table
argument7 => 1 -- 1 - Create 2- Update
COMMIT;
-- Wait for request to run the import Program to Finish
v_finished_1 :=
FND_CONCURRENT.WAIT_FOR_REQUEST (
request_id => l_request_id_1,
interval => 60,
max_wait => 0,
phase => v_phase_1,
status => v_status_1,
dev_phase => v_request_phase_1,
dev_status => v_request_status_1,
message => v_message_1);
END;
Query - 2
BEGIN
-- Interface table for Items
SELECT COUNT ( * )
FROM mtl_system_items_interface
WHERE set_process_id = 111
-- Interface table for Categories
SELECT COUNT ( * )
FROM mtl_item_categories_interface
WHERE set_process_id = 111
If Above returns value then
-- Send Mail to the Customer fr all error items in interface tables
End if;
END;
Sandeep there is exception part added in the code.
Since the code look so vast, i have removed the exception and copied in the Message.
Moreover the Import Items Status is "Completed", whereas there are some errors in the "Items"
Here is the exact query...
BEGIN
--Initialzing the Apps
BEGIN
--Getting Responsbility and Application Id
BEGIN
SELECT responsibility_id, application_id
INTO v_responsibility_id_1, v_application_id_1
FROM fnd_responsibility_tl
WHERE responsibility_name = v_responsibility_name_1
AND language = userenv ('LANG');
EXCEPTION
WHEN OTHERS
THEN
apps.fnd_file.put_line (apps.fnd_file.LOG,
'Error in getting Responsibility information and error is '
|| SUBSTR (SQLERRM, 1, 200));
v_flag_1 := 1;
END;
----Getting User Id
BEGIN
SELECT user_id
INTO v_user_id_1
FROM fnd_user
WHERE user_name = v_user_name_1;
EXCEPTION
WHEN OTHERS
THEN
apps.fnd_file.put_line (apps.fnd_file.LOG,
'Error in getting User information and error is '
|| SUBSTR (SQLERRM, 1, 200));
v_flag_1 := 1;
END;
IF v_flag_1 = 0
THEN
fnd_global.apps_initialize (v_user_id_1, v_responsibility_id_1,
v_application_id_1);
END IF;
EXCEPTION
WHEN OTHERS
THEN
apps.fnd_file.put_line (apps.fnd_file.LOG,
'Error in procedure apps initialize and error is '
|| SUBSTR (SQLERRM, 1, 200));
END;
--End of Initialzing the Apps
-- Submitting the Import Items Request
l_request_id_1 := FND_REQUEST.SUBMIT_REQUEST (application => 'INV',
program => 'INCOIN',
description => NULL,
start_time => SYSDATE,
sub_request => FALSE,
argument1 => 1,
argument2 => 1,
argument3 => 1,
argument4 => 1,
argument5 => 1,
argument6 => 111, -- Group ID passed in Interface table
argument7 => 1 -- 1 - Create 2- Update
COMMIT;
IF (l_request_id_1 = 0)
THEN
apps.fnd_file.put_line (apps.fnd_file.LOG,'Submission of Import failed ');
END IF;
-- Wait for request to run the import Program to Finish
v_finished_1 := FND_CONCURRENT.WAIT_FOR_REQUEST (
request_id => l_request_id_1,
interval => 60,
max_wait => 0,
phase => v_phase_1,
status => v_status_1,
dev_phase => v_request_phase_1,
dev_status => v_request_status_1,
message => v_message_1);
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Phase -->' || v_phase_1);
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Status -->' || v_status_1);
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Message -->' || v_message_1);
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Request Phase --> ' || v_request_phase_1);
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Request Status --> ' || v_request_status_1);
EXCEPTION
WHEN OTHERS
THEN
apps.fnd_file.put_line (apps.fnd_file.LOG,
'Submission of Import failed ');
END;
Similar Messages
-
Unable to send email from iPhone or ipad, Unable to send email from iPhone or ipad
Recently, I have become unable to send emails from my comcast email account. I tried uninstalling and reinstalling the account, but get an error (Cannot send. Username or password for Comcast invalid). The username and password are correct, though, as my email works fine on my non-Mac laptop. Any suggestions?
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say “Cannot Connect to Server”?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
Gmail Account Will Not Connect to Gmail Server
http://support.apple.com/kb/ts3058
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to delete ALL mail messages from iPhone/iPad in one step
http://www.conferencesthatwork.com/index.php/technology/2014/01/how-to-delete-al l-mail-messages-from-iphoneipad-in-one-step/
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
Importing a Contact List CSV to the iPad
http://techchannel.radioshack.com/importing-contact-list-csv-ipad-2235.html
iOS: ‘Mailbox Locked’, account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
How to delete an email account on your iPad
http://www.shoppepro.com/support/knowledgebase/228/How-to-delete-an-email-accoun t-on-your-iPad.html
Cheers, Tom -
We have a work email account set up on the iPad and receive emails just fine. We are unable to send emails. The settings for the account have been verified and should work. But when I go into settings and touch Mail, Contacts etc. scrolling down the first page on the "Default Account" it shows iCloud. The other company iPad shows this as the company email and can send emails just fine. How do I add the company account to this Default. My CEO is not happy about not being able to respond or send emails from this device.
There are two places that show Default Account. One is for mail sent from outside the mail app - meaning that if you email photos or a document from within one of the corresponding apps, that email will be send from the default account.
The second place that Default Account shows is for adding contacts outside of a specific account and you can direct where the contacts will be added.
So neither of those areas really apply to the mail app for sending emails.
I understand that your CEO may be upset, but just so that you know, nobody here works for Apple. We are just other users volunteering our time to help other users. -
Unable to send email. how to fix?
suddenly received msg. "unable to send email. your outgoing server does not support authentication. check settings". no problems sending with other devices ie, iPad and iMac. Email is mac.com
Hi there Alexandria049!
Email is so important on our smartphones! I'm sorry yours doesn't seem to be working.
I would highly recommend removing it and readding it.
Please follow these steps and let us know if it works:
http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=31012
Thanks,
MelissaM_VZW
Follow us on Twitter @vzwsupport -
I have been unable to send email messages for two weeks. Error messages are "cannot connect to SMTP mail server. Contact Internet Service Provider"
Please see http://customer.xfinity.com/help-and-support/internet/email-client-programs-with-xfinity-email/. What email program or app are you using?
-
We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is:>> Cannot send mail. The user name or password for iCloud is incorrect.
About ~20 hours later, this ended up solving itself. We can send email using the '.icloud' email from both the iPad and iPhone. Advise would be 'wait' before you start seeking alteranatives like yahoo, hotmail, etc. This definitely is a convenient way to keep all your 'cloud' information in a centralized place, including the common email...
-
My email account was hacked. Had to change email password, now unable to send email from my ipad. I am such a novice technically, and have no clue what to do. Please help!
Hi Skiddishchloe,
I'm sorry to hear you are having issues with your email account and your iPad. If you are having issues sending mail from your iPad after changing your email password, you may find the information and troubleshooting steps outlined in the following article helpful:
Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
Sincerely,
- Brenden -
I have set up two email accounts on my iphone4, one with tiscali, my ISP, and the other on gmail. I am able to receive emails on both accounts, and can send emails from my gmail account, but am "Unable to Send Email" from my tiscali (talktalk) account. I get the error message "A copy has been placed in your Outbox. The sender address "name"@tiscali.co.uk was rejected by the server".
Hi apmichael,
If you are having issues sending email from one of your mail accounts on your iPhone, you may find the following article helpful:
iOS: Troubleshooting Mail
http://support.apple.com/kb/ts3899
Regards,
- Brenden -
Unable to send email from content server
Hi,
I have a requirement of sending the notification email to user from the stellent when he subscribe to it.To test it i logged in to content server as sysadmin.
Administration->Actions->Send test email.
I had filled some dummy data and when i click on send it gives me a error
Content Server Request Failed
Unable to send email. Could not send mail message from [email protected] with subject line: Test email from Content Server.
intradoc.common.ServiceException: !csMailCouldNotSend,[email protected],Test email from Content Server
at intradoc.server.InternetFunctions.sendMailToEx(Unknown Source)
at intradoc.server.SystemAuditHandler.sendEmail(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(Unknown Source)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(Unknown Source)
at intradoc.server.ServiceHandler.executeAction(Unknown Source)
at intradoc.server.Service.doCodeEx(Unknown Source)
at intradoc.server.Service.doCode(Unknown Source)
at intradoc.server.ServiceRequestImplementor.doAction(Unknown Source)
at intradoc.server.Service.doAction(Unknown Source)
at intradoc.server.ServiceRequestImplementor.doActions(Unknown Source)
at intradoc.server.Service.doActions(Unknown Source)
at intradoc.server.ServiceRequestImplementor.executeActions(Unknown Source)
at intradoc.server.Service.executeActions(Unknown Source)
at intradoc.server.ServiceRequestImplementor.doRequest(Unknown Source)
at intradoc.server.Service.doRequest(Unknown Source)
at intradoc.server.ServiceManager.processCommand(Unknown Source)
at intradoc.server.IdcServerThread.run(Unknown Source)
Caused by: intradoc.common.ServiceException:
at intradoc.common.SmtpClient.sendMail(Unknown Source)
at intradoc.server.InternetFunctions.sendMail(Unknown Source)
... 21 more
Caused by: java.lang.Exception: !csSMTPInvalidMessage,"System Administrator" <[email protected]>!csSMTPUnableToFindRecipients,1
at intradoc.common.SmtpClient.writeMultiMsg(Unknown Source)
... 23 more
Caused by: java.lang.Exception: !csSMTPResponseIndicatesFailure,550 5.7.1 Unable to relay for [email protected]
at intradoc.common.SmtpClient.writeMsg(Unknown Source)
... 24 more
I had set the internet configration in admin server to this values..
HttpServerAddress=blrdxp-rchithul.corp.capgemini.com
MailServer=BLREX002.corp.capgemini.com
[email protected]
SmtpPort=25
HttpRelativeWebRoot=/idc/
CgiFileName=idcplg
UseSSL=No
WebProxyAdminServer=true
But i am still getting the error.kindly help me...
Thanks in Advance
Regards
RakeshHi Rakesh,
You have to request you Network team to add the ip address of the machine where you have installed content server to your Exchange Server.
Let me know if it works.
Deepak -
IPhone 6 is unable to send email because the sender address was rejected by the server
When I try to send emails from my Microsoft Outlook for Mac, I get a message that says "Unable to Send Email. A copy has been placed in your Outbox. The sender address was rejected by the server." I've checked all the settings (it is a POP account). I've deleted and re-installed. Any suggestions??
Please see this article on setting up an email account using the shaw mail server.
https://community.shaw.ca/docs/DOC-2181
Good luck Friend. -
I am unable to send emails using iCloud, but am receiving.
I am unable to send emails using iCloud from both my laptop and my ipad. I am paying for 25Gb of storage and am only using 3Gb at the moment. I get the following message " Your email has been placed in the Outbox as you have exceeded your limit for sending emails". I have not sent any emails today at all!
http://support.apple.com/kb/ht4863
Or contact Apple: https://getsupport.apple.com -
I have an iPhone 5s running ios 7.1. I am unable to send emails to any of my own email addresses from my iphone.
This is a new problem.
-
Unable to send Email: ORA-29279: SMTP permanent error: 501 Syntax error in
We have a procedure use utl_smtp in 10g (10.0.4). we got this msg (Unable to send Email: ORA-29279: SMTP permanent error: 501 Syntax error in arguments) when send e-mail to another mail box (internal),
but we use the same procedure running in 10g(10.03) it works perfectly. Is Oracle 10g(10.0.4 vs. 10.0.3) causing this issue ? Can someone shed some lights on my head ? Thx.We found what is wrong about this.
The problem is in CC we had a e-mail address has one space like this test [email protected] so UTL_smtp doesn't like this kind format then we recreated a new e-mail address without space and it works fine. -
TS3899 My linksys has a ! Next to it and unable to send email
I am unable to send emails it shows; My linksys has a ! Next to it
It sounds like your router is not connected.
-
Since yesterday I'm unable to send emails on any of my Apple devices. The revert is that I have exceeded the maximum number of emails per day, but I had only sent out 24 with no bulk emailing - (much less than 1000 recipients as per the website) and I'm STILL not able to send emails. Any advice on how to solve this?
I have asked a moderator to provide assistance, they will post an invite on this thread.
Once you get a reply, if you click on their name, you will see a screen like this. Click on the link as shown below.
Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
There are some useful help pages here, for BT Broadband customers only, on my personal website.
BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.
Maybe you are looking for
-
I can't reset my sequerity question because you didn't send the email for the reset.
I can't reset my sequerity question because you didn't send the email for the reset.
-
Changing adobe forms name while saving
hi, i have made an application in which i am generating pdf form but while saving a default name 'f' is appearing which i need to change. I am unable to change pdf form name. Plz help. thanks
-
HT4437 cannot see speakers in itunes
my speakers have dissappeared in itunes,1 airport express , 1 bose soundlink Any ideas?
-
Windows standby feature disabled after lookout 4.5.1 b18 installation
I am just upgrading my development system - using an HP8510w running Windows XP professional. Haing the need to support some legacy systems in Lookout 4.5.1, I am having to install this software as well as the more recent Lookout 6.1. On installing
-
Why are Y'all Punishing me again??? I Asked Y'all to Use The Gift Cards And My DEBIT CARD For Any Charge As Long As There Was Money On Them!!! I THOUGHT Y'ALL WOULD JUST STOP, NOT WAIT UNTIL YOU CAN MAKE ME NOT BE ABLE TO DOWNLOAD AGAIN!!!!! THI