Converting data from a clob to RTF in Oracle Reports
Hello
I have created a table in my database and one of the columns is a CLOB , data in the CLOB i've copied from a word document .
I've created a report that has to retrieve the value from the CLOB in RTF output, the problem is that the output is in binary format .
If someone can help me i relly appreciate.
Another thing , i tried saving a doc file into a html file , opening the html file with a notepad , and the content of the notepad putting into a CLOB , after putting in the text into the first tab 'text' i've checked the html tab and it appears to be ok in plsql dev,in report I used on the field properties that contains html tags = yes . But the output was not the same as in the CLOB tab html , it had other formatting and looked totally different , i'm almost sure that the problem is from tags , but modifying them takes too much time and I have too many reports that i must make in word and i cannot work on modifying the tags.
PS: I use Oracle Reports 6i
Anyone knows an alternative method for putting data from a doc document into a clob and making a query in reports that retrieves the value of the clob , and the output has to be rtf or pdf ?
Thank you in advance
Edited by: user7274785 on 05.10.2009 00:42
Duplicate question.
unload data to a csv in unix oracle 11g
Similar Messages
-
Need to convert Date from calendar to String in the format dd-mom-yyyy
Need to convert Date from calendar to String in the format dd-mom-yyyy+..
This is absolutely necessary... any help plz..
Rgds
ArwinderLook up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
Arwinder wrote:
This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
---------------------------------------------------------------- -
How to convert date from "yyyymmdd" to "MM/DD/YYYY" format
1. I have one BLDAT field in my internal table.
its getting updated from input file.
2. The value in the input file is like yyyymmdd.
So the internal table field is filled like this
"YYYYMMDD".
3. After this,I have to compare this internal table
field with BSAD table.
4. The BLDAT field in BSAD table is in the format of
"MM/DD/YYYY".
5. the BLDAT field is having diff format in internal table and BSAD table.So I am unable to check this value.
How to convert it as like the BSAD table format."MM/DD/YYYY" format.
Thanks in advance!!Using the WRITE statement
data: gd_date(10). "field to store output date
* Converts date from 20020901 to 09.01.2002
write sy-datum to gd_date mm/dd/yyyy.
OR u can
CONCATENATE gd_date+4(2) gd_date+6(2) gd_date+0(4)
into gd_date seperated by '/' .
Hope this helps.
Kindly reward points and close the thread for the
answer which helped u OR get back with queries. -
How to I convert data from oracle database into excel sheet
how to I convert data from oracle database into excel sheet.
I need to import columns and there datas from oracle database to microsoft excel sheet.
Please let me know the different ways for doing this.
Thanks.asktom.oracle.com has an excellent article on writing a PL/SQL procedure that dumps data to an Excel spreadsheet-- search for 'Excel' and it'll come up.
You can also use your favorite connection protocol (ODBC, OLE DB, etc) to connect from Excel to Oracle and pull the data out that way.
Justin -
Convert data from internal table to XML file.
Hi All,
I am selecting data from database into one internal table.
Now I want to convert data from internal table to xml file format and save in to my desktop. Please suggest me how I can achieve my requirement.
Kindly reply me ASAP.Use this FM. SAP_CONVERT_TO_XML_FORMAT
Check this link too -
Re: Data Export in XML format
XML files from ABAP programs -
How can i convert data from DBF to oracle database 10g?
Sir,
How can i convert data from DBF to oracle database 10g?I assume you at least know how to dump the contents of foxpro dbf file into CSV format.
Regarding SQL*Loader, hope this demo makes it a bit clear to you...
http://www.princeton.edu/~storacle/sqlloader_demo.shtml
I agree that it is an old web page (references Oracle 8.0.5) but basics remain the same.
If it is still unclear to you after referring above link, then get an Oracle consultant. -
Converting date from DD.MM.YYYY to YYYY - MM - DD format
Hi All,
Can you give me a way to convert date from DD.MM.YYYY to YYYY - MM - DD format. Actually frm tables i am getting date in DD.MM.YYYY format. And i want to print it in YYYY-MM-DD format.
Please reply.
Thanks And Regards,
Mayank Verma
Moderator message - Please search before asking. Date formatting is one of the most common questions asked - post locked
Edited by: Rob Burbank on Jul 6, 2009 10:42 AMHi,
Hey you can make use of offset and concatenate statement to convert the date.
regards,
Ankur Parab -
Convert date from YYYYMMDD to DDMMYYYY
Please help if anyone knows any function module to convert date from YYYYMMDD to DDMMYYYY format..
Thanks in Advance,
manjariHello.
Simply do like this:
DATA: datum TYPE char10.
WRITE sy-datum TO datum <format option>.
<format options>:
DD/MM/YY and MM/DD/YY:
Both additions have the same effect. The date output has a two-digit year value and a separator. The separator and the order are taken from the definition for date output in the user master record.
DD/MM/YYYY und MM/DD/YYYY:
Both additions have the same effect. The date output has a four-digit year value and separator. The separator and the order are taken from the definition for date output in the user master record.
DDMMYY und MMDDYY:
Both additions have the same effect. The date output has a two-digit year value and no separator. The order is taken from the definition for date output in the user master record.
YYMMDD:
This addition provides a date output with a two-digit year value without a separator in the format YYMMDD.
Regards.
Valter Oliveira. -
How to convert date from ccyymm format to mmddyy
hi,
How to convert date from ccyymm format to mmddyyPlease don't multipost. This question has been answered in your first post.
How to convert date to ccyymm format
Regards,
Jo -
I want to convert date from Microsoft Access to Oracle.
I want to convert date from Microsoft Access to Oracle.
My Oracel date format is 21-Jul-2004 02:24:09 AM
I use sqlldr in Oracle 9i Database and I
write control file
load data
infile 'test.txt'
into table test
fields terminated by "," optionally enclosed by '"'
trailing nullcols
name,
birthday
data file 'test.txt' for input
"dao","21-Jul-2004 02:24:09 AM"
why did error? ORA-01843: not a valid month
Thank.replace birthday with
birthday "to_date(:birthday, 'DD-Mon-YYYY HH:MI:SS AM', 'NLS_LANGUAGE=''american''')"Of course, if your monthes are in German, then set the language to german (JUL=JUL but DEZ<>DEC)
Regards
Laurent -
ALE, use bd79 (converting data from sender to receiver to blank out fields)
Hi, I am trying to blank four fields out in our FI IDOC for a certain business reason. These fields must be blank (it is the FIDCC1 message type). I am trying to use transaction bd79 (converting data from sender to receiver) maintain rules. Is there a way to blank out these fields using a conversion rule? I can change data fine but I cannot find a way to blank or null a field out. Thanks in advance.
You should have a look at the inbound function module (linked to your inbound process code). sometimes there are checks that if fields are initial that nothing will be changed.
-
How to load the data from excel file into table in oracle using UTL_FI
How to load the data from excel file into table in oracle
and from table to excel file
using UTL_FILE package
Please give me some exampleThis is something i tried in oracle apex
http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Regards,
CKLP -
I need to import data from a CSV file to an Oracle table
I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.
As an example, my target database is HH910TS2, server is ADDb0001, my dB login is em/em, the Oracle table is AE1 and the CSV file is AECSV.
Any ideas / help ?And just for clarity, it's good to get your head around some basic concepts...
user635625 wrote:
I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.SQL Developer is a GUI front end that submits code to the database and displays the results. It does not have any code of it's own (although it may have some "commands" that are SQL Developer specific)
SQL*Plus is another front end (character based rather than GUI) that submits code to the database and displays the results. It also does not have code of it's own although there are SQL*Plus commands for use only in the SQL*Plus environment.
The "code" that you are referring to is either SQL or PL/SQL, so you shouldn't limit yourself to thinking it has to be for SQL Developer or SQL*Plus. There are many front end tools that can all deal with the same SQL and/or PL/SQL code. Focus on the SQL and/or PL/SQL side of your coding and don't concern yourself with limitations of what tool you are using. We often see people on here who don't recognise these differences and then ask why their code isn't working when they've put SQL*Plus commands inside their PL/SQL code. ;) -
How to import data from excel or csv files to Oracle table
hello everybody,
I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
So, how can I import the excel data into Oracle table.
Thank you in advance.
cheers,
shimaEven easier. Download JDeveloper 11G from this site.
Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
Columns -- move the selected columns that you want to load to the box on the right
Data Types -- select column name from second column to which the data for each column of the import file should load
DML -- click this tab to generate the INSERT SQL
Once done click 'Insert' -
I need to BI Publisher to load the data from Disc worksheet into RTF
Can anyone help how to link the RTF and Data Source[Discoverer Worksheet] in BI Publisher.
Hi Rani,
You can also use the ALE IDOC method to load data from legacy to CRM system if you have some middlware tool(E.g. XI) in between. We have implemented this in our project where we were getting flat files from legacy, XI was converting the same into IDOC and the IDOC was sent to CRM where we read the IDOC data, populate the standard BAPI's or function modules to create the data in CRM.
You need to define an IDOC TYPE similar to the data structure on the legacy system. Maintain the ALE settings. Write the function module to validate and create data in the CRM system.
E.G. To create business partner SAP has provided BAPI_BUPA_CREATE_FROM_DATA bapi.
<b>Reward points if it helps.</b>
Maybe you are looking for
-
When trying to burn a cd from my playlist it get to the finalising process and after quite some time ejects the cd with a "error 4000" message. So here is what I have done to date: - changed from max to 8x - control panels, itune, repair - changed cd
-
Java.exe Error while creating the Model in Webdynpro
Hi, I am creating the Model in Webdynpro Project. I have given the SAP r3 user id Passord details. after giving these details and clicking on next, it is giving an Error as " *Javaw.exe has got some problem needs to close. sorry for the inconvenenc
-
Where/How to get the Virtual KPIs in Crystal Reports?
hellooo! We are developing SSM7 reports using Crystal. And we have this example scenario: 1. Two NONKPI variables defined via Cube Builder: NONKPI381_ACT/TAR Net Sales 100000 NONKPI382_ACT/TAR Expenses 80000 2. V
-
Image rotation in contact sheet
Hi I've just come accross a problem when creating a contact sheet with images that were organised and rotated using Bridge. When creating contact sheets I like to have the thumbnails rotated the correct way up. So I deselect 'rotate for best fit' but
-
Urgent-Inputs at the time of GR.
Hi My client wants L.R. number,Truck number,waybill number to be entered while doing GR. Can any one give any idea how to do it?