How to call ofa page concurrent programs
Hi allI need call concurrent programs of OPS page.user will select the out put the type of lookup and a button more must be RUN it if he select type and run the report.
can someone suggest me how should I call from ofa simultaneous program page
Thanks in advance
Anthony
Hello
He comes to work for the same code:
The controller code:
Am3 ForumAMImpl = (ForumAMImpl) pageContext.getApplicationModule (webBean);
RequestId int = (int) am3.submitrequest ();
String url = "OA.jsp? akRegionCode = FNDCPREQDETAILSTOPREGION & akRegionApplicationId = 0 & REQUESTID ="+ requestid +"& retainAM = Y & addBreadCrumb = Y;
pageContext.setForwardURL (url,
NULL,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
NULL,
NULL,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
Code of the AOS
public int submitrequest()
{
Try
{
OADBTransaction tx = (OADBTransaction) getOADBTransaction ();
java.sql.Connection pConncection = tx.getJdbcConnection ();
ConcurrentRequest cr = new ConcurrentRequest (pConncection);
String applnName = "PA." Application that contains the concurrent program
String cpName = "SAPE_WITHDRAW_NOMINATION"; The simultaneous program name
String cpDesc = "auto remove appointments with expired Nomination period; simultaneous description of the program
Pass Arguments using the vector
Vector cpArgs = new Vector();
Call the simultaneous program
requestId int = cr.submitRequest (applnName, cpName, cpDesc, "", false, cpArgs);
TX.Commit ();
System.out.println ("Request ID is" + requestId);
return requestId;
}
catch (RequestSubmissionException e)
{
OAException oe = new OAException (e.getMessage ());
oe.setApplicationModule (this);
throw oe;
}
}
Thank you
Gerard
Published by: Gauravv on November 9, 2009 20:16
Tags: Oracle Applications
Similar Questions
-
Hello
I have two pages have call page 2 of page1, how to proceed?
JegouHello
If item is button
Set prptyDestinatioin URL="OA.jsp?page=/KP/oracle/apps/xxeis/reporting/EisReportSubmitPG?
If the order of the day is * submitButton *.
* in co write :*
If (PageContext.GetParameter ("Submitbtn")! = null)
{
pageContext.setForwardURL ("OA.jsp?page=/KP/oracle/apps/xxeis/reporting/EisReportSubmitPG",
NULL,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
NULL,
NULL,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
}Concerning
Meher Irk -
How can I control the concurrent programs?
Hello
When simultaneous GL & OPM ruinning programs, off-server peformance classes. How can I control it? I want to restrict the user not to submit or don't work not during office hours. How is it possible?
Concerning
ArizAriz,
Please mention the version of the application, the database version and the operating system.
The performance was accepted before? If so, what changes have been made recently?
Is the problem with concurrent programs standard or custom? In addition, please mention the names of simultaneous (if possible) program.
Do you run simultaneous program "Gathering statistics for schema" regularly?
To find out why these simultaneous program affects performance, enable trace as shown (Note: 296559,1 - FAQ: Techniques of common tracing in the Oracle Applications 11i/R12) and generate the file TKPROF.
You could schedule the program to run at certain times - see "Oracle Applications Documentation Set Guide system administrator" for more details.
Oracle Applications documentation
http://www.Oracle.com/technology/documentation/applications.htmlKind regards
Hussein -
How to check all regular concurrent programs.
Hi all
APPLICATIONS: 11.5.10.2
DB: 9.2.0.8
How to check all concurrent programs scheduled at the same time, is their any script to do this?
Thanks in advance to 1 million.Hello
Please see the following threads.
How to know the application is scheduled or not?
How to know the application is scheduled or not?Need to report or a query to see all scheduled tasks
Need to report or a query to see all scheduled tasksKind regards
Hussein -
How to call another page in popup
Hello
I have a small requirement as follows
1 al ' adfc-config, I have two pages p1 and p2.
2 pi has a popup, popup contains a cb1 button.
3 when the click on cb1, I need to call the page p2.
Let me know, what is the best way to do it.
Concerning
Akshaycreate a navigation flow of control from page 1 to page 2.
Name it as 'goTopage2 '.
predict the result of the action of comandbutton as a property -
How to call the page url inside the procedure.
Hello
I'm not exhibition in plsql.
I have some problem in utl_http link.
I create a procedure. The procedure has been compiled successfully. But the page url does not open...
I have attached the procedure,
create or replace procedure p (number of mob)
IS
long l_page;
l_url varchar2 (25000 char);
Start
null;
l_page: = utl_http.request ("http://www.yahoo.com");
end;
Please tell me the solution for this problem...
I await your response.
Thank you
Sasi.This is a duplicate thread:
How to open the web page in pl/sql
the OP doesn't seem to understand the difference between a web browser and a programming language... I can't say I've ever had to explain the difference before...
Let's say that... the butterflies are not somehow similar to razors electric...
-
How to call static pages using web.show_document on the application server
Hi all.
I'm using forms / reports 11 g Rel2.
I´d like to call it a few static pages of forms using web.show_document and have the pages located on the same machine where the application server is running.
I know it's more a problem of Oracle HTTP Server configuration, but I want to know if I can use one of the default virtual directories already defined on the installation process.
Please recommend a virtual directory to use.
Best regards, Luis... :))Sure. You can store the files anywhere you want. Of course, it is easy to create a new virtual directory. But if you want to use an existing one, the most obvious likely would be the virtual path of/forms/html that can be found here:
INSTANCE_HOME\config\FormsComponent\forms\html
The url to access it would look something like this:
http://server:port/forms/HTML/myWebPage.htm
-
How to call a popup by programming in the region of the adf
Hi all
I have included a workflow as a region in my home.jspx page.
My taskflow contains an active, page jsff where save button click I want to show a popup message programmatically
I mean I want to call showpoup code in my save the action listener.
I had some code snippet, but it works only incase if popup is called from jspx.
*****************
public static invokePopup Sub (String popupId, String line,
String alignId) {}
If (popupId! = null) {}
ExtendedRenderKitService = service
Service.getRenderKitService (FacesContext.getCurrentInstance (),
ExtendedRenderKitService.class);
StringBuffer showPopup = new StringBuffer();
showPopup.append ("var tips = new Object();");
Add hints that if specified - see javadoc for js AdfRichPopup for more information on the behavior and valid values
If (align! = null & & alignId! = null) {}
showPopup.append ("tips [AdfRichPopup.HINT_ALIGN] =" + line +)
";");
showPopup.append ("advice [AdfRichPopup.HINT_ALIGN_ID] ='" +)
alignId + "";");
}
showPopup.append ("var popupObj = AdfPage.PAGE.findComponent (" "+)")
popupId +.
"'); ("If (popupObj) popupObj.show (hints);");
service.addScript (FacesContext.getCurrentInstance (),
showPopup.toString ());
}
}
*************************************************8
Please let me know what changes should I inorder to call popup thid invoke, the jsff method.
Thank you, regards,
Arun.Hi Arun,
From Oracle JDeveloper 11.1.1.3, instance of af: popup can be opened by using a Java method on the RichPopup object. There is no more need of javascript and the extendedRenderkitService.
To launch a popup to a managed bean, you must first get an instance of rich popup, what you can do by making reference to a binding of JSF component.
To open the context menu call you
RichPopup.PopupHints ph = new RichPopup.PopupHints(); popup.show(ph);
Popup indicators can be used to set the alignment, the component that the popup is open next door and the alignment type.
To close a popup, simply call
popup.show(hide);
Regards Luke
-
How to call another page and pass the page parameter to another page?
Hi friends,
I've finished a page based on the payment date, he turns the payroll, summarized in the table region. Now, I have to address in detail (submit) button, when click on the details button I want to open the new page, this page based on a few VO. This vo I spend 2 parameters, we're Person_id, and the second is pay date until we are on the front page.
How to achieve this where I can write code, I am new to the OPS. could you please explain in detail and process?
Thank you and best regards.
Jocelyne.RAMU
The value of your hashmap returns null. Let intrepret your code below
String newValue = params.get("pid").toString(); null.toString(); will always throw null pointer exception
Robichaud, I suggest you to always put some SOPS for debugging purposes. It is useful to locate the problem.
Kind regards
GYAN -
How to call the program simultaneous form OPS page
hi ................
How to call a page ofa simultaneous program...
There is no package for the concurrentprogram package in jdeveloper 9.0...
That is to say... cp.concurrentprogram...
You can suggest a solution for this...Hello
Check this class 'RequestSubmissionException' exists in the path, and then import the vector class.
Kind regards
Out Sharma -
How to call a user_parameter report
Hi all please do something
I have a relationship with user_parameter
the creation of the report on the paper layout
I have an idea how to call a web page layout report, but I can not able to call the paper layout report
Help, please
I also give the code how to call web page (code given below) layout report
DECLARE
Repid REPORT_OBJECT;
v_rep VARCHAR2 (1000);
rep_status VARCHAR2 (20);
BEGIN
Rep: = FIND_REPORT_OBJECT ("member.10");
v_rep: = RUN_REPORT_OBJECT (repid);
rep_status: = REPORT_OBJECT_STATUS (v_rep);
While rep_status in ('MARKET', 'OPENING_REPORT', 'PENDING')
LOOP
rep_status: = report_object_status (v_rep);
END LOOP;
IF rep_status = "FINISHED" THEN
-Display the report in the browser
WEB. SHOW_DOCUMENT ("http://computer_name:8888 / reports/rwservlet/getjobid ' |")
substr (v_rep, InStr(v_rep,'_',-1) + 1) |'? "|' server = repserver90","_blank"); "
ON THE OTHER
message ("error when running report");
END IF;
TAKE A BREAK;
END;
I use Oracle9i, forms9i, reports9i and my OS is Win - XP
Thank youHello
Rep: = FIND_REPORT_OBJECT ("member.10");
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_OTHER, 'p_deptno =' |: D EPT.) DEPTNO);
v_rep: = RUN_REPORT_OBJECT (repid);Have a look here for more information: http://www.oracle.com/wocportal/page/wocprod/ver-31/ocom/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
Concerning
Rainer -
How to call oracle Standard form of page style and element OFA should be 'Link '.
Hi friends,
I am new to OFA, I want to know how to call oracle OAF page Standard form and style of element must be "link."
If I click on the element, it should put me in oracle Standard form.
No button style of the element must be point "link."
Please help me.
Thank you
Thiru.
Trapani,
It seems that your link triggers the Action, or you capture does not correctly.
Add a debug message in your code and see what is printed.
String eventParam = pageContext.getParameter(EVENT_PARAM); System.out.println("eventParam : "+ eventParam); if("openForm".equalsIgnoreCase(eventParam)) { System.out.println("Inside If""); String destination ="form:SQLAP:PAYABLES_OPERATIONS:STANDARD:AP_APXSUMPS"; pageContext.forwardImmediatelyToForm(destination); }
Also check the settings:
In your first post is the name of the function: AP_APXSUMPS, but the recent told FND_APXSUMPS.
The resp_key was also PAYABLES_OPERATIONS and now PAYABLES_PS_FR
As a test for the link, use the one that works, and then change appropirately.
See you soon
AJ
-
How to call button form oracle concurrent program
Hi all
I'm working on forms of Oracle 10 g and Oracle Applications: 12.1.2
already, I have created a simultaneous program (GRN report) and that with Receipt_number and org_id as parameters and the output format is. PDF. Its working fine.
Whenever customers need the report, they have to give the values of name and then correct setting program simultaneous then refresh, then clicking on the button view exit they see the output.
Now what I want is from the button of form (named as print report) is it possible to call this concurrent program and when the button is clicked, it will ask to the parameter values after giving all the parameter values and clicking on the SUBMIT/go button it must give the same output (.pdf) as simultaneous program.
can someone tell me how to get this.
Thank you
Kind regards
GuruHi guru
You can set up the format of output with the report itself :)
As a system administrator, change the output format of program competing in "pdf" format Then the click of a button will appear automatically the output .pdfKind regards
REDA
-
How to call the asp page ofa page
Hi all
I have a requirement as I have to call the asp page ofa page
using uri of destination I call the asp page, I need to pass the 10 parameters to this ASP page.
here using session variables I'm passing these 10 settings of asp page but in the asp page will not receive values
other than session variables
how its posible.
Thank you
AnthonySrikanth,
In fact I am j2ee world have no idea of the MS world :)! in any case, I just google the session object in ASP, I arrived knew this session in ASP and jsp object are managed in different ways, the two make their own session cookies, so if you move a page jsp in an ASP, the asp session object will have its own cookie and it won't read values of jsp.
OK, the workaround for this road is the string query or URL parameters, you can pass your OAF page parameters in url such as
'http://xxxxxxxxxxxxxxxxx.asp?PARAM1=VALUE1' and retrieve these values in the ASP page.
Mukul-Published by: Mukul Gupta on January 12, 2010 14:09
-
How to end all concurrent programs back-end
Hello
Can someone tell me how to end all concurrent programs running in backendThis post in the EB forum;
In addition, investigate the fnd_concuurent of integrated package
begin for r in (select Request_ID from fnd_Concurrent_Requests where Phase_Code != 'C') loop -- exclude requests that have successfully completed (R = Running P = Pending) fnd_concurrent.cancel_request(r.Request_ID); commit; -- you must perform a commit after each call end loop; end; /
Maybe you are looking for
-
Why my screen doesn't have extremely small text on some Web sites, but only a few.
on only two websites, (the ones I use most) the screen is reduced to a size that I can barely see
-
Update KB973688, updates fail, code 643
Update KB973688, systems update for Microsoft XML core services 4.0 service pack 2 for x 64 bit based. I can not install, I get the error code 643. I am running Windows 7 Enterprise.
-
I use Windows XP and get the error code 0 x 80070424 when you try to use Windows Update.
When I try to access Windows update, I get an error code 0 x 80070424. I've read many threads, but want to make sure that the solution is for Windows XP
-
Can someone give me the windows for Windows XP administrator password... I am trying to execute the option repair from the windows CD...
-
The map SD DCIM folder converted file.
Recently, I tried to move the images from my SD card using my card reader. Vista displays an error message indicating that he had fixed the errors and I could now open the map. When I opened my card, the DCIM folder had been converted into a file a