FLAT file to Database load
Hi All,
we have been using OWB 10.2.0.3 version from past 6 months till now we are loading database to database.
Data base version : 10.2.
OWB version : 10.2.0.3
Server operating system : Sun Solaries (10)
Client operating system : Windows Xp.
I would like to share some information to u and all.
i have installed owb10gr2 on personal PC it has windows Xp operating system. i have one simple mapping for FLAT file.
Steps handled by me to populate data flat file to Database.
i have created one folder in C drive then i have created directory and i gave privilages to access that folder.
i have created external table for flat file manually.
after that i imported external table to mapp target table. it's working fine and data also loading.
i am still getting confuse Flat file handling with SUN SOLARIES OPERATING SYSTEM
How do we handle flat file in UNIX environment.
How create directory and how to give access privilages.
how to create EXTERNAL table with OWB.
Could u please help me
Regards.
venkat.
Hi,
i have logged in sys and i created directory then gave privilages to 'c:\test_file'.... test_file is folder name which i created folder in windows PC. server is SUNSOLARIS.
in OWB i have created table based on that file with delimited. below mentioned column names and values.
no name sal coom
100 aa 10000 1000
200 bb 20000 2000
300 cc 30000 3000
400 dd 40000 4000
after that i have created external table under source module and then deployed that table in database table has created sucessfully but while using select statement it's showing error.
ex: select * from table ( error)
ORA-29913 error in executing ODCIEXTTABLEOPEN callout
ORA-29400 data cartridge error
KUP-04040 file abc.csv in test_v_s_loc not found
ORA-06512 at "sys.ORACLE_LOADER",line 19
i have done/given privilages like below
create or replace directory sample_owb as 'C:\test_file'
grant read,write on directory sample_owb to ods_inb_stg
what is the cause and how to handle and resolve. could u please help me.
regards,
venkat.
Similar Messages
-
Track flat files that failed loading in sql loader
Hi,
Can anyone please suggest me any way to track the flat files which failed while loading in sql loader. And pass this failed flat file name to any column of a database table
Thanks in advance.
Edited by: 806821 on Nov 2, 2010 10:22 AMHi Morgan thnannks for ur reply.
Define failed. 1 row not loaded ... no rows not loaded ... what operating system ... what version of the Oracle database ... track in a table, send an email?
Your inquiry is long on generalities and short on specifics: Fill in all the blanks ... not just the ones I've listed above.
even if 1 row is not loaded even then it should be considered failed to load and the name of the that particular flat file should be fetched.
Operating system is unix
Oracle database we are using is R12
track in a table , yeah we want to send an email notificaiton whenever the flat files fails to load.
Thanks once again...!! -
How to dump a flat file into database?
hi guys,
I am new to jdbc. I am trying to transfer some data from flat file to database. What I can think of now is to create an array that is big enough to hold the entire file, dump the content of file in it and then store the array of data into database using insert statement. But this seems to be memory consuming especially when the file is very large. So could anyone tell me a more efficient way of doing that? thanks a lot.hi guys,
I am new to jdbc. I am trying to transfer some data from flat file to database. What I can think of now is to create an array that is big enough to hold the entire file, dump the content of file in it and then store the array of data into database using insert statement. But this seems to be memory consuming especially when the file is very large. So could anyone tell me a more efficient way of doing that? thanks a lot. -
Flat File to InfoCube Load Issue
Hello All,
I am newbie in the SAP BW land. Probably a simple question to BW Experts.
This is crude implementation of the Fu and Fu example.
Environment SAP BW 7.0
Iam trying to load a flat file to the Info Cube.
1. I am able to successfully preview the data from the data sources
2. Also able to load the data to the PSA, which i see from PSA maintenance screen
Issue arises when i try to load the data to the Info Cube by running the DTP Process, it just does not load the data.
I ma unable to figure of what the issue is
Following the structure of the Flat File with 1 line of data
Day Unit of Measure Customer ID Meterial Number Sales Representative ID Sales Office Sales Region Price of Material Sales quantity Sales revenue Currency
20100510 gms 1122334455 92138 9710274 Chicago NorthEast 890 50 928 USD
Following is the structure of the Info Cube
Characteristics
Time
Unit
Customer ID
Material Number
Sales Representative ID
Sales Office
Sales Region
Measures
Price of Material
Sales quantity
Sales revenue
--- also where can i find a data flow diagram or steps of what needs to be done to design a standard cube loading process
Please tell me where am I going wrong.II think i made progress but i still do not see the data in the InfoCube
When i visit the PSA by
visiting the source system -> Manage PSA -> Select the line item -> PSA Maintenance-> I see the record completely like this
@5B@ 1 1 05/10/2010 GMS 1,122,334,455 92,138 9,710,274 CHICAGO NORTHEAST 890 50 928
But when i run the DTP Process i see the following error message
I think this is due to a data type mismatch between flat file and the infocube.
Please adivse
Error I see is
@5C@ No SID found for value 'GMS ' of characteristic 0UNIT BRAIN 70 @35@ @3R@
Also where can i click or extract the InfoCube structure in plain text so that i can post it on the forum for your better visibility -
Change InfoObject value in flat file for Hierarchy load
Hi Guys,
I am loading hierarchy for an infoobject from flat file. I have the field InfoObject (IOBJNM) whose value needs to be changed before loading into the hierarchy. Can somebody tell me how can I do that through formula or routine.
The InfoObject loads 0HIER_NODE and a leaf infoobject values from flat file.
The hierarchy transfer rules does not contain IOBJNM field., though the Hier Structure under Transfer Structure tab contains IOBJNM.
In transfer structure I see only NodeName, Date From, Date To, and eaf infoobject.
Any help would be appreciated.Hi,
Try using the IDOC method while loading the hierarchy and make sure you have this IOBJNM in the external charactersitics for the Infoobect to which you are loading this hier.
Thanks,
Peter -
Output in flat file master data loading
Hi gurus,
iam loading master data to an info object from a flat file. In the output the headers ( info objects) names i was seeing only long descriptions, but not technical names given by me. How to see the technical names of the info objects in the output.Hi Ram,
I am not getting clearly your question.
What i got is
You are able to see the description in the preview in External Data tab. But you are not able to get the corrosponding values after loading. (The same problem i gone thr.)
Soln :
Check the language field. Put it to English ( E ). and try to load the package again.
Note Please check the Preview and simulated preview also.
Let me know if problem persists.
Regards
Vinay -
Manage flat files before/after load them
Hi all,
I am a beginner on OWB. I have to migrate a DW environment that all scripts are implemented manually (PL/SQL) and running over UNIX OS to a OWB. Currently the data is loaded from flat files on a temp (stg) tables (first phase). There is an external process that is leaving in a folder more than one file of the same entity, then one sh process is doing a join (cat) of all files in one. For example:
customers1.txt
customers2.txt
customers3.txt
result: customers.txt
The same process calls SQL-Loader to load the file into the temp table. After the file is loaded it is moved into a backup folder.
I have created a mapping that is loading the data from a flat file to a staging table. My question is if it is possible execute some SH file from OWB in order to do the cat of the files and move the result file into a backup folder when the loading process is finished.
Many thanks for your inputs!
Castella V.I think that I can do it with Experts, using a Java_Task. The problem is that I cannot find any example about Java_task implementation. Could someone provide me some example?
Thanks in advance! -
Flat File: no data load into Info Cube
Hi there,
i try to load a flat file. When I simulate the upload its works well. But no Data was load in my Info Cube. When I try define a query there are no available.
Can someone provide me with a solution for this problem?
With rgds
Oktay DemirHi Oktay,
in addition to A.H.P.'s marks, check if
- Data is posted not only into PSA but also into datatarget,
- updaterules are active.
- Check Monitor-Status in Cube-Administration
- Check availabilitiy for reporting of the request wthin Cube-Administration.
Cheers
Sven -
Procurement Card data upload from flat file to database
Hi All,
I need to upload Procurement Card data from a flat file to the database in the table BBP_PCMAS.
I found a BAPI BAPI_PCARD_CREATEMULTIPLE which uploads the data perfectly, however the structure PCMASTER that it takes as input does not contain the field for Blocking reason PCBLOCK - Reason for blocking procurement card. I need to upload this file as well from the flat file.
Any suggestions?
ThanksHi,
You are correct the function module BAPI_PCARD_CREATEMULTIPLE does not contain the PCBLOCK field.
Alternatively what you can do is read the PC data after it is created and modify it with the PCBLOCK appropiately. The necessary function modules are given below.
BBP_PCMAS_READ_PCMAS - Read Data
BBP_PCMAS_MODIFY_PCMAS - Modify Data
Note: BBP_PCMAS_MODIFY_PCMAS is a Update Task FM. Hence it shoild be called as given below, ( refer form write_data of the FM BAPI_PCARD_CREATEMULTIPLE)
call function 'BBP_PCMAS_MODIFY_PCMAS' in update task
exporting
i_pcmas = i_pcmas
* I_PCMAS_OLD =
* I_DELETE =
tables
t_pcacc = i_pcacc
* T_PCACC_OLD =
exceptions
not_found = 1
others = 2.
Regards
Kathirvel -
Flat file transactional data load error
I am trying to load a flat into a BPC model. I am using a DM " Import transational data load from flat file" to load the data. The transformation file and data file are validated correctly.
However,when i am running the DM package, i am hitting the below message.
Task Name : Load
Cannot perform Read.
Model : Package Status : Error.
We have two secure dimension in the model. I have tried different combinations even with PRimary admin role and i am still getting the same error message.
Is this a secirity related error ? The model has been transported from DEV . In DEV, i am not facing any errors.
Any advise/ help?Hi King,
I think in the back end you need check the option real time load behavior, Is it in planning mode or loading mode. If possible share your error message screen.
Goto RSA1 ---> select your cube--> Right click---> change real time load behavior--> Change it in to planning mode
Regards,
Saida Reddy Gogireddy -
Problem in Flat file transaction data loading to BI7
Hi Experts,
I am new to BI7, got problem in activating data source for transaction data and create transfer routine to calculate sales revenue which is not there in flat file but flat file has got price per unit and quantity sold.
Flat file fields are:
Cust id SrepID Mat ID Price per unit Unit measure Quantity TR. Date
cu100 dr01 mat01 50 CS 5 19991001
created info objects are
IO_CUID
IO_SRID
IO_MATID
IO_PRC
IO_QTY
IO_REV
0CALDAY
When i created IO_QTY, unit/curency was given as 0UNIT. In creation of DS, under fields tab, extra field CS was shown I did confuse to which object should i map it. and at the same time when i enter IO_QTY its prompting one dailogbox with 0UNIT, so i said ok. Now i can't map CS to unit as system created automatic ally 0UNIT when i enter IO_QTY. Could you please give me solution for this and procedure to enter formulae for calculating Sales revenue at this level instead of query level. Your solutions will be more appreciated with points.
Await for ur solutions
Thanks
ShrinuHi Sunil,
Thanks for your quick response. I tried to assign the infoobjects under the fields tab in creation of DS. I have not reached to data target yet.
Could you please answer to my total question.
Will you be able to send some screen shots to my email id [email protected]
Thanks
Shri -
Not loading from flat file using SQL*Loader
Hi,
I am trying to load from an excel file.
first i converted excel file into csv file and save it as as dat file.
in the excel file one column is salary and the data is like $100,000
while converting xls to csv the salary is changed to "$100,000 " (with quotes and a space after the amount)
after the last digit it will put a space.
in the control file of sql*loader i had given
salary "to_number('L999,999')"
my problem is the space after the salary in the dat file.---> "$100,000 "
what changes i have to make in the to_number function which is in the control file.
Please guide me.
Thanks & Regards
Salih KM
Message was edited by:
kmsalihThanks a lot Jens Petersen
It's is loading ..........
MI means miniute.
am i correct.
but i didn't get the logic behind that.
can u please explain that.
Thanks & Regards
Salih KM -
How to Load Arabic Data from flat file using SQL Loader ?
Hi All,
We need to load Arabic data from an xls file to Oracle database, Request you to provide a very good note/step to achieve the same.
Below are the database parameters used
NLS_CHARACTERSET AR8ISO8859P6
nls_language american
DB version:-10g release 2
OS: rhel 5
Thanks in advance,
SatishTry to save your XLS file into CSV format and set either NLS_LANG to the right value or use SQL*Loader control file parameter CHARACTERSET.
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#i1005287 -
Hi All,
We are using 11.2.0.2 Database.
A customer of ours has sent us a copy of their database in rman format.
There are no instructions with the files.
The files sent are something that looks like it might be a control file, a number of backup files of varying sizes that look like backed up tablespaces / other files, and a final small file that has a suffix of bck.
While we use rman for backup and recovery, we were suprised to be sent a database in this format with no instructions of how the rman backup was created. Generally we assumed that an rman back is best used to recover the database it was taken from rather than create a new one.
If we'd been sent an export, it would have been easier to know what to do with it.
Without knowing anymore than the above, does it seem possible to build a database from the files we have been given?
Can we examine the control file and figure out what the rman command was that created the file set we received?
thanks for your help.
TonyI hoppe this help you
Plz post the filenames, do you have de DBID ?, wich O.S. do you have ?
The FORMAT clause can use substitution variables to differentiate backupsets by
database, by piece, and so forth. Here are a few sample substitution variable types:
■ %d Database name
■ %e Archived log sequence number
■ %f Absolute file number
■ %F Combines the DBID, day, month, year, and sequence number, separated
by dashes
■ %c Copy number for multiple copies in a duplexed backup
■ %I Database identifier (DBID)
■ %n Database name padded to eight characters
■ %p Piece number within the backupset
■ %s Backupset number
■ %t Backupset timestamp
■ %U System-generated unique filename (the default)
Restore DB onto New Host
1. Configure environment variables on the new host.
2. Connect to the new target database with NOCATALOG.
3. Set the DBID.
4. Start the instance with NOMOUNT.
5. Restore the SPFILE from backup.
6. Shut down the new instance.
7. Edit the PFILE.
8. Start the instance with NOMOUNT (again) .
9. Create an RMAN RUN block to restore the control file.
10. Create an RMAN RUN block to restore and recover the database.
11. Open the database with RESETLOGS.
J.A. -
Require script to load fixed length flat file
Hi
Can anyone provide me a script to load a flat file into database ? A sample script would be ok
thanks in advance
SivaYou can use SQL*Loader to do this, or external tables in 9i or higher. These methods are well-documented in the Utilities Guide.
Cheers, APC
Maybe you are looking for
-
SSO between R/3 and Web Server Filter is not working
Hi all, I have to configure SSO to access from SAP R/3 to a third-party web application through Web Server Filter. R/3 WSF 3rdParty App I think everything is configured properly, but when I issue the http request from R/3 to WSF I get the followi
-
How to install photoshop cc in several languages, Spanish and English
How to install photoshop cc in several languages, Spanish and English, I've searched the forums, and I have not been able to make or find would be so kind as to explain how I can do, thank you very much
-
How to connect branch to head office domain through MPLS
I have head office company, we have connected 7 branchs to head by MPLS. now i have server and domain haibah.local fo my LAN. how i will let pc's in branches connect to my domain and sharing folders between us. please give me details.no internet in b
-
What happened to the Adobe CS updates
Do you remember Adobe said late last year that they will be updating their CS3 apps for Leopard in February. Well I'd like to know what happened! I still have my Photoshop bugs and Indesign does not "hide" itself when asked.
-
Private strand flush not complete message
Hi, I am running Oracle10gR2 on Windows and I occationally receive the following error message on alert file. I could not find any documentation why I'm geting this. Thread 1 cannot allocate new log, sequence 2112 "Private strand flush not complete"