Calculating a new date
Hi All
I have set prioritys with hour values eg(LOW - 150hrs, HIGH - 12hrs). I need to be able to calculate a finnish date, using the current date (format: dd MMMM yyyy HH:mm), and the hours from the selected priority.
Calendar cal = Calendar.getInstance(); // would get you the current date
int hour = cal.get(Calendar.HOUR); // would get you the hour
hour += XXX; //Add how much ever you want
cal.set(Calendar.HOUR,hour); // Now set it back to calendar
cal.getTime(); // This would give you the date object
Use SimpleDateFormat to change this date object in whatever format you want
Cheers
-P
Similar Messages
-
Calculating a new Date and Time
I need to calculate a new date using an hour value eg:
Date : 23 March 2005 14:00 pm
Hours to be added: 12
Working hours : 8am - 5 pm
I need to calculate a new date/time using the working hours, so that the added time falls within those working hours.
Thanx...No deal; create a Calendar object with your present date:
Calendar cal = Calendar.getInstance();
cal.set(2005,cal.MARCH,23,14,0,0);Add 12 hours:
cal.add(cal.HOUR,12);Check for weekend and add more days as long as it's not Monday:
while ((cal.get(cal.DAY_OF_WEEK) == cal.SATURDAY) || (cal.get(cal.DAY_OF_WEEK) == cal.SUNDAY)) {
cal.add(cal.DATE,1);
}Check for working hours:
while (cal.get(cal.HOUR_OF_DAY) < startHours) {
cal.add(cal.HOUR_OF_DAY,1);
while (cal.get(cal.HOUR_OF_DAY) > endHours) {
cal.add(cal.HOUR_OF_DAY,-1);
}Not checked, but should run. -
Calculating and Displaying Dates in Javascript
Hello,
I'm working on a flowchart form for my work, and am having issues getting a date to a) add correctly and b) display only certain portions of the date.
I have four fields:
CurrentDate - Displays the Current Date in MM/DD/YYYY format
DropDownList1 - Contains a list of projects end users can choose from
TextField1 - Displays text that tells the end user how many days the proejct will take
DateField1 - Should add the CurrentDate + the Number of days the project will take and return a new date in the same MM/DD/YYYY format
*Disclaimer* - I am not very experienced with scripting, and chose to go with JavaScript as I do have some previous past experience.
Here is what I have for my code right now:
if (DropDownList1.rawValue == 1){
TextField1.rawValue = "2 Days";
var AddDate = (Date.valueOf(CurrentDate) + (2*1000*60*60*24));
DateField1.formattedValue = Date(AddDate);
else if (DropDownList1.rawValue == 2){
TextField1.rawValue = "1 Day";
else if (DropDownList1.rawValue == 3){
TextField1.rawValue = "2 Days";
else if (DropDownList1.rawValue == 4){
TextField1.rawValue = "2 Days";
else if (DropDownList1.rawValue == 5){
TextField1.rawValue = "4 Days";
else if (DropDownList1.rawValue == 6){
TextField1.rawValue = "5 Days";
else if (DropDownList1.rawValue == 7){
TextField1.rawValue = "4 Day";
The end result is that the TextField1 displays the correct day, but the DateField1 displays a long string of the exact time and date of... well, the time - so no adding takes place. What I need is for the date to be displayed as MM/DD/YYYY. What am I doing wrong? I've only added the calculation to the first "if" statement, and will continue on to the rest once it is functioning.The following code will work in a LiveCycle Designer button using the "JavaScript" language option:
var oNow = new Date(); // get date time object
console.show(); // oepn and clear the JavaScript console
console.clear();
console.println("oNow = " + oNow);
console.println("oNow.getFullYear() = " + oNow.getFullYear());
console.println("oNow.getMonth() = " + oNow.getMonth());
console.println("oNow.getDate() = " + oNow.getDate());
console.println("oNow.getDay() = " + oNow.getDay());
console.println("oNow.getHours() = " + oNow.getHours());
console.println("oNow.getMinutes() = " + oNow.getMinutes());
console.println("oNow.getSeconds() = " + oNow.getSeconds());
console.println("oNow.getTimezoneOffset() = " + oNow.getTimezoneOffset());
The following script uses FormCalc and can be used with a button for testing:
var oDate = Date() // get today's date
var Year = Num2Date(oDate, "YYYY") // get year four digits
var Month = Num2Date(oDate, "MM") // get month 2 digits with leading zero
var Date = Num2Date(oDate, "D") // get date without leading zero
xfa.host.messageBox( Concat("oDate: ", oDate, " Year: ", Year, " Month: ", Month, " Date: ", Date) )
var MyDate = "Feb 23, 2008" // a string data
var Year = Num2Date( Date2Num(MyDate, "MMM D, YYYY"), "YY" ) // 2 digit year
var Month = Num2Date( Date2Num(MyDate, "MMM D, YYYY"), "M" ) // month without leading zero
var Date = Num2Date( Date2Num(MyDate, "MMM D, YYYY"), "DD" ) // day with leading zero
xfa.host.messageBox( Concat("MyDate: ", MyDate, " Year: ", Year, " Month: ", Month, " Date: ", Date) ) -
Processed cube sees no changes, but new data have been inserted..
Simple AdwWorks cube has time dimension with years range from 2000-th to 2007-th. Fact data exists for 2001-2006. 2000-th and 2007-th are empty. Ok.
I'm insert new data to source fact table for 2001-th and process the cube. All changes immediately reflect in measure value (it grows). But new data for 2000-th don't reflect in measure value growing . Nevertheless, during cube processing
SSAS sees new rows for both cases (the value grows), and sql profiler catches equal batches of commands for 2001-th and 2000-th. But measure value grows only for 2001-th.
I've clear mdx-script - it contains now only calculate command. Now there is:
a) select sum(measure value) on fact tables in source database reflect new rows for both cases
b) cube processing sees changes for both cases
c) mdx-script is clear (there are no scopes, witch can set measure value to null )
d) select [sales amount] for cube reflect this changes only for 2001-th, not for 2000-th
Any suggestions?
===========
One day later.. :)
The problem seems as resolved, but... I don't know: is it tech and/or logic feature or bug..
So, what is happened.. Simple mdx query:
select [sales amount] on 0,
[some date from 2000] on 1
from [cube]
gives null value for [sales amount], but for [some date from 2001] value is not empty. In database fact table both values (results of sum(salesamount) for both dates) are not empty. After research i found that there was one measure ([Temp]) in the [sales amount]
measure group for which MeasureExpression was set to [sales amount]*[average rate] ([average rate] - measure from [Fact Currency Rate] measure group). Fact table for [Fact Currency Rate] measure group didn't contain data for 2000-th. I've insert it and - vualya
- all work and for 2000-th now. Main question is: why ssas calculate MeasureExpression formulas for measures, which I'm not request in a query, and why ssas set requested by me value to null, if it does not depend from formula of MeasureExpression property
of unrequested measure? Is it bug or "defense from fool"?. There is another sample of such strange ssas behaviour. I mean usage of UnaryOperatorColumn property. If it is set for any attribute of any dimension, then it influences on every query, even
if this attribute not is a part of this query. For example
select [sales amount] on 0
from [cube]
returns different results, which depends by setting of UnaryOperatorColumn for some dimension attribute.. What all it mean?Hi Tkolomiewts,
I have the following questions, which will help me in better understanding of your issue :
1) Is [sales amount], a base measure or calculated measure?
2) Are you using the default Adventure works database?
Regarding
your other question about unaryoperatorcolumn for some dimension attribute affecting the results, lets use the following query that you mentioned:
select
[sales amount] on 0
from [cube]
This
query doesnt pick only the measure value, but also fetches the "All" attribute for the all the dimension attributes. Hence, if the UnaryOperatorColumn influences the All attribute's value, then it will affect the results of the query above.
Regards,
Muthukumaran -
Dense Restructure 1070020 Out of disk space. Can't create new data file
During a Dense Restructure we receive: Error(1070020) Out of disk space. Cannot create a new [Data] file.
Essbase 6.5.3 32-bit
Windows 2003 32bit w/16GB RAM
Database is on E: drive with 660GB space total, database is ~220GB.
All cubes are unlimited
Tried restoring from backup same problem.
Over years and years the database is never recalculated, never exported and imported, never verified. Only new data loaded and dense restructured.
Towards the end of a dense restructure (about 89 pan files through about 101 2GB pag files), getting an error: Error(1070020) Out of disk space. Cannot create a new [Data] file.
There are still several hundred GB of free space available, and we can write to this free space outside of the essbase application within windows.
The server's file system is consistent, defragmented, and can prove use of additional space. Hard drive controller and system does not report any "hardware issues".
Essbase.cfg file
; The following entry specifies the full path to JVM.DLL.
JvmModuleLocation C:\Hyperion\Essbase\java\jre13\bin\hotspot\jvm.dll
;This statement loads the essldap.dll as a valid authentication module
;AuthenticationModule LDAP essldap.dll x
DATAERRORLIMIT 30000
;These settings are here to deal with error 1040004
NETRETRYCOUNT 2000
NETDELAY 1600
App log
[Sat Oct 17 13:59:32 2009]Local/removedfrompost/removedfrompost/admin/Info(1007044)
Restructuring Database [removedfrompost]
[Sat Oct 17 15:48:42 2009]Local/removedfrompost/removedfrompost/admin/Error(1070020)
Out of disk space. Cannot create a new [Data] file. [adIndNewFile] aborted
[Sat Oct 17 15:48:42 2009]Local/removedfrompost///Info(1008108)
Essbase Internal Logic Error [7333]
[Sat Oct 17 15:48:42 2009]Local/removedfrompost///Info(1008106)
Exception error log [C:\HYPERION\ESSBASE\app\removedfrompost\log00002.xcp] is being created...
log00002.xcp
Assertion Failure - id=7333 condition='((!( dbp )->bFatalError))'
- line 11260 in file datbuffm.c
- arguments [0] [0] [0] [0]
Additional log info from database start to restructure failure
Starting Essbase Server - Application [removedfrompost]
Loaded and initialized JVM module
Reading Application Definition For [removedfrompost]
Reading Database Definition For [removedfrompost]
Reading Database Definition For [TempOO]
Reading Database Definition For [WTD]
Reading Database Mapping For [removedfrompost]
Writing Application Definition For [removedfrompost]
Writing Database Definition For [removedfrompost]
Writing Database Definition For [TempOO]
Writing Database Definition For [WTD]
Writing Database Mapping For [removedfrompost]
Waiting for Login Requests
Received Command [Load Database]
Writing Parameters For Database [removedfrompost]
Reading Parameters For Database [removedfrompost]
Reading Outline For Database [removedfrompost]
Declared Dimension Sizes = [289 125 2 11649 168329 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 6 ]
Actual Dimension Sizes = [289 119 1 1293 134423 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 5 ]
The number of Dynamic Calc Non-Store Members = [80 37 0 257 67 ]
The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
The logical block size is [34391]
Maximum Declared Blocks is [1960864521] with data block size of [72250]
Maximum Actual Possible Blocks is [173808939] with data block size of [17138]
Formula for member [4 WK Avg Total Sls U] will be executed in [CELL] mode
Formula for member [Loc Cnt] will be executed in [CELL] mode
Formula for member [OH Str Cnt] will be executed in [CELL] mode
Formula for member [Current Rtl] will be executed in [CELL] mode
Essbase needs to retrieve [1017] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
The Dyn.Calc.Cache for database [removedfrompost] can hold a maximum of [76] blocks.
The Dyn.Calc.Cache for database [removedfrompost], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
Writing Parameters For Database [removedfrompost]
Reading Parameters For Database [removedfrompost]
Unable to determine the amount of virtual memory available on the system
Index cache size ==> [1048576] bytes, [128] index pages.
Index page size ==> [8192] bytes.
Using buffered I/O for the index and data files.
Using waited I/O for the index and data files.
Unable to determine the amount of virtual memory available on the system
Reading Data File Free Space Information For Database [removedfrompost]...
Data cache size ==> [3145728] bytes, [22] data pages
Data file cache size ==> [0] bytes, [0] data file pages
Missing Database Config File [C:\HYPERION\ESSBASE\APP\removedfrompost\removedfrompost\removedfrompost.cfg], Query logging disabled
Received Command [Get Database Volumes]
Received Command [Load Database]
Writing Parameters For Database [TempOO]
Reading Parameters For Database [TempOO]
Reading Outline For Database [TempOO]
Declared Dimension Sizes = [277 16 2 1023 139047 ]
Actual Dimension Sizes = [277 16 1 1022 138887 ]
The number of Dynamic Calc Non-Store Members = [68 3 0 0 0 ]
The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
The logical block size is [4432]
Maximum Declared Blocks is [142245081] with data block size of [8864]
Maximum Actual Possible Blocks is [141942514] with data block size of [2717]
Essbase needs to retrieve [1] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
The Dyn.Calc.Cache for database [TempOO] can hold a maximum of [591] blocks.
The Dyn.Calc.Cache for database [TempOO], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
Writing Parameters For Database [TempOO]
Reading Parameters For Database [TempOO]
Unable to determine the amount of virtual memory available on the system
Index cache size ==> [1048576] bytes, [128] index pages.
Index page size ==> [8192] bytes.
Using buffered I/O for the index and data files.
Using waited I/O for the index and data files.
Unable to determine the amount of virtual memory available on the system
Reading Data File Free Space Information For Database [TempOO]...
Data cache size ==> [3145728] bytes, [144] data pages
Data file cache size ==> [0] bytes, [0] data file pages
Missing Database Config File [C:\HYPERION\ESSBASE\APP\removedfrompost\TempOO\TempOO.cfg], Query logging disabled
Received Command [Get Database Volumes]
Received Command [Load Database]
Writing Parameters For Database [WTD]
Reading Parameters For Database [WTD]
Reading Outline For Database [WTD]
Declared Dimension Sizes = [2 105 2 11649 158778 1279 609 971 531 208 78 2017 11 9 9 1 1 1 1 6 1 2 1 1 2 1 1 1 2 77 1 1 1 1 1 1 1 1 1 1 1 1 1 260 3 2954 52 6 39 4 1581 6 ]
Actual Dimension Sizes = [1 99 1 1293 127722 1279 609 971 531 208 78 2017 11 9 9 1 1 1 1 6 1 2 1 1 2 1 1 1 2 77 1 1 1 1 1 1 1 1 1 1 1 1 1 260 3 2954 52 6 39 4 1581 5 ]
The number of Dynamic Calc Non-Store Members = [0 29 0 257 57 ]
The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
The logical block size is [99]
Maximum Declared Blocks is [1849604922] with data block size of [420]
Maximum Actual Possible Blocks is [165144546] with data block size of [70]
Formula for member [Loc Cnt] will be executed in [CELL] mode
Formula for member [OH Str Cnt] will be executed in [CELL] mode
Formula for member [Current Rtl] will be executed in [CELL] mode
Essbase needs to retrieve [1017] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
The Dyn.Calc.Cache for database [WTD] can hold a maximum of [26479] blocks.
The Dyn.Calc.Cache for database [WTD], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
Writing Parameters For Database [WTD]
Reading Parameters For Database [WTD]
Unable to determine the amount of virtual memory available on the system
Index cache size ==> [1048576] bytes, [128] index pages.
Index page size ==> [8192] bytes.
Using buffered I/O for the index and data files.
Using waited I/O for the index and data files.
Unable to determine the amount of virtual memory available on the system
Reading Data File Free Space Information For Database [WTD]...
Data cache size ==> [3145728] bytes, [5617] data pages
Data file cache size ==> [0] bytes, [0] data file pages
Missing Database Config File [C:\HYPERION\ESSBASE\APP\removedfrompost\WTD\WTD.cfg], Query logging disabled
Received Command [Get Database Volumes]
Received Command [Set Database State]
Writing Parameters For Database [removedfrompost]
Writing Parameters For Database [removedfrompost]
Received Command [Get Database State]
Received Command [Get Database Info]
Received Command [Set Database State]
Writing Parameters For Database [TempOO]
Writing Parameters For Database [TempOO]
Received Command [Get Database State]
Received Command [Get Database Info]
Received Command [Set Database State]
Writing Parameters For Database [WTD]
Writing Parameters For Database [WTD]
Received Command [Get Database State]
Received Command [Get Database Info]
Received Command [SetApplicationState]
Writing Application Definition For [removedfrompost]
Writing Database Definition For [removedfrompost]
Writing Database Definition For [TempOO]
Writing Database Definition For [WTD]
Writing Database Mapping For [removedfrompost]
User [admin] set active on database [removedfrompost]
Clear Active on User [admin] Instance [1]
User [admin] set active on database [removedfrompost]
Received Command [Restructure] from user [admin]
Reading Parameters For Database [Drxxxxxx]
Reading Outline For Database [Drxxxxxx]
Reading Outline Transaction For Database [Drxxxxxx]
Declared Dimension Sizes = [289 126 2 11649 168329 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 6 ]
Actual Dimension Sizes = [289 120 1 1293 134423 1294 622 985 544 210 80 2016 11 9 9 8 8 1 1 6 1 3 1 2 2 1 2 1 2 77 2 65 1 1 1 1 1 1 1 1 1 1 1 260 4 3018 52 6 39 4 1577 5 ]
The number of Dynamic Calc Non-Store Members = [80 37 0 257 67 ]
The number of Dynamic Calc Store Members = [0 0 0 0 0 ]
The logical block size is [34680]
Maximum Declared Blocks is [1960864521] with data block size of [72828]
Maximum Actual Possible Blocks is [173808939] with data block size of [17347]
Formula for member [4 WK Avg Total Sls U] will be executed in [CELL] mode
Formula for member [Loc Cnt] will be executed in [CELL] mode
Formula for member [OH Str Cnt] will be executed in [CELL] mode
Formula for member [Current Rtl] will be executed in [CELL] mode
Essbase needs to retrieve [1017] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
The Dyn.Calc.Cache for database [Drxxxxxx] can hold a maximum of [75] blocks.
The Dyn.Calc.Cache for database [Drxxxxxx], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
Reading Parameters For Database [Drxxxxxx]
Unable to determine the amount of virtual memory available on the system
Index cache size ==> [1048576] bytes, [128] index pages.
Index page size ==> [8192] bytes.
Using buffered I/O for the index and data files.
Using waited I/O for the index and data files.
Unable to determine the amount of virtual memory available on the system
Data cache size ==> [3145728] bytes, [22] data pages
Data file cache size ==> [0] bytes, [0] data file pages
Performing transaction recovery for database [Drxxxxxx] following an abnormal termination of the server.
Restructuring Database [removedfrompost]
Out of disk space. Cannot create a new [Data] file. [adIndNewFile] aborted
Essbase Internal Logic Error [7333]
Exception error log [C:\HYPERION\ESSBASE\app\removedfrompost\log00002.xcp] is being created...
Exception error log completed -- please contact technical support and provide them with this file
RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATINGTo avoid all these things as a best practice
we didn't allow dense restructure on the cubes size>30 GB
As an altrnative, we will export the level0 data, clear the DB, and load the new data. After that aggregate the cube to store the data at all the consolidation levels. -
Calculations with Jtextfiled data
HI,
I have Four Jtextfields.The user has to enter the data in the two jtextfields.
in the third field i have to print the sum of the first two fields.
Please help me . This is my code
package samples;
import javax.swing.*;
import javax.swing.text.JTextComponent;
import java.awt.*;
import java.awt.event.*;
class PiGUI extends JFrame {
JTextField totalRepairs = new JTextField("Enter Number",8);
JTextField successfulFirstRepairs = new JTextField("Enter Number",8);
JTextField repeatRepairs = new JTextField(8);
JTextField fFVRatio = new JTextField(8);
JLabel StaticText = new JLabel("FFV-Take it to the Next Level");
JLabel TotalRepairs = new JLabel("Total Repairs");
JLabel SuccessfulFirstRepairs = new JLabel("Successful First Repairs");
JLabel RepeatRepairs = new JLabel("Repeat Repairs");
JLabel FFVRatio = new JLabel("FFV Ratio");
//Calculator calc = new Calculator(this);
PiGUI() {
// Frame listener - closeing window
addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
// Configure GUI layout
Container inter = getContentPane();
inter.setLayout(new FlowLayout());
// Set the box is editable or not
totalRepairs.setEditable(true);
successfulFirstRepairs.setEditable(true);
repeatRepairs.setEditable(false);
fFVRatio.setEditable(false);
// Add components to GUI
inter.add(StaticText);
inter.add(TotalRepairs);
inter.add(SuccessfulFirstRepairs);
inter.add(RepeatRepairs);
inter.add(FFVRatio);
inter.add(totalRepairs);
inter.add(successfulFirstRepairs);
inter.add(repeatRepairs);
inter.add(fFVRatio);
StaticText.setBounds(1,25,500,20);
TotalRepairs.setBounds(5,5,150,20);
totalRepairs.setBounds(5,30,150,40);
SuccessfulFirstRepairs.setBounds(5,75,150,20);
successfulFirstRepairs.setBounds(5,100,150,40);
RepeatRepairs.setBounds(5,5,150,20);
repeatRepairs.setBounds(5,30,150,40);
FFVRatio.setBounds(5,75,150,20);
fFVRatio.setBounds(5,100,150,40);
setSize(450,450); // Size of window
//setTitle("PI Calculator"); // Title of window
setVisible(true); // Set visible
setResizable(false); // Disallow resize
ActionListener actionListener = new ActionListener() {
public void actionPerformed(ActionEvent actionEvent) {
int totalRepairs1=Integer.parseInt(totalRepairs.getText());
int successfulFirstRepairs1 =Integer.parseInt(successfulFirstRepairs.getText());
int repeatRepairs1 = totalRepairs1-successfulFirstRepairs1;
double fFVRatio1 = successfulFirstRepairs1/totalRepairs1;
//repeatRepairs.setText(repeatRepairs1);
totalRepairs.addActionListener(actionListener);
successfulFirstRepairs.addActionListener(actionListener);
KeyListener keyListener = new KeyListener() {
public void keyPressed(KeyEvent e) { }
public void keyReleased(KeyEvent e) { }
public void keyTyped(KeyEvent e) {if ( ! Character.isDigit(e.getKeyChar())) {
Toolkit.getDefaultToolkit().beep();
e.consume();
totalRepairs.addKeyListener(keyListener);
successfulFirstRepairs.addKeyListener(keyListener);
InputVerifier verifier = new InputVerifier() {
public boolean verify(JComponent input) {
final JTextComponent source = (JTextComponent) input;
String text = source.getText();
if (text.length() == 0) {
Runnable runnable = new Runnable() {
public void run() {
JOptionPane.showMessageDialog(source,
"Can't leave Blank.", "Error Dialog",
JOptionPane.ERROR_MESSAGE);
SwingUtilities.invokeLater(runnable);
return false;
else {
return true;
totalRepairs.setInputVerifier(verifier);
successfulFirstRepairs.setInputVerifier(verifier);
public class BBB {
public static void main(String[] args) {
PiGUI piGUI = new PiGUI();
Thanks in advancepackage samples;
import javax.swing.*;
import javax.swing.text.JTextComponent;
import java.awt.*;
import java.awt.event.*;
class PiGUI extends JFrame {
JTextField totalRepairs = new JTextField("Enter Number",8);
JTextField successfulFirstRepairs = new JTextField("Enter Number",8);
JTextField repeatRepairs = new JTextField(8);
JTextField fFVRatio = new JTextField(8);
JLabel StaticText = new JLabel("FFV-Take it to the Next Level");
JLabel TotalRepairs = new JLabel("Total Repairs");
JLabel SuccessfulFirstRepairs = new JLabel("Successful First Repairs");
JLabel RepeatRepairs = new JLabel("Repeat Repairs");
JLabel FFVRatio = new JLabel("FFV Ratio");
//Calculator calc = new Calculator(this);
PiGUI() {
// Frame listener - closeing window
addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
// Configure GUI layout
Container inter = getContentPane();
inter.setLayout(new FlowLayout());
// Set the box is editable or not
totalRepairs.setEditable(true);
successfulFirstRepairs.setEditable(true);
repeatRepairs.setEditable(false);
fFVRatio.setEditable(false);
// Add components to GUI
inter.add(StaticText);
inter.add(TotalRepairs);
inter.add(SuccessfulFirstRepairs);
inter.add(RepeatRepairs);
inter.add(FFVRatio);
inter.add(totalRepairs);
inter.add(successfulFirstRepairs);
inter.add(repeatRepairs);
inter.add(fFVRatio);
StaticText.setBounds(1,25,500,20);
TotalRepairs.setBounds(5,5,150,20);
totalRepairs.setBounds(5,30,150,40);
SuccessfulFirstRepairs.setBounds(5,75,150,20);
successfulFirstRepairs.setBounds(5,100,150,40);
RepeatRepairs.setBounds(5,5,150,20);
repeatRepairs.setBounds(5,30,150,40);
FFVRatio.setBounds(5,75,150,20);
fFVRatio.setBounds(5,100,150,40);
setSize(450,450); // Size of window
//setTitle("PI Calculator"); // Title of window
setVisible(true); // Set visible
setResizable(false); // Disallow resize
ActionListener actionListener = new ActionListener() {
public void actionPerformed(ActionEvent actionEvent) {
double totalRepairs1=Integer.parseInt(totalRepairs.getText());
double successfulFirstRepairs1 =Integer.parseInt(successfulFirstRepairs.getText());
double repeatRepairs1 = totalRepairs1-successfulFirstRepairs1;
double fFVRatio1 = successfulFirstRepairs1/totalRepairs1;
repeatRepairs.setText(new Double(repeatRepairs1).toString());
totalRepairs.addActionListener(actionListener);
successfulFirstRepairs.addActionListener(actionListener);
KeyListener keyListener = new KeyListener() {
public void keyPressed(KeyEvent e) { }
public void keyReleased(KeyEvent e) { }
public void keyTyped(KeyEvent e) {if ( ! Character.isDigit(e.getKeyChar())) {
Toolkit.getDefaultToolkit().beep();
e.consume();
totalRepairs.addKeyListener(keyListener);
successfulFirstRepairs.addKeyListener(keyListener);
InputVerifier verifier = new InputVerifier() {
public boolean verify(JComponent input) {
final JTextComponent source = (JTextComponent) input;
String text = source.getText();
if (text.length() == 0) {
Runnable runnable = new Runnable() {
public void run() {
JOptionPane.showMessageDialog(source,
"Can't leave Blank.", "Error Dialog",
JOptionPane.ERROR_MESSAGE);
SwingUtilities.invokeLater(runnable);
return false;
else {
return true;
totalRepairs.setInputVerifier(verifier);
successfulFirstRepairs.setInputVerifier(verifier);
public class BBB {
public static void main(String[] args) {
PiGUI piGUI = new PiGUI();
} -
Excel formulas not calculating imported SSIS data
I have an SSIS package that exports data to a password protected worksheet. The SSIS package works great and all the data is in the right cells. However, some of the cells that are protected have formulas in them that do calculations the data
that has been imported. The cells with formulas don't pick up the new data. I have tried F9 and that doesn't work. The only thing that works is to either re-enter the data manually or I can copy and paste the data right back into the same
cells and then the formula picks up the new data.
The client has specific formulas that they do not want to be changed. Adding macros to the workbook is not allowed.
How can I get the formulas to pick up the imported data?
This is very frustrating. I have spent the better part of 2 months converting data from MS ACCESS to SQL, built massive queries and put together a very nice SSIS package that does exactly what I want it to do, only to get stonewalled by Excel.Leo,
Some of the cells in the worksheet are un-protected to allow users to enter in values, then the cell with the formula - which are protected - updates with the results of the formula.
For instance cell A1 is protected, cells B1 through F1 are un-protected. Cell A1 has the formula =Sum(B1:F1) if the user manually enters in the values 2, 2, 3, 2, 4 into cells B1, C1, D1, E1, & F1 respectively then cell A1 would update to
2, 2, 7, 9, 13 as the numbers get entered.
I am exporting data from a SQL table to Excel through SSIS. So for example if I export the same values (2,2,3,2,4) to cells B1 through F1 and then open the Excel file, the values that were exported are in the correct cells, but the value in cell A1
is blank.
If I then select cells B1:F1 and do a copy and past, then the formula picks up the values, and does the calculation, showing 13.
dc -
Adding New Data To Same Page - HELP
I am trying to put together a invoice on the fly, the products are added to the invoice by selecting the disired product from a drop down menu and hitting the add button. You SHOULD then be able to select more products from the same drop down menu and htting add again will include it in the invoice.... simple?? Well the problem i have is that when i hit the add button to add another item it just replaces the one i have already added.... this is very annoying... i cannot think of a way to take the product data through the form submission ready for adding too.
Any Ideas this is really bugging me, and the more time i spend on it, the worse its getting. Code Below
<%@ page buffer="32kb" %>
<%@ page import="java.sql.*, javax.servlet.ServletException, java.io.IOException, com.stock_control.*" %>
<%!
String convertResultsToSelect ( ResultSet rs, String selectName, String idCol, String descCol ) throws SQLException
StringBuffer sb = new StringBuffer ( "<select name=" + selectName +">" );
if (rs != null) {
while (rs.next()) {
sb.append ( "<option value=" );
sb.append ( rs.getString(idCol) );
sb.append ( ">" );
sb.append ( rs.getString(descCol) );
sb.append ( "</option>" );
sb.append ( "</select>" );
return sb.toString ();
%>
<html>
<head>
<title>Members Area - Stock Check</title>
</head>
<body bgcolor="#CCCCCC" topmargin="0">
<%@ include file="topConn.jsp" %>
<%
String msg = "";
String name = "";
String address1 = "";
String address2 = "";
String town ="";
String postcode = "";
String country = "";
String phone = "";
String mail = "";
String comments = "";
float total = 0;
int nextFree = 0;
String prodResults;
int numberOfItems = 0;
String shop = (String)session.getValue("SHOP");
String selectProd = "SELECT ProductID, ProductName FROM product WHERE ShopID=";
rs1 = stmt.executeQuery(selectProd+shop);
prodResults = convertResultsToSelect( rs1, "product","ProductID","ProductName");
rs = stmt.executeQuery("SELECT COUNT(*) AS stockLevel FROM product WHERE ShopID ="+shop);
while(rs.next())
numberOfItems = rs.getInt("stockLevel");
Product[] products = new Product[numberOfItems];
if (request.getParameter("add")!=null)
// get values from all text boxes....
name = request.getParameter("name");
address1 = request.getParameter("address1");
address2 = request.getParameter("address2");
town = request.getParameter("town");
postcode = request.getParameter("postcode");
country = request.getParameter("country");
phone = request.getParameter("phone");
mail = request.getParameter("mail");
comments = request.getParameter("comments");
// add data from dropdown
String newProduct = request.getParameter("product");
//connect to database and put product data into array + increment
int thenewid = 0;
String theName = "";
float thePrice = 0;
String nono = "0";
String getProd = "SELECT * FROM product WHERE ProductID=";
rs = stmt.executeQuery(getProd+newProduct);
if(rs.next())
thenewid = Integer.parseInt(newProduct);
theName = rs.getString("ProductName");
thePrice = rs.getFloat("SalePrice");
Product addProduct = new Product(thenewid, theName, thePrice, nono);
products[nextFree] = addProduct; //PROBLEM
nextFree++;
// reload page with new data in form
//for loop arround array
%>
<form method="GET">
<div align=center>
<p>
<%=prodResults%>
<input type="submit" value="Add" name="add"></p>
<TABLE width=100% height="1">
<TBODY>
<tr>
<td width="4%" height="19"> </td>
<td width="96%" height="19">
</td>
</tr>
<tr>
<td width="4%" height="198"> </td>
<td width="96%" height="198">
<div align="center"></div>
<table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
<tr>
<td width="4%"> </td>
<td width="15%"><font face="Verdana" size="2">Customer Name</font></td>
<td width="30%"><input type="text" name="name" size="30" value="<%=name%>"></td>
<td width="19%"><font face="Verdana" size="2">Customer Phone #</font></td>
<td width="26%"><input name="phone" type="text" size="30" value="<%=phone%>"></td>
<td width="6%"> </td>
</tr>
<tr>
<td> </td>
<td><font face="Verdana" size="2">Address Line 1</font></td>
<td><input type="text" name="address1" size="40" value="<%=address1%>"></td>
<td><font face="Verdana" size="2">Customer E-mail</font></td>
<td><input name="mail" type="text" size="30" value="<%=mail%>"></td>
<td> </td>
</tr>
<tr>
<td height="32"> </td>
<td><font face="Verdana" size="2">Address Line 2</font></td>
<td> </td>
<td><font face="Verdana" size="2">Comments</font></td>
<td width="26%" rowspan="5"><p>
<textarea name="comments" cols="29" rows="5"><%=comments%></textarea>
</p>
<p> </p></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><font size="2" face="Verdana">Town/City</font></td>
<td><input name="town" type="text" size="40" value="<%=town%>">
<input name="address2" type="text" size="40" value="<%=address2%>"></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><font size="2" face="Verdana">Post Code</font></td>
<td><input type="text" name="postcode" size="10" value="<%=postcode%>"></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><font size="2" face="Verdana">Country</font></td>
<td><input type="text" name="country" size="40" value="<%=country%>"></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="23"> </td>
<td><strong><font size="2" face="Verdana">Product Code</font></strong></td>
<td><strong><font size="2" face="Verdana">Name</font></strong></td>
<td><strong><font size="2" face="Verdana">Price</font></strong></td>
<td> </td>
<td> </td>
</tr>
<%
if (request.getParameter("add")!=null)
for(int i=0; i<nextFree; i++)
Product temp = products;
int prodID = temp.getid();
String prodName = temp.getname();
float prodPrice = temp.getprice();
total = total + prodPrice;
// work out total on the fly
%>
<tr>
<td height="23"> </td>
<td> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=prodID%> </font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=prodName%></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">£<%=prodPrice%></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td> </td>
</tr>
<%
%>
<tr>
<td width="4%" height="23"> </td>
<td width="15%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td width="30%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td width="19%"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Total:</font></strong></td>
<td width="26%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=total%></font></td>
<td width="6%"> </td>
</tr>
</table>
<p align="center">
<input type="submit" value="Continue" name="continue">
</form>
</p>
</td> </tr> </TBODY></table>
<%@ include file="bottomConn.jsp" %>
</body>
</html>anyone?
-
'Get All New Data Request by Request' option not working Between DSO n Cube
Hi BI's..
Could anyone please tell me why the option ' Get one Request only' and 'Get All New Data Request by Request' is not working in DTP between Standard DSO and InfoCube.
Scenario:
I have done the data load by Yearwise say FY 2000 to FY 2009 in Infopackage and load it to Write-optimised DSO (10 requests) and again load Request by request to Standard DSO and activate each request. I have selected the option in DTP's to 'Get All New Data Request by Request' and its working fine between WDSO and SDSO. But not working between Cube and SDSO. While Execute DTP its taking as a single request from SDSO to Cube.( 10 request to single request).
Regards,
Sari.Hi,
How does your DTP setting looks like from below options ? It should be change log, assuming you are not deleting change log data.
Delta Init. Extraction from...
- Active Table (with archive)
- Active Table (without archive)
- Archive ( full extraction only)
- Change Log
Also if you want to enable deltas, please do not delete change log. That could create issue while further update from DSO.
Hope that helps.
Regards
Mr Kapadia
*Assigning points is the way to say thanks* -
Hello,
I am trying to load data from r/3 into the ODS.
When i check in the monitor its saying that
07:37:12 ( 549741 from 549741 Records )
But its not turning green.Its still yellow.
I checked the new data in the ODS. The number of entries in it is 0.Hi
You can view the data in ODS only after the status is green.
Check if it is showing any error in the description.
If not then wait for some time. we can't do anything as is it showing yellow(in process) status
Cheers
SM -
Refresh jTable after inserting new data into the Database
Hey all,
I'm using Netbeans 6.5 to create a Desktop Application which is connected to a Java DB (Derby).
The first simple steps were all very successfull:
Create the jTable and bind it to the Database => everything works fine. When the application starts it correctly shows all data from the database.
The problem starts when I try to insert new data to the database.
For that reason I've created textfields and a button "Save". When I press the button it successfully inserts the data to the database but they are not displayed in the jTable (when the application starts they are all there, they are not updated at runtime) . I've tried table.invalidate() and table.repaint() but they just don't work.
Any help will be GREATLY appreciated. But please have in mind that most of the code is Netbeans-generated and most of it not editable.
Many thanks in advance.
GeorgeOnce again you are right my friend. I jumped to conclusion way too fast, when I shouldn't. (Give me a break, I've been busting my head with this well over a week). The response I saw when I did that was that indeed a line is added to the jTable. Because I falsly set the index of the object to be added to be second to last the row appeared on the table, what I didn't see at the time was that the last one disappeared. Hmm...
A new adventure begins...
So after a few hours of messing around with it here are my observations:
1) It was not an observable list. When I add the new element with employeesList.add(newEmp); , the table gets notified but a get a bunch of exceptions:
xception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 84, Size: 84
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.jdesktop.swingbinding.impl.ListBindingManager$ColumnDescriptionManager.validateBinding(ListBindingManager.java:191)
at org.jdesktop.swingbinding.impl.ListBindingManager.valueAt(ListBindingManager.java:99)
at org.jdesktop.swingbinding.JTableBinding$BindingTableModel.getValueAt(JTableBinding.java:713)
at javax.swing.JTable.getValueAt(JTable.java:1903)
at javax.swing.JTable.prepareRenderer(JTable.java:3911)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
at javax.swing.JComponent.paintComponent(JComponent.java:743)
at javax.swing.JComponent.paint(JComponent.java:1006)
at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1602)
at javax.swing.JViewport.windowBlitPaint(JViewport.java:1568)
at javax.swing.JViewport.setViewPosition(JViewport.java:1098)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:818)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:807)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
at javax.swing.JScrollBar.setValue(JScrollBar.java:441)
at javax.swing.plaf.basic.BasicScrollBarUI.scrollByUnits(BasicScrollBarUI.java:907)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:778)
at javax.swing.plaf.basic.BasicScrollPaneUI$MouseWheelHandler.mouseWheelMoved(BasicScrollPaneUI.java:449)
at apple.laf.CUIAquaScrollPane$XYMouseWheelHandler.mouseWheelMoved(CUIAquaScrollPane.java:38)
at java.awt.Component.processMouseWheelEvent(Component.java:5690)
at java.awt.Component.processEvent(Component.java:5374)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4211)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 84, Size: 84
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.jdesktop.swingbinding.impl.ListBindingManager$ColumnDescriptionManager.validateBinding(ListBindingManager.java:191)
at org.jdesktop.swingbinding.impl.ListBindingManager.valueAt(ListBindingManager.java:99)
at org.jdesktop.swingbinding.JTableBinding$BindingTableModel.getValueAt(JTableBinding.java:713)
at javax.swing.JTable.getValueAt(JTable.java:1903)
at javax.swing.JTable.prepareRenderer(JTable.java:3911)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
... and a lot morewhich from my poor understanding means that the jTable succesfully notices the change but it is not able (??) to adjust to the new change. What is more interesting is that when I plainly add the element to the end of the list (without an idex that is), a blank row appears at the end of my Table. The weird thing is that I've bound the table to some text fields below it, and when I select that empty row all the data appear correctly to the text fields.
I tried going through:
org.jdesktop.observablecollections.ObservableCollections.observableList(employeesList).add(newEmp);as well as
help = org.jdesktop.observablecollections.ObservableCollections.observableListHelper(employeesList);
help.getObservableList().add(newEmp);
help.fireElementChanged(employeesList.lastIndexOf(newEmp));and
obsemployeesList = org.jdesktop.observablecollections.ObservableCollections.observableList(employeesList);
obsemployeesList.add(newEmp);and I still get the same results (both the exeptions and the mysterious empty row at the end of the table
So, I'm again in terrible need of your advice. I can't thank you enough for the effort you put into this.
Best regards,
George
Edited by: tougeo on May 30, 2009 11:06 AM
Edited by: tougeo on May 30, 2009 11:21 AM
Edited by: tougeo on May 30, 2009 11:30 AM -
Why in SE16 we can not see New Data Table for standard DSO
Hi,
We says that there is three tables (New Data Table, Active Data Table and Change Log Table) of Standard DSO, Then Why in SE16 we can not see New Data Table of Standard DSO.
Regards,
SushantHi Sushant,
It is possible to see the 3 DSO tables data in through SE16. May be you do not have authorization to see data through SE16.
Sankar Kumar -
New Data in R/3 Enterprise - ABAP Proxies - XI what happen?
Hi,
i have a theoretical question:
if i use R/3 Enterprise on WAS and put new Data in the R/3 System and transport them to XI with ABAP Proxies. What happens in the systems?
How do the R/3 System put new data in the proxy runtime and send them to xi?
I want to unterstand how the transport from new data in a R/3 System with ABAP Proxies comes to the XI Integration Server.Hi Marcel,
>>>>>How do the R/3 System put new data in the proxy runtime and send them to xi?
all you need to do in r3 is to fill tables of a generated structure
and execute one method of a generated class (send....)
then R3 will connect over HTTP to XI and send the data from your structures
structures and class in R3 is being generated automatically via TCODE SPROXY
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
No new data in cube after a incoming maintenance job
Hi,
I thought I had read about this topic before, so I tried searching the forum but I didn't find any relevant threads.
Anyways,
I have a cube(partitioned along month) that I want to add new data to every day. I maintain the cube using AWM and accept all the default values for the maintenance job except for in the "cube data processing options" where I select "aggregate the cube for only the incoming data values".
But after I do this, none of the new data is shown.
I have mapped the cube to a view where I only have the data from the last couple of days to limit the load. When I do a select count against the view i get the result 150961 rows. When I check the xml_load_log I see this: Processed 150961 Records. Rejected 0 Records.
Some of the data in the view already exists in the cube, and some are new and its the new data that's not there.
I used OX to check the prt_topvar and the data isn't here either.
When I do the maintenance it takes about 15-20 minutes so everything seems normal.
Anyone have any ideas what might be wrong? any suggestions would be appreciated.
regards Ragnar
edit: I just did a similar maintenance, but this time I limited the view to only new values and the time it took was just 15 seconds from it started the load of measures and until it was done with the solve.
Message was edited by:
rhaugOnce again, thank you for your reply.
Regarding the 10.2.0.3A patch: Unfortunately the only access I have to the server is with developertools like AWM, OWB, sqlplus etc. so I'm not able to check out whats located in the home of the DB(I guess this is where the executable objects would be). Whenever support wants me to apply a new patch I have to ask my DBA, but he is on vacation at the moment and that makes it a bit more difficult. Hopefully he still has the log file and I can check it out once he gets back. So for now I'm not doing anything more with checking if the patch is properly installed.
Regarding maintenance of incoming values: I found a nice workaround for this one.
To describe a little more how it was when it wouldn't work. The cube is partitioned along months in the timedimension, and for every new day I would add that level in the timedimension as well. If I was to create a report today, the highest date I would see would be wed July 18. Then after a new maintenance of incoming values tomorrow, the highest value would be thu July 19, and so on. The logic in the source views for this works perfectly for me, but would easily be a source for error as well if you are not 100% sure on how this would work for you.
What I had to do in order to make the cube load the incoming values: On my first initial load of the cube, I loaded every day up until 31-12-2007. After I did this maintenance of incoming data works fine, and I suspect it will throughout the year. This might be the way it should be as well, I'm not sure. Seems like you have to include all the days in the partition when you do a full aggregation in order for the maintenance of the incoming values to be updated. What I noticed was that it would update days that was already partially loaded, but not days that was added from the incoming maintenance.
Hope this made some sense to read.
regards Ragnar -
DSO activation: Data in new data table but missing in active data table?
we use an end routine in transformation to populate a data field in DSO.
it works as we can see the value populated in new data table.
when we activate (activation) DSO, we see the value is deleted from this data field.
why?
this data field is set as an characteristic info obj in the data field portion of the DSO.
we are using 2004s, I forget to check the SP level.
Georgegood job ,thanks for the update and good luck.
I saw it late on this, else i never miss OSS notes
Chetan
@CP..
Maybe you are looking for
-
Web service proxy client with client cert cause SSLSessionNotFoundErr
Hi, I tried to run web service proxy client with certification from JDeveloper 10.1.3.0.4 to call PKI enabled web service got folllowing error: WARNING: Unable to connect to URL: due to java.security.PrivilegedActionException: javax.xml.soap.SOAPExce
-
Table lookup instead of fixed value mapping
Hi Folks, My current scenario is that I have used fixed value mapping to map a single target field. These details are actually maintained in the TP_Code table in R3 (a sample table). TradingPartner:SAP:Short Text PA:PA:Package PL:PAL:Pallet The tabl
-
Pan and Zoom in a Windows instead of Full Screen?
Hi, Tried using the Pan & Zoom and found it very difficult to work with. I had an image I wanted to be displayed on the screen but I only wanted it to use 1/3 of the screen. I sized the image and then went to pan/zoom. The image re-sized to full scre
-
Hi, I have Windows 2008 R2 Terminal server (64Bit) with Reader X. (V10.0.0). I'm having a problem with Windows Preview Pane (in outlook preview pane it's work perfect). I'm getting error when I'm stand on PDF file. to solved it i need to open acrobat
-
I am unable to connect to wi-fi on my iPad and cannot get it activatd on iTunes.