Error opeing KM file with special character
I'm using the following code to get the url to an file stored in KM, but when some file has the [[ or ]]character in the name, an error occurs saying that the file doesn't exist in KM. The file name look like this [[CDU001-C010]] Delegar WorkFlow.doc.gif.
IUriReference uriRef;
IURLGeneratorService ugs;
ugs = (IURLGeneratorService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
uriRef = ugs.getRelativeUri(PathKey.CONTENT_ACCESS_PATH).appendPath(resource.getRID().toExternalForm());
retorno = uriRef.toExternalForm();
thanks.
Edited by: fabio saito on May 18, 2009 6:31 PM
Edited by: fabio saito on May 18, 2009 6:32 PM
Edited by: fabio saito on May 18, 2009 6:32 PM
231
Similar Messages
-
Error opening KM file with special character
I'm using the following code to get the url to an file stored in KM, but when some file has the ( or )character in the name, an error occurs saying that the file doesn't exist in KM. The file name look like this (CDU001-C010) Delegar WorkFlow.doc.gif.
IUriReference uriRef;
IURLGeneratorService ugs;
ugs = (IURLGeneratorService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
uriRef = ugs.getRelativeUri(PathKey.CONTENT_ACCESS_PATH).appendPath(resource.getRID().toExternalForm());
retorno = uriRef.toExternalForm();
thanks.231
-
When I am uploading file with special character it gives error
Hi All,
I am uplloading one file with special character then it gives error. Please let me know solutions on this is soon as possible.
Thanks,
Madhavhi are you looking for the file to be transferred with the special character then declare it wil the char field...and send it..
or the special charactera are coming unnecessary use the command ............replace all occurances to avoid this.. -
Error: Invalid dimension member with special character / in BPC NW 7.5 SP7
Hi experts,
We are encountering the following problem in our Financial Planning application.
We are migrating our existing BPC solution from one server to another through backup and restore. The existing solution was on BPC NW 7.5 SP 5. The profit_centre dimension in the existing solutions has several member ids with special character '/' (forward slash). The dimension never threw an error when processed in the existing solution and there is planning transactional data against these member ids.
While the entire configration , appset , files were successfully restored through UJBR on the new system (BPC 7.5 SP7) through UJBR (backup and restore), the masterdata could not be restored only for this Profit_centre (masterdata for other dimensions were processed successfullu). All the member ids with / are rejected for this dimension. The same error is thrown if processed through the admin client from the member sheet.
Error: Dimension member PC_FF/WS/NT is an invalid member ID
Error in Admin module
Is there any setting which need to be made to allow / character in member ids? Any suggestion to get around this problem would be much appreciated.
Thanks
AbhimanHi Abhiman,
Yes, you need to maintain the transformation file to correct all dimension member IDs. Can you please refer to the following link with a similar issue:
conversion file formula not working
Hope this helps.
Rgds,
Poonam -
Deleting file with special character in name gets error -43
In my Trash folder there is a .html file with a name containing special characters (oriental) left over from when I uninstalled Adobe CS2. When I try to change the file name to delete the special characters so I can trash the file, I get error -43, and the name won't change. Therefore I can't get the file deleted from the computer because I can't get rid of the special characters.
Is there another way to accomplish the same thing?I presume you are referring to the notorious Vietnamese file. Others have had success getting rid of it wuth these instructions .
-
Hi All,
This perform statements then uploads the file from UNIX. Because of the special character in the file this program fails.
Please let me resulation as soon as possible .
Thanks,
MadhavHi
Good
Check the below sdn post on special character.
https://forums.sdn.sap.com/profile.jspa?userID=3649609
Thanks
mrutyun^ -
Upload file with special character in ECC 6.0?
Dear All,
Does anyone know that in ECC6.0 unicode environment, can we upload special character like
eg ¢, ©, É. It's ok in 4.6c version but not in ECC 6.0. Any idea ?
ThanksHI,
Try using
open dataset <DSN> for output in legacy text mode.
and also in transfer statement pass the actual structure rather than a flat structure, while executing transfer statement for legacy mode the field lengths are taken into consideration and there is no spill over of spaces to the next field
say if you have a structure:
data: begin of wa_output,
name(20),
email(30),
end of wa_output.
and a flat structure
data: w_out(50).
then in transfer statement use wa_output rather then w_out. -
Problem reading csv file with special character
Hai all,
i have the following problem reading a csv file.
442050-Operations Tilburg algemeen Huis in t Veld, EAM (Lisette) Gebruikersaccount 461041 Peildatum: 4-5-2010 AA461041 1 85,92
when reading this line with FM GUI_UPLOAD this line is split up in two lines in data_tab of the FM,
it is split up at this character
Line 1
442050-Operations Tilburg algemeen Huis in
Line 2
t Veld, EAM (Lisette) Gebruikersaccount 461041 Peildatum: 4-5-2010 AA461041 1 85,92
Anyone have a idea how to get this in one line in my interbal table??
Greetz RichardHi Greetz Richard
Problably character contains same binary code as line feed + carriage return.
You can use statement below as workaround.
OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING UNICODE
In this case your system must support Unicode encoding
Kind regards -
Can't save file with special character
I'm trying to download a file using this
do shell script "curl -L " & DLLink & " -o " & destFile
destFile is defined with this
set destFile to POSIX path of ((choose folder) as text) & file_name as text
file_name contains "(" and ")"
AppleScript gives me this error
error "sh: -c: line 0: syntax error near unexpected token `('
Thanks in advance
Best RegardsYou could try using Applescripts 'quoted form of' and let Applescript figure it out.
ie:
do shell script "curl -L " & DLLink & " -o " & quoted form of destFile
see Technical Note TN2065, do shell script in AppleScript. -
File Adapter - special character in Filename
Hi,
i have a question concerning file adapter.
Scenario: we are polling files via file sender adapter (FTP).
Problem: if the filename contains a special character, an error is thrown with 'The System cannot find the file specified'
Scope: Special character in filename (not in payload)
Installed: XI 3.0 SP 19 on Linux
Questions:
- what FTP implementation does XI use?
- What do i have to check/upgrade to unicode?
- is it an OS problem or an Java problem or a XI problem?
- or is it not possible copiing files with special characters in filename?
Thank you very much in advance.
MichaelHi Michael,
The file/FTP adapter supports both passive and active FTP data connection. You can select the data connection while configuring the adapter.
The file/FTP adapter follows specification RFC 959. The specification can be found on the Internet under www.ietf.org/rfc/rfc0959.txt.
For FAQs about the file/FTP adapter, see SAP Note 821267. Please note that you'll need an account to log in on service.sap.com.
Question: How are you specifiying the file name? i.e. Are you using placeholders, like ?, *, *.txt, etc ?
If there's a problem with the filenames, then it should be a problem in the JAVA implementation of the adapter I assume. So you could for instance build your own adapter extension to by-pass that problem.
Just for your information; I haven't encounter a problem with filenames in other projects.
Good luck! -
Problem with special Character & in Proxy
Hi,
We have a File --> XI --> R/3 Scenario. In this scenario, from XI we are passing the data to R/3 by calling the Proxy. When the data in the file has special character like & (for example <Companyname>Dave&Busters</Companyname>), it is failing in R/3. But if I replace "&" with "&" in the file it works fine. Is there any solution to this problem without writting custom code in XI to replace & with &.
Thanks
Sudheer>But if I replace "&" with "&" in
> the file it works fine. Is there any solution to this
> problem without writting custom code in XI to replace
> & with &.
No. If the sender of the message provides an XML format with an unescaped &, then the XML is not valid and therefore cannot be processed.
All adapters (IDOC, RFC, File with content conversion) perform the escaping and deescaping.
Regards
Stefan -
Saving webi document from BOXI 3.0 in excel with special character
Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
This happens only with Mozilla, get correct file name in IE.
Steps to Reproduce:
1)Create a simple XI3.0 webi report through mozilla browser
2)Save the webi report with special character name for e.g øäåýþ.
3)Open the webi report and save it as excel or pdf file.
4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
5)When saving the save report through IE browser in excel or PDF display correct report name øäåýþ in excel and PDf file.
Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any difference.
Has anyone came across such type of issue?
Whether this is limitation of Firefox or bug.
Regards,
Ketki FadnavisIssue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
This happens only with Mozilla, get correct file name in IE.
Steps to Reproduce:
1)Create a simple XI3.0 webi report through mozilla browser
2)Save the webi report with special character name for e.g øäåýþ.
3)Open the webi report and save it as excel or pdf file.
4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
5)When saving the save report through IE browser in excel or PDF display correct report name øäåýþ in excel and PDf file.
Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any difference.
Has anyone came across such type of issue?
Whether this is limitation of Firefox or bug.
Regards,
Ketki Fadnavis -
DIS PDF with special Character like cyrillic or chinese
Hello,
does anybody know how I can solve my Problem with PDF-Documents with Special Character which are Checked In (Tcode CV02N)
If I want to open the file again, it will be downloaded to
C:\Users\....\AppData\Local\SAP\SAPGUI\tmp\####
and not with the Special characters.... so SAP says
File
C:\.......
could not be accessed
So is there any flag to set in the customizing that the downloaded file will be with the correct Name or any note?
(Our System is a Unicode System)
(my Laptop has all the Windows updates including the language packages for Russia and China)
Thanks in advance
StephanHello,
the SAPhttp.exe is in the Folder:
C:\Program Files (x86)\SAP\FrontEnd\SAPgui\Unicode
on my laptop
therefore I think it should be the Unicode Version? -
Material master with special character
I want to create material master starting with special character eg #1234 but system gives a error message as
"not defined for material type Finished products"
Where could be the issue.
Prasad.t.aWhat special character do you want?
your special character is probably beyond ZZZZZ in the numenclature of characters.
enter you special character instead of the Zs in the number range definition and try again. -
Create user with special character
Hi,
We are getting the error while creating a user with special character in a filed. The same user is getting created in development environment but not able to create the same in Production environment.
We tried to check if any configurations are different but couldn't find any clue. Please help in this regards.
+Exception caught while insertng or updating the user.java.lang.RuntimeException: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - Value of attribute "uid" contains extended (8-bit) characters: americas-Isosystem_ Serviço]; remaining name 'uid=americas-Isosystem_ Serviço, ou=People'+*
Regards,
AbhinavNo there are no restrictions from LDAP,
also I am able to give 32 character password in Coreid Console,
it seems that the web services have a restriction on password length.
Moreover, these web services used to accept 32 characyer passwords few months ago. we lately recognized this issue happening recent times.
I suspect some Oracle hotfix or patch would have made the difference.
But I am clue less how to trace it,
Any help would be appreciated
Maybe you are looking for
-
No accounting document generated at time of result analysis settlement
No accounting document generated at time of result analysis settlement, but controlling document and profit center document are generated. problem is cost has been settled but accounting does not generated.
-
Disk Utility gives wrong info when formating
Disk Utility has no problem formatting disks, but the bar at the lower right hand corner shows "Preparing to erase" all the time, requiring force quit to close the program. The problem has persisted after deleting disk utility preference. Advice on a
-
Chinese in weblogic server 7.0
A servlet cann't recieve chinese in weblogic server 7,but not problem in weblogic server 6.1,Why?
-
Ringtone off icon stucks in the middle of the screen
Dear All Just received my new iPhone 5s. Switching off the ringtone using the hardware switch will signed with a big grey icon on the screen telling me ringtone off. This icon normally diappears after a few seconds. But thats not the case with my new
-
Why does the latest version of Apple TV suck?
I still have my first Apple TV (1st gen) which is amazing. I just bought the latest one at xmas. It was working fine and then asked to be updated. So, we updated it. It won't work now. It asks to be plugged in to iTunes. And you need a new cabl