Passing Parameters from One Screen to Another Screen
Hi All,
I need to Pass Parameters from one Module Pool Screen to Another Screen.
I have two Parameters in First screen. I don't want to use <b>Export and Import</b>
The first screen record should sit in the Second Screen as it is.
Please suggest me.
Thanks and Regards,
Prabhakar Dharmala
An Idea,
Create a function group, in that define global variables. Then create two function module. Pass variable from one function module and get in the another one.
Hope this will help you to solve. If you need further help I will create and sent you a test code.
Darshan.
<i><b>Pl. Reward points to the helpful answer, it motivates us to answer more </b></i>
Similar Messages
-
Getting error , while passing parameters from one page to another page
Hello friends,
i am getting error, while passing parameters from one page to another page, below code i wrote.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
ArrayList arl=new ArrayList();
EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
ERecordImpl ERecordObj=new ERecordImpl();
HashMap hMap = new HashMap();
hMap.put("1",ERecordObj.getTransactionName());
hMap.put("2",ERecordObj.getTransactionKey());
hMap.put("3",ERecordObj.getDeferredMode());
hMap.put("4",ERecordObj.getUserKeyLabel());
hMap.put("5",ERecordObj.getUserKeyValue());
hMap.put("6",ERecordObj.getTransactionAuditId());
hMap.put("7",ERecordObj.getRequester());
hMap.put("8",ERecordObj.getSourceApplication());
hMap.put("9",ERecordObj.getPostOpAPI());
hMap.put("10",ERecordObj.getPayload());
// hMap.put(EresConstants.ERES_PROCESS_ID,
if(pageContext.getParameter("item1")!=null)
pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
hMap,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES
Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
Thanks
krishna.Hi,
You have imported the wrong class for HashMap.
Import
com.sun.java.util.collections.HashMap; instead of java.util.HashMap
Thanks,
Gaurav -
Passing parameters from one form to another
Hi,
I'm trying to pass parameters from 1 form to another. I would be able to call the form, but the parameters are not passed to the calling form. I do not know what's the problem. Basically, the 2nd form shows up with blank values in all the fields. Below is my code. Anybody expert in this, pl. help.
By the way my 1st form is based on PROCEDURE.
declare
s_requestor number(10);
s_customer_impact varchar2(4000);
s_creation_date date;
l_url varchar2(4000);
blk varchar2(10) := 'DEFAULT';
begin
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_P_REQUESTOR',
p_value => 88888);
s_requestor := p_session.get_value_as_number
(p_block_name => blk,
p_attribute_name => 'A_P_REQUESTOR');
s_customer_impact := p_session.get_value_as_varchar2
(p_block_name => blk,
p_attribute_name => 'A_P_CUSTOMER_IMPACT');
s_creation_date := p_session.get_value_as_date
(p_block_name => blk,
p_attribute_name => 'A_P_CREATION_DATE');
l_url:=('/pls/portal/PORTAL.wwa_app_module.link?
p_arg_names=_moduleid&p_arg_values=1794837934&
p_arg_names=_show_header&p_arg_values=YES&
p_arg_names=REQUESTOR&p_arg_values='||s_requestor||'&
p_arg_names=CREATION_DATE&p_arg_values='||s_creation_date||'&
p_arg_names=CUSTOMER_IMPACT&p_arg_values='||s_customer_impact);
PORTAL.wwa_app_module.set_target(l_url);
end;the way to call one form from another and pass values for parameters from the procedure is like this:
PORTAL.wwa_app_module.link (
p_arg_names => PORTAL.wwv_standard_util.string_to_table2('_moduleid:_show_header:REQUESTOR:CREATION_DATE'),
p_arg_values => PORTAL.wwv_standard_util.string_to_table2('1191314879:YES:'||s_requestor||':'||s_creation_date));
and so on.
Hope it works for you -
Need help in passing parameters from one page to another!
Hi,
I need to pass values that are retrieved from database from one page to another.
But even when I use pageContext.putParameter(), I am not able to view the value in the 2nd page.
Any pointers on how to pass parameters would be helpful..
Thanks in advance!The requirement is on the main page there are 6 fields out of which 4 are read-only and are taken from the database and 1 is taken from database, but can be edited, and the 6th one is completly editable for the user. I am trying to pass these parameters using setForwardURL, and on the second page (Preview page, where all these fields are read-only), I am able to retrieve these parameters using pageContext.getParameters() and am able to display it as an exception but I am not able to set these into the fields using pageContext.putParameters().
-
Passing parameters from one channel to another
Hi,
I was wondering if it is possible to pass parameters or values from one channel to another, for ex. through JSP, etc.
Thanks, Pablotry these topics
http://swforum.sun.com/jive/thread.jspa?forumID=80&threadID=19222
http://swforum.sun.com/jive/thread.jspa?forumID=80&threadID=23051
and maybe
http://swforum.sun.com/jive/thread.jspa?forumID=80&threadID=19222
I use javaBeans or SSOToken to exchange parameters between portlets. -
ADF: Passing parameters from one page to another using setPropertyListener
Hi,
I'm trying to find a simple way to pass a parameter from one page to another.
On the first page I have a table, the second page is a history page, showing the change history of rows from the table on the first page.
In the table on the first page there's a unique column (an order number), the value of which is never changed for a given row.
What I would like is to be able to pass the order number from the currently selected row of the first page on to the history page, making the history page show only the history for the given order number.
Using the task-flow for the history page, I've defined an input parameter (an order number), defined a criteria and so on. I've tested the functionality of this in the Application Module, and it seems to work.
My problem is passing the order number from the first page to the second.
I've created a Managed Bean, with a variable for the current order number, including accessors. On the table on the first page, I've created a contextMenu, and added an Item called "Show history" with an action that navigated from the first to the second page (a control flow I've defined in adfc-config). I've included a setPropertyListener in the "Show history" item. I've set the "From" property of the setPropertyListener to "#{row.ordernumber.attributeValue}" and the "To" property to point at the order variable in the Managed Bean. Finally, I created a new page for the history, dragged the history task flow onto this page as a region, using the Managed Bean order variable as input parameter.
The result is this: When I bring up the context menu from a row in the table on the first page and select "Show history", I get this error: "The class 'java.lang.String' does not have the property 'attributeValue'."
That's a bit puzzling to me, seeing as I used the Expression Builder to fill out the "From" property. I've tried using "inputValue" instead of "attributeValue", but that simply changes the error message to: "The class 'java.lang.String' does not have the property 'inputValue'."
What am I doing wrong?
Regards,
AndreasHi Timo and Puthanampatti,
I actually tried something similar to what you have suggested before starting this thread, but still got an error. What I hadn't spent a lot of time investigating initially was that it gave a DIFFERENT error. But after reading Timo's suggestion, I went back to this other error and found out that it was connected to my Managed Bean. For some reason, I had made the mistake of giving the bean the same name (in adfc-config) as the actual java class. And this leads to a circular reference error (that I would only get to see when I didn't get the java.lang.String error first).
Having fixed this, I can successfully pass my parameter from one page to another (with the "From" property of the setPropertyListener set to "#{row.ordernumber}").
Thanks for your time,
Andreas -
Passing parameters From one dashboard to another dashboard
Dear Experts,
I am new to sap bo Dashboard,i got requirement where client want see department wise data ,for that we are using query prompt in dashboard and the
Prompt consist of Departments like(civil,elec,It,Fire etc) based on the selecting the department in the prompt the respective data is coming in the charts
and there is link which goes to second level dashboard.If i select IT Department in Maindashboard and click on the link it shoud open only IT Dashboard
in second level dashboard.In level 2 dashboard we using again Department Prompt .
2) Another issue with query Prompt in dashboard i.e After selecting department in query Prompt i have click outside to close the selection.
Kindly Request your suggestions.
I am Attaching Documents for your understanding
Thanks & Regards,
DhanrajHi Martina
I know about EPCF. But to be precise here, there is no iView and page. Let me tell you the exact scenario:
This parameter passing has to be done from the Portal Logon page. If you have seen the Portal logon page, there is a form in that page. which takes you to the portal launcher. Now if i want to change the action and call my own component/JSP. and in that JSP/compoenent i want to access the parameters of the logon form.
Can you tell me what are the exact methods in the Portal Runtime famewrok to get the form parameters (i have seen that using the getParameter() does not works) I dont want anything in Javascript.
Regards
Gaurav -
Passing parameters from one callablestatement to another
I need to run multiple stored procedures. The first one generates a ident key and returns it as an output parameter. The remaining procs need to take the ident key from proc 1 and use it as an input parameter. When I do this I get a SQLException for an RI violation saying the row (inserted by the first call) containing the primary key (ident field) does not exist. I have had our DBA look at this and he says it should work fine. I can run the 2 stored procs, passing the output parameter from the first to the second in query analyzer and it works just fine. Here is my Java code:
try{
connection.setAutoCommit(false);
callStmt = connection.prepareCall("{call insert_proc_1 (?, ?)}");
callStmt.setString(1, "xxxx");
callStmt.registerOutParameter(2, java.sql.Types.INTEGER);
callStmt.execute();
long primaryKey = callStmt.getLong(2);
callStmt.close();
callStmt2 = connection.prepareCall("{call insert_proc_2 (?, yyyy, xxxx, ?)}");
callStmt2.setLong(1, primaryKey);
callStmt2.registerOutParameter(2, java.sql.Types.INTEGER);
callStmt2.execute();
long secondKey = callStmt2.getLong(2);
callStmt2.close();
connection.commit();
connection.close();
return secondKey;
} catch(SQLException e){
connection.rollback();
connection.close();
return -1;
What am I doing wrong?
Thanks,
JimOh never mind. I switched to another JDBC driver and the code works just fine.
-
Passing parameters from one form to another in swings
hi
Could you please let me know is there any provision to pass the values between two forms in Swing..
For Example: I have two forms : 1 Login Page and 2. Main Form.
After Login Confirmation i want the User name to be displayed in the second form.
Thanks in advance
SrishaIt seems that that is a typical servlet task, not Java Swing.
-
Passing paremeters from one page to another
Hi,
I want to pass parameters from one page to another page. On the first page, I
have a form portlet based on scott.dept and one the second page I have another
form portlet based on scott.emp. Now I intend to pass deptno as parameter to
get the detailed info on the other page.
Any help would be highly appreciated.
ThanksSearching in these forums will answer most of your questions
please see :-
Select permissions for different schemas
Re: PL/SQL Tuning Issues
Where I can get Dealership for sale of Oracle E-Business Suite 11i -
Passing parameters from one OAF page to another OAF PAge
Hello
I was wondering, if there is a possibility of passing request parameters from one page to another page in EBS ( E-Business Suite).
I tried using the following
a) PageContext.putParamater ( "MyParamater", "ParamaterValue")
b) I addded the above line of code by extending an page controller of the OAF page and personalized the page
When I am trying to retrieve the value by getParameter() in the next page. I am also unable to get access to the parameter in the next page.
I am trying the above code while trying to create expenses in I-Expense module...I would like to pass the ReportHeaderId from one page to another page for customization purposes. I Am not able to get ReportHeaderId in the ReviewPAge...There are no Business Objects in the Review page...hence trying the putParameter idea.
Any help will be highly appreciated
Thank YouWhat is the source of the parameter? If the source is a VO, you can use the method I have specified in my previous post regarding updating the button properties. For example, you can include the param in the destination URL of the button as such:
OA.jsp?page=/xyz/oracle/apps/.../myPG&retainAM=Y&addBreadCrumb=Y&myParam={@ParamSource}
where ParamSource is an attribute from a VO.
You can get this value via oapagecontext.getParameter()
Can you please give details as to the source of your params (param-1, param-2, etc.). This will help in providing you suggestions.
Regards,
LC -
How can I pass parameters from one process flow to another process flow?
How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
Thanks in advance,
KishanHi Kishan,
Please post this question to the Warehouse Builder forum:
Warehouse Builder
Thanks, Mark -
Hi All,
I am new to TestStand. Still in the process of learning it.
What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
Thanks in advance,
LaVIEWan
Solved!
Go to Solution.Hi,
Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
Regards
Ray Farmer -
How can I pass arguments from one MIDlet to another MIDlet
Hi everybody !
Can anybody help me in knowing that how can I pass the parameters from one
MIDlets to another one in same application.
I am devloping a application in which I am using more than two MIDlet and I
want to transfer Parameter from one MIDlet to another one.
I just explain what I have done....
I made a MIDlet "A" and "B" in the same project using NetBeans IDE.
In MIDlet "A" I create the Object of MIDlet "B" so that the constructor of
MIDlet "B" is called and parameter can be transferred.
But when I run the program it shows me two MIDlet on the screen, that I
doesn't need.
Suggestion are most welcome....
Thanks in advance
Regards
BhagwatIf you create two MIDlet in a midlet suite, it will display as you mentioned means you can't change the display style.
-
Passing Tables from one method to another method.
Hi All,
I'm creating a Web-Dynpro program in which I wouild like to passing an internal table from one method to another method within the same View.
Is this possible? And if so, how can I set it up.
Thank you.
PaulHi Paul ,
I hope u wud be clear with passing table from one method to another now .U may also wish to see this WIKI
Link: [Passing table parameters|https://wiki.sdn.sap.com/wiki/display/WDABAP/Passingtableparameterfromoneviewtoanotherview+locally]
I hope it wud help u .
regards,
amit
Maybe you are looking for
-
Adobe Acrobat Pro 9 and Windows Vista
The last version of Adobe I used to use is version 5. Of course that is outdated, and it would appear that the files I created with that version are not compatible with the Adobe Reader 9. So I downloaded the trial version of Adobe Acrobat Pro 9 and
-
Ok..so need some help here. I just downloaded and after a bit of buggering around got it all installed properly. I go to start it up from the shortcut, get a Error: Do you want to send an error report... So I double click Photoshop.exe..again it doe
-
I close firefox and when I try to open it later, a pop-up says it is still running and I have to restart my pc? tried closing Firefox down but Task manager says it is NOT running even though the window that pops up says it is still running??
-
Alternative for Function module 'IDOC_CONFIGURE_0001'
Hi, Can anyone tell me the alternative for Function module <b>'IDOC_CONFIGURE_0001'</b>. This is obsolute in ECC 5.0 Thanks Kiran
-
I've rentented a movie and would like to watch it. Consistently I receive the message "an error occured loading this contnt ...try again later". I've tried over a long period several times but always receive the same message. Also, I tried to re-purc