FDM Import - INSERT INTO
Hi,
I`m doing an import from FDM using SqlIntegration script, as suggested in the manual. This script use rsappend, and this command has a memory limit of 2GB. When the limit was reached the process stops with error OUT OF MEMORY. Oracle suggests that I use INSERT INTO. I`m not able to execute this command using API.
Somebody has an example like that?
Thanks advanced.
You are not limited to the API when it comes to database handling; however, it obviously makes your life easier.
You can use ADO and create any type of query you want.
http://msdn.microsoft.com/en-us/library/ms676589(v=VS.85).aspx
Execute is the method you'll want to focus on to execute the SQL you'd need.
http://msdn.microsoft.com/en-us/library/ms681559(v=vs.85).aspx
Similar Messages
-
Cannot Import Graphics Into Project
I am experiencing some very odd behavior in RoboHelp 9 project. When I attempt to import/insert a graphic into a topic, I receive the message:
Unable to rename file, "image.gif".
The file contains illegal characters.
First of all, I am NOT trying to rename the graphic. Secondly, the file name image.gif does not contain illegal characters. This happens for any graphic I attempt to import/insert into the project. Any ideas? Thanks in advance.Hi there
If you click File > Rename Project (don't worry, we aren't really going to rename the project) what do you see at the bottom of the dialog where it shows the path?
Just click Cancel to dismiss the dialog.
Cheers... Rick -
SQL Insert Into error on import in FDM
Hi,
I am struggling to run a FDM Integration script to import data from SQL table to send to HFM. Error on import -
Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'openquery'. Error during data import
Below is the script:
strSQL = "insert into " & strWorkTableName & "("
strSQL = strSQL & "PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType,DataValue, Account,Entity,ICP)"
strSQL = strSQL & "Select " & RES.PlngLocKey & "," & RES.PlngCatKey & ","
strSQL = strSQL & Day(RES.PdtePerKey) & "-" & MonthName(Month(RES.PdtePerKey), True) & "-" & Year(RES.PdtePerKey) & ","
strSQL = strSQL & "YTD,9,Value,Account,Entity,Inter_Company_Entity_HFM"
strSQL = strSQL & "from openquery(dw_foundation.dbo.FOU_GL_ACTUAL_MTO,"
strSQL = strSQL & "Select Amount, Account, Entity,Event,Period"Hi
The SAP Tables are on another server, after changing the script i now get the following error:
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'from'. Error during data import
strSQL = "INSERT INTO " & strWorkTableName
strSQL = strSQL & "(PartitionKey,CatKey,PeriodKey,DataView,CalcAcctType,DataValue,Account,Entity,ICP)"
strSQL = strSQL & "Select " & RES.PlngLocKey & "," & RES.PlngCatKey & ","
strSQL = strSQL & " Year,Period,Entity,Account,Inter_Company_Entity_HFM,'YTD',Value, 9, "
strSQL = strSQL & " from ODI_WORK_MARS.dbo.TMP_HFM_DATA_EXTRACT_TIN1 " -
Using INSERT INTO for FDM Memory Issue
All -
We configured FDM to run an integration script into our EBS instance upon the import step. It worked fine for a time, then we began running out of memory on the FDM server. Upon Oracle's suggestion, we stopped running through a record set to append and update the values to strWorkTableName and instead began using INSERT INTO. I admit, I have never needed to use the INSERT INTO way of doing things so I may be missing something bery basic.
Our integration script:
Function SQLIntegration2(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM IMPORT Integration Script:
'Created By: karks
'Date Created: 2011-10-26 13:05:18
'Purpose:
Dim strSQL 'SQL string
Dim lngPartitionKey
Dim strConn 'Connection string to the source data
Set cnSS = CreateObject("ADODB.Connection")
lngPartitionKey = RES.PlngLocKey
strConn= "File Name=C:\Users\karksadm\Desktop\NewConnection.udl;"
cnSS.open strConn
strSQL = "Insert Into " & strWorkTableName & " (PartitionKey, CatKey, PeriodKey, DataView, Amount , Account, Entity, ICP, UD1, UD2, UD3, UD4) "
strSQL = strSQL & "SELECT " & lngPartitionKey & ", " & lngCatKey & ", TO_DATE (TO_DATE ('30/12/1899','dd/mm/yyyy')+" & dblPerKey & "), 'YTD', EBS.YTD_BALANCE, EBS.ACCOUNT, EBS.SEGMENT1, EBS.SEGMENT5, EBS.SEGMENT4, EBS.SEGMENT5, '[None]', EBS.CURRENCY_CODE FROM "
strSQL = strSQL & "(Select D.NAME, A.CODE_COMBINATION_ID, D.NAME LEDGER_NAME, A.ACTUAL_FLAG, C.PERIOD_YEAR, TO_CHAR (C.START_DATE, 'MON-YY') AS PERIOD, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3) As ACCOUNT, B.SEGMENT4, B.SEGMENT5, A.CURRENCY_CODE, "
strSQL = strSQL & "(SUM (A.BEGIN_BALANCE_DR) + SUM (A.PERIOD_NET_DR) - SUM (A.BEGIN_BALANCE_CR) - SUM (A.PERIOD_NET_CR)) As YTD_BALANCE "
strSQL = strSQL & "FROM GL.GL_BALANCES A, GL.GL_CODE_COMBINATIONS B, GL.GL_PERIODS C, GL.GL_LEDGERS D "
strSQL = strSQL & "WHERE 1 = 1 And A.LEDGER_ID = D.LEDGER_ID And A.PERIOD_NUM = C.PERIOD_NUM And C.PERIOD_YEAR = A.PERIOD_YEAR "
strSQL = strSQL & "And A.CODE_COMBINATION_ID = B.CODE_COMBINATION_ID And B.SUMMARY_FLAG = 'N' AND C.PERIOD_SET_NAME = D.PERIOD_SET_NAME "
strSQL = strSQL & "And (B.SEGMENT1 = 001 And A.CURRENCY_CODE = 'USD' And D.LEDGER_ID = 2022) "
strSQL = strSQL & "And C.END_DATE = TO_DATE (TO_DATE ('30/12/1899','dd/mm/yyyy')+" & dblPerKey & ") "
strSQL = strSQL & "And B.CHART_OF_ACCOUNTS_ID = D.CHART_OF_ACCOUNTS_ID And A.ACTUAL_FLAG = 'A' "
strSQL = strSQL & "And ((A.BEGIN_BALANCE_DR) + (A.PERIOD_NET_DR) - ((A.BEGIN_BALANCE_CR) + (A.PERIOD_NET_CR))) <> 0 "
strSQL = strSQL & "GROUP BY A.CODE_COMBINATION_ID, D.NAME, A.CURRENCY_CODE, TO_CHAR (C.START_DATE,'MON-YY'), C.PERIOD_YEAR, A.ACTUAL_FLAG, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3), B.SEGMENT4, B.SEGMENT5 "
strSQL = strSQL & "ORDER BY B.SEGMENT4) EBS"
DW.DataManipulation.fExecuteDML(strSQL)
'Give success message
RES.PlngActionType = 2
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
SQLIntegration2 = True
cnSS.close
Set cnSS = Nothing
End FunctionI can run the SQL minus the Insert line in my SQL Developer and it works fine. When I run the script in its entirety in FDM, we receive the following:
** Begin FDM Runtime Error Log Entry [2012-01-23 11:37:30] **
ERROR:
Code............................................. -2147217865
Description...................................... ORA-00942: table or view does not exist
Insert Into tWibison72564424799 (PartitionKey, CatKey, PeriodKey, DataView, Amount , Account, Entity, ICP, UD1, UD2, UD3, UD4) SELECT 772, 28, TO_DATE (TO_DATE (N'30/12/1899',N'dd/mm/yyyy')+40724), N'YTD', EBS.YTD_BALANCE, EBS.ACCOUNT, EBS.SEGMENT1, EBS.SEGMENT5, EBS.SEGMENT4, EBS.SEGMENT5, N'[None]', EBS.CURRENCY_CODE FROM (Select D.NAME, A.CODE_COMBINATION_ID, D.NAME LEDGER_NAME, A.ACTUAL_FLAG, C.PERIOD_YEAR, TO_CHAR (C.START_DATE, N'MON-YY') AS PERIOD, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3) As ACCOUNT, B.SEGMENT4, B.SEGMENT5, A.CURRENCY_CODE, (SUM (A.BEGIN_BALANCE_DR) + SUM (A.PERIOD_NET_DR) - SUM (A.BEGIN_BALANCE_CR) - SUM (A.PERIOD_NET_CR)) As YTD_BALANCE FROM GL.GL_BALANCES A, GL.GL_CODE_COMBINATIONS B, GL.GL_PERIODS C, GL.GL_LEDGERS D WHERE 1 = 1 And A.LEDGER_ID = D.LEDGER_ID And A.PERIOD_NUM = C.PERIOD_NUM And C.PERIOD_YEAR = A.PERIOD_YEAR And A.CODE_COMBINATION_ID = B.CODE_COMBINATION_ID And B.SUMMARY_FLAG = N'N' AND C.PERIOD_SET_NAME = D.PERIOD_SET_NAME And (B.SEGMENT1 = 001 And A.CURRENCY_CODE = N'USD' And D.LEDGER_ID = 2022) And C.END_DATE = TO_DATE (TO_DATE (N'30/12/1899',N'dd/mm/yyyy')+40724) And B.CHART_OF_ACCOUNTS_ID = D.CHART_OF_ACCOUNTS_ID And A.ACTUAL_FLAG = N'A' And ((A.BEGIN_BALANCE_DR) + (A.PERIOD_NET_DR) - ((A.BEGIN_BALANCE_CR) + (A.PERIOD_NET_CR))) <> 0 GROUP BY A.CODE_COMBINATION_ID, D.NAME, A.CURRENCY_CODE, TO_CHAR (C.START_DATE,N'MON-YY'), C.PERIOD_YEAR, A.ACTUAL_FLAG, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3), B.SEGMENT4, B.SEGMENT5 ORDER BY B.SEGMENT4) EBS
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 4424
IDENTIFICATION:
User............................................. ibisons
Computer Name.................................... HOU-HYSDEV02
App Name......................................... SWNFDMRC
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... FDMDEV
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EBSINTEGRATION
Location ID...................................... 772
Location Seg..................................... 25
Category......................................... EBS2
Category ID...................................... 28
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2012-01-23 11:37:31] **
ERROR:
Code............................................. -2147217865
Description...................................... Data access error.
At line: 33
Procedure........................................ clsImpProcessMgr.fExecuteImpScript
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 4424
IDENTIFICATION:
User............................................. ibisons
Computer Name.................................... HOU-HYSDEV02
App Name......................................... SWNFDMRC
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... FDMDEV
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EBSINTEGRATION
Location ID...................................... 772
Location Seg..................................... 25
Category......................................... EBS2
Category ID...................................... 28
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2012-01-23 11:37:31] **
ERROR:
Code............................................. -2147217865
Description...................................... Data access error.
At line: 33
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 4424
IDENTIFICATION:
User............................................. ibisons
Computer Name.................................... HOU-HYSDEV02
App Name......................................... SWNFDMRC
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... FDMDEV
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... EBSINTEGRATION
Location ID...................................... 772
Location Seg..................................... 25
Category......................................... EBS2
Category ID...................................... 28
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
I really think the issue is that I am not telling the script where to find the Oracle tables at. I left the code in where we were using the UDL to call in the opening of the record set, but since we are doing away with the record set how do I let FDM know where to find the Oracle tables?
Thanks in advance - I've been wrestling with this for several days.
Thanks you,
SarahHere's a script with INSERT INTO that works fine if FDM back-end is SQL DB and it's pulling from FDMHarris data warehouse which is on SQL Server.
Problem is when FDM back-end is Oracle DB and it's pulling from FDMHarris data warehouse which is on SQL Server.
I'm assuming the INSERT INTO statement needs to be written differently, syntax wise?
Here's the error message displayed.
** Begin FDM Runtime Error Log Entry [2012-06-03 21:18:15] **
ERROR:
Code............................................. -2147217900
Description...................................... ORA-00933: SQL command not properly ended
INSERT INTO tWadmin476032843931 (PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) SELECT 752, 12, N'30-Apr-2012', N'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount FROM FDMHarris.dbo.tdataseg4;
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 3284
Function INSERTINTO(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM IMPORT Integration Script:
'Created By: admin
'Date Created: 2012-06-03 11:31:39
'Purpose:
Dim objSS 'ADODB.Connection
Dim strSQL 'SQL String
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs Object
Dim strPeriod
Dim strYear
'Period
'strPeriod=MonthName(Month(RES.PdtePerKey))
a=CStr(FormatDateTime(RES.PdtePerKey,1))
'Tuesday,January 30, 2012
b=Right(a,(Len(a)-Len(DW.Utilities.fParseString(a,1,1,",")))) '7
c=DW.Utilities.fParseString(b,2,2,",")
strPeriod=Left(c,3)
'Year
'strYear=Year(RES.PdtePerKey)
strYear=Right(b,4)
DW.DBTools.mLogError 1, CStr(strPeriod), CStr(strYear), Nothing
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
'Connect To SQL Server database
cnss.open "Provider=SQLOLEDB.1;Password=datafusion;Persist Security Info=True;User ID=sa;Initial Catalog=FDMHarris;Data Source=dfv11122"
'DW.DBTools.mLogError 1, CStr(strSQL), CStr(strSQL), Nothing
'Initialize common SQL statement
strSQL = "INSERT INTO " & _
strWorkTableName & " " & _
"(PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) " & _
"SELECT " & RES.PlngLocKey & ", " & RES.PlngCatKey & ", " & _
"'" & Day(RES.PdtePerKey) & "-" & MonthName(Month(RES.PdtePerKey), True) & "-" & Year(RES.PdtePerKey) & "', " & _
"'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount " & _
"FROM FDMHarris.dbo.tdataseg4;" '& _
' "WHERE Month = '" & strPeriod & "' And CalYear = '" & strYear & "'"
DW.DBTools.mLogError 1, CStr(strSQL), CStr(strWorkTableName), Nothing
DW.DataManipulation.fExecuteDML(strSQL)
'cnss.Execute strSQL
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
INSERTINTO = True
cnss.Close
Set cnss = Nothing
End Function
Edited by: user12152138 on Jun 3, 2012 6:43 PM -
Import Balances into FDM as YTD Even Though ERPi Extracts in Periodic
Hi All,
We are trying to load data into HFM by using FDM using ERPI integrator adaptor.here issue is revnue and expense accounts are loading as periodic insted of YTD,so we have to load revenue ane expense should load as YTD format.
oracle analyst given us refrence doc(How to Import Balances into FDM as YTD Even Though ERPi Extracts in Periodic [ID 1077823.1]) script for this: The below script we have created in script editor as import (dataPump).then after where we have to map this import script,i am not sure this script is right or not.
even we have tried to import data from EBS still importing periodic for revenue and expense accounts.
Any one plz help me here.
Function TestImport2(strField, strRecord)
'Oracle Hyperion FDM DataPump Import Script:
'Created By: admin
'Date Created: 1/11/2010 8:46:02 AM
'Purpose:
Int BEGIN_BALANCE_DR
Int BEGIN_BALANCE_CR
Int PERIOD_NET_DR
Int PERIOD_NET_CR
Dim Account_Type
If InStr(1,strRecord,"|")=0 Then
RES.pblnskip = False
Exit Function
End If
'Check to make sure this isn't the first row
If DW.Utilities.fParseString(strRecord, 50, 38, "|") = "BEGIN_BALANCE_DR" Then
Res.pblnskip = True
Exit Function
End If
'Parse out the different value columns in the import file
BEGIN_BALANCE_DR = DW.Utilities.fParseString(strRecord, 50, 38, "|")
BEGIN_BALANCE_CR = DW.Utilities.fParseString(strRecord, 50, 39, "|")
PERIOD_NET_DR = DW.Utilities.fParseString(strRecord, 50, 40, "|")
PERIOD_NET_CR = DW.Utilities.fParseString(strRecord, 50, 41, "|")
Account_Type = DW.Utilities.fParseString(strRecord, 50, 42, "|")
'Do Some Math
If LCase(account_type) = "1" Then
TestImport2 = (BEGIN_BALANCE_DR - BEGIN_BALANCE_CR + PERIOD_NET_DR - PERIOD_NET_CR) * (-1)
Else
TestImport2 = (BEGIN_BALANCE_DR - BEGIN_BALANCE_CR + PERIOD_NET_DR - PERIOD_NET_CR)
End If
End Function
Thanks,
sriWhich version of FDM are you using 11.1.2.x uses a direct data link to move the data into FDM from the ERPI staging tables with no flat file intemediary so the data pump script would be useless to you. If you are using an older version then go to the import format used as part of the ERPI adapter setup and the script reference to the expression box against the amount field.
-
Import parametes and insert into database table suggestions
experts need suggestions
created a table with 3 fields.
zstable.
field dataelement type length
kunnr kunnr char 10 key field
name dname char 30 key field
aedat aedat dats 8
aenam aenam char 12
now i am creating a function modlue with two input parameters
1)kunnr
2)name
i want to update this two fields into table zstable.
1. so suggest me the best way to do this.
Delcarations in import options which one of the below is best and why?
name type char30
kunnr type kunnr
or
name like zstable-name
kunnr like zstable-kunnr
or
kunnr type zstable-kunnr
name type zstable-name.
2. inserting into table
the data that we recieve from the import parameters need to be inserted into the zstable.
please suggest me the appropriate statement waht i need to code for this.
insert kunnr name into zstable.
can i ignore the third field as it is not the key field?
3. before inserting do i need to check whether kunnr and uname is initial ie import parametrs?
4. suppose if i delcared two input parameters in function module zfuntion say vbeln and posnr.
and source code
insert vbeln and posnr into zstable.
now i am calling from the program
zreport.
call function 'ZFUNCTION'.
EXPORT
NAME =
KUNNR =
Will the above statement updates the blank records into the table zstable?.Hi,
1) I think the best is either refer directly to data element or to table field. This is beacuse once any change is made to this data element it will automatically reflect in your parameters. For table fields it is a bit less safier but still correct. Golden rule - always try to refer to DDIC components like data elements.
name type dname
kunnr type kunnr
2) You need to provide all key fields. I recommend to use MODIFY as it would hanlde both INSERT (if yet no such record exists ) and UPDATE (if already exists).
data: wa_zstable type zstable. "declare work area
wa_zstable-kunnr = kunnr. "pass parameters here
wa_zstable-name = name.
modify zstable from wa_zstable.
3) good practise, for this use
if kunnr is initial and
name is initial.
"modify ...
endif.
"or if parameters are set as OPTIONAL, then use
if kunnr is supplied and
name is supplied.
endif.
4) No, the statment you want to use
insert vbeln and posnr into zstable.
is only used for FIELD GROUPS, not DB table. Please refer [INSERT|http://help.sap.com/abapdocu/en/ABAPINSERT_DBTAB_SHORTREF.htm] for correct syntax.
You can alternatively use somthing like
UPDATE zstable SET vbeln = ...
posnr = ...
WHERE ...
This will update fields VBELN and PONR for all records fullfilling WHERE condition. These however musn't be key fields, only non-key fields can be udpated.
Regards
Marcin -
Import(insert) formatted text(HTML) into document
Hi guys, I have faceed with folowing problem:
how to insert into text frame formatted text ?
At Indesign desktop version this feature was able through pasting HTML from clippboard with appropriate settings of clippboard preferences. But at server version there is no such function.
I have also invesigated XML import: you can set up text and paragraph styles and map them with tags but this technique doesnt support nested styles for instance if you have <b><i>xxx</i></b> and appropriate styles "b" and "i" i will be applied to "xxx".
So I need to insert html as it did clipboard pasting.
Any thoughts ?Questions:
1. What version of SQL Server are you using?
2. Are you required to use a specific DTS package or do you simply need to import data from a file to a table? You might also consider using the bcp utility or, if you are using 2005 or newer, integration services.
3. Is the uploading of files and the import of data a manual process or is it automated? Is there a user uploading one file at a time to your server or do you receive files in batches. Can you describe the work flow?
You might try the following if you are required to use DTS:
1. Upload your text file with CFFILE, putting in the directory expected by your DTS package.
2. Rename the file to the name required by your DTS package
3. Use CFEXECUTE to run the DTS package by calling dtsrun at the command line.
dtsrun
http://msdn.microsoft.com/en-us/library/aa224467%28SQL.80%29.aspx
bcp
http://msdn.microsoft.com/en-us/library/aa174646%28SQL.80%29.aspx -
INSERT INTO QUERY AGAINST ORACLE
I've tested the INSERTINTO query where it successfully pulls data from one table in SQL DB and inserts into another SQL DB.
However, when I use the same script to pull data from one table in Oracle DB to another table in Oracle DB, I get an error.
I'm assuming the syntax is a little different for Oracle?
Added debugging and the query looks like this...
** Begin FDM Runtime Error Log Entry [2012-06-27-21:20:57] **
ERROR:
Code............................................. 1
Description...................................... INSERT INTO tWadmin30284128092 (PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) SELECT 752, 12, '31-Mar-2008', 'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount FROM tdataseg4
Error Message...
** Begin FDM Runtime Error Log Entry [2012-06-27-21:10:52] **
ERROR:
Code............................................. -2147217900
Description...................................... ORA-02291: integrity constraint (FDM1113ORCL.FKC_DS6_TCTRLPERIOD) violated - parent key not found
INSERT /*+ Append */ INTO tDataSeg6 ( PartitionKey, CatKey, PeriodKey, DataView, CurKey, CalcAcctType, ChangeSign, JournalID, Amount, AmountX, Account, AccountX, AccountR, AccountF, Entity, EntityX, EntityR, EntityF, ICP, ICPX, ICPR, ICPF, UD1, UD1X, UD1R, UD1F, UD2, UD2X, UD2R, UD2F, UD3, UD3X, UD3R, UD3F, UD4, UD4X, UD4R, UD4F, DESC1, DESC2, ATTR1, ATTR2, ATTR3, ATTR4, ATTR5, ATTR6, ATTR7, ATTR8, ATTR9, ATTR10, ATTR11, ATTR12, ATTR13, ATTR14, ArchiveID, HasMemoItem, StaticDataKey ) SELECT PartitionKey, CatKey, PeriodKey, DataView, CurKey, CalcAcctType, ChangeSign, JournalID, Amount, AmountX, Account, AccountX, AccountR, AccountF, Entity, EntityX, EntityR, EntityF, ICP, ICPX, ICPR, ICPF, UD1, UD1X, UD1R, UD1F, UD2, UD2X, UD2R, UD2F, UD3, UD3X, UD3R, UD3F, UD4, UD4X, UD4R, UD4F, DESC1, DESC2, ATTR1, ATTR2, ATTR3, ATTR4, ATTR5, ATTR6, ATTR7, ATTR8, ATTR9, ATTR10, ATTR11, ATTR12, ATTR13, ATTR14, ArchiveID, HasMemoItem, StaticDataKey From tWadmin436038889587
Procedure........................................ clsDataManipulation.fExecuteDML
Component........................................ upsWDataWindowDM
Version.......................................... 1111
Thread........................................... 3888
Function INSERTINTO(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM IMPORT Integration Script:
'Created By: admin
'Date Created: 2012-06-27-21:01:10
'Purpose:
Dim objSS 'ADODB.Connection
Dim strSQL 'SQL String
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs Object
Dim strPeriod
Dim strYear
'Period
'strPeriod=MonthName(Month(RES.PdtePerKey))
a=CStr(FormatDateTime(RES.PdtePerKey,1))
'Tuesday,January 30, 2012
b=Right(a,(Len(a)-Len(DW.Utilities.fParseString(a,1,1,",")))) '7
c=DW.Utilities.fParseString(b,2,2,",")
strPeriod=Left(c,3)
'Year
'strYear=Year(RES.PdtePerKey)
strYear=Right(b,4)
DW.DBTools.mLogError 1, CStr(strPeriod), CStr(strYear), Nothing
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
'Connect To SQL Server database
cnss.open "Provider=OraOLEDB.Oracle.1;Password=password;Persist Security Info=True;User ID=fdm1113orcl;Data Source=orcl"
'DW.DBTools.mLogError 1, CStr(strSQL), CStr(strSQL), Nothing
'Initialize common SQL statement
strSQL = "INSERT INTO " & _
strWorkTableName & " " & _
"(PartitionKey, CatKey, PeriodKey, DataView, CalcAcctType, Entity, Account, UD1, UD2, UD4, Amount) " & _
"SELECT " & RES.PlngLocKey & ", " & RES.PlngCatKey & ", " & _
"'" & Day(RES.PdtePerKey) & "-" & MonthName(Month(RES.PdtePerKey), True) & "-" & Year(RES.PdtePerKey) & "', " & _
"'YTD', 9, Entity, Account, UD1, UD2, UD4, Amount " & _
"FROM tdataseg4 " '& _
DW.DBTools.mLogError 1, CStr(strSQL), CStr(strWorkTableName), Nothing
DW.DataManipulation.fExecuteDML(strSQL)
'cnss.Execute strSQL
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
INSERTINTO = True
cnss.Close
Set cnss = Nothing
End FunctionEdited by: user12152138 on Jun 27, 2012 6:29 PM
Edited by: user12152138 on Jun 27, 2012 6:33 PM
Edited by: user12152138 on Jun 27, 2012 6:36 PM
Edited by: user12152138 on Jun 27, 2012 6:37 PM
Edited by: user12152138 on Jun 27, 2012 6:46 PMHi together,
I fixed the problem. I multiply the origin number with 10. The result is a number without any comma. During the insert into MSSql I divide by 10.
I now, this is a very strange solution but it works.
Yes I know this helps only, because the column can only save number with one decimal place. For higher decimal places you have to multiple it with 100 or 1000 or......
Hope this helps also other peoples.
kind regards
Joe -
Load/import images into layers to create animated gif in PE4
I'm trying to make an animated gif using Photoshop Elements 4.0.
I have numerous images (photos) that I need to insert into separate frames of one image.
(photo1, photo2 ..... photo10 - all combined in layers to create the frames of the animated gif)
I can open each photo separately, copy it, go the the animated gif image, create a new layer, and paste the image into the layer to create a frame in the animated gif. This is very time consuming.
Does Elements 4.0 allow for just opening/importing the separate images (photos) into the layers (frames) of the gif direclty? I remember having software that came with Macromedia Dreamweaver 4.0 in 2000 that made this simple and straight forward.We are not the right people to ask. The Touch forum (for tablet) is at
Adobe Photoshop Touch for tablet
There's a long list f video tutorials here, but I can't see anything about animation
Learn Photoshop Touch | Adobe TV -
hi,guruvulu
this is the program...............to insert the data into sap r/3 table
but record is not inserting....any commit i have to write in my program?
Created on Feb 20, 2007
TODO To change the template for this generated file go to
Window - Preferences - Java - Code Style - Code Templates
package comm;
@author sapusr006
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Example2.java
Property of SAP AG, Walldorf
(c) Copyright SAP AG, Walldorf, 2000-2005.
All rights reserved.
//import java.sql.Connection;
//import java.sql.PreparedStatement;
import com.sap.mw.jco.IFunctionTemplate;
import com.sap.mw.jco.IRepository;
import com.sap.mw.jco.JCO;
@version 1.0
@author SAP AG, Walldorf
public class Fm {
// The MySAP.com system we gonna be using
static final String SID = "R3";
// static String query="insert into BAPI_COMPANYCODE_GETLIST values(?,?)";
// The repository we will be using
IRepository repository;
//ESTABLISHING A CONNECTION TO SAP
public Fm()
try {
JCO.addClientPool( SID, // Alias for this pool
10, // Max. number of connections
"800", // SAP client
"RFCTEST", // userid
"welcome", // password
"EN", // language
"10.10.88.170", // host name
"01" );
// Create a new repository
// The repository caches the function and structure definitions
// to be used for all calls to the system SID. The creation of
// redundant instances cause performance and memory waste.
repository = JCO.createRepository("MYRepository", SID);
catch (JCO.Exception ex) {
System.out.println("Caught an exception: \n" + ex);
// RETRIEVES AND DISPLAY A ZHR INFOTYPE OPERATION
public void salesOrders()
JCO.Client client = null;
try {
// Get a function template from the repository
//System.out.println("goes to sales order");
IFunctionTemplate ftemplate = repository.getFunctionTemplate("ZHR_INFOTYPE_OPERATION");
System.out.println("hai");
if(ftemplate != null) {
// Create a function from the template
JCO.Function function = ftemplate.getFunction();
JCO.ParameterList paralist=function.getImportParameterList();
paralist.setValue("0000000011","PERNR");
paralist.setValue("UPD","ACTIO");
paralist.setValue("A","TCLAS");
System.out.println("hello");
paralist.setValue("20061215","BEGDA");
System.out.println("hello");
paralist.setValue("20061215","ENDDA");
paralist.setValue("1","OBJPS");
paralist.setValue("LTA","SUBTY");
System.out.println("SETTING VALUES");
// Get a client from the pool
client = JCO.getClient(SID);
System.out.println("goes to sales order");
//function.getImportParameterList().setValue("QUERY_TABLE","ZHRJ2EETEST");
//EXECUTING THE FUNCTION
client.execute(function);
System.out.println("after exeucting the function");
// NO OF IMPORT PARAMS IT DISPLAY
//STRUCTURE
JCO.Structure returnStructure =
function.getExportParameterList().getStructure("RETURN");
String structure=returnStructure.toString();
System.out.println(structure);
JCO.Table sales_orders = function.getTableParameterList().getTable("PROPOSED_VALUES");
System.out.println("after function");
System.out.println("proposed111"+sales_orders.getNumRows());
sales_orders.firstRow();
sales_orders.appendRows(3);
sales_orders.setValue("0582","INFTY");
sales_orders.setValue("P0582-AMTEX","FNAME");
sales_orders.setValue("200.00","FVAL");
sales_orders.nextRow();
sales_orders.setValue("0582","INFTY");
sales_orders.setValue("P0582-JBGDT","FNAME");
sales_orders.setValue("20061215","FVAL");
sales_orders.nextRow();
sales_orders.setValue("0582","INFTY");
sales_orders.setValue("P0582-JENDT","FNAME");
sales_orders.setValue("20061215","FVAL");
System.out.println("proposed222"+sales_orders.getNumRows());
/*for (int i = 0; i <sales_orders.getNumRows(); i++) {
sales_orders.setRow(i);
System.out.println(sales_orders.getString("INFTY"));
JCO.Table sales_orders1 = function.getTableParameterList().getTable("MODIFIED_KEYS");
System.out.println("modified"+sales_orders1.getNumRows());
sales_orders1.setRow(1);
sales_orders1.appendRows(1);
sales_orders1.setValue("0000000011","PERNR");
sales_orders1.setValue("0582","INFTY");
sales_orders1.setValue("LTA","SUBTY");
sales_orders1.setValue("1","OBJPS");
sales_orders1.setValue("20061215","BEGDA");
sales_orders1.setValue("20061215","ENDDA");
System.out.println("modified222"+sales_orders1.getNumRows());
System.out.println("execute222"+sales_orders1.getNumRows());
for (int i = 0; i <sales_orders1.getNumRows(); i++) {
sales_orders.setRow(i);
System.out.println("hia"+sales_orders1.getString("SUBTY"));
System.out.println("NO OF ROWS ARE:---"+ sales_orders.getNumRows());
String fieldName[]=new String[sales_orders.getFieldCount()];
System.out.println("THE COLUMNS IN THE TABLE ARE:--"+sales_orders.getFieldCount());
// sales_orders.firstRow();
//COLUMNS NAMES
System.out.println(fieldName.length);
for (int iCtrst = 0;iCtrst < sales_orders1.getFieldCount();iCtrst++) {
fieldName[iCtrst] = sales_orders1.getName(iCtrst);
System.out.println(fieldName[iCtrst]);
if (sales_orders.getNumRows() > 0) {
// Loop over all rows
do {
System.out.println("----
//int r=1;
// Loop over all columns in the current row
for (JCO.FieldIterator e = sales_orders.fields(); e.hasMoreElements();)
JCO.Field field = e.nextField();
String compcode=field.getString();
//pst.setString(r,compcode);
System.out.println(field.getName() + ":\t" + field.getString());
// r++;
}//for
// i=pst.executeUpdate();
} while(sales_orders.nextRow());
else {
System.out.println("No results found");
if (sales_orders1.getNumRows() > 0) {
// Loop over all rows
do {
System.out.println("----
//int r=1;
// Loop over all columns in the current row
for (JCO.FieldIterator e = sales_orders1.fields(); e.hasMoreElements();)
JCO.Field field1 = e.nextField();
//String compcode=field1.getString();
//pst.setString(r,compcode);
System.out.println(field1.getName() + ":\t" + field1.getString());
// r++;
}//for
// i=pst.executeUpdate();
} while(sales_orders1.nextRow());
else {
System.out.println("No results found");
System.out.println("modified"+sales_orders1.getNumRows());
System.out.println("modified"+sales_orders.getNumRows());
//if
/* if(i>=1)
System.out.println("\t\t\tUpdated ORACLE successfully");
else {
System.out.println("FUNCTION MODULE not found in backend system.");
}//if
catch (JCO.AbapException ex) {
System.out.println("Caught an exception: \n" + ex);
}catch(Exception en){en.printStackTrace();}
finally {
JCO.releaseClient(client);
protected void cleanUp() {
JCO.removeClientPool(SID);
public static void main(String[] argv)
Fm e=new Fm();
// e.systemInfo();
e.salesOrders();
e.cleanUp();
output:
TABLE: MODIFIED_KEYS
TABLE: PROPOSED_VALUES
IMPORT ACTIO
IMPORT BEGDA
IMPORT DIALOG_MODE
IMPORT ENDDA
IMPORT LUW_MODE
IMPORT MASSN
IMPORT NO_ENQUEUE
IMPORT NO_EXISTENCE_CHECK
IMPORT OBJPS
IMPORT PERNR
IMPORT PERSG
IMPORT PERSK
IMPORT PLANS
IMPORT SEQNR
IMPORT SPRPS
IMPORT SUBTY
IMPORT TCLAS
IMPORT WERKS
EXPORT HR_RETURN
EXPORT RETURN
EXPORT RETURN1
appending
NO OF ROWS ARE:---3
THE COLUMNS IN THE TABLE ARE:--4
INFTY: 0582
FNAME: P0582-AMTEX
FVAL: 200.00
SEQNR: 00
INFTY: 0582
FNAME: P0582-JBGDT
FVAL: 20061215
SEQNR: 00
INFTY: 0582
FNAME: P0582-JENDT
FVAL: 20061215
SEQNR: 00
PERNR: 00000011
INFTY: 0582
SUBTY: LTA
OBJPS: 1
SPRPS:
ENDDA: 2006-12-15
BEGDA: 2006-12-15
SEQNR: 000hi jagadesh,
ur code is very length to see.
see the following code ,
JCO.Function objFunction =
this
.objIRepository
.getFunctionTemplate("BAPI_MATERIAL_AVAILABILITY")
.getFunction();
objFunction.getImportParameterList().setValue(strPlant, "PLANT");
objFunction.getImportParameterList().setValue(strMaterial, "MATERIAL");
objFunction.getImportParameterList().setValue(strQuantity, "UNIT");
this.objClient.execute(objFunction);
JCO.Structure ret =
objFunction.getExportParameterList().getStructure("RETURN");
String strRetMsg = ret.getString("MESSAGE");
System.out.println(strRetMsg); // it will tell whether record is inserted or not
/*JCO.Function objFunction1 =
this
.objIRepository
.getFunctionTemplate("BAPI_TRANSACTION_COMMIT")
.getFunction();
objFunction1.setValue("",WAIT);
objClient.execute(objFunction1);*/
CHECK THE RETURN MSG .IT WILL TELL THE PROBLEM
give me points if it is useful
regards
Guru
Message was edited by:
Guruvulu Bojja
Message was edited by:
Guruvulu Bojja
Message was edited by:
Guruvulu Bojja -
INSERT INTO statement in java servlet.
Hiya
Was wondering if anyone knew how to use variables from an html form into a sql insert into statement? The constants work ok below, its just getting the variables to work.
//constants work ok.
rs = stmt.executeQuery("INSERT INTO ACCOUNTS " + " VALUES ('un', 'test2', 'test2', 'test2', 'test', 'test', 'test', 'test', 'test')");
//doesn't do anything no errors.
rs = stmt.executeQuery("INSERT INTO ACCOUNTS " + " VALUES ( '"+uname+"', " + " '"+fname+"', " + " '"+sname+"'," + "'"+address1+"'," + "'"+address2+"'," + "'"+town+"'," + "'"+county+"'," + "'"+postcode+"')");<html>
<head>
<title>
CreateAccount
</title>
</head>
<body>
<form method=get action=/servlet/website.CreateAccount>
<p> Username:
<input type=text name="username"> </p>
<p> Password:
<input type=text name="password"> </p>
<p> First Name:
<input type=text name="firstname"> </p>
<p> Surname:
<input type=text name="surname"> </p>
<p> 1st Line of Address:
<input type=text name="1address"> </p>
<p> 2nd Line of Address:
<input type=text name="2address"> </p>
<p> Town:
<input type=text name="town"> </p>
<p> County:
<input type=text name="county"> </p>
<p> Postcode:
<input type=text name="postcode"> </p>
<input type=submit>
</form>
</body>
</html>
package website;
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class CreateAccount extends HttpServlet {
private static final String CONTENT_TYPE = "text/html";
/**Initialize global variables*/
public void init(ServletConfig config) throws ServletException {
super.init(config);
/**Process the HTTP Get request*/
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
ResultSet rs = null;
Connection con = null;
res.setContentType("text/html");
PrintWriter out = res.getWriter();
//get the variables entered in the form
String uname = req.getParameter("username");
String pwd = req.getParameter("password");
String fname = req.getParameter("firstname");
String sname = req.getParameter("surname");
String address1 = req.getParameter("1address");
String address2 = req.getParameter("2address");
String town = req.getParameter("town");
String county = req.getParameter("county");
String postcode = req.getParameter("postcode");
try {
// Load the database driver
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// Get a Connection to the database
con = DriverManager.getConnection("jdbc:odbc:account", "", "");
//Add the data into the database
try
String sql = "INSERT INTO ACCOUNTS " + " VALUES (?,?,?,?,?,?,?,?)";
PreparedStatement statement = con.prepareStatement(sql);
statement.setString(1, uname);
statement.setString(2, fname);
statement.setString(3, sname);
statement.setString(4, address1);
statement.setString(5, address2);
statement.setString(6, town);
statement.setString(7, county);
statement.setString(8, postcode);
int numRowsChanged = statement.executeUpdate(sql);
statement.close();
//Statement stmt = null;
//stmt = con.createStatement();
//Create a Statement object
//constants work ok.
//rs = stmt.executeQuery("INSERT INTO ACCOUNTS " + " VALUES ('uname', 'test2', 'test2', 'test2', 'test', 'test', 'test', 'test', 'test')");
catch (Exception e)
// show that the new account has been created
out.println("<p> New account created: </p>");
out.println(" '"+uname+"'");
catch(ClassNotFoundException e) {
out.println("Couldn't load database driver: " + e.getMessage());
catch(SQLException e) {
out.println("SQLException caught: " + e.getMessage());
finally {
// Always close the database connection.
try {
if (con != null) con.close();
catch (SQLException ignored) { }
}ok now the regular statement with constant values inserts data into the database (the regular statement is being used with a result set ) but the prepared statement does not - there are no error messages but it does not insert any data either. The data is going into the variables due to the system.out.println, but is it going into the prepared statement? I believe the prepared statement is being executed with the executeupdate method. -
How do I import Edge into muse?
How do I import Edge into muse?
Hi,
Please refer to the following link http://helpx.adobe.com/en/muse/tutorials/inserting-edge-content-muse-website.html
Regards,
Aish -
FW HTML not importing correctly into DW
Hello,
I have made a navbar in FW and exported it following some tutorials I've watched. I have imported it into some of the pages on my site in DW and the import works fine. However, on a number of other pages, I insert my cursor in the "topnav" div and when I import it, the table goes straight to the top of the code and when I refresh the CSS, all my styles from before disappear and becomes a blank white page. I think it may have something to do with my stylesheet because the other pages that it does work properly on is a different stylesheet, but I cannot figure out where the issue is.
I have attached code below. The first section is what it looks like when I try to import the navbar into the topnav div. The second section is the code for the stylesheet that goes along with it. And third, is the CSS code for the one that works correctly.
I appreciate any help given. Thanks!
<!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><div id="FWTableContainer963773682">
<table style="display: inline-table;" border="0" cellpadding="0" cellspacing="0" width="1024">
<!-- fwtable fwsrc="navbar.png" fwpage="Page 1" fwbase="navbar.png" fwstyle="Dreamweaver" fwdocid = "963773682" fwnested="0" -->
<tr>
<td><img src="images/navbar/spacer.gif" width="54" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="76" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="20" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="76" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="20" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="98" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="20" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="101" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="20" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="353" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="22" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="110" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="54" height="1" border="0" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="3"><img name="navbar_r1_c1_s1" src="images/navbar/navbar_r1_c1_s1.png" width="54" height="58" border="0" id="navbar_r1_c1_s1" alt="" /></td>
<td colspan="11"><img name="navbar_r1_c2_s1" src="images/navbar/navbar_r1_c2_s1.png" width="916" height="13" border="0" id="navbar_r1_c2_s1" alt="" /></td>
<td rowspan="3"><img name="navbar_r1_c13_s1" src="images/navbar/navbar_r1_c13_s1.png" width="54" height="58" border="0" id="navbar_r1_c13_s1" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="1" height="13" border="0" alt="" /></td>
</tr>
<tr>
<td><a href="home.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','home_button_s1','images/navbar/home_button_s2.png','image s/navbar/home_button_s4.png',1);" onclick="MM_nbGroup('down','navbar1','home_button_s1','images/navbar/home_button_s3.png', 1);"><img name="home_button_s1" src="images/navbar/home_button_s1.png" width="76" height="32" border="0" id="home_button_s1" alt="link to home page" /></a></td>
<td><img name="navbar_r2_c3_s1" src="images/navbar/navbar_r2_c3_s1.png" width="20" height="32" border="0" id="navbar_r2_c3_s1" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_nbGroup('out');MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0428165630_0', 'MMMenu0428165630_0',0,40,'about_dd_button_s1');MM_nbGroup('over','about_dd_button_s1','i mages/navbar/about_dd_button_s2.png','images/navbar/about_dd_button_s4.png',1);" onclick="MM_nbGroup('down','navbar1','about_dd_button_s1','images/navbar/about_dd_button_ s3.png',1);"><img name="about_dd_button_s1" src="images/navbar/about_dd_button_s1.png" width="76" height="32" border="0" id="about_dd_button_s1" alt="" /></a></td>
<td><img name="navbar_r2_c5_s1" src="images/navbar/navbar_r2_c5_s1.png" width="20" height="32" border="0" id="navbar_r2_c5_s1" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_nbGroup('out');MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0428165630_1', 'MMMenu0428165630_1',0,40,'allaboard_dd_button_s1');MM_nbGroup('over','allaboard_dd_butto n_s1','images/navbar/allaboard_dd_button_s2.png','images/navbar/allaboard_dd_button_s4.png ',1);" onclick="MM_nbGroup('down','navbar1','allaboard_dd_button_s1','images/navbar/allaboard_dd _button_s3.png',1);"><img name="allaboard_dd_button_s1" src="images/navbar/allaboard_dd_button_s1.png" width="98" height="32" border="0" id="allaboard_dd_button_s1" alt="" /></a></td>
<td><img name="navbar_r2_c7_s1" src="images/navbar/navbar_r2_c7_s1.png" width="20" height="32" border="0" id="navbar_r2_c7_s1" alt="" /></td>
<td><a href="equipment.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','equip_button_s1','images/navbar/equip_button_s2.png','ima ges/navbar/equip_button_s4.png',1);" onclick="MM_nbGroup('down','navbar1','equip_button_s1','images/navbar/equip_button_s3.png ',1);"><img name="equip_button_s1" src="images/navbar/equip_button_s1.png" width="101" height="32" border="0" id="equip_button_s1" alt="link to equipment page" /></a></td>
<td><img name="navbar_r2_c9_s1" src="images/navbar/navbar_r2_c9_s1.png" width="20" height="32" border="0" id="navbar_r2_c9_s1" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_nbGroup('out');MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0428165630_2', 'MMMenu0428165630_2',0,40,'ohra_dd_button_s1');MM_nbGroup('over','ohra_dd_button_s1','ima ges/navbar/ohra_dd_button_s2.png','images/navbar/ohra_dd_button_s4.png',1);" onclick="MM_nbGroup('down','navbar1','ohra_dd_button_s1','images/navbar/ohra_dd_button_s3 .png',1);"><img name="ohra_dd_button_s1" src="images/navbar/ohra_dd_button_s1.png" width="353" height="32" border="0" id="ohra_dd_button_s1" alt="" /></a></td>
<td><img name="navbar_r2_c11_s1" src="images/navbar/navbar_r2_c11_s1.png" width="22" height="32" border="0" id="navbar_r2_c11_s1" alt="" /></td>
<td><a href="fundraising.html" onmouseout="MM_nbGroup('out');" onmouseover="MM_nbGroup('over','fundraising_button_s1','images/navbar/fundraising_button_ s2.png','images/navbar/fundraising_button_s4.png',1);" onclick="MM_nbGroup('down','navbar1','fundraising_button_s1','images/navbar/fundraising_b utton_s3.png',1);"><img name="fundraising_button_s1" src="images/navbar/fundraising_button_s1.png" width="110" height="32" border="0" id="fundraising_button_s1" alt="link to fundraising page" /></a></td>
<td><img src="images/navbar/spacer.gif" width="1" height="32" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="11"><img name="navbar_r3_c2_s1" src="images/navbar/navbar_r3_c2_s1.png" width="916" height="13" border="0" id="navbar_r3_c2_s1" alt="" /></td>
<td><img src="images/navbar/spacer.gif" width="1" height="13" border="0" alt="" /></td>
</tr>
</table>
<div id="MMMenuContainer0428165630_0">
<div id="MMMenu0428165630_0" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"><a href="inthenews.html" id="MMMenu0428165630_0_Item_0" class="MMMIFVStyleMMMenu0428165630_0" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_0');">In the News</a><a href="history.html" id="MMMenu0428165630_0_Item_1" class="MMMIVStyleMMMenu0428165630_0" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_0');">History</a><a href="location.html" id="MMMenu0428165630_0_Item_2" class="MMMIVStyleMMMenu0428165630_0" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_0');">Location</a><a href="photogallery.html" id="MMMenu0428165630_0_Item_3" class="MMMIVStyleMMMenu0428165630_0" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_0');">Photo Gallery</a></div>
</div>
<div id="MMMenuContainer0428165630_1">
<div id="MMMenu0428165630_1" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"><a href="schedevents.html" id="MMMenu0428165630_1_Item_0" class="MMMIFVStyleMMMenu0428165630_1" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_1');">Schedule/Events</a><a href="fares.html" id="MMMenu0428165630_1_Item_1" class="MMMIVStyleMMMenu0428165630_1" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_1');">Fares</a><a href="charters.html" id="MMMenu0428165630_1_Item_2" class="MMMIVStyleMMMenu0428165630_1" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_1');">Charters</a></div>
</div>
<div id="MMMenuContainer0428165630_2">
<div id="MMMenu0428165630_2" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"><a href="ohra.html" id="MMMenu0428165630_2_Item_0" class="MMMIFVStyleMMMenu0428165630_2" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_2');">About OHRA</a><a href="donorrec.html" id="MMMenu0428165630_2_Item_1" class="MMMIVStyleMMMenu0428165630_2" onmouseover="MM_menuOverMenuItem('MMMenu0428165630_2');">Donor Recognition</a></div>
</div>
</div>
</head>
<body>
<div id="wrapper">
<div id="header"></div>
<div id="topnav"></div>
<div id="content">
<p> </p>
</div>
<div id="footer"></div>
</div>
<div id="info"></div>
</body>
</html>
body {
font-family: Helvetica, Verdana, Arial;
font-size: 14px;
background-color: #6B604A;
margin: 0px;
#wrapper {
width: 1024px;
margin-right: auto;
margin-left: auto;
#wrapper #header {
background-image: url(../images/layout/header.gif);
background-repeat: no-repeat;
height: 206px;
margin-right: auto;
margin-left: auto;
font-family: Helvetica, Verdana, Arial;
font-size: 14px;
font-style: italic;
color: #FFF;
text-align: right;
padding-right: 60px;
word-spacing: 25px;
white-space: normal;
line-height: 15px;
#wrapper #topnav {
background-image: url(../images/layout/navbar.png);
height: 70px;
margin-right: auto;
margin-left: auto;
background-repeat: no-repeat;
font-family: Helvetica, Verdana, Arial;
font-size: 18px;
color: #E7E0D3;
text-align: center;
padding: 0px;
#wrapper #content {
background-image: url(../images/layout/body.gif);
background-repeat: repeat-y;
margin-right: auto;
margin-left: auto;
#wrapper #footer {
background-image: url(../images/layout/footer.gif);
height: 24px;
margin-right: auto;
margin-left: auto;
background-repeat: no-repeat;
#info {
width: 1004px;
margin-right: auto;
margin-left: auto;
font-size: 12px;
font-style: italic;
text-align: right;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
color: #E7E0D3;
.boldred {
color: #501802;
font-size: 16px;
font-weight: bold;
font-family: Helvetica, Verdana, Arial;
letter-spacing: normal;
text-align: center;
body {
font-family: Helvetica, Verdana, Arial;
font-size: 14px;
background-color: #6B604A;
margin: 0px;
#wrapper {
width: 1024px;
margin-right: auto;
margin-left: auto;
#wrapper #header {
background-image: url(../images/layout/header.gif);
background-repeat: no-repeat;
height: 206px;
margin-right: auto;
margin-left: auto;
font-family: Helvetica, Verdana, Arial;
font-size: 14px;
font-style: italic;
color: #FFF;
text-align: right;
padding-right: 60px;
word-spacing: 25px;
white-space: normal;
line-height: 15px;
#wrapper #topnav {
background-image: url(../images/layout/navbar.png);
height: 70px;
margin-right: auto;
margin-left: auto;
background-repeat: no-repeat;
font-family: Helvetica, Verdana, Arial;
font-size: 18px;
color: #E7E0D3;
text-align: center;
padding: 0px;
#wrapper #content {
background-image: url(../images/layout/body.gif);
background-repeat: repeat-y;
margin-right: auto;
margin-left: auto;
#wrapper #content #topcol01 {
text-align: center;
width: 966px;
margin-top: 0px;
margin-right: 29px;
margin-bottom: 0px;
margin-left: 29px;
padding-top: 27px;
padding-bottom: 27px;
#wrapper #content #leftcol01 {
background-color: #501802;
width: 265px;
margin-left: 69px;
background-repeat: repeat-y;
text-align: center;
font-family: Helvetica, Verdana, Arial;
font-size: 14px;
color: #E7E0D3;
margin-bottom: 20px;
float: left;
padding-top: 10px;
padding-right: 15px;
padding-bottom: 10px;
padding-left: 20px;
display: inline;
overflow: visible;
line-height: 110%;
word-spacing: normal;
#wrapper #content #rightcol01 {
width: 606px;
float: left;
text-align: left;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
margin: 0px;
color: #501802;
line-height: 115%;
#wrapper #content #bottomcol01 {
margin-left: 29px;
border-top-style: solid;
margin-right: 29px;
clear: both;
float: none;
font-style: italic;
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;
border-top-width: thin;
border-top-color: #501802;
word-spacing: 30px;
.clearbottomcol01 {
clear: both;
#wrapper #footer {
background-image: url(../images/layout/footer.gif);
height: 24px;
margin-right: auto;
margin-left: auto;
background-repeat: no-repeat;
#info {
width: 1004px;
margin-right: auto;
margin-left: auto;
font-size: 12px;
font-style: italic;
text-align: right;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
color: #E7E0D3;
.boldred {
color: #501802;
font-size: 16px;
font-weight: bold;
font-family: Helvetica, Verdana, Arial;
letter-spacing: normal;
text-align: center;With this problem, it would be better to give us a link to an online web page. It's easier to spot the problem than to wade through a lot of code and you would have better success in getting others in the forum to help.
One problem that sticks out is that you imported the code generated by FW into the head section of your document. It should be in the body section. That problem should be obvious to you if you know a little about markup and can recognize javascript. I mention this because if you don't know what you're doing, then importing FW images and code into DW can be very confusing. It might be easier for you to work on the Dreamweaver side and find a good tutorial about building a menu in DW. Most web designers will tell you that it's not a good idea to use code generated by Fireworks although it can work.
Let me make two points. First, if some of your pages are working okay (you said the import worked for some pages), then use a page that is working to override a page that is not working by doing a Save As and then do a little editing if necessary.
Second, if your styles are not working in your page, you probably have a link problem. In the markup you provided, I don't see a link to your css stylesheet on your web page. But, again, if you do a Save As using a page that works, this problem should be solved by acting on the advice of the first point. -
Float truncated when inserted into table
Hi,
I'm trying to insert float values into a table with a column of type NUMBER(4,2) and the values are getting truncated to integer values. My environment is :
Database: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
jdbc lib: 9.0.1.4
I tried it with the jdbc lib version 9.0.1 and it works, but I didn't figure a way to use it, since I'm using it in a 9iAS environment and there's no driver classes12dms.jar for this version. If I try to use the classes12.zip version I get an exception when trying to access the database complaining about some classes missing (These classes missing are in the classes12dms.jar)
Here's a simple test case:
import java.sql.*;
public class TesteFloat {
public TesteFloat() {
public static void main(String[] args) {
Connection con = null;
PreparedStatement stmt = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:hal9000","kitbordo","kitbordo");
stmt = con.prepareStatement("insert into teste (teste) values (?)");
for (int i = 0; i < 10; i++) {
stmt.setFloat(1,2.32f * i );
//stmt.addBatch();
stmt.executeUpdate();
//stmt.executeBatch();
con.commit();
} catch (Exception e) {
e.printStackTrace();
} finally {
if (con != null) {
try {
con.close();
} catch (SQLException e) {
CREATE TABLE TESTE
TESTE NUMBER(4,2)
)Hi,
I'm trying to insert float values into a table with a column of type NUMBER(4,2) and the values are getting truncated to integer values. My environment is :
Database: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
jdbc lib: 9.0.1.4
I tried it with the jdbc lib version 9.0.1 and it works, but I didn't figure a way to use it, since I'm using it in a 9iAS environment and there's no driver classes12dms.jar for this version. If I try to use the classes12.zip version I get an exception when trying to access the database complaining about some classes missing (These classes missing are in the classes12dms.jar)
Here's a simple test case:
import java.sql.*;
public class TesteFloat {
public TesteFloat() {
public static void main(String[] args) {
Connection con = null;
PreparedStatement stmt = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:hal9000","kitbordo","kitbordo");
stmt = con.prepareStatement("insert into teste (teste) values (?)");
for (int i = 0; i < 10; i++) {
stmt.setFloat(1,2.32f * i );
//stmt.addBatch();
stmt.executeUpdate();
//stmt.executeBatch();
con.commit();
} catch (Exception e) {
e.printStackTrace();
} finally {
if (con != null) {
try {
con.close();
} catch (SQLException e) {
CREATE TABLE TESTE
TESTE NUMBER(4,2)
) -
Error while importing Rules into CC5.2
Gurus,
Part of our GRC go live, I have been trying to import Rules from the Development CC system to Q CC. I have followed all the steps as per the Admin tasks but the below error is coming up at the final step to import rules in to the desitnation system. Anyone have any idea what this error is? Help is greatly appreciated.
Error in Table Data ==>VIRSA_CC_AUTHMAP
SQL:=>Insert into VIRSA_CC_AUTHMAP(AUTHKEY,SEQUENC,VSYSKEY,AUTHTREE) Values(?,?,?,?)
Record:=>D VIRSA_CC_AUTHMAP 1 1 null
Thanks.All -
I am having a similar issue when importing rules into RAR5.3. The syntax looks to be correct, but I am still hitting an error:
Error in table dataVIRSA_CC_AUTHMAP
SQL:=>Insert into VIRSA_CC_AUTHMAP(AUTHKEY,SEQUENC,VSYSKEY,AUTHTREE ) Values(?,?,?,?)
Record::Line Number :22534 : D VIRSA_CC_AUTHMAP 57 1 ECD150 P_PYEVDOC||ACTVT
Your help would be greatly appreciated!
Maybe you are looking for
-
Error message too big to fit onto screen and I can't scroll down
I have compiled an email with a lot of addresses cc'd in it and the mail programme is bringing up an error message when I try to send it. The trouble is that the error message is so long that I can't see the end of it and it won't scroll down so I ca
-
Column level filter at RPD level - OBIEE 11g
Hi all, How do i add a filter at the column level in logical layer for one of the metric , it has the following calculation case when id in (1,2,3,4,5,5) and category='AS' then case when points=10 or points=9 then 1 else 0 end end I want the metric t
-
I have a problem pertaining to excise. 1, I have done GR and have filled up all the excise related details.During GR RG 23 A PART I is updated. 2.Capture Excise invoice(J1IEX)During this step i am posting vendor excise invoice with a rejection cod
-
Internal and External application tier File move
Hi all, I am new oracle apps R12 with 3 tier instance. We are created the oracle apps R12 instance with 3 tier. Two tier is Application tier and one tier is Database tier. The data base tier is common for both application tier. The issue is, we are m
-
Is possible to run XDK 9i on AIX? Error XSQL-027 comes up!
Running a simple XSQL file with the command-line utility xsql against the database (8.1.7 Standard) ends in: xsql-027: Failed to load oracle.xml.actions.XSQLIncludeOWAHandler class for built-in xsql: include-owa action xsql-004: Could not acquire a d