File Conversions with API...!
Hi guys...!
I'm searching for a file conversion product that comes with an API, which will enable programmers or developers to integrate it in their program.
The product must be able to convert PDF, HTML, Excel, Access, Power Point, and Word into a text document. Most of the product that I found do not come with an API.
Does anyone know a good product that does that...?
Any suggestion will be welcome....!
Thanks...
Would you please btw describe how you want to convert
a Powerpoint presentation to a txt file?No problem:---------------------------------------------------------------------
| fancy background fancy background fancy background fancy background |
| fa+-------------+fancy background fancy background fancy background |
| fa| little info |fanc <================= KAPWING! fancy background |
| fa+-------------+fancy background fancy background fancy background |
| fancy background fancy background fancy background fancy background |
| fancy background fancy background fancy background fancy background |
| fancy backgroun+-----------------------------------+ ncy background |
| fancy backgroun| Very important wahwahwah title |ancy background |
| fancy backgroun| (c) some marketeer |ancy background |
| fancy backgroun+-----------------------------------+ancy background |
| fancy background fancy background fancy background fancy background |
| fancy background fancy backgr *PLING!! background fancy background |
| fancy background fancy background fancy background fancy background |
| fancy background fancy background fancy background fancy background |
| fancy background fancy background fancy background fancy background |
| fancy background fancy background fancy background fancy background |
| fancy background fancy background fancy background fancy background |
| fancy background fancy background fancy background f+-----------+nd |
| fancy backgro ZOOOOOFFFF! ======================>d | funky logo |nd |
| fancy background fancy background fancy background f+-----------+nd |
---------------------------------------------------------------------kind regards,
Jos
Similar Messages
-
Sender File adapter File Conversion with key fields
Please help me guys, I already spent way too much time on this!
I checked a couple of BLOGs and I think I'm doing the right thing except I'm not getting the result I would expect.
I'm trying to create an IDoc using the from a flat file.
I get the following error:
During the application mapping com/sap/xi/tf/_MM_TEST_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~
The Source file is this:
H
L0015
The file adapter does create the XML below (looks fine):
<ns:MT_SINGLE xmlns:ns="http://PPSC_TO_BO_INVOICE">
<HEADER>
<ID>H</ID>
</HEADER>
<LINE>
<ID>L</ID>
<SITE>0015</SITE>
</LINE>
</ns:MT_SINGLE>
When I test the map in IR, with the XML that this file adapter created (above) it works fine!
Also if I take away the HEADER from the source structure everything works fine and I can create the IDoc, therefore I think something must be wrong in the file conversion, the mapping is so simple there is nothing to fail there.
The file conversion parameters that I have:
Document Name: MT_SINGLE
Document Namespace: http://PPSC_TO_BO_INVOICE
Document Offset:
Recordset Name:
Recordset Namespace:
Recordset Structure: HEADER,1,LINE,*
Recordset Sequence: Ascending
Recordset per Message:
Key Field name: ID
Key Field Type: String (Case-Sensitive)
LINE.fieldNames: ID,SITE
LINE.fieldFixedLengths: 1,4
LINE.keyFieldValue: L
HEADER.fieldNames: ID
HEADER.fieldFixedLengths: 1
HEADER.keyFieldValue: H
What am I doing wrong???
Any help is much appreciated.
Thanks,
Viktor VargaHi Viktor,
Basic rules:
1. Down load XML payload(output From Adapter) and test it in IR mapping program. If it is working there is no reason why it will fail in Runtime. Also Check Cache is up to date.
Generally the problem lies with namespace.
Hope this helps
Regards,
Satish -
Handling flat file conversion with spaces inbetween at sender side
Hi,
I am facing some problem in configuring the sender JMS adapter file content conversion. Please find the structure of my file below
010AG 07/17/2007 000130800 TOZ07/17/200710:48:46
010AU 07/17/2007 006682800 TOZ07/17/200710:48:46
010-Record key
AG-Metal code
07/17/2007 -price Date
000130800 -pricevalue
TOZ-Unitofmessure
07/17/200710:48:46-Unitofmessure
there are 2spaces inbeween 1and 2nd fields and one space beween 2nd and 3rd ,one space between 3rd and 4th fileds
I declared my source data strucute like below
<source_MT>
<PriceData>
<Metal code>
<price Date>
<pricevalue>
<Unitofmessure>
<shipDate>
</priceData>
</source_MT>
I am using this PDF to configure my serder communication channel https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b7
. but i got struck up in declaring these two fields as i need deal with spaces.
xml.NameA.fieldNames
xml.NameA.fieldFixedLengths
It would be great if sombody tell me how ican decalre content conversion rules for the file
Thanks
sudheerHi,
Please check some links on FCC.
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
File Receiver with Content Conversion
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
How to send a flat file with various field lengths and variable substructures to XI 3.0
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
File Content Conversion for Unequal Number of Columns
Content Conversion ( The Key Field Problem )
The specified item was not found.
File Receiver with Content Conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani -
Hello,
how do I add new properties to file globals using API-calls. (VC++ and TS 3.5).
The following code snippet doesn't produce any errors but unfortunately doesn't
produce any file globals either.
seqfile = engine->NewSequenceFile();
propobj = seqfile->AsPropertyObject();
propobjTemp = engine->NewPropertyObject(TS:: PropValType_Boolean,VARIANT_FALSE,(_bstr_t)"",TS:: PropOption_SetOnlyIfDoesNotExist);
propobj->SetPropertyObject((_bstr_t)"FileGlobals.MyBoolean",TS:: PropOption_InsertIfMissing,propobjTemp);
propobjTemp = engine->NewPropertyObject(TS:: PropValType_Number,VARIANT_FALSE,(_bstr_t)"",TS:: PropOption_SetOnlyIfDoesNotExist);
propobj->SetPropertyObject((_bstr_t)"FileGlobals.MyString",TS:: PropOption_InsertIfMissing,propobjTemp);
propobjTemp = engine->NewPropertyObject(TS:: PropValType_NamedType,VARIANT_FALSE,(_bstr_t)"SomeContainer",0);
propobj->SetPropertyObject((_bstr_t)"FileGlobals.MyContainer",TS:: PropOption_InsertIfMissing,propobjTemp);
Thank you for your help.
MikeHi,
I have attached an example, which creates a new seqfile, inserts a FileGlobals (check out the lookup string - "Data.FileGlobalDefaults.MyBoolean"), increments the count and saves then releases the sequence file.
Its a bit crude. It will create the sequencefile "MySequenceFile.seq" in the same location where you open the main sequence file.
Hope it helps
Regards
Ray
Regards
Ray Farmer
Attachments:
CreateSeqFile_TS35.seq 21 KB -
5D Mark II file conversion with CS3
I just bought a 5D Mark II, but CS3 Bridge won't open my files. So I downloaded DNG converter 4.5, but when I tried to do the conversions I got a message saying "There was an error parsing the file". How can I use CS3 Bridge with my 5D Mark II files?
So let me make sure I'm understanding everything correctly. Since my studio now additionally shoots with a Canon 5D Mark II camera, me and my staff of photographers has to use the DNG converter after every shoot to convert the Mark II files into a compatible .dng file?
I'm in the process of converting a shoot from today with the 5.2 DNG converter and it's anything BUT quick. This is basically forcing my studio to upgrade every computer to CS4 because this creates a serious kink in the workflow since we need to remain efficient after each shoot.
I have 8 computers that could potentially need upgrades to CS4. This is hard on small businesses when Adobe is updating their software so often. Regular updates I understand, but total version changes is another. It's hard for me to believe that this wasn't intentional to drive more sales towards CS4 upgrades. Maybe I'm totally wrong though; I'm just really frustrated right now. Any help? -
File Conversion with special char ' '
I have a flat file that contains '<' character though it is not an XML file. I planned to treat the contents like a blog and have something like this:
<recordset>
<record>
<data>
<i>File content</i>
<data>
</record>
</recordset>
My File content has something like the following:
<<SAMPLE>>
<_TEST_>
DATEFORMAT, DD-MM-YYYY
DATETIMEFORMAT, DD-MM-YYYY HH24:MI:SS
SOURCESYSTEM, BM_SRC_OPENBPC
<ENDTEST>
How can this be handled as XI will interpret the '<' as XML tag and give an error when it encounters this.When you use the content conversion of the file adapter, the characters < and > are escaped automatically.
When you want to write your own conversion module, you have to do the escaping by your own, if you want the '<' to be treated as a character. You can leave the < unescaped, when you want to treat it as a tag.
Regards
Stefan -
How do you convert pdf files to excel or word with a mac?
Hi,
Have you purchased the subscription of ExportPDF or are you using acrobat to perfom this task?? -
How can I convert an existing pdf fillable form to MSWord format? Adobe's standard pdf file conversion service does not accept fillable pdf forms.
Re: pdf file conversion with fillable fields (forms)
created by StacySison in Adobe ExportPDF - View the full discussion
Hi whatsagoodname?,
You will need to use the formscentral.acrobat.com service. There are
several great tutorials there as well.
Let me know how it goes!
Kind regards, Stacy
On Friday, July 12, 2013, Genevieve Laroche <[email protected] -
XML Sax Exception with 9.2.0.5 express*.jar files for Olap API
I was using the olap_api_92.jar that
came with jdeveloper for the olap api and having a coding problem.. In trying to see
if I could resolve the previous problem, I set my classpath to use the jar files provided with the 9.2.0.5
install for AiX.. all beginning with express*.jar
I now get an XML parsing error that I can't fix..
which jar is good, the olap_api_92.jar seems to work..
Help!
thanks,
Lisa Cox
OCLC Inc.
java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 179, Column 18>: XML-0124: (Fatal Error) An attribute cannot appear more than once in the same start tag.
at oracle.olapi.metadata.MetadataFetcher.processXML(MetadataFetcher.java:237)
at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(MetadataFetcher.java:180)
at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:150)
at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:107)
at oracle.olapi.metadata.mdm.MdmMetadataProvider.getMetadataObject(MdmMetadataProvider.java:147)
at oracle.olapi.metadata.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:174)
at oracle.express.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:144)
at org.oclc.xwc.olap.OlapClient.main(OlapClient.java:494)The OLAP component versions are empty.
<Check key="OLAP Catalog version" value=""/>
<Check key="OLAP AW Engine version" value=""/>
<Check key="OLAP API Server version" value=""/>
Please doublecheck that the catpatch.sql script ran without any errors.
Aneel Shenker
Senior Product Manager
Oracle Corp. -
Sender File Adapter with file conversion
Hi guys,
Im using a Sender File adapter with file conversion. The message to be processed has a structure with fixed lengths and in your content are some values that needs to be ignored.
An example:
value1 <b>value2</b> value3
I want to ignore <b>value 2</b> but I cant find a parameter for that! Do I need to define dummy fields on my data type and ignore those fields during mapping? Or there is a specific parameter for that?
Thanks in advance,
Ricardo.hi,
there always is another way:)
you can import the whole line to one field
and cut it inside the adapter module
(then you can define start and stop of the substring that you need to use)
but of course it's not standard even though it's quite easy to achieve in java
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
File Adapter with Content Conversion
Hi -
I am trying to convert a Flat file which has data as
firstnamelastnamecompanyName
Now i have created a message type which has a root name as Contact and its children are FirstName,LastName,Company.
And in the configurator i have created a file adapter with the content conversion, but being very new to XI i have never used a file adapter with content conversion. This is what i have in my Content Conversion Parameters.Please correct my code.
Document Name :: MT_Contact
Document Namespace :: http://venkat
Document Offset :: <i>i did not enter anything here</i>
Recordset Name :: RootNode(i gave this name just like that,,, Should it be something from the IR??
Recordset NameSpace:: <i>i did not enter anything here</i>
Recordset Structure:: Contact (this is the name in my IR
Recordset Sequence :: Ascending
Recordsets per Message :: Contact,* (Can someone explain what should be given here)
Then in the bottom in the name value pairs i have given
Contact.fieldNames = FirstName,LastName,Company
Contact.fieldSeparator = #
When i am using the above configuration the error i am getting in RWB is Error: Conversion initialization failed: Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
Format error in 'xml.recordset' argument: incomplete structure (name,number) pairInvalid 'xml.recordsetsPerMessage' value 'Contact,*' found
I am very new to XI and i am unable to understand what exactly each field means in the file adapter when the content coversion is used. Can someone take the pain of explaining them.
Thank you
VenkatHi,
Use the following to create an XML strucutre like this,
<MT_CONTACT>
<CONTACT>
<FirstName> </FirstName>
<LastName> </LastName>
<CompanyName> </CompanyName>
</CONTACT>
<MT_CONTACT>
DocumentName : MT_TEST
DocumentNamespace : Yournamespace
RecordserName : record
RecordsetStructure : CONTACT,1
In the table,
ignoreRecordsetName : true
CONTACT.fieldNames : FirstName,LastName,CompanyName
CONTACT.fieldSeparator : #
Go through the links suggested by moorthy and also these blogs to understand content conversion better,
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
Regards,
Bhavesh -
File Adapter with Conversion - XML with Hierarchy?
XI 3.0 (SP9)
We are using the inbound file adapter with conversion to convert a flat file that has header and line items. I would have thought that the data type should have been setup something like this:
<data type>
<header>
<item>1</item>
<item>2</item>
</header>
</data type>
Our flat file looks like this:
H12345
I12345
We have only been able to configure the file adapter to bring in the data like this:
<data type>
<header></header>
<item>1</item>
<item>2</item>
</data type>
What is the proper way to inbound data through a file adapter that has structure conversion like this?
Do all of the elements get put under the root node, or is there a way to build structure?
Do we need to build the data type to correspond with the exact way that the data will come in from the file adapter?
Thanks
PeterNot quite sure what you want to get, as the flatfile and xml structure does not contain the same values.
However, I will try to give you an example:
Your flat file looks like this:
H12345
I12345
If the first row is header and the next is a line, then you need to specify the fila adapter with the following:
Document name = datatype
Recordset name = recordset
Recordset structure = header,1,item,*
Recordsets per message = *
Recordset sequence = Ascending (need SP10 for this, but you do not need it for this)
Keyfieldname = id
header.fieldFixedLengths = 1,5
header.fieldNames = id,number
header.keyFieldValue = H
header.lastFieldsOptional = Yes
item.fieldFixedLengths = 1,5
item.fieldNames = id,number
item.keyFieldValue = H
item.lastFieldsOptional = Yes
This will create something like this:
<datatype>
<recordset>
<header>
<id>H</id>
<number>12345</number>
</header>
<item>
<id>I</id>
<number>12345</number>
</item>
</recordset>
</datatype>
Hoever, if both rows are "item" rows , then you need to specify the file adapter with the following:
Document name = datatype
Recordset name = header
Recordset structure = item,*
Recordsets per message = *
Recordset sequence = Ascending (need SP10 for this, but you do not need it for this)
item.fieldFixedLengths = 1,5
item.fieldNames = id,number
item.lastFieldsOptional = Yes
This will create something like this:
<datatype>
<header>
<item>
<id>H</id>
<number>12345</number>
</item>
<item>
<id>I</id>
<number>12345</number>
</item>
</header>
</datatype>
Q: Do we need to build the data type to correspond with the exact way that the data will come in from the file adapter?
A: Yes!
Good luck! -
Sender file adapter with content conversion Simple XML
Hi experts,
I'm trying to parametrize my sender file adapter content conversion.
I'm receiving a text file with one single line like:
AA1;AA2; AA3;
and I want to convert it to an XML like
<MT_A1>
<field1>AA1</field1>
<field2>AA2</field2>
<field3>AA3</field3>
</MT_A1>
Actually I know how to do somenthing like
<MT_A1>
<LINE>
<field1>AA1</field1>
<field2>AA2</field2>
<field3>AA3</field3>
<LINE>
</MT_A1>
What I want is remove the <LINE> tag from my XML.
Regards
Gonzalo
Edited by: Gonzalo del Castillo on Nov 28, 2008 2:18 PMHi
Use this help document for receiver FCC
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Content Conversion (Pattern/Random content in input file)
File conversion text to xml (Few Last Post) -
File sender with content conversion and ignoreRecordsetName
Him,
I have an scenario with a compressed file sender with content conversion.
In my sender cc i have:
1 AF_Modules/PayloadZipBean Local Enterprise Bean unzip
2 AF_Modules/MessageTransformBean Local Enterprise Bean transform
3 CallSapAdapter Local Enterprise Bean 2
In module configuration, I have also added:
xml.ignoreRecordsetName --> true
But RecordsetName is not removed from XML
Why?
thanks, in advance
CarmeHi,
No need to enter anything in module configuration. Just specify following Name-Value pair in the table provided on the Content Conversion tab of your file adapter.
Add a row with Name = ignoreRecordsetName and Value = true (Both case-sensitive)
For details, see [this link|http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm].
[some more here|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/]
Regards,
Riyaz -
Sender File Content Conversion with re-occuring record pairs
Hi,
Our FCC works fine with the following structure:
Header1: H1F1, H1F2, H1F3,... (1:1)
Header2: H2F1,H2F2,H2F3,..... (1:1)
Notes: NF1,NF2,NF3,.............(1:1)
Line1:L1F1,L1F2,L1F3,.............(1:N)
Line1:L1F1,L1F2,L1F3,
Line1:L1F1,L1F2,L1F3,
Line1:L1F1,L1F2,L1F3
Line2:L2F1,L2F2,L2F3,............(1:N)
Line2:L2F1,L2F2,L2F3,
Line2:L2F1,L2F2,L2F3,
Line2:L2F1,L2F2,L2F3,
But we have structure as below:
Header1: H1F1, H1F2, H1F3,... (1:1)
Header2: H2F1,H2F2,H2F3,..... (1:1)
Notes: NF1,NF2,NF3,.............(1:1)
Line1:L1F1,L1F2,L1F3,.............(1:N)
Line2:L2F1,L2F2,L2F3,.............(1:N)
Line1:L1F1,L1F2,L1F3,
Line2:L2F1,L2F2,L2F3,
Line1:L1F1,L1F2,L1F3,
Line2:L2F1,L2F2,L2F3,
Line1:L1F1,L1F2,L1F3,
Line2:L2F1,L2F2,L2F3,
Lin1 and Line2 occur as multiple pairs making it as multiple line items. When we use content conversion parameters as below:
Header1.fieldNames H1F1,H1F2,H1F2,...
Header1.fieldFixedLengths 10,5,10,.....
Header1.keyFieldValue H1
Header1.keyFieldInStructure add
Header1.endSeparator 'nl'
Header1.lastFieldsOptional YES
and same for Header2, Notes, Line1, Line2
It picks up only first Header1, Header2, Notes, Line1 and Line2 in a recordset.
Does anyone have idea how could we do this content conversion? Any help would be appreciated.
Reagrds,
N@v!nHi Navin,
You can check the below links :-
Complex File Content Conversion - with random multiple occurrences
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
Complex content conversion File sender
These might be of some help.
Regards,
Rohit
Maybe you are looking for
-
Post Author: Lee XI CA Forum: General Hello all. I'm currently using CR XI (not server) and downloaded the Viewer yesterday to test on a spare pc. Reason for this is I want others to be able to view and set parameters I designed in the report(s). How
-
Lenovo G series : Drivers are not instatling on XP OS
Hi, In G series, model 41514BQ, I installed XP OS. When installing Audio dirvies, getting a message that not compatable with XP. The drivers not passed Windows XP Logo signature. I tried for drivers in Lenovo site. But my model is not available in th
-
I have recently purchased a new macbook and I have two other users in my family that will be using the computer. I've been trying to figure out how to share all our music throughout the computer. Windows has a shared music folder in which each user c
-
IFrame with code for video doesn't load in iWeb but works in Safari?
I've got a strange problem... I have encoded several videos using H.264 as .mov files and then import them into a flash file. Flash 10 plays these files just fine. However, when I put this on an iWeb page using an iFrame the video never loads. If I g
-
Photos rotated on iphone when restored from pc?
The Apple genius bar replaced my iphone yesterday, I backed up everything prior to my appointment, I sync daily anyway, anticipating they would. My photos from my iphone, which were backed up on my pc, synced to the new phone fine, no missing pics. B