Conversion of files
I'm trying to convert several .tiff files to .jpg files. I had scanned all these files in about the same time at the same settings. However some of the .tiff files won't let me convert to .jpg files. I'm using the 'process multiple files' feature. When I try manually, using save as, .jpg isn't an option.
What makes these files different and why can't I convert them?
Maybe I should add that all the files are in the same folder... on my network drive. I'm using Windows Vista. Out of 8 files, 3 converted 'automatically', and 5 wanted to be saved as .psd (?) files - I may have the initials wrong, but they are close. With those 5, .jpg was not an option on the drop-down for file types.
Similar Messages
-
Content Conversion in File Receiver Adapter
Hi,
I am doing a Content Conversion in File Receiver Adapter.
Input to the Adapter is:
<ns1:FileResponse_MT xmlns:ns1="http://www.bpmtest.com/bpm">
<OrderID>123</OrderID>
<Quantity>98</Quantity>
<Price>76.23</Price>
</ns1:FileResponse_MT>
Desired output is: <b>OrderID# Quantity# Price (123#98#76.23)</b>
I tried to accomplish this with different settings in Recordset Structure and Conversion Parameters but could not achieve it, every time an empty file is produced.
Would appreciate any help on this.
Best Regards,Hi,
Enclose your structure with a parent element like this.
<ns1:FileResponse_MT xmlns:ns1="http://www.bpmtest.com/bpm">
<parent>
<OrderID>123</OrderID>
<Quantity>98</Quantity>
<Price>76.23</Price>
</parent>
</ns1:FileResponse_MT>
Then give the parameters, it will work.
parent.fieldSeparator = '#'
parent.endSeparator = 'nl'
Regards,
P.Venkat -
ERROR :Conversion of file content to XML failed at position 0
Hi Frnds,
I have a File to File scenario, while testing I am getting the following error:
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'TA_830':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
Can any one please tell me why Iam getting this error even I have provided the following informantion in channel configuration. Here TA_830 is the record name.
TA_830.processFieldNames fromConfiguration
TA_830.fieldNames SEG_NUM,PROCESS_DATE,PAYEE_BCODE,ISSUE_SEQ_NUM,CR_DATE,PAYER_BCODE,PAYER_ID,ENTRY_SEQ_NUM,TRAN_TYPE,PAYMENT_TYPE,PROCESS_FLAG,REF_NUM,PAYER_ACC,VAL_DATE,ISO_CURRENCY,AMOUNT,RESV_11,SEG_NUM,EXCHG_RATE,ADDR1,ADDR2,ADDR3,ADDR4,RESV_18,SEG_NUM,BANK_ID,BANK_CODE,ADDR1,ADDR2,ADDR3,ADDR4,RESV_5,SEG_NUM,ACCOUNT,ADDR1,ADDR2,ADDR3,ADDR4,RESV_6,SEG_NUM,MESSAGE1,MESSAGE2,MESSAGE3,MESSAGE4,RESV_6,SEG_NUM,MESSAGE1,MESSAGE2,MESSAGE3,MESSAGE4,RESV_6,SEG_NUM,PROCESS_DATE,PAYEE_BCODE,ISSUE_SEQ_NUM,CR_DATE,PAYER_BCODE,PAYER_ID,ENTRY_SEQ_NUM,TRAN_TYPE,PAYMENT_TYPE,PROCESS_FLAG,TOTAL_AMOUNT,RESV_59
TA_830.fieldFixedLengths 2,6,12,5,6,7,5,5,3,1,1,16,24,6,3,15,11,2,12,24,24,24,24,18,2,1,24,24,24,24,24,5,2,24,24,24,24,24,6,2,30,30,30,30,6,2,30,30,30,30,6,2,6,12,5,6,7,5,5,3,1,1,16,59
TA_830.fieldContentFormatting nothing
Regards,
Shiva.Hi,
As you are using Fixed Length File...use below specified parameters:
TA_830.fieldName: Names of Fields in teh File
TA_830.fieldFixedLegths: Lenghts as per your file
TA_830.keyFieldValue: If you use any value as key
TA_830.lastFieldsOptional: YES
TA_830.endSeparator : 'nl'
This will help you out..
Thanks,
Kishore. -
Blogs for File content conversion in File Adapter
hi all,
Can some one give me the links for File Content Conversion for File to File Scenario. please.
Thanks in advance.Hi
For Sender
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/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/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
SAP Help for sender
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
For Receiver:
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
SAP Help for receiver
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm -
Query regarding file content conversion using file adapter
Hi All
I have a question regarding file content conversion in file adapter.
I have a file coming in the following format.
AA,111,222,333
BB,444,555,666
CC,777,888,999
My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
AA,111,222,333
<<BB,444,555,666>>
<<<<CC,777,888,999>>>>
After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
Is it possible to get a nested hierarchy as a result of file content conversion?
Please let me know
Thanks
ChandraHi Udo
According to your suggestion, I am trying to use mapping.
I am getting a flat file and i am reading it.
This is my source structure:
AA,11,22,33
BB,44,55,66
CC,77,88,99
This is my required targer structure:
AA,11,22,33
<<BB,44,55,66>>
<<<<CC,77,88,99>>>>
To explain this, BB record can have multiple records of CC records.
AA records can have multiple records of BB record.
I am using removecontext node function.
CC (Source) (removecontext)-> CC (target structure)
But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
Many Thanks
Chandra -
Error Message: Conversion of file content to XML failed at position 0: sun.
Hi Experts,
i strugle with a File 2 IDOC Scenario.
In the sender communication channel monitoring I get the error message:
Conversion of file content to XML failed at position 0: sun.io.MalformedInputException
Unfortunately I am not getting any further information and I do not know where the file-adapters problem is.
Tthe .fieldSeparator = # . Can this be the problem, that the file-adapter-engine can not handle # within file conversion? I also tried it with .fieldSeparator = '#' . But the error message is the same.
I am glad for any hints.
Thank you for your help in advance.
Regards,
UdoHi Udo,
The error is due to wrong intput.
putting # might be a reson.
You Can try (,) or a space as a field separater.
Can you test this once.
Have to defined the field separated?
Regards,
Sumit Gupta -
File Conversion to File Conversion Scenario..
Hi,
I am doing a File Conversion to File Conversion scenario. Hope its clear..
Well in this scenario my structure is
<File2File_Conversion_Sender_MT>
<Employee>
<id>aa</id>
</name>sas</name>
<Employee>
<File2File_Conversion_Sender_MT>
In sender:-
Wat will be the document name?
Recordset name?
Recordset structure?
In receiver:-
Recordset structure?
Let me know if any more clarification is needed.
thanks
AnjuHi Anju,
Use this :
Document Name : File2File_Conversion_Sender_MT (this is Outbound Message Type)
Document Namespace : NAmespace of outbount Message Type.
Recordset Structure : Employee,*
Name----
Value
Employee.fieldSeparator -
> ,
Employee.endSeparator -
> 'nl'
Employee.fieldNames -
> id,name
ignoreRecordsetName -
> true
Go through this :
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
Thanks,
Maheshwari.
Message was edited by:
Maheshwari Morbale -
Problems with content conversion in File Receiver Adapter
Hello, everybody.
I have a RFC-to-File scenario with file content conversion. Everything is working well except that my file is generated with 2 blank lines at the top of it.
The function module has 3 importing parameters (1 optional) and the file content comes from an internal table.
Is it caused by the function module parameters? If yes, how can I avoid this, once I really need them? If not, does anyone have any idea?
Thanks a lot,
Marcos.Hi, Raj.
Here they are the function module parameters:
Importing parameters:
ICARRIER TYPE CHAR1
FPATH TYPE IPATH
IFILE LIKE VBAK-BNAME
Tables
IYLASDS_RECPT LIKE YLASDS_RECPT
The structure YLASDS_RECPT has only one field with a single line of the file. I am using this field as the <i>Recordset Name</i> inside file adpater parameters.
There is no mapping between RFC and FTP messages.
Thanks a lot,
Marcos. -
Problem with File Content Conversion (Receiver FIle Adapter)
Hi Experts,
I have following structure in receiver side:
MT_Test
F1
F2
F3
F4
Now I want a CSV file in target side in below format:
F1,F2,F3,F4
I have provided below config in receiver file adapter under content conversion tab:
Recordset Structure : MT_Test
MT_Test.fieldSeperator= ,
MT_Test.endSeperator= 'nl'
But this is generating blank CSV files in target directory..What might be the reason.. I have checked the msg in adapter engine, the XML file is correct and contains valid values for the fields..Its something like below:
<?xml version="1.0" encoding="UTF-8" ?>
<MT_Test>
<F1>Hai</F1>
<F2>Hello</F2>
<F3>Bye</F3>
<F4>Hi</F4>
</MT_Test>
I should get CSV file as
Hai,Hello,Bye,Hi
But I am getting a blank file with above said config parameters in content conversion tab.
What might be the reason for getting blank CSV files in target side???
Thanks,
AdiHi Adi,
>>My target structure in below format:
<?xml version="1.0" encoding="UTF-8" ?>
- <MT_Test>
<F1>Hai</F1>
<F2>Hello</F2>
<F3>Bye</F3>
<F4>Hi</F4>
</MT_Test>
So, try to edit Data type and include hierarchy level above <F1>.
Finally your Target Structure will resembles like this.
<?xml version="1.0" encoding="UTF-8" ?>
- <MT_Test>
<Structure>
<F1>Hai</F1>
<F2>Hello</F2>
<F3>Bye</F3>
<F4>Hi</F4>
</Structure>
</MT_Test>
FCC Parameters will be like this.
Structure.fieldSeparator = ,
Structure.endSeparator = 'nl'
Hope you were clear.
Thanks,
Siva. -
Conversion of files to PDF/A
I have been spending a lot of time lately trying to ensure that an important document can be 'archived', i.e. opened at a later date looking exactly as it should, without relying on external files (e.g. fonts) not embedded in the PDF. Essentially this means making the PDF PDF/A compliant (specifically PDF/A1b is sufficient for me). I created the original file (not PDF/A-compliant) for printing with Acrobat 7 Pro (v7.1.0).
There were two problems here:
* the PDF/A standard had only been drafted when Acrobat 7 was released;
* all my efforts to recreate a visually-identical PDF file (PDF/A-compliant) using Acrobat 9 Pro (v9.1.0) from the original source files (MS Word) failed. There were always visual differences. E.g. http://forums.adobe.com/message/1931760#426522.
The next option, therefore, was to convert the general PDF to a PDF/A-compliant format. This means flagging it as PDF/A-compliant, embedding fonts, etc. Critically, it also requires a character-ID to glyph-ID map (CIDtoGIDMap).
I had previously trialled the pdfaPilot plugin (from Callas Software) from within Acrobat 7 Pro, and this also couldn't quite manage. Nevertheless, it did a better job than the Preflight conversion using Acrobat 9 Pro on it's own, which couldn't seem to fix the CIDtoGIDMap problem(s).
I have just attempted a conversion on the same stubborn file with pdfaPilotServer (standalone application from Callas Software), and this seems to have done the job of making the file PDF/A-compliant (for archiving).
—DIVIn a post above I complained that Callas' pdfaPilot Server did not (by default) set the output intent as sRGB. This seems to have been a case-specific problem, where the sRGB output intent was not specified in the original (non-PDF/A-compliant) PDF. Although colours were used in the document, pdfaPilot Server opted to set the parameter "Color space of data" as "GRAY", instead of "RGB ". Having said this, I should point out that this had no apparent ill-effect on the display of the now PDF/A-compliant document.
Nevertheless, the PDF/A-compliant status was lost by inserting an explicitly-tagged RGB object into the PDF document, namely a 'Sticky Note' comment using Adobe Acrobat. Running pdfaPilot Server over the modified file restored PDF/A-compliant status, and now recognised "Color space of data" as "RGB ".
Alternatively, I could have avoided the need to convert twice by overriding the default settings using a command "--outputintent="<path to sRGB Output Intent file>"".
A key point is that Adobe Acrobat 9 Professional (v9.1.0) was in each case either (i) unable to achieve PDF/A-compliance or (ii) achieved compliance, but in the process altered the appearance of the document (including placement of black text).
While pdfaPilot can be improved in some areas, such as perhaps the colour detection, I especially commend Callas Software for their prompt and helpful attention to technical enquiries.
—DIV -
File content conversion in File-to-RFC without BPM
Hi,
I am using FCC for file to RFc scenario.
My input record is in the following format:
Header record
data rec1
data rec2
Trailer record..
The parameters are used in File content conversion:
Recordset Name : Header,item
Recordset Structure: Header,1,item,*
key field name : data1
and in additional parameters:
Header.fieldNames HI,GenDate,Ftype,Fname,Fdate
Header.keyFieldValue Fname
Header.fieldFixedLengths 1,8,1,50,8
Header.endSeparator nl
item.endSeparator nl
item.fieldNames DATA1,DATA2,DATA3,DATA4
item.keyFieldValue item
item.fieldFixedLengths 231,240,241,120
item.lastFieldsOptional YES
Can anyone check whether any parameters are left, b'cos the file is not being read with this settings. and in the C.C its just showing file processing successfully but not able to see the actual file.Hi,
I assume you have header, item and trailer structure in source file.
Source Data Type will be as follows.
RecordSet
--> Header
--> KeyField(Value OH)
--> H1
--> H2
--> Item
--> KeyField (Value OL)
--> I1
--> I2
-->Trailer
--> KeyField (Value OT)
--> T1
--> T2
Where Item Strucutre can come multiple times.
Please use following settings.
Recordset name: RecordSet
RecordSet Structure: Header,1,Item,*,Trailer,1
Key Field Name: KeyField
Header.fieldNames: KeyField,H1,H2
Header.fieldFixedLengths: 2,3,4
Header.processFieldNames: fromConfiguration
Header.keyFieldValue: OH
Header.LastFieldsOptional: YES
Item.fieldNames: KeyField,I1,I2
Item.fieldFixedLengths: 2,5,6
Item.processFieldNames: fromConfiguration
Item.keyFieldValue: OL
Item.LastFieldsOptional: YES
Trailer.fieldNames: KeyField,T1,T2
Trailer.fieldFixedLengths: 2,8,9
Trailer.processFieldNames: fromConfiguration
Trailer.keyFieldValue: OT
Trailer.LastFieldsOptional: YES
Regards,
Gouri -
Content conversion in File to Proxy in PI 7.1 V
Hi Experts
I am working on a File (Text file) to Proxy scenario in PI 7.1 Version where I receive the text file from the sender and need to convert into xml by using the Content conversion
The text file which I receive have multiple Record Structures which have Parent and Child data elements
Example
Header
_____ Fld3
________Fild1----
_____Fld4
________Bank Account details-------
_____Fld5
Detail----
________Fld2----
_____Fld6
________ Credit Card Details _______Fld7
|________ Payment details -
| _______Fld8
|
|_______Fld9
Trailer1
Trailer2
Can anyone give an idea How to define the record set structures and the corresponding fields in the Field names
Can any one send me the link if there is any blog exists which shows above scenario
Thanks a lot
PR
Edited by: PR on Aug 6, 2009 9:21 PM
Edited by: PR on Aug 6, 2009 9:23 PMSatish
I have sender file my structure as follows
1. Header (record set1)
TransactionId (field1)
TestProdcd (field2)
Sender (field3)
ID -
((Subfield1)
FEIN -
(Subfield2)
PostalCode-----(Subfield3)
Receiver
ID -
((Subfield1)
FEIN -
(Subfield2)
PostalCode-----(Subfield3)
Transmission
Date
Time
OriginalName
2. Record (record set2)
Transaction
SeqNum
ReportTypeCd
ProcessDate
Processtime
ApplicationAckd
RequestCd
3. Trailer (RecordSet 3)
RecordCt
TransactionCt
TransactionsetID -
File content conversion for file with hierarchical structure
Hi
I want to read a flat file in the following message structure using file content conversion.
Message structure is :
01 ( occurence = 1)
_ 1B (occurence = unbounded)
_ 1G (occurence = unbounded)
_1H (occurence = 1)
_1N ( occurence = unbounded)
99 (occurence = 1, trailer record)
In short there will be one 01 ( header record) in file. There will multiple 1B records. Under one 1B record there will multiple 1G records. Under each 1G record there will be one 1H recoprd and multiple 1N record. At the end there will one 99 record.
File format : Fixed length
Data in the text file would be as follows :
01Test
1BF0001MS005 4855390859
1GF000172075F31501 GBPINV 040806
1HF000172075F
1NF000172075F0011MS0051125002FOOUKSTFOOD
1NF000172075F0021MS0056540003ICOMSIEARCA
1BF0111TT005 3454390859
1GF011172075F31501 INRINV 040806
1HF011172075F
1NF011172075F0011MS0051125002FOOUKSTFOOD
1NF011172075F0021MS0056540003ICOMSIEARCA
99002187004855390859
Is it possible to do above using file content conversion or is there any method to do it. Please suggest.
Thanks
Varunyou cant acheive this heirarchy using the file adapters cont. conv, cos it supports only to a single level.
Maybe you can have a module or use the conversion agent !!
Some good reads on the Conv. agent!!!
/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
/people/paul.medaille/blog/2005/11/18/conversion-agent-a-free-lunch
/people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi
/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield -
Content Conversion in File Adapter
Hi All
Can anyone tell me that in case of content conversion file adapter , up to what level (the deepness in hirerachy) the content conversion is possible both at sender communication channel and at receiver communication channel side.<documentName>...
<recordset>
<NameA>
<field-nameA1>field-value</field-nameA1>
<field-nameA2>field-value</field-nameA2>
<field-nameA3>field-value</field-nameA3>
</NameA>
<NameB>
<field-nameB1>column-value</field-nameB1>
<field-nameB2>column-value</field-nameB2>
<field-nameB3>column-value</field-nameB3>
</NameB>
</recordset>
<recordset>
</recordset>
</documentName>
That is the XML taken from SAP help and that is exactly the maximum level. Note that documentName is nothing but your MT name. -
File content conversion:move files to a new directory
hi all,
I have a file content conversion sender and receiver scenario.Now my doubt is: XI is running on sap27 server.Input file is being created by an ABAP program in r/3 and file being put in sap29 server.
In source directory if i am giving the sap29 path it is not working.Is there any way that i can write a OS command to move files from 29 to 27 before message processing ??
Any other option available??
thanks,
Nisheetahi,
Yes the basis people have shared the folder and they have mapped the sap29 folder into sap27 using I:\ drive
But the files are not getting picked....am i giving the source directory wrong??
I am giving I:\Folder_Name
suggestions needed
thanks,
Nisheeta -
File Content Conversion CSV File
Hello All,
I have a CSV file in the below format.
a,b,c
And my content conversion works.
<1>a</1>
<2>b</2>
<3>c</3>
Sometimes I get the records in the file as
a,b,
My conversion is failing, I mean it give me file as
<1>a</1>
<2>b</2>
The last element <3></3> is not getting created.
I tried to use lastFieldsOptional its not working.
How can I achieve this.
Regards,Okay Satish I will give a last try to explain you my issue..
my CSV file is like this a,b,c,d
my conversion works fine so the xml is after conversion
<1>a</1>
<2>b</2>
<3>c</3>
<4>d</4>
Now few rows in the file may come as a,b,c, there is no d value it is blank.
so I expect the conversion to be now
<1>a</1>
<2>b</2>
<3>c</3>
<4></4>
like this, but what I am getting now is after conversion...
<1>a</1>
<2>b</2>
<3>c</3>
tag <4></4> is not getting created and my Outbound expects the XML to be in that format, so for this I tried to use lastfieldsoptional so that empty <4></4> tag is created but no luck...
This is what I want to do..
In the process even though <4></4> is not created File Content Conversion is successful and so Adapter Monitoring is showing success and my mapping fails.
Regards,
Maybe you are looking for
-
Error while deploying Composite to SOA 11.1.1.3.0 cluster
This is the error we are getting while deploying the composite to a cluster from the em console. We deploy from the em console . We choose node1 and then deploy it to the partition default .For node 2 also we do the same. Deploying on partition "defa
-
Find does not find any files in Bridge 2.1.1.9
I ran Edit > Find in Bridge 2.1.1.9 while a folder with files was selected. I searched for 1, I also tried *1*. It is finding no files, even though under Content a file with a 1 in it is sitting in there. It says Indexing, then No Items to Display. I
-
I have looked for somewhere in the preferences to fix this, but cannot find it, and there is no relevant item on the list under the Applications tab, except maybe "Plain Text Document", which option already has a set default command. I have reinstall
-
How to change mobileme to icloud on mac os 10.5.8
how to change mobileme to icloud on mac os 10.5.8
-
Hi, I've developed an application which uses Java logging framework for logging. Lately I've thought to make logging asynchronous. So, log messages across the application should be posted to a queue and a thread should read each message, log it, and