Interface for loading data into customer products
I am trying to find if there is any interface for loading Customer products in Install Base apart from entering them manually. I understand that this exists in Oracle Apps version 11.5.7 but I need this for version 11.5.4.
Hi,
In 11.5.4 , you've to write yourself the loader, using Oracle standard API.
I've performed it, it is working fine.
Hugues
Similar Messages
-
Hi,
We are having trouble while importing one ledger 'GERMANY EUR GGAAP'. It works for Dec 2014 but while trying to import data for 2015 it gives an error.
Import error shows " RuntimeError: No periods were identified for loading data into table 'AIF_EBS_GL_BALANCES_STG'."
I tried all Knowledge docs from Oracle support but no luck. Please help us resolving this issue as its occurring in our Production system.
I also checked all period settings under Data Management> Setup> Integration Setup > Global Mapping and Source Mapping and they all look correct.
Also its only happening to one ledger rest all ledgers are working fine without any issues.
ThanksHi,
there are some Support documents related to this issue.
I would suggest you have a look to them.
Regards -
Can i use one interface to load data into 2 different tables
Hi Folks,
Can i use one interface to load data into 2 different tables(same schema or different schemas) from one source table with same structure ?
Please give me advice
Thanks
Raj
Edited by: user11410176 on Oct 21, 2009 9:55 AMHi Lucky,
Thanks for your reply,
What iam trying is ...Iam trying to load the data from legacy tables(3) into oracle staging tables.But i need to load the same source data into two staging tables(these staging tables are in two different schemas)
can i load this source data into two staging tables by using single standard interface(some business logic is there)
If i can then give me some suggestion how to do that
Thanks in advance
Raj -
Steps for loading data into the infocube in BI7, with dso in between
Dear All,
I am loading data into the infocube in BI7, with dso in between. By data flow looks like....
Top to bottom:
InfoCube (Customized)
Transformation
DSO (Customized)
Transformation
DataSource (Customized).
The mapping and everything else looks fine and data is also seen in the cube on the FULL Load.
But due to some minor error (i guess), i am unable to see the DELTA data in DSO, although it is loaded in DataSource through process chains.
Kindly advise me, where did i miss.
OR .. Step by step instructions for loading data into the infocube in BI7, with dso in between would be really helpful.
Regards,Hi,
my first impulse would be to check if the DSO is set to "direct update". In this case there is no Delta possible, because the Change log is not maintained.
My second thought would be to check the DTP moving data between the DSO and the target cube. If this is set to full, you will not get a delta. It is only possible to create one DTP. So if you created one in FULL mode you can't switch to Delta. Just create the DTP in Delta mode.
Hope this helps.
Kind regards,
Jürgen -
Procedure for loading data into gl_interface
hi all
iam new to oracle applications.....i just want to know how to load data into gl_interface table using pl/sql (that is...first loading data into a temporary table and then using pl/sql procedure to load into gl_interface). can anybody help me out with this by providing the pl/sql structure for it??
thanx in advanceAsuming you have data in a datafile and file is camma delimited. I asume table has two columns you can add more columns also.
CREATE OR REPLACE PROCEDURE p10
IS
lv_filehandle UTL_FILE.FILE_TYPE;
lv_iicc_premium ref_cursor;
lv_newline VARCHAR2(2000); -- Input line
lv_header_line VARCHAR2(20);
lv_trailer_line VARCHAR2(20);
lv_file_dir VARCHAR2(100);
lv_file_name VARCHAR2(100);
lv_col1 VARCHAR2(10);
lv_col2 VARCHAR2(50);
lv_comma VARCHAR2(1) := ',';
BEGIN
gv_PrFnName := '[pr_iicc_premium]';
DELETE FROM temp_table;
lv_file_dir := 'p:\temp';
lv_file_name := 'test.dat';
lv_filehandle := UTL_FILE.FOPEN (lv_file_dir, lv_file_name, 'r', 32766);
UTL_FILE.PUT_LINE (lv_filehandle, lv_header_line);
LOOP
FETCH lv_iicc_premium INTO lv_newline;
EXIT WHEN lv_iicc_premium%NOTFOUND;
UTL_FILE.PUT_LINE (lv_filehandle, lv_newline);
lv_col1 := substr(lv_newline, 1, instr(lv_newline, ',', 1)-1);
lv_col2 := substr(lv_newline, instr(lv_newline, ',', 1)+1, instr(lv_newline, ',', 2)-1);
INSERT INTO temp_table VALUES (lv_col1, lv_col2);
COMMIT;
END LOOP;
INSERT INTO your_production_tables VALUES ( SELECT * FROM temp_table );
COMMIT;
UTL_FILE.FFLUSH (lv_filehandle);
UTL_FILE.FCLOSE (lv_filehandle);
EXCEPTION
WHEN UTL_FILE.INVALID_PATH THEN
RAISE_APPLICATION_ERROR(-20100,'Invalid Path');
WHEN UTL_FILE.INVALID_MODE THEN
RAISE_APPLICATION_ERROR(-20101,'Invalid Mode');
WHEN UTL_FILE.INVALID_OPERATION then
RAISE_APPLICATION_ERROR(-20102,'Invalid Operation');
WHEN UTL_FILE.INVALID_FILEHANDLE then
RAISE_APPLICATION_ERROR(-20103,'Invalid Filehandle');
WHEN UTL_FILE.WRITE_ERROR then
NULL;
WHEN UTL_FILE.READ_ERROR then
RAISE_APPLICATION_ERROR(-20105,'Read Error');
WHEN UTL_FILE.INTERNAL_ERROR then
RAISE_APPLICATION_ERROR(-20106,'Internal Error');
WHEN OTHERS THEN
UTL_FILE.FCLOSE(lv_filehandle);
END p10;
/Code is not tested.
Hope this helps
Ghulam -
Best Practise for loading data into BW CSV vs XML ?
Hi Everyone,
I would like to get some of your thoughts on what file format would be best or most efficient to push data into BW. CSV or XML ?
Also what are the advantages / Disadvantages?
Appreciate your thoughts.XML is used only for small data fields - more like it is easier to do it by XML rather than build an application for the same - provided the usage is less.
Flat files are used for HUGE data loads ( non SAP ) and definitely the choice of data formats would be flat files.
Also XML files are transformed into a flat file type format with each tag referring to the field and the size of the XML file grows to a high value depending on the number of fields.
Arun -
Loading data into essbase - can't stop the loading process
Hello Everyone
I have built an interface which loads data into essbase.
The interface was working great until last night, don't know why it got stuck in the stage of loading data into essbase
(This is my bonus question, why? does it have anything to do wit hte fact that I have refreshed the database via planning)
Any way, we have tried to kill the loading process by clicking stop on the interface execution in operator, and even after we killed the
session in essbase it was still there in essbase.
Does anyone know why?
ThanksHi,
I can't answer your questions but ...
I'm really familiar with the fact that trying to stop an execution fail.
The only solution I found is to pass by an agent for all my executions.
With an agent if I have a problem, as an emergency I can stop the agent it will stop the execution...
I'm sure that it is a bit dirty but it works...
And that is better than nothing...
The ugliest and only way I found without agent to stop an execution was to drop a table used by the job (like a I$ table) it forces the failed...
Sorry no more clue.
Regards,
Brice -
Hi
I have written sql loader script for loading data into two tables.
Script is working ..But output is not coming properly.
I want to load data into first table which lines are having first char 'R'.
In the second table I have to load data which are related from the first line. Incase
first line data is not properly (means discarded) then related second table data
will not be load.
But I am getting both rows.Though the first table record is discarded. Please find below
the output.
Any other solution also ....Ok..external tables..Utl_file.
LOAD DATA
infile "inputFileForRmaReceiptAcknowledgement.dat"
BADFILE 'inputFileForRmaReceiptAcknowledgement.bad'
DISCARDFILE 'inputFileForRmaReceiptAcknowledgement.dsc'
APPEND
INTO TABLE XXGW_RMA_HEDR_RCPTACK_TAB
WHEN (01)='R'
( LINE_TYPE POSITION(1:1) "substr(:Line_Type, 1)",
RMA_ORDER_NO POSITION(2:16) CHAR,
ACKNOWLEDGEMENT_NO POSITION(17:31) CHAR,
ACKNOWLEDGEMENT_DATE POSITION(32:45)
"to_date(substr(:acknowledgement_date,3),'YYMMDDHH24MISS')",
DETAIL_LINE_COUNT POSITION(46:51) INTEGER EXTERNAL,
FLAG CHAR)
INTO TABLE XXGW_RMA_RCPT_ACKLDGMNT_TAB
WHEN (01) = 'D'
( LINE_TYPE POSITION(1:1) "substr(:Line_Type, 1)",
RMA_ORDER_NO POSITION(2:16) CHAR,
RMA_ORDER_LINE POSITION(17:19) INTEGER EXTERNAL,
SERIAL_NUMBER POSITION(20:49) CHAR,
SKU POSITION(50:63) CHAR,
QUANTITY POSITION(64:69) INTEGER EXTERNAL,
WAREHOUSE_CODE POSITION(70:71) CHAR,
WAYBILL_NUMBER POSITION(72:121) CHAR,
COURIER POSITION(122:146) CHAR,
RETURN_DEALER_FLAG POSITION(147:156) CHAR)
inputFileForRmaReceiptAcknowledgement.dat
R12345678901 2345456789123200 21111228241113000002 --- discarded record
D12345678901 00159123687402 45678925803 00000102name
D12345678901 00159143687402 45678925603 00000102name
T000004Regards
ArPl post details of OS and database versions.
Create a foreign key constraint between the detail table and the master table. If the row fails to load into the master table, then the detail table rows will fail the foreign key constraint and will not load.
http://docs.oracle.com/cd/E11882_01/server.112/e25789/datainte.htm#CNCPT1649
HTH
Srini -
Loading data into infocube in bi 7.0 from flat file.
Hello All,
I need the complete procedure for loading data into the infocube from flat file in bi 7.0 i.e.using transformation,DTP etc.
Please help me with some gud documents.Hi Pratighya,
Step by step procedure for loading data from flat file.
1. Create the infoobjects you might need in BI
2. Create your target infoprovider
3. . Create a source system
4. Create a datasource
5. Create and configure an Infopackage that will bring your records to the PSA
6. Create a transformation from the datasource to the Infoprovider
7. Create a Data Transfer Process (DTP) from the datasource to the Infoprovider
8. Schedule the infopackage
9. Once succesful, run the DTP
10. This will fill your target.
Hope this helps
Regards
Karthik -
Error Loading Data into a flat file
I am recieving the following error when loading data into a flat file from a flat file. SQL 2005 is my back end DB. If I cut the file iin half approx 500K rows my ODI interface works fine. Not sure what to look at.. I rebuit the interface which before was just dying giving no error and now I am getting this.
Thanks
java.lang.Exception
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)Figured it out, found similar post that stated changing the HEAP size
Increase the page size in odiparams.bat in the bin folder and restart Designer.
For eg:
set ODI_INIT_HEAP=128m
set ODI_MAX_HEAP=1024m -
How to store the flat file data into custom table?
Hi,
Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
Regards,
SujanHie
u can use function
F4_FILENAME
to pick the file from front-end or location.
then use function
WS_UPLOAD
to upload into
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME' "Function to pick file
EXPORTING
field_name = 'p_file' "file
IMPORTING
file_name = p_file. "file
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = p_file1
TABLES
data_tab = it_line
*then loop at it_line splitting it into the fields of your custom table.
loop at it_line.
split itline at ',' into
itab-name
itab-surname.
endloop.
then u can insert the values into yo table from the itab work area.
regards
Isaac Prince -
Error while loading data into clob data type.
Hi,
I have created interface to load data from oracle table into oracle table.In target table we have attribute with clob data type. while loading data into clob field ODI gave below error. I use odi 10.1.3.6.0
java.lang.NumberFormatException: For input string: "4294967295"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
Let me know if anyone come across and resolved this kind of issue.
Thanks much,
Nishit GajjarMr. Gajjar,
You didnt mention what KMs you are using ?
have a read of
Re: Facing issues while using BLOB
and
Load BLOB column in Oracle to Image column in MS SQL Server
Try again.
And can you please mark the Correct/Helpful points to the answers too.
Edited by: actdi on Jan 10, 2012 10:45 AM -
No dataload.err: Using ODI to load data into Essbase
Hi,
I am using ODI to load data into Essbase. In the load data KM options, I select the rule file and mention that errors be logged.
After executing the data load through ODI, I get a log file and an error file. But the error file does not have the bad record like the "dataload.err" has when I load data through EAS and use the same data and rules file.
Am I missing some option? Is there some option to log the bad data to the error file or some option to generate a dataload.err file while using ODI?
Thanks.Hi John,
I have set LOG_ERRORS to Yes and given a file name. A file is generated everytime the interface is executed, but the file is blank.
I have also set the Log_enabled to Yes. The log file is generated and has the error in it. The error line in the Log file ( not the error file) looks like this -
2009-04-16 10:45:38,457 INFO [DwgCmdExecutionThread]: ODI Hyperion Essbase Adapter Version 9.3.1.1
2009-04-16 10:45:38,457 INFO [DwgCmdExecutionThread]: Connecting to Essbase application [XXXXXX] on [XXXXXX]:[1423] using username [admin].
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Successfully connected to the Essbase application.
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option RULES_FILE = d_PL
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option RULE_SEPARATOR = ,
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option PRE_LOAD_MAXL_SCRIPT =
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option POST_LOAD_MAXL_SCRIPT =
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option ABORT_ON_PRE_MAXL_ERROR = true
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option CLEAR_DATABASE = None
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option COMMIT_INTERVAL = 1000
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option CALCULATION_SCRIPT = null
2009-04-16 10:45:39,315 INFO [DwgCmdExecutionThread]: Essbase Load IKM option RUN_CALC_SCRIPT_ONLY = false
2009-04-16 10:45:39,346 DEBUG [DwgCmdExecutionThread]: LoadData Begins
2009-04-16 10:45:39,549 DEBUG [DwgCmdExecutionThread]: Error occured in sending record chunk...Cannot end dataload. Analytic Server Error(1003014): Unknown Member [DPT_DFDFDF] in Data Load, [2] Records Completed
2009-04-16 10:45:39,549 DEBUG [DwgCmdExecutionThread]: Sending data record by record to essbase
2009-04-16 10:45:40,968 INFO [DwgCmdExecutionThread]: Logging out and disconnecting from the essbase application.
There is nothing in the error file. There should have been a record for the unknown member, DPT_DFDFDF.
I am using ODI version 10.1.3.5.
and John, thanks for the ODI blog. It has helped me a lot in the past couple of months.
Thank you. -
Hi,
We are looking into options that we have to load data into TimesTen. The data would be in data files.
We are looking at three options -- Custom jdbc program, Custom PL/SQL procedure or ttBulkCp.
Which would be a better option in terms of performance ? If we consider a data size of 100 million records, which one would perform better ?
Does anybody have any performance benchmarks for any of the same ?
Thanks and Regards,
PritomttBulkCp is usually pretty fast (especially in direct mode). However, it is a generc program so it does have to parse each input line. Depending on the im0plementation and file format, custom code might have to do less parsing and so might be a little faster. However, Java/JDBC is significantly slower thsan C/ODBC so YMMV. Custom C/ODBC code would likely be somewhat faster than ttBulkCp but whether the difference is worth the effort is hard to say. Custom PL/SQL is unlikely to be faster than direct mode ttBulkCp but I have never compared them.
I don't personally know of any benchmark numbers that compares these three methods (or any subset of them).
Note that as long as the loading mechanism is reasonably efficient then the hardware spec and TimesTen configuration will also be very important in obtaining optimal load performance.
Chris -
Unexpected Essbase error 1090004 while loading data into EssBase
Hi Friends,
am tring to load data into Essbase the following error am getting..
"Unable To Open File [C:\WINDOWS\TEMP\tempfile6051912_1.txt]
Unexpected Essbase error 1090004"
but there is no such file("tempfile6051912_1.txt") in that file path
Can anybody help inthis..
Thanks in Advance...
Edited by: Rakesh on Jul 24, 2012 6:03 PM
Edited by: Rakesh on Jul 24, 2012 6:04 PMHi sukhi...
Am loading data with out selecting any rule file as it's the data file which is extracted from Prod envirement and loading into QA.
I have followed your procedure as i kept data file in (E:\Hyperion\products\Essbase\eas) ,because there no analyticalservices folder as we are using 11.1.1.3 version of hyperion.
still am getting the following error"Unable To Open File [C:\WINDOWS\TEMP\tempfile605252012.txt]
Unexpected Essbase error 1090004"
Thanks for your answer and can u help me in this.......
Maybe you are looking for
-
RegisterTCPServer and ConnectToTCPServer
I deal mainly in the LabVIEW world, but I'm having to translate some CVI code (the server side) to LabVIEW, and I'm trying to understand one piece of the CVI code first. In the server side, there is a call to RegisterTCPServer else if ((status =
-
How to display subtitles over videoComponent from getVisualComponent - JMF
I'm writting video player and I have encountered a problem. Is there a possibility to add Component (or something else what could display text in) to Component that I got from JMF method getVisualComponent(). As this method returns Component I can't
-
HOW to define a style class apply to the specified component?
Java(TM) 1.6.0_24 Oracle IDE 11.1.2.1.38.60.81 In my skin file, I defined the style that I want use it apply to the af:inputText read-only content.But it's not work. Can anyone give me some advice for this case? /* Style class definition in s
-
Any hope for the dreaded iMac "vertical lines"??
Curious if there's an update to Apple's response regarding the almost universal issue with their iMac's developing vertical lines in the display withing days or weeks of the warranty expiring.
-
What's tablespace doing if I create user?
I want create a new user with the same privileges of a DBA in my database. But I must enter ... - DEFAULT TABLESPACE - TEMPORARY TABLESPACE What's the Talespace function? if is not to long to explain ;) null