How can i pass the parameters at runtime
Dear all
in process request
i am getting org_id using page.context.get orgid()
in runtime how can i pass this id to vo's and lov's
Regards
Sreekanth
Hi Srikanth,
In Process Request:--
String orgId= page.context.get orgid();
System.out.println("Org Id is "+orgId);
Serializable[] params = {orgId};
am.invokeMethod("executeVO", params);
In AM:--
Public void executeVO(String OrgId)
XXVOImpl lvo = getXXVO1();
if (lvo != null)
lvo.setWhereClause("ORG_ID = :1");
lvo.setWhereClauseParams(null);
lvo.setWhereClauseParam(0, OrgId);
lvo.executeQuery();
System.out.println("Query Executed");
Thanks
--Anil
Similar Messages
-
How can i pass the Input value to the sql file in the korn shell ??
Hi,
How can i pass the Input value to the sql file in the korn shell ??
I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
can any one help me out.
RajaCan you please more elaberate., perhaps you should more elaberate.
sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense. -
How can I pass the photos from one iphone to another?
how can I pass the photos from one iphone to another?
Use the Beaming feature. See the info at the ? In iPhoto for iOS.
-
How can we pass the select-option value to modulepool program?
hi,
how can we pass the select-option value to modulepool program ?
Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
How i get select-option values to PAI of call screen for getting the data from database table to my internal table?Oh I thought that you have selection-screen and again you are working on dialog programming.
if you want to use select-option directly in module pool then it is not possible.
but you can do other way.
create two varaiables
data : v_kun_low like kna1-kunnr,
v_kun_high like kna1-kunnr.
use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
use can enter only low value and high value.
when you come to program point of view
declare one range
ranges r_kunnr for kna1-kunnr.
do the coding like
r_kunnr-low = v_kun_low.
r_kunnr-high = v_kun_high.
r_kunnr-options = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
now you can use r_kunnr in select query ,it will work like select-option.
other than this there is no option.
Thanks
Seshu -
How can I pass the value to another frame?
Hi all,
The following is part of my coding of a frame. Once i click on the jButton2, the selected value will be stored into a variable named NAME and the value will be displayed by a label in same frame. At the same time, a new frame named TESTING3 will be set to visible.
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
// TODO add your handling code here:
String name = (String)jList1.getSelectedValue();
jLabel1.setText(name); //display the value in a label in same frame
new testing3().setVisible(true); //a new frame set to visible
} Question: How can I pass the value to TESTING3 frame and display it on that frame?
Thanks,
ning.just make an archive that save that variable and them get them from de clase were you save it
public class sav {
String n;
public sav {
n="";
public void addn(String x){
n=x;
public String shown(){
return n;
and them save it from the frame
sav sun = new sav();
sav.addn(f);
them call it from the other frame
sav sin = new sav();
String s = sin.shown();
label.setText(s);
and i think thats you want to do if its not please explain me better
bye -
How can i pass the value one from to another form?
hi all
how can i pass the value one from to another form with out use it when ever i want to needed this value that ican useit?
like i have two fields U_test1 and U_test2 table name @AUSR
that i have four form A! , A2,A3,A4 please tell me in details....?Hi,
U can assign the values to some variables and access then in ur required forms.
Vasu Natari. -
How can we pass the entire rows of a table to a web service in a VC model ?
Hi,
On the click of the submit button, I have to pass the rows of two tables into an enterprise service. This service also takes other fields of a form as an input.
How can we pass the entire rows of a table into a service ?
Regards,
NitinHi Nitin,
It seems that you have two or three different structures to pass data using your webservice. In your main question, two tables, you can join both in one table and from there call the webservice. In order to pass the entire table you need:
1. Draw a line between your joinned table and your service,
2. Map the fields,
3. Create a 'SUBMIT' in your table tool bar. Right click on your table and choose 'Create Toobar', '+', name and choose 'Submit' as your event.
4. Go to Configure Element (Table View) 'Multiple' at Selection Mode.
Reward points if helps you to solve your question.
Regards,
Gilson Teixeira -
How can we pass the master report value in to detail report
Hi All,
My question is how can I pass the master report value in to detail (Child) report filter?
I mean I have one master report if I click on employee name then I have to pass the employee id in to details report filter. Then detail report will display data for that particular employee.
How can I achieve this one in OBIEE?
Please help me to resolve this issue. Thanks in advance for your time and support.In that case, you should look at using Go Url. In your column formula for the employee name, create a hyperlink to the detail report and pass the employee id.
Take a look at this post: Re: Dyanmic display of the Image Link URL
Thanks! -
How can i pass the name of the file polled by the file adapter to next step
Hi XI guru's ,
How can i pass the name of the file polled by the file adapter to next step in a BPM..?
regards,Use Adapter-Specific Message Attributes and map that value in udf to the BPM message.
Also see this
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
Regards,
Prateek -
How can i pass the parameter for strored procedure from java
dear all,
I am very new for stored procedure
1. I want to write the strored procedure for insert.
2. How can i pass the parameter for that procedure from java.
if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from javaHi Ram,
To call the callable statement use the below sample.
stmt = conn.prepareCall("{call <procedure name>(?,?)}");
stmt.setString(1,value);//Input parameter
stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
stmt.execute();
seq = (int)stmt.getLong(2);//Getting the result from the procedure. -
How can i pass the segments and fields to the ORDERS05 IDOC
Hi All,
I want to use ORDERS05 Idoc type for creating sales order. How can I pass the order type, sales org., distr. channel, division, sold-to-party, material and quantity to the Idoc?
please help me out in this.
thanks in advance
jasmineHi,
Goto WE19 TC and there select your IDOC and there u can pass the data.
Regards,
Phani -
How can i pass the PROPERTY_FALSE as string
Hi,
How can i pass the PROPERTY_FALSE & PROPERTY_TRUE as string to
Set_Item_Property('MY_BLOCK.MY_ITEM',ENABLED,PROPERTY_FALSE);
my requirement is to write a procedure like enable_fields(P_PROERTY_VALUE ..) that enable or disable many items based on the value that i pass.
Set_Item_Property('MY_BLOCK.MY_ITEM',ENABLED,P_PROERTY_VALUE );
Thanks in advance.Infact , property_false and property_true are not strings, They are constants with values 5 and 4 respectively.
So where ever you want to have property_false, pass 5
and property_true , pass 4
But usually we dont follow this method , as the value of the constants may vary from version to version.
So in your procedure say, pass 1 for enable and 2 for disable
procedure (................, p_property number) is
m_set_enable number ;
Begin
If p_property = 1 then
m_Set_enable := property_true;
else
m_Set_enable := property_false;
end if;
set_item_property('item1',enabled,m_set_enable);
End;Edited by: Dora on Dec 29, 2009 2:36 PM -
How can i pass the music from my ipod touch to my mac
how can i pass the music from my ipod touch to my mac
If the music on the iPod was purchased through iTunes you can try Transfer Purchases.
Connect the iPod to the Mac and launch iTunes. Right click on the iPod name on the left side of the iTunes window under the devices heading and select Transfer Purchases. That should transfer the music into the iTunes library on the Mac.
iTunes Store: Transferring Purchases -
How can i pass token parameters
Dear all
i have wrote this code for side tab bar
OAStaticStyledTextBean bulletTextOne =
(OAStaticStyledTextBean)createWebBean(pageContext, STATIC_STYLED_TEXT_BEAN, null, "textOne");
bulletTextOne.setText(pageContext, yahooText);
bulletTextOne.setCSSClass("OraLinkText");
bulletTextOne.setDestination(yahooUrl);
bulletList.addIndexedChild(bulletTextOne);
String x="OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationsearchPG";
OAStaticStyledTextBean bulletTextOne =
(OAStaticStyledTextBean)createWebBean(pageContext, STATIC_STYLED_TEXT_BEAN, null, "textOne");
bulletTextOne.setText(pageContext, yahooText);
bulletTextOne.setCSSClass("OraLinkText");
//bulletTextOne.setDestination(yahooUrl);
bulletTextOne.setDestination(x);
bulletList.addIndexedChild(bulletTextOne);
Here i am navigating from one page to another page when i click on link
her at that same time how can i pass token parameter to this link
like ${oa.xxcrmCostsheetVO1.OpcsOpportunityid}
Regards
SreekanthHi,
First grab the value of OpcsOpportunityid from View Object and store it in variable
say
String id = (String)row.getAttribute("OpcsOpportunityid").toString();
You can pass parameters like
String x="OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationsearchPG¶m1="+id;
and then set the destination of link
bulletTextOne.setDestination(x);
Thanks,
Gaurav -
How can I pass the web template name dynamically to a container
Hi Experts ,
I have a container web item in 7.0
I would like to pass the name of the web template to be displayed in that web item dynamically .
how can I achieve the same .
How can i change the visibility settings of a container using a javascript .
Thanks in advance for your help .
Regards
NikhilHi Nikhil,
When you say that you want to display the name of the template for the container item, I think you are talking about the tray caption for the item - is that correct? You can use a text item to access the web template name, but in the caption of the container item, you cannot specify other web items.
What you can do it to use a group item in the template and embed your container layout in it. In the group item, you have an option of specifying a caption using another web item where you can reference this text item.
Maybe you are looking for
-
Operating concern for two company code with different currency
Hi, We are merging two company code into one SAP server. We decide to use on chart of account, and to use one operating concern. For company code A: the currency is CNY, for company code B: the currency is TWD. The operating concern currency is:CNY.
-
How do I open my In Design Application?
I am unable to open my InDesign App. It is part of the Adobe Suite I purchased CS5.
-
Cache.cluster.multicast.ip and Installing Oracle Identity Analytics
After following the configuration steps outlined below, and deploying the war to Glassfish, I get an error starting RBACX that I think must be related to the cache.cluster.multicast.ip property settings below (error log follows the configuration step
-
Suggested contacts while composing email
Is there a way to hide or turn off the suggested contacts when you compose an email? I do not like that you can accidentally add a contact, this can create a problem.
-
Files on one of my icloud email mailboxes won't open. No files in the mailbox will open
Files in one of my icloud mailboxes won't open. No files in this mailbox open, but other icloud mailboxes do. Any ideas?