Dynamically change infile value in controlfile
Hi,
I am loading some data from multiple files from a Windows Client using sql*loader.
Is there any way i can dynamically pass the csv file name to the infile parameter in the control file, in windows client.
what scripting is required ?
Any help with Windows scripting would be greatly appreciated
Thanks
sunil
Hi .. Here is the solution ...
Hi &V_NAME&
Thanks
XXXXXXXX
U need to get the value of
V_NAME
from the SF.
If u have the value of the variable in an internal table, then
LOOP AT ITAB INTO WA.
V_NAME = WA-NAME.
ENDLOOP.
I think this will be useful.
Suhas
Message was edited by:
Suhas Saha
Similar Messages
-
Dynamicly change SelectOneRadio value in java script function -- Please hel
Hello, I need to change SelectOneRadio value within a javascript function. But it doesn't seem to work for me. Can someone tall me what I did wrong or how to get this?
Thanks a lot!
I have :
<h:panelGrid Columns="3">
<h:selectOneRadio id="myRadio", value="#{myBean.radioOption}" />
<f:selectItems value="#{myBean.radioOptionList}" />
</h:selectOneRadio>
</h:panelGrid>
<script >
function needToChangeRadioValue(choice){
if ( choice == something ) {
document.getElementById("myForm:myRadio").value="1"; //doesn't really work
document.getElementById("myForm:myRadio").immediate="true";
} else if ( choice == somethingelse ) {
document.getElementById("myForm:myRadio").value="2"; //doesn't really work
document.getElementById("myForm:myRadio").immediate="true";
} else {
document.getElementById("myForm:myRadio").value="3"; //doesn't really work
document.getElementById("myForm:myRadio").immediate="true";
</script>
-- java --
ArrayList radioOptionList;
public ArrayList getRadioOptionList(){
radioOptionList = new ArrayList();
radioOptionList.put("1","Option1");
radioOptionList.put("2","Option2");
radioOptionList.put("3","Option3");
return radioOptionList;
}Thank you for the quick response!
Does it work for you? I tryed getElementsByName("myform:myRadio")[1].value="1"; No errors but the screen doesn't show that radio button is "on". I also created another function to go through the form object and try to set the attribute but no luck. From screen, I still don't see the option is selected(or on). I have :
<script .... >
function checkRadioButton(){
var allElem = document.forms['myform'].elements;
for ( i=0 ; i< allElem.length; i++ ){
alert("element name = " + allElem.name ); // I see myform:myRadio three times
alert("element id = " + allElem[i].id ) // when name="myform:myRadio, id is null/empty
alert("element value = "+ allElem[i].value ); // when name="myform:myRadio, value = 1, 2, 3 respectively
if ( allElem[i].name == 'myform.myRadio' ) {
var attributes = allElem[i].attributes;
for ( j =0; j < attributes.length; j++) {
if ( attributes[j].name == 'CHECKED' ) { // I found CHECKED is one of selectOneRadio's attributes
if ( i == 1) {
attributes[j].value = true; // It still doesn't work. I didn't see that option1 get selected/on.
What I am trying to do is common, I think !!?? Really appreciate your help. -
Dynamically change the value in standard text
Hi all,
I have created standard text using SO10 transaction. I have included the text id in SAP FORM. My requirement is some text need to change dynamically in the text when printing the form.Is there any way to do it.
Thanks
SuadrsanaHi .. Here is the solution ...
Hi &V_NAME&
Thanks
XXXXXXXX
U need to get the value of
V_NAME
from the SF.
If u have the value of the variable in an internal table, then
LOOP AT ITAB INTO WA.
V_NAME = WA-NAME.
ENDLOOP.
I think this will be useful.
Suhas
Message was edited by:
Suhas Saha -
In my web site template I have header style with an image in it with width of 200px. I then have a headertext style beside it, auto width to fit page, and text in it that says "Welcome". Below the header style with the image I have a spry accordion widget, width 200 px. Beside that I have a spry horizontal menu widget. Under this I have my content.
What I want to do is:
when I select say "Contact Us" from the menu my content changes to the Contact Us page, which it does, and the headertext value of "Welcome" change to "Contact Us".
Thanks
WinrolOk, sorry, here is my index.dwt.php (template page) code:
The part I want to change dynamically is: <div class="header2" id="HeadTitle">Welcome</div>
I want the Welcome to change to "Current Events" if I select "Current Events" or change to whatever I select.
Hope this helps.
Winrol
==================
<?php require_once('../Connections/connEMJMarketing.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_connEMJMarketing, $connEMJMarketing);
$query_rsCurEvents = "SELECT speakerRequested, event, place, datebooked, starttime, ampm, endtime, ampm2 FROM Bookings ORDER BY datebooked ASC";
$rsCurEvents = mysql_query($query_rsCurEvents, $connEMJMarketing) or die(mysql_error());
$row_rsCurEvents = mysql_fetch_assoc($rsCurEvents);
$totalRows_rsCurEvents = mysql_num_rows($rsCurEvents);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Welcome to EMJ Marketing</title>
<!-- TemplateEndEditable -->
<link href="../NewEMJ.css" rel="stylesheet" type="text/css" /><!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; } /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
</style>
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<style type="text/css">
table {
width: 896px;
color: #D6BD38;
background-image: url(../Images/gold_microphone5.jpg);
background-repeat: no-repeat;
body,td,th {
color: #D6BD38;
body {
background-color: #000;
a:visited {
color: #D6BD38;
a:link {
color: #D6BD38;
</style>
</head>
<body text="#D6BD38" link="#D6BD38" vlink="#D6BD38" alink="#D6BD38">
<div class="container">
<div class="header"><a href="../home.php"><img src="../Images/-gold-white.gif" alt="imgEMJ" name="Insert_logo" width="200" height="89" class="header" id="Insert_logo" style="background: #8090AB; display:block;" />
</a>
<!-- end .header --></div>
<div class="header2" id="HeadTitle">Welcome</div>
<div class="sidebar1">
<p align="center">Select a Speaker for Your Event</p>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Emcee </div>
<div class="AccordionPanelContent">
<br/>
<p><a href="../JohnLynch.php">John Lynch</a></p>
<p><a href="../MichaelBall.php">Michael Ball</a></p>
<p><a href="../RodPedersen.php">Rod Pedersen</a></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Motivational Speakers</div>
<div class="AccordionPanelContent">
<br/>
<p><a href="../BobMolle.php">Bob Molle</a></p>
<p><a href="../JohnLynch.php">John Lynch</a></p>
<p><a href="../MattDominguez.php">Matt Dominguez</a></p>
<p><a href="../RodPedersen.php">Rod Pedersen</a></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Sports Celebrities</div>
<div class="AccordionPanelContent">
<br />
<p><a href="../AmberHolland.php">Amber Holland</a></p>
<p><a href="../AngusReid.php">Angus Reid</a></p>
<p><a href="../DonNarcisse.php">Don Narcisse</a></p>
<p><a href="../JeremyODay.php">Jeremy O'Day</a></p>
<p><a href="../MattDominguez.php">Matt Dominguez</a></p>
<p><a href="../MikeAboumechrek.php">Mike Abou-Mechrek</a></p>
<p><a href="../NealHughes.php">Neal Hughes</a></p>
<p><a href="../RobertMimbs.php">Robert Mimbs</a></p>
<p><a href="../ScottSchultz.php">Scott Schultz</a></p>
</div>
</div>
</div>
<p align="center"><br />
Check Availability</p>
<form id="frmAvailabilty" name="frmAvailabilty" method="post" action="../Availability.php">
<p><span class="fltlft" id="sprytextfield1">
<label for="date3">Date:</label>
<input name="dateRequested" type="text" id="date3" size="20" />
<span class="textfieldRequiredMsg">A value is required.</span>
<span class="textfieldInvalidFormatMsg">Invalid format.</span></span>
<span id="spryselect1">
<label for="speaker">Speaker</label>
<br />
<select name="speaker" id="speaker">
<option selected="selected">Select a Speaker</option>
<option value="amberholland">Amber Holland</option>
<option value="angusreid">Angus Reid</option>
<option value="bobmolle">Bob Molle</option>
<option value="donnarcisse">Don Narcisse</option>
<option value="jeremyoday">Jeremy O'Day</option>
<option value="johnlynch">John Lynch</option>
<option value="mattdominguez">Matt Dominguez</option>
<option value="michaelball">Michael Ball</option>
<option value="mikeaboumechrek">Mike Abou-Mechrek</option>
<option value="nealhughes">Neal Hughes</option>
<option value="rodpedersen">Rod Pedersen</option>
<option value="robertmimbs">Robert Mimbs</option>
<option value="scottschultz">Scott Schultz</option>
</select>
<span class="selectInvalidMsg">Please select a valid item.</span></span><span><span class="selectRequiredMsg">Please select an item.</span></span> </p>
<p>
<input type="submit" name="submit" id="submit" value="Submit" />
</p>
<p>
<textarea name="Available" cols="20" rows="5" readonly="readonly" id="Available">Your Speaker is not booked on that date. If you wish to book your speaker Contact Us.
</textarea>
<label for="notAvailable"></label>
</p>
<p>
<label for="notAvailable"></label>
<textarea name="notAvailable" cols="20" rows="5" readonly="readonly" id="notAvailable">Sorry, your speaker is booked for that day. Please select another day.</textarea>
</p>
<!-- end .sidebar1 -->
</form>
</div>
<div class="content">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="../OurSpeakers.php" title="Our Speakers" class="MenuBarItemSubmenu">Our Speakers</a>
<ul>
<li><a href="../AmberHolland.php" title="Amber Holland">Amber Holland</a></li>
<li><a href="../AngusReid.php" title="Angus Reid">Angus Reid</a></li>
<li><a href="../BobMolle.php" title="Bob Molle">Bob Molle</a></li>
<li><a href="../DonNarcisse.php" title="Don Narcisse">Don Narcisse</a></li>
<li><a href="../JeremyODay.php" title="Jeremy O'Day">Jeremy O'Day</a></li>
<li><a href="../JohnLynch.php" title="John Lynch">John Lynch</a></li>
<li><a href="../MattDominguez.php" title="Matt Dominguez">Matt Dominguez</a></li>
<li><a href="../MichaelBall.php" title="Michael Ball">Michael Ball</a></li>
<li><a href="../MikeAboumechrek.php" title="Mike Abou-Mechrek">Mike Abou-Mechrek</a></li>
<li><a href="../NealHughes.php" title="Neal Hughes">Neal Hughes</a></li>
<li><a href="../RodPedersen.php" title="Rod Pedersen">Rod Pedersen</a></li>
<li><a href="../RobertMimbs.php" title="Robert Mimbs">Robert Mimbs</a></li>
<li><a href="../ScottSchultz.php" title="Scott Schulz">Scott Schultz</a></li>
</ul>
</li>
<li><a href="../CurrentEvents.php" title="Current Events">Current Events</a></li>
<li><a href="#" title="Events Promotion">Events Promotion</a> </li>
<li><a href="#" title="About Us">About Us</a></li>
<li><a href="#" title="Contact Us">Contact Us</a></li>
</ul>
<span class="container"><!-- TemplateBeginEditable name="Main" --><div align="center"><font face="Tahoma, Geneva, sans-serif"><br />
<p><h1>Welcome to EMJ Marketing</p>
</h1>
<h3>
<p>
Are You Looking for an Emcee for Your Event?</p>
<p>
A Speaker for Your Event?</p>
<p>An Autograph Signing?</p>
<p>
Product Endorsement?</p>
<p>
Business Endorsement?</p>
<p>
Motivational Speaker for Your Company and/or Special Project?</p>
<p>
Speaker for Your Trade Show? </p>
<p>
Speaker for Your Fundraiser?</p>
<p>
Event Promotion?</p>
<p>
Event Coordination?</p>
<p>
Then look no further, EMJ Marketing has the right person for the job.</p>
<p>
Click on the navigation bars for further details.</p></h3></font></div>
<!-- TemplateEndEditable --></span>
<!-- end .content --></div>
<div class="footer">
<p><a href="http://www.facebook.com/pages/EMJ-Marketing/154741607902457?v=wall"><img src="../Images/facebook-logo_sm.jpg" alt="imgFB" width="25" height="25" align="left" /></a><a href="http://twitter.com/emjmarketing"><img src="../Images/twitterlogo_sm.jpg" alt="imgtwitter" width="25" height="25" hspace="5" align="left" /></a>© EMJ Marketing</p>
</div>
<!-- end .container --></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var Accordion1 = new Spry.Widget.Accordion("Accordion1",{useFixedPanelHeights:false,defaultPanel: -1});
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {invalidValue:"-1"});
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "date", {hint:"yyyy-mm-dd", format:"yyyy-mm-dd"});
</script>
</body>
</html>
<?php
mysql_free_result($rsCurEvents);
?>
======================= -
Dynamically change the value in order by clause (urgent)
Could any one help atall with this.
I have a cursor within a procedure and i want to be able to pass parameter into the procedure so that the record fetched by the cursor can be ordered by the parameter passed in.
For instance
create or replace procedure select_all(p_order_by in varchar2) is
cursor r_cur (c_order_by in varchar2) is
select empno,empname,job,manager,salary
from emp
ordry by c_order_by;
r_rec r_cur%rowtype;
lv_order_by varchar2(30);
begin
lv_order_by := p_order_by;
for r_rec in r_cur(lv_order_by) loop
dbms_output.put_line(empno||empname||job||manager||salary);
end loop;
end;
I have obviously done it as written above but the output is not ordered by the value i passed into the procedure when ran. Is the a better way to achieve the desired result?I handle dynamic order by using dynamic sql
create or replace procedure select_all
(p_order_by in varchar2) is
TYPE RefCurTyp is REF CURSOR;
CV REFCURTYP;
v_sql_stmt VARCHAR2(4000) ;
r_rec r_cur%rowtype;
BEGIN
v_sql_stmt := 'select empno,empname,job,manager,salary '||
' from emp ' ||
' ORDER BY '||p_order_by ;
open CV for v_sql_stmt;
loop
fetch CV into r_rec ;
exit when CV%NotFound;
dbms_output.put_line(r_rec.empno||' '||r_rec.empname||' '||r_rec.job||' '||r_rec.manager||' '||r_rec.salary);
end loop;
close CV;
end; -
Dynamically changing the value in table control
Hello Every one,
In MD61 transaction table control am trying to change value dynamicaly i.e am trying to change value in table control automaticaly tht value to be captured and i need to show in status bar...
Ex table control field is number: am giving 10,20,30 tht should show in status bar by adding if u enter 10 at status bar it show 10 then when u enter 20 it should add with 10 and give 30 ..
in this way when ever u enter value in filed it should add with the status bar value.Hi!
For conversion you can use the function module
data : w_amt TYPE cms_dte_original_amt,
" Amount
w_conv_amt TYPE cms_dte_conv_amt,
" Converted amount
w_kmein TYPE cms_dte_original_curr,
CALL FUNCTION 'CMS_API_CURR_CONV'
EXPORTING
i_original_curr = w_kmein
i_original_amt = w_amt
i_result_curr = 'INR'
i_rate_type = 'M'
i_conv_date = sy-datum
IMPORTING
e_conv_amt = w_conv_amt.
now accordingly you can move the currency and amount that is changed....
here as you were saying that on f4 after selecting you want the other field to get the value on that currency.....
this work can be done as here....
in this the next field gets populated as the first field gets the value......
refer to it.....
https://wiki.sdn.sap.com/wiki/display/ABAP/GettingainputfieldpopulatedonenteringthevalueinoneInputfield
Regards. -
Hi All,
I am new to this Oracle Apex.
We are using
Oracle Application Express Release 4.0
I have a query.
Here When validate item trigger wont fire.So how to over come this problem
Ex:
Say i have 4 text fields, i button
Based on the value in first field, I want to do some calculation in 3rd automatically and hide/display the 4th field and the button.
Please help me.
Thanks and Regards.
Saroop.You have to use Dynamic Actions on first item. How to do that, you can see watching this youtube video: http://www.youtube.com/watch?v=9JAKMU8x5nI
-
Dynamically change "lowest value allowed"
I need to reset an item's "lowest value allowed" and "highest value allowed" frequently. Its Data Type is Integer. I like to set them dynamically by reading the values from a table so that I don't need to rebuild the form each time. What type of trigger should I use? What option should I use in set item property?
Thanks a lot.Use a WHEN_VALIDATE-ITEM trigger.
In the trigger code read your low and high range values from your table. Validate the item againts the table loaded values.
Cheers
[email protected] -
Dynamically change the value of a select list in form based on a table
Hi Friends,
I am using a form based on a table. I want to display two fields as select lists instead of text boxes and when a value
in a select list is selected, the corresponding values will be listed in the next select list. For example if department
value is selected in a select list the employees in that department will be listed in the employee select list. I saw a
metthod using ajax for achieving this in tabular form in Denes's sample application[Click Here| http://apex.oracle.com/pls/otn/f?p=31517:176:462842537250908::NO] .
Is there any way to achieve the same for a form based on a table,
Thanks,
TjHi Andy,
Could you tell me how I could use your example with multiple Application Items?
My page has 3 cascading select lists. The second is dependent on the first and the third is dependent on both the first and second. I thought I would just need to add the second application item as a get, but not sure what the syntax would be. I have troubleshooted to the point where my select list refreshes when I have one in the javascript...just not sure how to add the additional one?
Here's what I have (I have been referencing your 'Get Employees' page)
My Page Items:
P0_VENDOR_ID
P0_VENDOR_SITE_ID
P0_INVENTORY_ITEM_ID
My Application Items:
F_VDR_ID
F_VDR_SITE_ID
My query in the application process has both F_VDR_SITE_ID and F_VDR_ID in it.
My javascript function...this worked OK until I added the additional get.add('F_VDR_SITE_ID')
function getItems(filter, listName)
var xml = null;
var list = document.getElementById(listName);
var listvalue = list.value;
var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=Set_Items',4);
get.add('F_VDR_ID', filter.value);
get.add('F_VDR_SITE_ID', filter.value);
ret = get.get('XML');
if(ret)
var s = ret.getElementsByTagName("select");
if(s){
var o = ret.getElementsByTagName("option");
var oCount = o.length;
list.options.length = 0;
for(var i = 0; i < oCount; i++){
var l_Opt_Xml = o;
appendToSelect(list, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue);
list.value = listvalue;
if (list.selectedIndex == -1)
list.selectedIndex = 0;
get = null;
Thanks,
Janel -
BAdi HRPAD00INFTY - Dynamically change the value of Wage amount in Infotype
Hello all,
I am implementing BAdi HRPAD00INFTY for infotype 0008.
The requirement is, whenever user checks/saves Infotype 8, System should look out FTE wage type exists or not. If it exists then amount should be calculated and get updates for that wage type. If wage type not found insert wagetype FTE and amount in the infotype for the employee.
I have calculated amount in method AFTER_INPUT of the BAdi. I am trying to reflect the updated amount on the screen using method CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP. but it is not working.
I also tried to use the same method CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP in BEFORE_OUTPUT method.
Can somebody help me on this?
Any pointer would be helpful and appreciated.
Thanks in advance.
Best Regards,
DharitreeAdded by Jeyhun Hajiyev - Azerbaijan Baku DemirBank 05.04.2010
Function EXIT_SAPFP50M_001 INCLUDE ZXPADU01
DATA : lv_message_handler TYPE REF TO if_hrpa_message_handler
, wa_0008 LIKE p0008
FIELD-SYMBOLS: <fs_p0008> TYPE ANY.
IF innnn-infty = '0008'.
CLEAR : lv_plans
, ls_hrp1005
, lv_result
Transfer the structure p0008 from INNNN
ASSIGN ('INNNN') TO <fs_p0008> CASTING TYPE p0008.
CHECK sy-subrc = 0.
MOVE <fs_p0008> TO wa_0008.
u201COR
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = WA_0008.
u201CChanging in Infotype 0008
wa_0008-trfst = '01'.
wa_0008-lga01 = '1000'. "FOR SEE RESULT YOU MUST ADD THAT LINE
wa_0008-bet01 = 100. " $ Amount for Q0008-BETRG
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_0008
IMPORTING
prelp = innnn.
ENDIF. -
OBIEE 10g AGO Function Dynamically Change the Heading
I created columns in my rpd named Sales Previous Month, Sales 2 months ago and Sales 3 months ago using the AGO Function. This is working fine.
My problem is when displaying these headings the users would like to see the Month Name instead of the Headings I created. For example if looking at a report for January the users would like to see:
Sales Previous Month = December
Sales 2 Months ago = November
Sales 3 Months ago = October
Is there any way to dynamically change the value of the column header to show the name of the month?Hi SriniVEERAVALLI,
Thanks for the reply. I have found that I might haven't created the relationship between dimension and fact tables correctly.
I initially created the foreign key relationship (instead of creating complex join) in physical diagram between the dimension and fact table. And the relationship type is hence greyed out.
I have deleted the foreign key relationship in physical diagram. Then
1. In physical diagram, create complex join between dimension and fact . The relationship is 'inner' and can't be changed.
2. In Logical table diagram, create foreign key between dimension and fact . The relationship can be changed (inner, outer, etc).
Is this the correct way?
I tried these on two newly created dummy tables and it worked. -
Problem with dynamic change a page item value
Hi,
I'm trying to dynamically calculated the value of an item based on a simple formula that involves the multiplication of two elements from the same page.
To do this, create dynamic action as follows:
Event: Change
Selection Type: Item(s)
Item(s): P19_DURATION
Action: Set value
Fire on page load: TRUE
Set Type: SQL Statement
SQL Statement: SELECT :P19_DURATION * :P19_RATE FROM DUAL
Page items to submit: P19_DURATION
Selection Type: Item(s)
Item(s): P19_AMOUNT
When altering the P19_DURATION get no change in P19_AMOUNT
Since my knowledge of javascript is almost zero, I'm trying to do this with pl / sql or sql. Try the dynamic action with a function or a PL / SQL statement and nothing works.
Have to use javascript for this?
Searching the forum I think it's something simple, but I did not find an example similar to what I need.
RegardsEvent: Change
Selection Type: Item(s)
Item(s): P19_DURATION
Action: Set value
Fire on page load: TRUE
Set Type: javascript
javascript Code:
amount = $v('P19_DURATION') * $v('P19_RATE');
$s('P19_AMOUNT',amount); -
How to change varient values dynamically in APD
Hi Friends,
I have created an APD ,to this APD i am feeding 4 query out puts.For this 4 querys i am using the varients, i wante to change the varient values i.e date field/date ranges fields dynamically.pl.let me know if any b'dy worked such scnarios.
Thanks in advance.
Sirisha.sk_java wrote:
Hi,
I need to know how we can change the values of annotation dynamically.Annotations in source code must be compile-time constants. The annotation objects returned by the runtime are immutable.
That said, there are a few ways to get the effect of changing annotation values. First, you can use the redefine classes API and then getting a new annotation object will have the updated values. Also, an annotation type is just a specialized kind of interface and that interface can be implemented by your own classes too. -
How to Change Annotion values dynamically
Hi,
I need to know how we can change the values of annotation dynamically. For example, my application uses DB2 database for which table name and schema name are reqired for Entities as follows.
*@Entity*
*@Table (name*="EMPLOYEE", schema="SC235")
public class Employee {
I would like to change the Schema name at run time.ie, the same application may be run with different DB2 data base which conatins same table structures and names but with different Schema names. Is there any way we could change the Schema name at runtime. Atleast if any body suggest how to configure Schema name through persistence.xml or any other property files wold be great.
Note: When I tried to assign a value from resource bundle, it is throwing the error "the value for annotaion attribute *Table.schema* must be a constant expression" during compilation itself.
Please help.sk_java wrote:
Hi,
I need to know how we can change the values of annotation dynamically.Annotations in source code must be compile-time constants. The annotation objects returned by the runtime are immutable.
That said, there are a few ways to get the effect of changing annotation values. First, you can use the redefine classes API and then getting a new annotation object will have the updated values. Also, an annotation type is just a specialized kind of interface and that interface can be implemented by your own classes too. -
How To dynamically change values in custom form
Hi,
Requirement is to change values in custom form dynamically that are passed by Global variables through standard form .
I have used forms personalization to call custom form and passing some parameters to custom form using global variables.
Now i have to change values displayed in custom form(already opened) when user moves from one record to another record.
I cannot change the standard form.Only i have write logic in custom form that dynamically changes values as user moves from one record to another in standard form.
Global variables values will be different for each record.
Pls let me know how i can achieve this.
Regards
UditUdit,
Your question should be posted to the Enterprise Business Suite (EBS) forum. This forum is dedicated to non-EBS forms development.
Craig...
Maybe you are looking for
-
How to clear PSA data in advance berfore upload data into PSA by process
Could someone tell me how to clear previous PSA data before upload data into PSA through process chain,tks
-
Formula Column help please - URGENT
I'm trying to create a formula column as follows: function NO_REPLIESFormula return Number is NOREPLY number; begin SELECT COUNT(reply) INTO NOREPLY FROM letters WHERE reply = 'N' GROUP BY ltrtype, batch; RETURN (NOREPLY); end; This PL/SQL compiles f
-
I plug in my iphone 4 and the battery symbol shows pretty much dead but it won't boot up, never takes a charge - new battery. Is the motherboard fried?
-
Can i find out how many subscribers my podcast has?
Hi my podcast series - Louche is it possible to find out some subscription details? like how many subscribers we have in total, where they are based etc? Thanks, Josh Wareham www.louchemusic.com [email protected] +44(0)7971189957
-
Is there a way to receive a alert every time I receive an email without having to go into my mail icon?