Special Character Parentheses
I'm having problems with the parentheses.
SELECT textwords
FROM SOMETABLE
WHERE CONTAINS (TEXTWORDS, 'NAIL HAMMER \(GLUE\)%',1) > 0
SQL> /
TEXTWORDS
NAIL HAMMER (GLUE)
I get what I expected.
SELECT textwords
FROM SOMETABLE
WHERE CONTAINS (TEXTWORDS, 'NAIL HAMMER \(GLUE\)%
OR $(SYN(NAIL HAMMER \(GLUE\) ) )',1) > 0
TEXTWORDS
NAIL HAMMER (GLUE)
I get what I expected.
SQL> SELECT textwords
2 FROM SOMETABLE
3 WHERE CONTAINS (TEXTWORDS, 'NAIL HAMMER \( GLUE \)%
4 OR $(SYN(NAIL HAMMER \( GLUE \) ) )
5 OR ?(SYN(NAIL) & SYN(HAMMER) & SYN( \(GLUE \) ) ) PARENTHESES ADDED
6 OR !(SYN(NAIL) & SYN(HAMMER) & SYN(GLUE))',1) > 0; NOT ADDED
FROM SOMETABLE
ERROR at line 2:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50925: could not parse return value of PL/SQL
DRG-50901: text query parser syntax error on line 1, column 2
It seems like when you use more then one SYN in the OR statement with the (glue) it gives you an error. Can anyone tell me why.I thought that SYN
automatically added the {} around the words
1 SELECT textwords
2 FROM sometable
3 WHERE CONTAINS (TEXTWORDS, 'NAIL HAMMER \(GLUE\)%
4* OR $(SYN(NAIL HAMMER (GLUE)))',1) > 0
SQL> /
SELECT SOMETABLE
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50901: text query parser syntax error on line 2, column 35
Why doesn't the above work. Also if you try {} around glue it doesn't work either instead of using the \(
Also I know that using more then one SYN IN A statement may not be the best way to handle this but I can not change the tables.
If there is a better way please let me know.
Any Answers are greatly Apperciated
Thanks
What doesn't work?
To get better help sooner, post a [SSCCE (Short, Self Contained, Compilable and Executable, Example Program)|http://mindprod.com/jgloss/sscce.html] that demonstrates the incorrect behaviour.
Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
db
Similar Messages
-
Error while releasing transport request - Special character "_" in generic
Hi all,
we're receiving the error Special character "_" in generic key when releasing a best practice transport.
Note 1304725 describes my error, but the solution cannot be implemented. The reason for this is that we do not have an individual entry for eacht yb_PS,..,
but we have only one entry where field BWERT has a wildcard '*' as entry.
Does anyone has some idea how to solve this ?
kind regards !Hello Bjorn,
How did you get this solved?
I'm having nearly the same issue:
A custom-table with a total key lenght of about 365 characters. As soon as I enter a special character (_) in the key field just before the position 120, the message tk287 rejects the entry. Entering the special character in a key field at about key position
60, there's no message rejecting the entry.
Regards -
Error "TK287" when releasing a request - Special character "_" is invalid.
I have some tables in Solution Manager and having some warnings:
Table: CRM_SVY_DB_ST
Field value:CRM_SVY_GENERATE_BSP_TEMPLATE.XSLT
Field: TRANSFORMATIONID
It doesn´t accept the special character "_"
Below the error when releasing and the explanation of the error in the sequence.
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Explanation of the error:
Special character "_" in generic key
Message no. TK287
Diagnosis
The generic key 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_ was entered for the object CRM_SVY_DB_ST. All keys that match up to the asterisk are to be transported.
The key cannot have any special characters before the asterisk, since they are interpreted in different ways by different database systems.
The key contains the special character _.
System Response
The entry is rejected.
Procedure
Extend the generic entry, or specify all keys individually.Hi,
Go through SAP note 711103 & 688363.
Regards,
Sachin Rane.
Edited by: Sachin Rane on Mar 12, 2009 2:48 PM -
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! -
Xml publisher reprot - special character problem
I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error
A semi colon character was expected. Error processing resource.
Below is the code
CREATE OR REPLACE PACKAGE BODY XML_RPT AS
FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
l_ret_str VARCHAR2(5000);
BEGIN
l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
RETURN l_ret_str;
END XML_TAG;
PROCEDURE VENDOR(errbuf OUT VARCHAR2,
retcode OUT NUMBER) IS
CURSOR inv_Cur IS
select pv.vendor_name
from po_vendors pv;
xmldata varchar2(1000);
l_sqlstr varchar2(1000);
l_seqnum varchar2(3);
l_vendor_name varchar2(100);
BEGIN
xmldata := '<?xml version="1.0" encoding="UTF-8"?>';
xmldata :=xmldata|| '<VENDOR>';
xmldata := xmldata||' <LIST_VENDOR>';
fnd_file.put_line(fnd_file.output,xmldata);
FOR rpt_rec IN inv_Cur LOOP
xmldata := '<VENDOR_REC>';
l_vendor_name := replace(rpt_rec.VENDOR_NAME,'&','&');
xmldata := xmldata || XXMCG_XML_TAG('VENDOR_NAME',L_VENDOR_NAME);
xmldata :=xmldata|| '</VENDOR_REC>';
fnd_file.put_line(fnd_file.output,xmldata);
END LOOP;
xmldata := '</LIST_VENDOR>';
xmldata := xmldata||'</VENDOR>';
fnd_file.put_line(fnd_file.output,xmldata);
EXCEPTION
WHEN OTHERS THEN
fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
END VENDOR;
END XML_RPT;can any one advice.Duplicate post ? xml publisher report problem
Srini -
How can I use Greek symbols in a Pages text? Greek symbols are not included in the special character collection.
I need to import for example a sigma from Word or Adobe illustrator and then Pages can recognise it. I can not find it from within Pages.Special character palette from the edit menu does have sigmas under European ... > Greek ...
You can do a search at the bottom of the Special Character palette. Double click on the greek capital letter sigma. You will get a lot of sigmas. -
In some scenarios HL7 message is coming with special character ‘’ and HL7 dis-assembler escaping this character with “”. But while sending out (pass thru pipeline but orchestration trying to persist here at last sendshape.) from orchestration
this message failing with the error “Exception occurred when persisting state to the database.”
As per the analysis , Orchestration is unable to convert to xml document from a
XLANGMessage because of this special character. We have tried to call custom .net class with following code and its failing here as well (I think orchestration also trying to do same way and failing with the message and failing with same error.).
public void ProcessRequest(XLANGMessage reqMessage)
XmlDocument xmlDocument = (XmlDocument)reqMessage[0].RetrieveAs(typeof(XmlDocument)); It is failing here with the error
“ ', hexadecimal value 0x10, is an invalid character. Line 1, position 1865. “
Note : Please find the special character in the attachment circled in red color.Hi ,
Please find the xml and the screenshot.
<OBX_ObservationResult>
<OBX_1_SetIdObx>3</OBX_1_SetIdObx>
<OBX_2_ValueType>TX</OBX_2_ValueType>
<OBX_3_ObservationIdentifier>
<CE_0_Identifier>P.112</CE_0_Identifier>
<CE_1_Text>Where pt. will be transported to \T\ where famly can wait:</CE_1_Text>
</OBX_3_ObservationIdentifier>
<OBX_4_ObservationSubId />
<OBX_5_ObservationValue>Y</OBX_5_ObservationValue>
<OBX_6_Units>
<CE_0_Identifier />
</OBX_6_Units>
<OBX_7_ReferencesRange />
<OBX_8_AbnormalFlags />
<OBX_9_Probability />
<OBX_10_NatureOfAbnormalTest />
<OBX_11_ObservationResultStatus>N</OBX_11_ObservationResultStatus>
</OBX_ObservationResult> -
Need to prevent special character in generated XML file
Hello,
I am using E-business Suite 12.1.3 and XML version 5.6.3.
My XML file is ending up with a special character (a Latin capital letter U with circumflex) at the end, after the final closing tag.
Due to this the concurrent program that needs to output the XML is ending with warning.
My XML file is produced using a PL/SQL procedure, as follows (I've simplified it):
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8" ?>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<DOCS>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<LETTER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<EMP_NAME>Michaela Hart</EMP_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</LETTER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</DOCS>');
But when I run the concurrent request that creates the output then try to view the output in Internet Explorer I get the following error:
Invalid at the top level of the document. Error processing resource 'http://servername.domain...
</DOCS>
If I view the source of the page in Internet Explorer it shows a square after </DOCS> indicating the special character that has been added.
I checked this by looking at the output file in unix (cat -v o7766582.req) and it showed up the Latin U character.
I realise it could be to do with the character set I am using. I checked what we had on the server:
> echo $NLS_LANG
American_America.UTF8
I would have thought that corresponded with the XML declaration character set but I'm not sure.
Does anyone have any other ideas about why I have this special character, and how it could be removed?
Thanks in advance,
HazelHi AlexAnd,
thanks very much for your reply.
I'm now unable to recreate the problem since dbms_xmlgen worked. If I switch back to my previous method it works fine!
I'm not sure your suggestion would help, as there were no special characters in the data, the special character was added after the last tag I output. I hard coded the data (as in my example) for testing purposes so there was no SQL in use and the special character was still added at the end of the XML output. But I will definitely give it a try if I get the problem again.
I had the idea that maybe I should have been using FND_FILE.PUT rather than FND_FILE.PUT_LINE but now the error is gone I can't tell if that would have solved the problem either.
I appreciate your input.
Regards
Hazel -
Special character in some of the employee records
Hi,
I have found special character in some of the employee records which is causing some reports to error out. Our instance is configured for English language and these special characters are unrecognized by the application. I have attached some employee names with the special character below.
Request you to please look into this and reply ASAP.
===
Employee Number Full Name
1278 M_ü_ller-Seydlitz, Mrs Hilda Suzanne
1009 Evas, Mrs Sîan* Elynda
===
Regards
Parvathi Arun
+919840861075
[email protected]first you need to create a database function like the one below.
the query to identify those records is then the below:
select full_name from per_people_x
where is_not_valid_text(full_name) = 'N'
you can use the function also to verify other fields like addresses and so on.
the corrective action according to me should be a manual one, meaning open the form and update the names not compliant.
thanks
regards
create or replace
function is_not_valid_text (p_text in varchar2) return varchar2 is
v_is_valid varchar2(100) := 'Y';
v_length number := length(p_text);
begin
for i in 1 .. v_length loop
if not ( -- allowed char
ascii(substr(p_text, i, 1)) between 65 and 90 -- from A to Z
or ascii(substr(p_text, i, 1)) between 97 and 122 -- from a to z
or ascii(substr(p_text, i, 1)) = 32
or ascii(substr(p_text, i, 1)) = 46
) then
v_is_valid := 'N';
exit;
end if;
end loop;
return v_is_valid;
end is_not_valid_text;
Edited by: Giuseppe Bonavita on 10-Dec-2012 11:43 -
Table Maintainence generator Error Special Character '_' in generic key
Hello,
I have created a Table which contain 6 fields. All the fields of the table are primary key. The combined length of all the primary key is 163 characters. In the activation Log of the table we have a warning message which states "Key length > 120 (Restricted functionality)". Initially we are able maintain the entries using SM30. BUt now when we are making the entreis in the table an error message comes. The error is Special character "_" in generic key.and we are not able to save the entries.
I have deleted the table maintainence generator and have regenerated it. But the same error is coming.
Please provide your suggestion.
Thanks,
MohitPlease provide your suggestions
Thanks,
Mohit -
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 -
Error wirh release of the requets Special character "_" in generic key
Hello
I am trying to release the request, this reques was generated to installation the baseline for Peru but I got this message:
Key messages: TABU TFAWC 200SAPLCATS 2100TCA
Special character "_" in generic key
Special character "_" in generic key
Message no. TK287
Diagnosis
The generic key 200SAPLCATS 2100TCA was entered for the object TFAWC. All keys that match up to the asterisk are to be transported.
The key cannot have any special characters before the asterisk, since they are interpreted in different ways by different database systems.
The key contains the special character _.
System Response
The entry is rejected.
Procedure
Extend the generic entry, or specify all keys individually
Any sugstion for this message?
thanks
DannyHi Danny,
Could you resolve issue Message no. TK078, I'm config SD and when i assign division and dis.channel to sales org those action does not show error but when i check request consistensy in se03 i have below error.
=====================================================
Object TDAT OVXA has object function "K", but no key
Message no. TK078
Diagnosis
The request/task cannot be saved because an object entry with function K
does not have a key.
System Response
The system did not save the entry.
The cursor appears on the incorrect entry in the editor.
Procedure
Press Enter once. This branches to the object list in the editor and
positions the cursor on the incorrect object entry.
Correct the object function or enter keys for the object entry.
============================================
I had follow procedure but it do nothing.
Anybody can help Pls !
Thanks and Best regards. -
Special character in interactive report using filter
Hi,
I created an interactive report and in this report there is a filter to search any row from specific value linked to a specific column.
As example this report displays a board with some columns like "SR number", "Status", "Description", ....
If I use this filter with standard character all works fine :
- in the filter's list of values I choose "Region" column
- in the search field I put "SE"
- click on go and the board is generated with all correct rows.
If I use this filter with special character (french character in my case), this filter changes this special character and the request doesn't return any row.
Example :
- in the filter's list of values I choose "Statut" column
- in the search field I put "Réception"
- the filter's expression is modified from "Réception" to "Réception" so no row is returned (filter - Statut contains 'Réception' - no data found)
I modified the character set used by the apex DAD changing the nls_lang parameter in the wdbsvr.app file from AMERICAN_AMERICA.WE8ISO8859P1 (database character set) to AMERICAN_AMERICA.AL32UTF8
But when I check the apex DAD character set after the web server restart (about Application Express in my workspace) I get :
NLS_CHARACTERSET: WE8ISO8859P1
DAD CHARACTERSET: ISO-8859-1
No change.
I used the Application Express 3.2.0.00.27 with Oracle E-business Suite (11.5.10.2).
Any help will be appreciated.
Best regards,
Olivier
Edited by: oll on 1 mars 2010 20:57
Edited by: oll on 15 mars 2010 21:17Hi,
Thank you for your answer.
But I already installed french language on apex.
Unfortunately issue occurs yet.
To install the french language I followed these steps :
- I set the NLS_LANG to American_America.AL32UTF8
- sqlplus sys/**** as sysdba
- ALTER SESSION SET CURRENT_SCHEMA = APEX_030200;
- and I executed the load_fr.sql script
Thank you for your help.
Best regards,
Olivier -
Special character and htp.p()
I am trying to use PL/SQL procedure to present my customized item.
If user type in secial character, e.g. single quote ', in the attribute, I got this error on the page:
Error 30584: DBMS_SQL has raised an unhandled exception. ORA-06550: line 1, column 327: PLS-00103: Encountered the symbol "03" when expecting one of the following: . ( ) , * @ % & = - + < / > at in is mod not rem <> or != or ~= >= <= <> and or like between ||
Is there a procedure I can call to encode the special character?
thanksHi - thanks very much the reply. I will bear your suggestions in mind in future as they are very useful.
I got around the problem I was having by doing the following:
The line of JavaScript I wanted to output to the page was:
document.write('<img src=" '+ns_l+' " width="1" height="1" alt="*" />');}
And I achieved this by using the following PL/SQL:
htp.p('document.write('||'''<img src="'''||'+ns_l+'||'''" width="1" height="1" alt="*" />'''||');}'); -
Special Character to convert to Space
I have a field in BI "zpustreg" which has values with - and # which is not allowing me to load the data to cube so I am writing this code in transformation to convert any special character to space. but it is having error if you can help me fix the code below would really appreciate it
Abap Code to Load ZPUSTREG
METHOD compute_ZPUSTREG.
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_FIELDS-/BIC/ZPUSTREG TYPE /BIC/OIZCUSTREG
EXPORTING
RESULT type tys_TG_1-/BIC/ZPUSTREG
DATA:
MONITOR_REC TYPE rsmonitor.
$$ begin of routine - insert your code only below this line -
... "insert your code here
*DATA:Monitor_REC TYPE rsmonitor.
DATA:L_D_OFFSET LIKE sy-index.
CONSTANTS:c_allowed(60) TYPE c.
Value `ABCDEFGHIJKLMNOPQRSTUVWXYZ!"%&'()*+,-/:;<=>?_0123456789_.
RESULT = SOURCE_FIELDS-/BIC/ZPUSTREG
TRANSLATE RESULT TO UPPER CASE
DO 60 TIMES.
L_d_offset = sy-index 1.
IF RESULT+1_offset(1) CO c_allowed.
Else.
RESULT+1_d_offset(1) = ` .
ENDIF.
ENDDO.
ENDMETHOD.
E:Statement "VALUE" is not defined. Check your spelling. spelling.
E:Unable to interpret "C". Possible causes of error: Incorrect spelling
Thanks
SoniyaAlso, you'll need to change in this line:
RESULT+1_d_offset(1) = ` .
the ` for a
Have you maintained the RSKC transaction? If you put ALL_CAPITAL there it should allow you to use those characters.
Regards,
Diego
Maybe you are looking for
-
Selection of Folder/File name using the same Fun.Module
Please let me know if there is a function module which can fetch folder name/File name from the directory path when f4 option of selection screen field is selected. Currently I am able to get the file name using FM F4_DXFILENAME_4_DYNP but the requi
-
Need third party standalone player
Can anyone recommend a third-party Flash standalone player which will play .swf's? I need to have my content play NOT via a browser and I do not wish to publish as a self-contained file. This is intended for my co-workers who do not have the Flash so
-
How to install software on Mac desktop or Mac Air
I paid a lot of money for this software over a year ago. Having computer issues with both my Mac Air and more recently my MAC desktop, I did not push the issue. NOW with new hard drives in both computers, I STILL CANNOT GET THIS PHTOSHOP ELEMENTS 1
-
Taken some photos using the camera. When i want to send out using email, i was ask to reduce the photo size to either small, medium or large. When i press the option, nothing happen. Can anyone help ? How to reduce the photos image size and email out
-
My iphone camera don't working
i can t take picture with my iphone. when i click on the camera icon in the screen i just have a random window with a square at the left side of the screen when i click on it, it open the camera roll, saying no photos, you can take photos using the