How to pass a Variable value into an ODI Scenario from ODI Package
I have created an Interface that uses the variable #ENTITY_ID for retrieving entity data from the DWH; now I have generated a Scenario from the interface and placed the Scenario in an ODI Package; am not sure how to pass the #ENTITY_ID variable to the ODI Scenario?
Any help is greately appreciated.
Best Regards
Bee
Hi Sutrtha,
Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
Am I missing something?
Regards
B
Similar Messages
-
How to pass a variable value into a custom planning function via a web
Can some one tell me
How to pass a variable value into a custom planning function via a web template?
What are the different types of Planning function parameters available and what is the difference between them?
Thanks
babuHi Sutrtha,
Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
Am I missing something?
Regards
B -
How to pass session variable value with GO URL to override session value
Hi Gurus,
We have below requirement.Please help us at the earliest.
How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
Please provide step by step solution.No vague answers.
I followed below steps mentioned.
RPD:
****-> Created a session variable called STATUS
-> Create Session Init block called Init_Status with SQL
select 'ACTIVE' from dual;
-> Assigned the session variable STATUS to Init block Init_Status
authenticationschemas.xml:
Added
<RequestVariable source="url" type="informational"
nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
Report
Edit column "Contract Status" and added session variable as
VALUEOF(NQ_SESSION.STATUS)
URL:
http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
Issue:
When I run the URL above with parameter EXPIRED, the report still shows for ACTIVE only. The URL is not making any difference with report.
Report is picking the default value from RPD session variable init query.
could you please let me know if I am missing something.Hi,
Check those links might help you.
Integrating Oracle OBIEE Content using GO URL
How to set session variables using url variables | OBIEE Blog
OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
Thanks,
Satya -
How to pass apex item value into custom xml for chart or guage?
Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
Which was not answered.
Roel - Thanks. Its working - but in a semi quotes in the custom XML
<pointers>
<pointer value= '&P5_RUNNING_TOTAL.'
<label enabled="true">
<position placement_mode="ByPoint" x="50" y="15" />
<format>{%Value}{numDecimals:1}</format>
<background enabled="false" />
</label>
</pointer>
</pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
(Re: AnyChart - set Dial axis intervals dynamically?
Edited by: P.Ranish on Dec 13, 2012 6:23 AMP.Ranish wrote:
Is there any update for this question ???
Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
Roel wrote:
Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX -
How to pass Temp variable value instead of Table name in From clause.
Hi,
I have an requirement to pass the Temperorary variable value instead of Table name in FROM Clause in SQL.
But I am strugglint to pass this variable value.
E.g., a Varchar2(5) := 'aa';
Select * from a;
Here I come to mention a - 'aa'. But the SQL looks for 'a' as Table. But its should look into 'aa' as Table name.
Kindly guide me.
Thanks.SQL> declare
a varchar2 (5) := 'emp';
v varchar2 (100);
cur sys_refcursor;
begin
open cur for 'Select ename from ' || a;
fetch cur into v;
while cur%found
loop
dbms_output.put_line (v);
fetch cur into v;
end loop;
close cur;
end;
JAMES
SCOTT
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
KING
TURNER
ADAMS
FORD
MILLER
PL/SQL procedure successfully completed. -
How to pass the variable value to reports as a parameter
hi
i have facing a problem that i want to pass the value of a variable that i had calculate in a procedure like
SELECT nvl(BASIC_PAY,0) INTO v_basic FROM EMP WHERE EMP_ID=P_EMP_ID;
so i want to send the variable value v_basic as a parameter through form to report...and simlarly other variables values which i have calculate in procedure....
need ur help to solve this problem
thanks in advanceit's the exact posting from your last post. Please don't duplicate the postings, so that we can help you in one thread and not so many different threads
-
How to pass Presentation Variable Value from Main Report to Detail Report
Hello,
I've 2 reports that is attached to each other. In my main report i've several report prompts and i am using i"s prompted" on my detail report to attach them.
But 2 of my report prompts are presentation variables(Names : FIRST, SECOND). Both are in date format. I've a filter in my main report like;
"ASSIGNMENTS_F"."EFFECTIVE_START_DATE" BETWEEN @{FIRST} AND {SECOND}
It works fine when i run the main report. But when i click on the numbers, i see that i can not filter my detail report with the chosen values for 2 presentation variables. It just shows all the dates.
I've tried adding both presentation variables in both reports as columns and adding 'is prompted' filter to them. But did not work either.
I just cant pass the written values for presentation variable prompts to detail report..
Please help :)Hi,
What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
Hope this helps.
Regards
MuRam -
How to pass characterstic variable value using button in sap wad
Hello Gurus,
I have one requirement in WAD 7.0.i have made one user input characterstic variable in Bex i.e on 0calmonth.Now i have passed the same variable in WAD drop down button.Now suppose based on the logic on that variable which i have made in bex is like when i select 04.2010 in drop down button it dispalys data for next three months.
Now my user wants same thing to be displayed with the help of button as well. I need to make two buttons one for previous month and other for next month.I made two button using button group and passed that variable also but data is not changing.
How to get the desired output using buttons.
I want two buttons like this <<(previous) >>(next) and i want to pass that same variable which i passed in drop down button and when i press previous button it should display last month data and when i press next it should display next month data.
How to achieve this in WAD with the help of buttons.Give me your useful suggestions.
Hope my requirement is clear.
Thanks in advance
Regards,
ALNeed your valuable suggestions on this...
-
How to pass the parameter values to the stored procedure from java code?
I have a stored procedure written in sqlplus as below:
create procedure spInsertCategory (propertyid number, category varchar2, create_user varchar2, create_date date) AS BEGIN Insert into property (propertyid, category,create_user,create_date) values (propertyid , category, create_user, create_date); END spInsertCategory;
I am trying to insert a new row into the database using the stored procedure.
I have called the above procedure in my java code as below:
CallableStatement sp = null;
sp = conn.prepareCall("{call spInsertCategory(?, ?, ?, ?)}");
How should I pass the values [propertyid, category, create_user, create_date) from java to the stored procedure?[i.e., parameters]
Kindly guide me as I am new to java..Java-Queries wrote:
I have a stored procedure written in sqlplus as below:FYI. sqlplus is a tool from Oracle that provides a user interface to the database. Although it has its own syntax what you posted is actually PL/SQL. -
How to pass variable value into module pool scren from a report program
Hi,
I have created a report program with selection screen parameters. when the inputs are filled and executed it generates the purchase evaluation sequence number. i have created a screen and passed that number to display on it with print option and back option buttons as required. but variable alone is not getting passed from the program to module pool screen. buttons are working fine. value alone is not coming. can anyone please help me.
regards,
sudha.Hi ,
you need to declare that variable param at Global.
sample code...
report xyz....
data: g_no type ekko-ebeln.
start-of-selection...
g_no = '12345'.
call screen 0100. -
How to Capture the Variables Value into the
Using JSLT part of the Jdeveloper/Jheadstart, ADF/Struts Framework.
I'm capturing the value fine using the following,
<c:set var="CvInformationFirstName" scope="request" value="${bindings.CvInformationFirstName.attributeValue}"/>I can even show the value without any problem,
<%-- Show the saved values --%>
<c:out value='${requestScope.CvInformationFirstName}' />Right here, we I try assigning the value of the firstname to a field, I can't accomplish this since I just don't know how to do it,
<html:text name="CvInformationBean" property="CvInformationFirstName" size="10" maxlength="10"/>
Any help will be greatly appreciate it.
Oracle GroupI am not sure what it is you are trying to accomplish. What do you mean with "assigning"? It is a business rule where the FirstName and LastName fields of the master need to be equal to the FirstName and LastName of the details, or is it the other way around? Anyway, it seems you are trying to get this business rule implemented by playing around with <html:text> elements in the JSP. You can't do it that way. Those <html:text> elemens are "two way". When the page is shown they determine which values get shown. Then, when the user enters new values and submits, they determine where those values are stored. If I understand what you are trying to accomplish correctly, you are trying to show values from one place, but submit them to another place. That can't be done strictly at the JSP level (not unless you use JavaScript anyway).
But then again, I may be misinterpreting what you are trying to do. Could you provide some more details about what the desired functionality is?
Finally, may I remark that this is the JHeadstart Forum, where you can communicate with other JHeadstart users all over the world. Also you may have noticed that the JHeadstart Team monitors this forum, and as such it is used as a means of providing some support for JHeadstart users that run into bugs or problems with the JHeadstart Tool (JHeadstart is a Consulting product that does not come with official "Metalink" support). But your problem is obviously not a bug in JHeadstart, you are just wondering how to implement some additional functionality that our Generator does not generate. So I hope you understand that if you get any assistance on this forum with your problem, either from the JHeadstart Team or from other JHeadstart users, it is not because you have a right to it, but because we're a bunch of friendly people out here that like to help out where we can. Demanding a reply like you did with your last two posts (an hour apart!) is really not done.
Kind regards,
Peter Ebell
JHeadstart Team -
How to pass pageFlowScope variable value as bind variable for VO
Hi,
I have one fixed lov (not based on datasource), if i select any value in that lov i want to pass this value to a pageFlowScope variable.
After this i want to use this value as bind variable for VO. whenever the vo executes thereafter this bind variable should filter that vo results.
My jdev version: 11.1.0.0
Thanks in advance,
SANsan-717,
can you elaborate on the use case instead of the implementation you don't get done? I understand you have data displayed in a tree: so lets assume the tree structure is Locations, Departments and Employees according to the Oracle HR sample schema.
1. What is the LOV supposed to do ?
2. Where is the LOV located ?
3. What values does the LOV show ?
4. Is the LOV a select choice component or a real LOV (with search dialog)
5. Where is the bind variable used ?
To me it sounds like you want to filter the tree data based on the select choice value. However, you wont do this by passing the bind parameter to all View Objects involved as they may not have the attribute in their query. So your use case is important to answer the question
Frank -
How to pass JavaScript variable value throuh netui form ??
Hi All,
I have reqmnt,where in I need to pass the value from JavaScript function through
Form submission.
I could able to pass this through simple HTML form using SIMPLE HTML tags. How
can i do the same thing using NETUI tag (NETUI form)??
Can somebody throw some input on this??
TIA,
RAM.Excellent - Thats what I was also looking.
RAM.
Thomas Cook <[email protected]> wrote:
>
Here's an example of what I think you're trying to do:
<netui:html>
<body>
<netui:form action="submitIt" tagId="myForm">
<netui:button value="Submit It" onClick="return setFormValue()"/>
<script>
function setFormValue()
var form = document.getElementById( getNetuiTagName( "myForm",
this ) );
var newVal = document.createElement( "input" );
newVal.type = "hidden";
newVal.name = "foo";
newVal.value = "bar";
form.appendChild( newVal );
return true;
</script>
</netui:form>
</body>
</netui:html>
Thomas
RAMt wrote:
Hi All,
I have reqmnt,where in I need to pass the value from JavaScript functionthrough
Form submission.
I could able to pass this through simple HTML form using SIMPLE HTMLtags. How
can i do the same thing using NETUI tag (NETUI form)??
Can somebody throw some input on this??
TIA,
RAM.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
Here's an example of what I think you're trying to do:<br>
<br>
<tt><nobr><netui:html></nobr><br>
<nobr> <body></nobr><br>
<nobr> <netui:form action="submitIt" tagId="myForm"></nobr><br>
<nobr> <netui:button value="Submit It" onClick="return
setFormValue()"/></nobr><br>
<nobr> <script></nobr><br>
<nobr> function setFormValue()</nobr><br>
<nobr> {</nobr><br>
<nobr> var form
= document.getElementById( getNetuiTagName(
"myForm", this ) );</nobr><br>
<nobr> var newVal
= document.createElement( "input" );</nobr><br>
<nobr> newVal.type
= "hidden";</nobr><br>
<nobr> newVal.name
= "foo";</nobr><br>
<nobr> newVal.value
= "bar";</nobr><br>
<nobr> form.appendChild(
newVal );</nobr><br>
<nobr> return true;</nobr><br>
<nobr> }</nobr><br>
<nobr> </script></nobr><br>
<nobr> </netui:form></nobr><br>
<nobr> </body></nobr><br>
<nobr></netui:html></nobr></tt><br>
<br>
Thomas<br>
<br>
RAMt wrote:
<blockquote cite="[email protected]" type="cite">
<pre wrap="">Hi All,
I have reqmnt,where in I need to pass the value from JavaScript function
through
Form submission.
I could able to pass this through simple HTML form using SIMPLE HTML
tags. How
can i do the same thing using NETUI tag (NETUI form)??
Can somebody throw some input on this??
TIA,
RAM.
</pre>
</blockquote>
</body>
</html> -
Passing a variable value into a parameter
Here's a general example (not all of the code):
_global.xPosition = function(whichMc:MovieClip,
xStart:Number, xEnd:Number):Void {
new Tween (whichMc, "_x", Strong.easeOut, xStart, xEnd, 1,
true);
function loadFunction(success:Boolean):Void {
if (success) {
var image01ClosedPosition:Number =
this.firstChild.childNodes[0].attributes.imageChangeX;
hit01.onRollOver = function() {
xPosition(img01,image01ClosedPosition,0);
In the XML file, the value I'm pulling in is -29.
If I do a trace of imag01ClosedPosition, I get the correct
value of -29.
If I change the call to the function to read
xPosition(img01,-29,0); this also works
I just cant seem to get it to work the way I have it above.
(I know I left a lot out, but just wanted to give an idea of
the part that's not working.)Thanks, kglad. I was wondering about that. I thought that
putting a variable data type of :Number would have made it a
number, but I never got an error in the debugger so I thought it
was ok. I traced the data type and figured out it was actually a
string and changed the line like follows which turned the string to
an integer and made it work:
var image01ClosedPosition:Number =
parseInt(RootNode1.attributes.imageChangeX); -
How to pass a variable value to an inner class?
Hi there,
Please have a look of the code below. It's a bit long, but my concern is I did have to declare the int "i" variable as static because it is used by an inner class (if "i" is not declare as static, the code cannot be compiled).
Is there a more "clean" way to do the way work without declaring the "i" int as static? (because the scope of this variable is not the whole program).
Thanks for your help.
Denis
import java.util.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class Tools{
static int i;
static void longTask(){
for (Tools.i=0; Tools.i<=100; Tools.i++) {
SwingUtilities.invokeLater( new Runnable(){
public void run(){
myApp.jpb.setValue(Tools.i);//--- static variable i
for (int j=0; j<200; j++)
System.out.println(Tools.i+" - "+j);
class myListener implements ActionListener{
public void actionPerformed(ActionEvent e){
Thread t = new Thread() {
public void run(){
Tools.longTask();
t.start();
public class myApp {
static JProgressBar jpb;
public static void main(String[] args) {
JFrame frame = new JFrame();
JPanel panel = new JPanel(new FlowLayout());
jpb = new JProgressBar();
jpb.setValue(0);
jpb.setStringPainted(true);
JButton button = new JButton("go");
button.addActionListener(new myListener());
panel.add(jpb);
panel.add(button);
frame.getContentPane().add( panel, BorderLayout.CENTER);
frame.setVisible(true);
frame.pack();
}Without compiling it, writing it in notepad, it would be something like this. You should also wonder if this longTask has to be static by the way. But I think this demonstrates the inner class stuff. You can also look in the tutorial on this site: http://java.sun.com/docs/books/tutorial/essential/threads/timer.html
class Tools{
static int i;
static void longTask(){
for (Tools.i=0; Tools.i<=100; Tools.i++) {
SwingUtilities.invokeLater( new Innerclass(i));
for (int j=0; j<200; j++) {
System.out.println(Tools.i+" - "+j);
Class Innerclass implements Runnable(){
int i;
public Innerclass(int i) {
this.i = i;
public void run(){
myApp.jpb.setValue(Tools.i);//--- static variable i
}
Maybe you are looking for
-
Extracting Pages and Error Message
My Adobe works great. I couldn't ask for a better product. However I have received a PDF file from a customer and I need to extract pages and insert them into another PDF. When I go to extract the pages I get an error message "Adobe Acrobat 9.0 has e
-
How to sync external audio to clips and KEEP them linked?
I have never been able to do this. Very simple... 1. Shoot some video with a DSLR and... 2. Record audio with external recorder, such as an H4N. 3. Sync then in Premiere Pro (I have CS5) 4. Keep those files associated with each other so that you do n
-
Hi Experts, good morning... How to BI Content working, how to install BI content in my requirement. I want to install Ex:- Sales detail i want to pull all detail from BI content to BI system...... Ex:- (Sales cube) Infor area, Infoobject, Infocbe, ds
-
Changing LDAP "Search Attribute"
Hello: I am authenticating against LDAP as such: Hashtable authEnv = new Hashtable(); String dn = "CN=" + userAuth.getFirstName() + " " + userAuth.getLastName() + ",OU=zzzzzzzz,DC=yyyyy,DC=xxx"; authEnv.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.j
-
IMac randomly shuts down after Leopard Upgrade
My wife's iMac randomly shuts down since we installed Leopard. It wasn't doing this before the Leopard upgrade. It takes about 5 mins. of inactivity after the machine enters sleep mode, then it shuts down. We've searched the Discussions but have yet