Home » Applications » Oracle Fusion Apps & E-Business Suite » submit concurrent request from oracle report 10g
submit concurrent request from oracle report 10g [message #468625] Sat, 31 July 2010 04:27 Go to next message
manisha_borade
Messages: 49
Registered: May 2010
Member
hi...

i can i sumbit concurrent request in oracle report..

i wtitten a code i After report trigger...


Function AfterReport return boolean is
l_mail_reqid NUMBER;

begin



l_mail_reqid := FND_REQUEST.SUBMIT_REQUEST( 'FND',
'test_email_mt',
NULL, -- Description (Optional)
NULL, -- Start Time (Optional)
FALSE -- TRUE if this is to be child request
);
IF l_mail_reqid <> 0 THEN
COMMIT;
ELSE
srw.message('1005','Concurrent Request Submission for sending email failed!!!');
END IF;
SRW.USER_EXIT('FND SRWEXIT');
RETURN TRUE;
END;

and in before report ....

function BeforeReport return boolean is
v1 number;
begin
SRW.USER_EXIT('FND SRWINIT');
-- v1:=:P_CONC_REQUEST_ID;
return (TRUE);
end;



please help me...

its urgent
Re: submit concurrent request from oracle report 10g [message #468645 is a reply to message #468625] Sat, 31 July 2010 11:22 Go to previous messageGo to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
Quote:
i can i sumbit concurrent request in oracle report..

i wtitten a code i After report trigger...
please help me...

its urgent
Did you ask any question?
What is test_email_mt? Is it short code of any concurrent program?
Is that created under FND?
Give it in Capitals.
Doesn't it have any parameters?

By
Vamsi
Re: submit concurrent request from oracle report 10g [message #468749 is a reply to message #468645] Mon, 02 August 2010 01:26 Go to previous messageGo to next message
manisha_borade
Messages: 49
Registered: May 2010
Member
yes.
TEST_EMAIL_MT is Concurrent program
Re: submit concurrent request from oracle report 10g [message #468751 is a reply to message #468749] Mon, 02 August 2010 01:30 Go to previous messageGo to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
Quote:
Did you ask any question?
What is test_email_mt? Is it short code of any concurrent program?
Is that created under FND?
Give it in Capitals.
Doesn't it have any parameters?
I didn't get answers for all questions.

By
Vamsi
Re: submit concurrent request from oracle report 10g [message #468831 is a reply to message #468751] Mon, 02 August 2010 05:05 Go to previous messageGo to next message
manisha_borade
Messages: 49
Registered: May 2010
Member
yes, ACtually i ask tht
1)can we sumbit concurrent request in oracle report.. ?
im not sure about this.... my code is not run i.e request was not be sumitted from backend
2) test_email_mt is the procedure. i create Executable and concurrent program with same name
3) is application short name is 'FND'
4)ok
5)no
Re: submit concurrent request from oracle report 10g [message #468943 is a reply to message #468831] Mon, 02 August 2010 10:16 Go to previous message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
It depends on whether you have the access to that Concurrent Program or not.
Try to add fnd_global.apps_initialize before the request submit.
Check link1 and link2 and provide the correct user / responsibility / application.

By
Vamsi
Previous Topic: Closing old purchase orders
Next Topic: AP Invoice DFF should be updatable
Goto Forum:
  


Current Time: Wed Apr 24 05:15:52 CDT 2024