How to submit a child concurrent request in same session as its parent?
Hi All,
I need one help. In one of my program, I am using something like this
fnd_request.submit_request ()—prog A
fnd_request.submit_request ()—prog B
fnd_request.submit_request ()—prog c
now I want prog A,B and C to use same session. the moment I use fnd_request.submit_request, it opens a separate session, I want to use same session. I even tried with request set but didn’t work.
Kindly help on this.
Kind regards
Sandy
Hi,
now I want prog A,B and C to use same session. the moment I use fnd_request.submit_request, it opens a separate session, I want to use same session. I even tried with request set but didn’t workThis is an expected behavior, and I believe there is no way to have all requests running under one session.
Regards,
Hussein
Similar Messages
-
Passing Delivery option to child concurrent request
hi, we have a concurrent request(parent) using SQL to call a new concurrent request (child),
Since if we run the parant with email delivery option , the parent call the child to execute. But the email sent the parent output, we actually want the child's output.
So I would like to ask can passing the delivery option from parent to child in the SQL?
Any sample for references?
Many thanks.user572941 wrote:
I am using forms personalization to give the user the ability to submit a concurrent request from the 'Actions' menu of the form. I would like to be able to pass a field from the form to a parameter of the concurrent request. I know how to set a global variable using forms personalization. Does anyone know how I could use this variable as the default value for the parameter in the concurrent request? (e.g. The concurrent program uses PO number as a parameter - I'd like to be able to pass the PO number from the form to the concurrent request.)Please see if old threads (which discuss the same topic) help -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Forms+AND+personalization+AND+Parameter&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to Submit doGet and doPost request using javascript ?
Hi,
My requirement is:
Need to submit form to two different methods doGet and doPost.
doGet will authenticate the request by asking to enter username and password.
After successful authentication we need to call doPost to submit the data of form.
I tried using Get(url); and Post(url,data,type); methods of FormCalc but i am not able to retrive the attribute and its value using Post.
my FormCalc script is
Get("https://server:port/servlet"); //I am able to call doGet method successfully
Post("https://server:port/servler","user=abcd&password=123456"); //I am able to call doPost method but I am not able to retrive the attribute user and password in doPost method.
i tried request.getAttribute("user"); and also i tried request.getParameter("user");
both are coming as null. How to submit form data to doPost method of servlet.
Also I would like to know is there any javascript for the same.Why do you want to use javascript..? Why not action listener..? You can check whether its an empty string by checking
if(str != null && !str.equals("")) {..}
where str is the variable for inputText value.
If this is not helpful, do provide more details on which version of JDev you are using and what are you trying (your usecase).
regards,
~Krithika -
How to updated log into Concurrent Request
Hi All,
I am using FND_REQUEST.SUBMIT_REQUEST in Stored PL/SQL Procedure to fire Concurrent Request to Import records thru Interface.
The concurrent request is run successfully and import records also successfully.
Now incase, if any error occured, I want to update the log file at concurrent request level and can see the log using "View Log" in Concurrent Request Window.
Can anyone guide me how it is possible ?
regards & thanks in advance....
Sanjay DesaiHi Srini,
Thanks for reply.
We have EBS Ver: 11.5.10.2 .
We are using seeded concurrent program (WIP Mass Load) to import data .
To import data, we are using following command line in PL/SQL Stored procedure.
V_CONC_REQ_ID := FND_REQUEST.SUBMIT_REQUEST( 'WIP' ,'WICMLP','WIP Mass Load', SYSDATE, FALSE, 1, 0, 2 );
The data is imported successfully but we have found that the LOG file is updated with seeded codes and messages
( view LOG Navigation path : MENU > VIEW > REQUESTS > FIND REQUEST BUTTON > VIEW LOG )
but I want to update the LOG file with custom messages instead so that we can debug easily, incase of error occurred.
We have tried to update the LOG file with custom message using command : FND_FILE.PUT_LINE ( FND_FILE.LOG , < msg > ), but LOG file is not updated.
I hope you understand my problem. Can you guide me in the issue ?
regards
Sanjay -
How do I submit an Oracle concurrent request from inside a page within Apex
Hi all,
Have an app that basically loads an interface table.I want to call a concurrent job from the page within my apex app that will submit the concurrent job in Oracle when I press the submit button. The only parameter is group id and typically end user enters 101010.
I am unsure of the syntax.....
the dba gave me this as an example but I believe its incomplete and not sure how to complete it or call it. I tried just creating a process to execute after submit but it errors out as in_user_id, in_resp_id and in_appl_id must be declared. Logic tells me I have to provide those somehow but I dont see how it fits into the submit request function.....
BEGIN
fnd_global.apps_initialize (in_user_id, in_resp_id, in_appl_id);
x_request_id := fnd_request.submit_request ('XXBG'
,'XXBGBURSTPAY'
,NULL
,NULL
,FALSE
,in_outfile
,'XXBG_TOP'
,'xxbg_pydepadv_ctl.xml'
COMMIT;
Edited by: DSULLIVAN on Apr 13, 2010 10:33 AMThis is really not an APEX issue, but a fundamental EBS one.
You need to find out which respsonsibility and request group your concurrent program is in, and the user who is submitting the request. You can look in FND_USER for the USER_ID, FND_APPLICATION for teh RESP_APPL_ID and FND_RESPONSIBILITY for the RESP_ID. This call sets up the global security context, so if you are calling it from outside of an authenticated EBS session, it doesn't know who you are.
Then you just call those - you can store them as application variables or jsut hardcode them.
So here is a sample call:
begin
fnd_global.apps_initialize(1, 50000, 275);
end;So just hardcode it for now - later you can get fancier. -
How to submit more than one request (conc. program)
can some one tell me how i can run multiple request for different reports that all have the date parameters in a single submit request ?
Is like i want to run all the reports that have date parameter by submitting a single request is it possible?
Can some one comment on that?Pl post your full EBS and OS versions. Go to the URL posted above, then click in the link for your EBS version (11.5.10, 11.5.10.2, 12.x, 12.1.1 etc), then click the "Documentation" tab on top, then look for the "Oracle Applications Developer's Guide" document
HTH
Srini -
How to differentiate multiple aRFC calls into the same session.
Hi experts,
I have following problem:
I start multiple aRFC calls in the same remote session by using the same task ID for each call and use
KEEPING TASK when receiving the results.
The calls are all of the same RFM (e.g get_status of obj), just calling parameters changes ( in the generic example, the parameter: obj).
In the receive method, I differentiate to which obj the result is related by exporting the obj_id on success of the RFM.
My problem is when the status call fails. I just get an error message explaining what the problem is. But I don't get the exporting parameters.
Do you have any idea how to solve this problem?
kind regards,
SahlaThis is actually the workaround I made to go on.
Actually the underlying logic in the RFM for getting the status is based on a synchronous call, as to say when you get the exception you know of which request it comes from.
Therefore the exception messages and their parameters are well defined and according to the error situation filled with necessary data explaining the exception situation.
Unfortunately the excpetion class used is based on the message T100 interface and has the limitations of just four message parameters and each of 50 charcter length.
I overwrite the last message parameter with the needed obj parameter, taking the risk to overwrite valuable system responses explaining the situation.
I thought there could be a more elegant solution from the framework itself.
kind regards,
Sahla -
How can I create a widget using a visual different from its parent?
Hi All:
I have a 8-bit-depth shell widget, how can I create a child widget using 24-bit-depth visual, the child is a XmDrawingArea. I cannot set XmNvisual.
But why GLwCreateMDrawingArea() can?
Thanks?Move your formulas in a non header column.
In the cell A2 of the table "aux", the formula is :
=IF(ISBLANK(main :: A2),"",main :: A2)
then I applied Fill Down.
Yvan KOENIG (VALLAURIS, France) mardi 2 août 2011 15:07:54
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
How to parse a web page and use same session(?) to post ?
hi,
lets say there a web page requesting:
-username
-password
-sequence of letters ( assume its not an image, it is just plain text)
i can get the source of page and parse and find the sequence.
however i couldnt manage to post it. (the sequence changes)
any help would be great, thx..
try {
int statusCode;
String urlAddress = "mywebpage";
HttpClient client = new org.apache.commons.httpclient.HttpClient();
String key ="";
URL url = new URL(urlAddress);
URLConnection conn = url.openConnection();
DataInputStream in = new DataInputStream ( conn.getInputStream ( ) ) ;
BufferedReader d = new BufferedReader(new InputStreamReader(in));
StringBuffer buffer = new StringBuffer();
while(d.ready())
buffer.append(d.readLine());
int index = -1;
String contents =buffer.toString();
index = contents.indexOf("operation");
while (index > -1) {
key = key + contents.substring(index+10,index+11);
index = contents.indexOf("operator", index+11);
System.out.println(contents);
System.out.println(key);
/*GetMethod getMethod = new GetMethod(urlAddress);
getMethod.getParams().setCookiePolicy(CookiePolicy.RFC_2109);
statusCode = client.executeMethod(getMethod);
if (statusCode != -1) {
contents = getMethod.getResponseBodyAsString();
index = -1;
index = contents.indexOf("mp3sesler");
while (index > -1) {
key = key + contents.substring(index+10,index+11);
index = contents.indexOf("operation", index+11);
System.out.println(contents);
System.out.println(key);
PostMethod method = new PostMethod(urlAddress);
// Configure the form parameters
method.addParameter("user", "test");
method.addParameter("pwd", key);
// Execute the POST method
statusCode = client.executeMethod(method);
if (statusCode != -1) {
contents = method.getResponseBodyAsString();
method.releaseConnection();
System.out.println(contents);
} catch (Exception e) {
e.printStackTrace();
}perhaps the website checks its source? What HTTP response do you get back?
-
How to assign particular concurrent requests to sparate concurrent managers
How to assign particular Users concurrent requests to custom or Sparate concurrent managers
OS : Linux
Apps: 11.5.10.2Hi,
This can be done via "Specialization Rules".
How to Create a Custom Concurrent Manager [ID 170524.1
How to Split the Load of Work to Many Concurent Managers [ID 473310.1]
Oracle Applications System Administrator's Guide - Configuration (zipped) -- Page 7-14
http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115sacg.zip
Make sure you bounce the CM once you are done.
Thanks,
Hussein -
How to get concurrent request id of the bi publisher report
Hi All,
I have created a BI publisher report in R12, and in that report i have called before report trigger function.
In that function i need to use the current concurrent request id .How can i get the concurrent request id of this report.
Please help me . Thanks in advance.
Regards,
Kalidoss.in datatemplate you use
>
before report trigger function.
>
so
in package in
>
In that function
>
you can get current request id like
l_conc_request_id := fnd_global.conc_request_id; -
How to See Others Concurrent Request Oracle 11i
Hello
How can I see others Concurrent Request, whcih is submmited by one of the Oracle USER?
Thanks
DiscovererHi,
You need to set "Concurrent: Report Access Level" profile option to view requests submitted by other users -- See this thread for details.
Unable view users request output
Unable view users request output
Reviewing other threads which discuss the same topic should be also helpful.
Regards,
Hussein -
How are OAM custom authentication plugins used for concurrent requests
Custom authentication plug-ins are loaded by Access Server.
I want to understand how they are used or how they work when multiple concurrent request start pouring in.
Thanks.The access server is a multi-threaded application. The "Fn" function of the plugin is executed in each of the thread of the access server.
-
Create child concurrent program for multi-processing
Hi,
I have a requirement where in I need my main concurrent program to generate child concurrent programs to process data in parallel.
I want all the child programs to write the response in the output file of the main concurrent programs.
Any pointers to this will be a real help.
Thanks.
JujaarHey Sandeep,
Thanks for your response...
OK, even I was thinking on those kind of solution or other possible way is to directly write in the output/log file of the parent req.
Cause the output file is always formed at a loction with a std. naming convention o+request_id.out.
I think it might be possible to write directly into the file. Have not tried it yet.
And one more question, do you have an idea how to generate the child concurrent programs.
I do see a parameter names sub_request in fnd_request.submit_request package. This is a boolean type.
But I am kind of unsure, If I pass this parameter as TRUE, how it will find the parent request ID.
If you some information on this as to how we can submit child concurrent request, please share. IT would be a great help.
Thanks
Jujaar -
WORKFLOW IN CONCURRENT REQUEST
Hi All,
how to create workflow and submit it in concurrent request in workflow background process?
Thanks,
alex
Edited by: Alex Cross on Mar 12, 2013 12:50 AMHi,
Is this related to your other thread ? Run Request Workflow Background Process
yes
The Workflow Background Process only acts on workflows that are deferred, timed-out or stuck. Does your workflow meet these requirements ?Nope
If you are simply wanting to launch a workflow (from a concurrent program) that completes asynchronously, pl see Re: How to start a workflow?Yes, we did this through trigger.
Thanks much, now we know that Workflow Background Process only acts on workflows that are deferred, timed-out or stuck.
Thanks,
alex
Maybe you are looking for
-
Started browser as usual. Browser informed me that the 3.16.7 version was not secure; I should upgrade to 4.0 First problem was the kaspersky was not compatible. Second problem was hp photo not compatible. Third is the browser user interface is too d
-
Responses for Imported Form are not showing in Forms Central but in Tracker?
I imported pdf fillable form. Added Submit button to lower right. Changed Form State to Open in Distribute tab. Then Saved Submission Enabled PDF. I then Downloaded the PDF to my computer. I went to the PDF saved on my computer and Distributed th
-
For example if I am trying to type in an address, the address bar fills in immediately with a prior-visited address that has a similar name (it thinks it's helping me) but that's not the link I want. Can I clear out or cancel this feature of firefox?
-
Should I buy a brand new 13'' MBP with retina display or a refurbished 15'' retina?
Im not sure what is the best option.Because I've always had big screen laptops.But the brand new 15 inch retina is way too expensive.I'm able to pay the price for a refurbished one, but is it worth it? Thanks
-
Netbeans 6.9.1 and bundled tomcat
I have installed a clean version of netbeans 6.9.1 bundled with tomcat and glassfish. We have moved to netbeans from eclipse. All was working fine until about a week ago. We can start tomcat fine, from within netbeans. But when it comes to restarting