XI File Adapter Custom File Encoding for issues between SJIS and CP932
Dear SAP Forum,
Has anybody found a solution for the difference between the JVM (IANA) SJIS and MS SJIS implementation ?
When users enter characters in SAPGUI, the MS SJIS implementation is used, but when the XI file adapter writes SJIS, the JVM SJIS implementation is used, which causes issues for 7 characters:
1. FULLWIDTH TILDE/EFBD9E 8160 ~ 〜
2. PARALLEL TO/E288A5 8161 ∥ ‖
3. FULLWIDTH HYPHEN-MINUS/EFBC8D 817C - −
4. FULLWIDTH CENT SIGN/EFBFA0 8191 ¢ \u00A2
5. FULLWIDTH POUND SIGN/EFBFA1 8192 £ \u00A3
6. FULLWIDTH NOT SIGN/EFBFA2 81CA ¬ \u00AC
7. REVERSE SOLIDUS 815F \ \u005C
The following line of code can solve the problem (either in an individual mapping or in a module)
String sOUT = myString.replace(\u0027~\u0027,\u0027〜\u0027).replace(\u0027∥\u0027,\u0027‖\u0027).replace(\u0027-\u0027,\u0027−\u0027).replace(\u0027¢\u0027,\u0027\u00A2\u0027).replace(\u0027£\u0027,\u0027\u00A3\u0027).replace(\u0027¬\u0027,\u0027\u00AC\u0027);
But I would prefer to add a custome Character set to the file encoding. Has anybody tried this ?
Dear SAP Forum,
Has anybody found a solution for the difference between the JVM (IANA) SJIS and MS SJIS implementation ?
When users enter characters in SAPGUI, the MS SJIS implementation is used, but when the XI file adapter writes SJIS, the JVM SJIS implementation is used, which causes issues for 7 characters:
1. FULLWIDTH TILDE/EFBD9E 8160 ~ 〜
2. PARALLEL TO/E288A5 8161 ∥ ‖
3. FULLWIDTH HYPHEN-MINUS/EFBC8D 817C - −
4. FULLWIDTH CENT SIGN/EFBFA0 8191 ¢ \u00A2
5. FULLWIDTH POUND SIGN/EFBFA1 8192 £ \u00A3
6. FULLWIDTH NOT SIGN/EFBFA2 81CA ¬ \u00AC
7. REVERSE SOLIDUS 815F \ \u005C
The following line of code can solve the problem (either in an individual mapping or in a module)
String sOUT = myString.replace(\u0027~\u0027,\u0027〜\u0027).replace(\u0027∥\u0027,\u0027‖\u0027).replace(\u0027-\u0027,\u0027−\u0027).replace(\u0027¢\u0027,\u0027\u00A2\u0027).replace(\u0027£\u0027,\u0027\u00A3\u0027).replace(\u0027¬\u0027,\u0027\u00AC\u0027);
But I would prefer to add a custome Character set to the file encoding. Has anybody tried this ?
Similar Messages
-
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 - Check file exist before performing read
Is there a feature in the file adapter or invoke activity for SOA 11.1.1.5 that performs a check to see if a specific file exists before it performs a read function? If file does not exist then move onto to next step, if it does then read it.
I am trying to do this in 1 step instead of performing a listing of the directory first before perfomring the read.Hi,
When you read a file, using the synchronous read file, you have to point to a file (file name, directory...). That way, when you are executing the invoke activity, followed by a FileAdapter, it's either the file exists, and you read it, or it's not exist and you don't read it.
Arik -
File Adapter or File Transport which one will give more performance
Hi all,
File Adapter or File Transport which one will give more performance ? in OSB?
Which one to select any one did performance analysis?
Thanks
PhaniWhy don't you just go read some benchmarks?
http://www.barefeats.com/mbpp18.html -
Approval Procedure for Issue to Production and Receipt from Production
Hi All,
Is there a way to create an approval procedure for Issue to production and Receipt from production?
Thanks.
EricHi Riyaz,
Yes it is not in Standard SAP Business One. But is there a way to create one for issue to production and receipt from production?
Thanks.
Eric -
Why can't I use WebCT chat with my computer? I get the 'spiral of death' every time I try to type in my chat. I have a feeling it has to do with compatibility issues between Java and Tiger.
Hi Elizabeth,
Do your Mac meet any of these requirements?
http://www.wvnet.edu/services/webct/requirements.html
From this it appears to be PC only!???
http://sourceforge.net/projects/awebctcclient/files/Pancake%20%28it%20own%20proj ect%20now%29/Pancake%20Console%20V1.0.0/PancakeConsole-1.0.0-src.zip/download
Can you provide any more info on which bersion or file you have?
Can you tell us why you need this for your use? -
Reference Library for Converting Between LabVIEW and XML Data (GXML)
Please provide feedback, comments and questions on the Reference Library for Converting Between LabVIEW and XML Data (GXML) in this thread.
The latest version of the NI GXML Library is availble in VIPM on the NI LabVIEW Tools Network repository.Francesco, Thank you for the feedback. With this component it was my intention to make a more "terse" version of the LabVIEW Flatten to XML VI that was also supported on RT and that gave the user more flexbility regarding the structure of the parsing type definition. I think you are right that the XML parser is not compliant to section 2.11 of the XML spec. The parser does specifically looking for a #D#A and this appears to be an oversight on my part. Please confirm for me, the specifcation is saying that the XML parser should be able to recognize three possibilities as an "end of line" character: #D#A, #D, or #A. Am I reading this right?There are more efficient (and in some cases much more efficient) ways of sharing data between LabVIEW and LabVIEW: some examples are flattened binary strings and the datalog binary format. XML is slower than these optons but the upside is that it is human readable. Furthermore XML is inherently hierarchical which is convenient for complex data structures like clusters of arrays of clusters, etc. If you don't care about human readability then you are correct XML doesn't make as much sense.I will return to the GXML source code and try to fix this in the near future but I would hope that instead of creating yet another custom VI from scratch that you could reuse what I have provided for you. I included enough documentation in the source code so that users could make some modificiations themselves. The target application for this reference library was LabVIEW to LabVIEW communication. As such I documented the schema on the dev zone document from a LabVIEW perspective. It includes all the supported datatypes and all the supported data structures (cluters, arrays, multidimensional arrays, clusters of multidimensional arrays, etc.) I do see some value in making a more conventional XML spec but the time investment required didn't really line up with my intended use case. Were there any other downsides to GXML that I have missed? Best Regards, Jeff TippsSystems Engineer - Sound and VibrationMessage Edited by Jeff T. on 04-21-2010 10:09 AM
-
Compatibility issues between R12 and report builder 2.5
Hi,
I just want to know if there are issues between R12 and (Forms 4.5 and Reports 2.5)? I have been using 6i since I started in the oracle so I'm a little new to this.
Thanks
peopsquikAs my understanding there is no issue for Forms 4.5 and Reports 2.5 with R12.
You can develop report with Report 6i can be deployed with R12.You cannot use Forms 4.5, Reports 2.5 or Developer (Forms/Reports) 6i with Oracle EBs R12 as it is not certified. The only supported version is Developer 10g
Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
Thanks,
Hussein -
Can any one send procedure for integration between XI and Geographic inform
can any one send procedure for integration between XI and Geographic information System(GIS).
Please clarify ASAP..
ThanksHi,
Please see the below links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
GIS VS XI
Regards
Chilla..
Points rewarded if it is usefull..<i></i> -
File adapter - change of encoding in the header of the xml message
Hello!
I would like to change the encoding in the header of an xml message (sent to a a receiver file adapter)
from <?xml version="1.0" encoding="UTF-8" ?>
to <?xml version="1.0" encoding="ISO-8859-1" ?>
We have XI 3.0 with SP15.
Can anybody help me please?
Kind regards
ChrisHi Chris,
An XSLT map can convert the encoding for you.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='xml' encoding="ISO-8859-1"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Thanks,
-Russ -
Media Encoder CS4 issues with MP4 and M4V files
I've just got CS4 and and very happy so far. EXCEPT I'm
trying to convert some MP4 and M4V videos to FLV using the new
Adobe Media encoder.
When I look at preview screen in the settings panel, the
preview is all wrong. It is just Green and Purple - kind of like
some weird negative image. This also is how the final converted FLV
looks. The CS3 version of Flash video encoder converted these exact
same files OK (although the preview was only a blank screen, but
the final file was OK).
Has anyone else seen this and more importantly, did you
manage to solve the issue?
I'm running this on an iMac G5 with 2GB RAM - could this be a
PPC issue?Sorry my computer AND media encover version. I run Creative Cloud on a new Mac Pro
File seems to render fine
Log info:
- Source File: ***
- Output File: ***
- Preset Used: Match Source - High bitrate
- Video: 1920x1080 (1.0), 25 fps, Progressive, 00:00:42:17
- Audio: AAC, 320 kbps, 48 kHz, Stereo
- Bitrate: VBR, 1 pass, Target 10.00 Mbps, Max 12.00 Mbps
- Encoding Time: 00:13:13
04/27/2015 03:55:51 PM : File Successfully Encoded
No errors reported.
And this is what I end up with.
Is that helpful? -
URGENT: File Adapter List Files operation Issue
Hi All,
we are using List files operation in one of the SOA composite which lists all files available in the directory. what we observed files are not listing as for the timestamps.
is there any property to list all files ascending or descending based on time stamp?. we tried with ListSorter property which is suggested by Oracle,but it works for only INBOUND operations. [http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#BABBIJCJ]
Any suggestions will be greatly appreciated.Hi,
You can try 2 options:
1. You would need to capture/collect all the file names, you might have to use BPM and create a separate interface.
2. You can also pick up those files from the archive directory using FTP and push them using mail adapter.
Regards,
Pavan -
File adapter validate file checking directory for files
Hi Gurus,
We have requirement. There are 3 directories (Processing, Error and Archive)in the Source side.SAP PI need to pick up a file called "abc.txt" from the processing tab.
But there is a condition.
1. If "abc.txt" file exists in the "Error" directory then Not process the interface.
2. If there is no "abc.txt" file in the "Error" directory then validate the file "abc.txt" in the "Processing" directory. If the file is not according to the validation rule then move the "abc.txt" file to the "Error" directory and then stop the processing.
3. if the above two conditions are ok then move the "abc.txt" file to "archive" directory and send the file to PI.
Please help me to achive this requirement.Hi Kevin,
You need to use the option of "advanced selection for source file" in the source tab of sender comm. channel.
chk this link :-
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
hope its of some help
Regards,
Rohit -
File adapter custom module problem
Dear All,
Currently my file adapter is picking up a flat file and I have writeen a module which will remove junk characters from the start of the file...I have also used FCC to convert the flat file to xml.
now my question is what is the sequence...
1. is it that my FCC will convert the flat to xml first and then the module will get xml as input
2. or is it that module will get the flat file as input , it will perform the maipultaions and then my FCC will be called to convert it to xml
Actually after running the scenraio what we can see in the audit log is
1.flat file converted ok and then
2.processing module
My requirement : module should get a flat file as input and then that module will remove junk char..after this standard FCC should convert it to XML1. is it that my FCC will convert the flat to xml first and then the module will get xml as input
first FCC will get executed then MODULE
My requirement : module should get a flat file as input and then that module will remove junk char..after this standard FCC should convert it to XML
Dont use FCC just read .txt file after removing junk character buid the XML file using DOM parser in the MODULE itself. -
Does sender file adapter loose files/ miss them??
HI All,
I am in a file to IDOC scenario.
Xi is picking files from a network folder and creating each file into a single IDOC and sends to R/3.
All seems fine when we do testing for 1 file at a time
However I realised that if more than 20 or 40+ files come into this folder at once, it does pick all of them and processes them but somehow it randomly at-times misses to create an IDOC for a single file.
There are no system-errors. RWB is clean. SXI_MONITOR is clean. No errors. Just that system has randomly not created an idoc for a single file. It has created for rest all...just one is missed out sometime.
Has anyone faced this before. Any hints what could be wrong.
Regards
ShirinHi Shirin!
I had very, very long CSN discussions with SAP XI/PI Support on that issue. SAP very long said this is "feature not bug". But in the end even SAP recognized that this is maybe "bug not feature" and for XI 3.0 in one of the recent support packages this issue is fixed in that way, that the Adapter now reports an error when getting and archiving/deleting files without processing them further.
I'm not sure about the concrete SP number ... just apply the latest SPs if possible.
Another workaround is to write a report checking on file system level whether all incoming files have really been processed. For a customer I solved it as follows: Incoming files are archived in directory xyz and after processing the file in XI it is finally also stored in directory abc. Then I wrote an ABAP report in XI/PI comparing the contents of these two directories xyz and abc and reporting any differences (optionally as alert or email or just list output). Simple but efficient.
Regards,
Volker
Maybe you are looking for
-
Adobe Photoshop Elements 11 Folders
I recently purchased and downloaded Adobe Photoshop Elements 11 and I notice that 2 folders were created in My Documents, as follows: Folder No. 1 - Adobe Photoshop Elements 11 - 1.87GB, 163 files, 52 Folders Folder No. 2 - Photoshop Elements 11 - 1.
-
I m using win 7 home premium 64 bit edition. Yesterday night i updated the firefox to the latest 8.0.1 version and as soon as I open the window parts of the screen becomes black and starts flickering a lot. Can use everything on my laptop except brow
-
Cannot edit with contribute 5.5: script error
I too get a script error. Nothing has chanaged, the site has worked with various versions of Contribute for over 5 years. The javascript had not changed so it must have been ignoring any ambiguity until now. I checked the site in Mozilla/Firefox deb
-
App Store Insists in Updating Same Apps
App Store tells me that I have updates for iPhoto Ver 9.2.3, Pixelmator Ver 2.0.3 - after updating them, I pop up App Store again and it tells me I need to update them again. I checked the versions of the existing apps and they're the same so after
-
Adobe flash player will not update
Adobe Flash Player is asking me to update when I do it only goes to step 2 of 3 then it dies please help