Creating my own Import data through CSV
Hi,
I want to create a Import data application which consist of import the CSV to a existing table.The same thing the way HTMLDB does while importing data via spreadsheet.Is it really possible ? If then how can i proceed ? Can anyone suggest .
Regards,
ROSY
Hi,
I want to create a Import data application which
hich consist of import the CSV to a existing
table.The same thing the way HTMLDB does while
importing data via spreadsheet.Is it really possible
? If then how can i proceed ? Can anyone suggest .Unfortunately, you're left to your own devices to implement the UI. That's the bad news. The good news is that you can probably use any of the relevant packages in the FLOWS_nnnnnn (depending on your HTML DB version) schema to do the backend work for you.
If you have tools to browse the backend like TOAD or Enterprise Manager then take a look through the FLOWS_nnnnnn schema and look at the packages under WWV_FLOW_LOAD_DATA, or something to that effect. Can't remember exactly right now.
Earl
Similar Messages
-
Import data from csv to SQL database
How to Import data from csv to SQL database through BLS-xMII?
Hi,
if you using Oracle, you may also use the bulk insert with MII. You can use the String List to XML parser to convert your CSV to XML, and then use a query that calls a stored procedure which does the bulk insert.
Also have a look at thread [read XML file into stored procedure|http://forums.sdn.sap.com/click.jspa?searchID=63850236&messageID=7455643].
Michael -
While import data through ff_5 i am getting error
hello
while import data through ff_5 i am getting error as below
message error fv150 and fv151
'Termination in statement no. 00009 of acct
1101200570116; closing record 62F missing'
so please give solution
thank inadvance
SIRIDear Siri,
I guess you are importing an MT940 format. This format should have the closing balance at the end.
This closing balance starts with :62F:
A sample is
:61:0801180118DR3835,97NTRF000000//000000//
:86:1022 LTD CHENNAI18012008
:61:0801180118DR69885,09NCHK850819//850819//
:86:6101 LTD COCHIN18012008
:62F:C080118INR7210048,86
I guess that is missing in the import file.
Maintain that and the import will happen.
Assign points if useful
regards
Venkatesh -
How to import data from CSV to TCode COR6N
Hi friends,
Please help me. I don't know how to import data from CSV file to TCode COR6N. (time ticket for production order)
I used function: BAPI_PRODORDCONF_CREATE_TT to fill information into TCode COR6n, but it thrown error: "Orders of the order type ZP01 cannot be confirmed". ZP01 is my Order Type.
Thanks in advance.
Nguyen Phuoc Toan.You can use the LSMW tool to do this.
The details of LSMW BAPI method is as follows :-
Business Object:- BUS2116
Method:-CREATEPREDEFTIMETICKETMULTIPLE
Message Type:- PPCC2PRETTICKET
Basic Type:- PPCC2PRETTICKET01
Regards
Dhirendra -
How to import data from CSV to TCode COR1?
Hi SAP PP guru,
How to import data from CSV file to TCode COR1?
Thanks in advance,
Nguyen Phuoc Toan.Nguyen,
You have not yet confirmed what your requirement is?
You can take the help of ABAP person to understand what BDC or LSMW is about, basically this is a tool provided by SAP that would enable you to record a transaction process and you can use the code to perform the transaction in mass. [Help on LSMW|http://help.sap.com/erp2005_ehp_04/helpdata/EN/ad/2d54a41d7011d2b42e006094b944c8/content.htm]
Regards,
Prasobh -
Need Help in importing data through HTTP post by using OAF
Hello Everyone,
I have one requirement of importing data from Job Posting page of iRecruitment into other application or into other file like csv/xml/txt through HTTP post by using Oracle Application Framework.
Please help me out in the same if anyone know about how to achieve this kind of requirement.
Help is highly appreciated.
Thanks,
Arvind
Edited by: user636850 on Sep 18, 2009 5:35 AMHi Gaurav,
Thanks for your reply. I know about export button but my requirement is to import data into other web based application through HTTP post.
Thanks,
Arvind -
Error while Loading data through .csv file
Hi,
I am getting below date error when loading data through into Olap tables through .csv file.
Data stored in .csv is 20071113121100.
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TE_7007 Transformation Evaluation Error [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')]
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TT_11132 Transformation [Exp_FILE_CHNL_TYPE] had an error evaluating output column [CREATED_ON_DT_OUT]. Error message is [<<Expression Error>> [TO_DATE]: invalid string for converting to Date
... t:TO_DATE(u:'2.00711E+13',u:'YYYYMMDDHH24MISS')].
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TT_11019 There is an error in the port [CREATED_ON_DT_OUT]: The default value for the port is set to: ERROR(<<Expression Error>> [ERROR]: transformation error
... nl:ERROR(u:'transformation error')).
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> TT_11021 An error occurred moving data from the transformation Exp_FILE_CHNL_TYPE: to the transformation W_CHNL_TYPE_DS.
TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Mar 29 15:06:17 2010]
TRANSF_1_1_1> CMN_1086 Exp_FILE_CHNL_TYPE: Number of errors exceeded threshold [1].
Any help is greatly appreciated.
Thanks,
Poojak1) Wrong format, you wont get much support loading OLAP cubes in here I think.
2) Has your CSV file been anywhere near excel by chance the conversion of 20071113121100 to 2.00711E+13 looks very much like what I see when Excel has an invalid number mask / precision specified for a cell.
*** We are using EBS. File was already generated by consultants through SQL query. Getting error while loading though Informatica. Target table is setup as date datatype and source is String(19).
Expression in Informatica is setup as below.
IIF(ISNULL(CREATED_ON_DT), NULL, TO_DATE(CREATED_ON_DT, 'YYYYMMDDHH24MISS'))
Thanks,
Poojak -
How to import data from CSV file with columns separated by semicolon?
I migrate database from MS SQL 2008 to ORACLE 11g
I export data to CSV file from MS SQL
then I try to import it to Oracle
several tables goes fine using Import data option in the SQL Developer
Standard CSV files with data separated by comma were imported.
chars, date (with format string), and integer data are imported via import wizard without problems
the problems were when I try to import table with noninteger numbers with modal part separated by comma not by dot
comma is the standard separator for columns in CSV file
so I must change the standard separator to semicolon
then the import wizard have problem to correct recognize the columns data because it use only standard CSV comma separator :-/
In SQL Developer 1.5.3 Tools -> Preferences -> Migration -> Data Move Options
I change "End of Column Delimiter" to ; but it doens't work
Is this possible to change the standard column separator for import data wizzard in SQL Developer 1.5.3?
Or maybe someone know how to import data in SQL Developer 1.5.3 from CSV when CSV colunn separator is set to semicolon?A new preference has been added to customize the import delimiter in main code line. This should be available as part of future release.
-
BUG 3.0/3.1 Import data from CSV in non english local
Hello,
I have 3.0 on a German XP (NLS Decimal "," and Group ".") but with
AddVMOption -Duser.language=en
because of bug 9231534
I try to import data from a delimited file that contains the number "123,23"
When I use the Import Data Wizard it generates an insert with "12323.0". This import works, but gives me the wrong values, 12323 instead of 123,23.
I have 3.1 with german UI and try the same import.
It generates a correct insert "123.23", but on executing it fails, because it expects the german decimal separator, this is wrong for two reasons:
The generated script has a dot as decimal separator and it would not make sense to use a comma, because this is the value separator in an insert script.
To execute the script it should use the same NLS-Setting as for generating.
Regards
MarcusHello,
has anybody found a solution?
Testcase: SQL Developer 3.1 on a German XP with default NLS Settings
CREATE TABLE "TEST_TABLE"
"NUM" NUMBER
,"VCH" VARCHAR2(10 BYTE)
) ;Test file test_insert.dsv
num;vch
1;KL
1,5;tz
12345,45;ooImporting using the wizard inserts the first row correctly, for the others I get
SET DEFINE OFF
--Einfügen für Zeilen 1 bis 3 nicht erfolgreich
--ORA-01722: invalid number
--Zeile 2
INSERT INTO TEST_TABLE (NUM, VCH) VALUES (1.5,'tz');
--Zeile 3
INSERT INTO TEST_TABLE (NUM, VCH) VALUES (12345.45,'oo');Beside the wrong umlaut in the message the insert statement itself is correct, because you cannot use the german decimal separator "," in the script. The bug is, that it should use the same NLS settings for generating and running the script.
Regards
Marcus -
Importing data through javascript
I am attempting to populate fields that are generated through a static pdf, but that all contain the same type of data.
All of this data is selectable and can be copied out of the source, so I figured that it would be possible to pull it through a javascript command.
Currently when you view the pdf file in notepad this appears:
(Notes: ) Tj
/F14 10.56 Tf
1 0 0 1 228 668.64 Tm
-0.107 Tc 0.052 Tw (Jim's Taxi quote 123) Tj
1 0 0 1 22.08 702.24 Tm
-0.122 Tc 0.067 Tw (Jim Pinto) Tj
1 0 0 1 22.08 690.24 Tm
-0.071 Tc 0.017 Tw (Jim's Taxi.) Tj
1 0 0 1 22.08 678.24 Tm
-0.077 Tc 0.022 Tw (123 main st) Tj
1 0 0 1 22.08 666.24 Tm
-0.085 Tc 0.031 Tw (Houston) Tj
1 0 0 1 22.08 654.24 Tm
-0.103 Tc 0.048 Tw (TX) Tj
/F15 12 Tf
1 0 0 1 411.36 154.56 Tm
-0.091 Tc 0 Tw
I already have a button attaching the file to the document. I would also like for that button to read the values in the notes section of the pdf. Every item I need ALWAYS appears after the Tw and occurs in brackets; Tw (*) while the numbering changes.
So the command needs to read the file, find the (Notes: ) section, copy the first value (Jim's Taxi quopte 123) and enter it into a field, find the next value (Jim Pinto) and copy it into the name field etc. In this way, by simply selecting the file, regardless of the pdf's orgins and have it populate the data field predetermined (i.e the first field is ALWAYS the customers company name.)
Can anyone here provide a little insight on the way to go about doing this? I am getting a bit stuck.Hi Gaurav,
Thanks for your reply. I know about export button but my requirement is to import data into other web based application through HTTP post.
Thanks,
Arvind -
How to import date through DTW
Hello Experts,
In DTW how can import Date Field in SAP B1, I Try import as string but its not working .
Regards.
ShriX.Hello ShriX,
DTW date has fixed format YYYYMMDD.
Try it.
Thanks,
Gordon -
How to import data from CSV files to OIM?
Hello,
We have to import some of the files which are in csv format and are placed in a specific folder hierarchy. Please help as i am not able to proceed further.
Thanks a lot!To write custom scheduler tasks you need to write a class which extends SchedulerBaseTask class.
See this link. Re: Custom reconcilation
Also GTC flat file retrieves data from file and creates identity/account in OIM. You can use either ways to meet your requirements. -
Error while uploading data through CSV File
Dear All,
While Performing following steps I have encounted error in BW 3.5.
Step 1. Right-click Source System u2013 demo: flat file, and then select Create InfoPackageu2026.
Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and
Step 3. Click the External data tab. Select options as shown in the screen. Enter a file name with a path.(CSV File)\
While checking the preview I am able to see the values inside CSV file,
But while Starting the scheduler to upload this data it is displaying following error=>
Syntax error in template RSTMPLIR, row 0 (-> Long text)
While checking performance assistant following detail is displayed.
*Diagnosis
Field "C_R_D" is unknown. It is neither in one of the specified tables nor defined by a "DATA" ...
System response
The program generation was terminated.
Procedure
Correct the template*
Can you guide how to eliminate this error?
Points will be rewarded for your contribution
Regards,
PuravFlat File was in error.
-
How to import data from CSV file into a table by using oracle forms
Hi,
I have a CSV file and i want to insert in oracle database in a table by using a button in oracle forms.
the user can select CSV file by using open dialog .
can any one help me to find method to make import and select file from the client machine ?
thx.1. create table blob
CREATE TABLE IB_LOVE
DOC BLOB,
CONTRACT_NO VARCHAR2(20 BYTE) NOT NULL
)2. use the code below to insert:
INSERT INTO ordmgmt.ib_love
(contract_no, doc
VALUES (:control.contract_no_input, NULL
lb$result :=
webutil_file_transfer.client_to_db (:b2.file_name, v_file_blob_name, v_col_blob_name,
'CONTRACT_NO = ' || :control.contract_no_input);
:SYSTEM.message_level := 25;
COMMIT;
:SYSTEM.message_level := 0;3. use the code below to download
if :control.CONTRACT_NO_INPUT is not null then
vboolean := webutil_file_transfer.DB_To_Client_With_Progress(
vfilename, --filename
'IB_LOVE', ---table of Blob item
'DOC', --Blob column name
'CONTRACT_NO = ' || :CONTROL.CONTRACT_NO_INPUT, ---where clause to retrieve the record
'Downloading from Database', --Progress Bar title
'Wait to Complete'); --Progress bar subtitle client_host('cmd /c start '||vfilename);
client_host('cmd /c start '||vfilename);
else
errmsg('Please choose contract no');
end if;4. use the code below to open file dialog
x:= WEBUTIL_FILE.FILE_OPEN_DIALOG ( 'c:\', '*.gif', '|*.gif|*.gif|', 'My Open Window' ) ;
:b2.FILE_NAME:=X; -
I have a requirement for my users to import contact lists into my Oracle 10g database. I am new to forms so wanted to ask the group the best way to accomplish this. My first thoughts were:
1. Allow the user to select the file and copy it to a designated directory on the database.
I see functions to copy it to an Application server or a database table, but don't see any functions to copy it to a directory (other than AS). Would I need to use FTP?
2. Create an external table on the predefined file on the fly.
I don't see any issues here if I can copy the file.
3. If there is a problem with the file somehow show the log file of the external table.
Since it's on the database, I would need to get this file as well. Same problem as #1 except in reverse.
4. Once I can select an external table, it seems easy.
Easier, anyway!
Better, easier solutions? Is there a function to copy to any server (if the server is set up correctly)?From Forms you can use the HOST built-in to execute operating system commands such as FTP'ing or copying files.
Regards,
Robin Zimmermann.
Maybe you are looking for
-
Hi, I can't seem to update Premiere Pro. I get the following message: Adobe Premiere Pro CC 2014.0.1 Update Installation failed. Error Code: U44M2P7 Have tried the patch, no dice. Need to avoid re-install. Would like an Adobe staff member to step up
-
JComboBox makes for nice security vulnerability under X11?
I noticed a couple years ago that when I set a breakpoint inside a JComboBox state change event handler on a Java application or applet running under X11, the entire desktop would hang. Back then, I checked the Swing bug database and found an issue r
-
Why are someone elses photo albums showing up in my icloud account on apple tv?
Logged in to my account on iCloud on Apple TV. It did not ask for my password, and it is now showing me hundreds of photos of a very nice family ... whom I have never met. I am unable to see any of my photos, but I have the personal photos of somoe
-
How to use a constant rather than a "getter"?
I'd like to refer to a constant rather than a property using a "getter" (accessor), but I'm not sure how. For example: <f:selectItem itemLabel="Option1" itemValue="#{Constants.MINIMUM}"/> But of course this results in trying to call getMINIMUM(), whi
-
Using Final Cut Express and Network accounts
I am having problems launching Final Cut Express when opening the program logged into a network account. It works fine when i am logged into administrator, but when i am in another account it will not launch Thanks Dave