Check on permitted characters
Hi all,
In RSMO, when i go to below path
Menu>Edit>Init Update>>switch on/off character check>
I find the Switch On check for permitted character check box
What does this option mean?can any one explain.
Can any one help...
Hello,
If you are certain the data coming from R/3 is correct, then you can switch off this character check
But in practise, this is rarely the case, therefore it's recommended to have this character check switched on
See also SAP note 173241 and in particular the document on sapnet mentioned within.
Best Regards
Barry
Similar Messages
-
In my program, on the selection screen a user can enter any variable except special characters.How can I put a check on special characters??
hi,
In our key board, these many special characters present..
so try your code like this..
data: spe_char(31) value '~`!@#$%^&*()_+-=\|][{}";:,./?><'. ( include all
special chars whatever u want)
spe_char1 value ' '. ( this is to check empty space)
spechar2. (this is to check single ' ).
Create one text element and assign ' as value to that text element.
in ur program code as given below.
spechar2 = text-001.
if (fieldname) CA spe_char.
MESSAGE "special character is present in the given input
endif.
if ( fieldname) CA spe_char1.
message "special character is present in the given input
endif.
if (fieldname) CA spe_char2.
len = strlen( fieldname ).
if sy-fdpos NE len.
message "special character is present in the given input
endif.
endif.
Hope this code will guide you ..
regards
vijay -
How to check multiple special characters in instr function sql query.
Hi,
The following special characters are comma(,), slash(/), colan(:)
these special characters i need to be check in instr function.
select SUBSTR(master_title,1,INSTR(master_title,',',1,1)-1) from dual;
Can you please write the query with right answer.
Thanks in advance,
Lakshman.Why multiple post?
How to check multiple special characters in this query. -
Non permitted characters-data loading
In our system, we have a data issue where many records present in the entry level tables (Extraction Layer) have non-permitted characters in text fields.
we introduced a routine to filter these - but already existing ones will bring problems during the init.
for this we need a very tricky abap.
we have a FM to replace wrong characters.
So now I want to loop a whole databasetable and use the FM against a certain table field
We did something like that with abap already. But the biggest issue is that the tables consist of several million records - so we run into memory problems.
can you please provide a suggestion on how to handle this?
Your help will be appriciatedhi USER1249,
what about to use standard BW functionality - permitted characters - TA RSKC.
Via this you can maintain a set of permitted characters which will not be rejected by BW while loading.
BR
m./ -
Checking for Special Characters
I need to check if a textbox in my form containes special characters (entered by user). If there are any, I need to display an error message.
I have written a function but it's not working.
here's my function:
function checkForSpecialChracters(oFiled)
var userInput = oFiled.rawValue; // take the String entered by the user
var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
for (var i = 0; i < userInput.length; i++)
if (iChars.indexOf(userInput.charAt(i)) != -1) {
xfa.host.messageBox("Please check for special characters. The following characters are not allowed: @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
// Change the color of the field
oFiled.fillColor = "255,100,50";
Any help would be greatly appreciated.
Thank you!Paul,
It is working now. I don't know what I might have changed.
Here's my final function (It works!):
function checkForSpecialChracters(oFiled)
var userInput = oFiled.rawValue; // take the String entered by the user
var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
var hasSpecialCharacter = false;
for (var i = 0; i < userInput.length; i++)
//app.alert("Value is: " + userInput.charAt(i));
if (iChars.indexOf(userInput.charAt(i)) != -1)
hasSpecialCharacter = true;
break;
} // end if
} // end For loop
if (hasSpecialCharacter)
// Change the color of the field
oFiled.fillColor = "255,100,50";
xfa.host.messageBox("Please check for special characters. \n\nThe following characters are not allowed:\n\n @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
else if (!hasSpecialCharacter)
oFiled.fillColor = "255,255,255"; -
Test for Permitted Characters in Transformation Routine
Hello,
Background: There is a data quality issue when loading 3rd party data to BW, which cannot be solved at source. Therefore, initial transformation rules when loading to data warehouse level DSO, should identify and deal with error values.
Possible Solution: Test validity of value within transformation routine via a custom function module.
Execution: Function module would require to check lowercase character handling of target InfoObject (RSDCHABAS-LOWERCASE) and scan source value against permitted character set (RSKC).
Questions: How can the permitted list of characters be returned within transformation routine? Is there an available delivered function module to handle accessing permitted character set?
I would appreciate any answers to the above questions or alternative suggestions to the above strategy.
Thanks -
Brendan.There is a function module "RSKC_ALLOWED_CHAR_GET". Use SE37 to check it out.
-
Permitted characters 'ALL_CAPITAL'
We need to accept a large number of unusual characters, and hit the limit on the number of characters we can enter. Note 173241 explains that you can use ALL_CAPITAL (on its own) to get round the limit. This seems to work fine, but I'd like to know exactly what ALL_CAPITAL permits. I beleive that it accepts any characters that are accepted by the installed codes pages except miniscules letters. I presume it rejects non-displayable characters.
Anybody know how ALL_CAPITAL works?Hello,
You created this message in 2004. I am wondering you remember it.
Your description is very interesting for me. Now we have plan to implement BW3.5 Unicode version which we will share in Asia/Pacific. So that our user will use it in Japanese, Korea, English and Germany.
We face data load problem between Japanese source system and BW Unicode system. We can solve this problem, as we set 'ALL_CAPITAL'.
My question is this 'ALL_CAPITAL' is varid for all language.
You mentioned the set of allowed characters depended on the codepage.
I am wondering the codepage means Logon language or system code page which is Unicode. If it is system code page, 'ALL_CAPITAL' may contain all language included in Unicode. -
Just a simple check with special characters
Hi guys and gals,
i created a boolean method that will check the value of string for any special characters like (/,'%&^# ), what i did is to used indexOf() method. it will return false if the string doesn't have any special character. But, i'm having a problem using the check for the backlslach character ' \ ', since it is considered as escape literal when i put inside indexOf('\'). i really need you help on this.
if you have other ways to check this kind of character, please put them here. i really need them bady. :D many thanks,Look for "\\" or look up the unicode for "\" and use that.
-
How to check double byte characters
Hi
My requirement: I have to accept the string (may include double byte characters and special characters). Need to check that wether that string contains any special characters(like %,&,..), if so should display error message.
My solution: Starting i tried by usign the ASCII values. But the my code dividing the Double Byte characters into two characters.
Code:
package JNDI;
public class CharASCIIValues {
public static void main(String[] args) {
// TODO Auto-generated method stub
String s = args[0];
char ch[] = s.toCharArray();
for(int i=0;i<=ch.length;i++){
System.out.println(" "+ch[i]+"="+(int)ch);
I ran with some double characters (japanese)
But i got the out put was = ?=63 ?=63 ?=63 ?=63 ?=63 ?=63 1=49 2=50 3=51 h=104 e=101 l=108 l=108 o=111
The ? are double byte charcters.
Queries:
Do i need to set any java setting to support DB characters.
Please help me to come out this problem....any help/information will be appreciated.First of all Java strings are encoded in a modified version of UTF-8 that uses 2 bytes per character. That is the char datatype is equivalent to an unsigned short.
Second what exactly do you mean by double byte? Whether a character ends up encoded in two bytes or not depends on the encoding used (UTF-8, UTF-16 (both unicode), BIG5, GB2312 (both chinese), iso-8859-1(Latin-1), ASCII, etc...). This means that there are no "double byte characters" there are only "double byte characters when encoded in <your encoding>".
Where does your string come from? What encoding are you using to read the string in the first place? Are you sure you are creating the string using the right encoding? -
Dear Collegues!
I have an invalid Character in the InfoObject ZKIDNR. The Character givin me problems is |. It comes at the end of the Kind-number, f.ex 5000459372|, and only in one single record, so it is a mistake.
I get the error in ODS (0FIGL_O02), and because of this I can not activate my data.
I have added | in RSKC, but I am now wondering if I should add ALL_CAPITAL instead? Can anyone out there tell me if ALL_CAPITAL will take care of |?
Will sign Points!
SiljeMost of the times ALL_CAPITAL takes care of most of the invalid chars. There is a nice blog by Eugene dealing with RSKC.
check them out:
Invalid characters in SAP BW 3.x: Myths and Reality. Part 1.
Invalid characters in SAP BW 3.x: Myths and Reality. Part 1. -
How to check multiple special characters in this query.
When the master_title has no comma in it, I am getting an empty master_title. This is because INSTR(master_title,',',1,1) is returning 0.
In addition, I want to be able to specify other characters besides the comma. Example: ":" "/" "-".
Can we fit these options in the INSTR to look for them as well?
Query given below.
SELECT DISTINCT e.brm_id, SUBSTR(master_title,1,INSTR(master_title,',',1,1)-1) master_title
FROM e_m_view e
WHERE e.asset_dist LIKE'%WBPI Germany%'
OR e.asset_dist LIKE '%krupp%'
OR e.asset_dist IN (SELECT FN_SETRPTG(FN_GETPIREGN('%WBPI%')) FROM dual)
AND e.kl='Live' AND NVL(wbpi_publish_date,SYSDATE) <= SYSDATE
ORDER BY 2 ASC;
---------------------This?
SQL> with t as(
2 select 'abcd,efgh' name from dual union all
3 select 'abcd:efgh' from dual union all
4 select 'abcd/efgh' from dual union all
5 select 'abcd-efgh' from dual )
6 select regexp_substr(name,'[^,:/-]+') name
7 from t;
NAME
abcd
abcd
abcd
abcd -
Code to Check for Special Characters \/:*?" | in the given String
Hi All,
I need a java code to verify if the given string contains the Special Characters like \/:*?"<>|
thanks
krishnavenihttp://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
bye
TPD -
# not accepted in permitted characters
Hello Guys,
I am fetching data from CRM wherein an anonymous user enters certain free text. While entering data, if he presses "enter" key then it is getting converted into #. Whereas I have maintained # in RSKC, still the error occurs while activating the data store object. Can anyone suggest me the solution for this problem? This is a recurring problem due to which I edit the record in PSA and then reload & reactivate it.
Thanks,
UtpalHI
U can use ALL_CAPITAL in the RSKC toce and execute remember it will allow all the special characteristics
Khaja -
Special Characters Check in OBPM
Is this code good to check for special characters in OBPM 10GR3?
Pattern p = Pattern.compile("/[a-zA-Z0-9]/g");
Matcher m = p.matcher("This is a string");
boolean matched = m.matches();
logMessage("--Identifying Special Characters--"+matched);
if (matched == true)
logMessage("--Contains Special Character--");
}Here's what I use to fix file names to ensure that they do not have special characters or international characters:
String beforeConversion = "àÀâÂäÄáÁéÉèÈêÊëËìÌîÎïÏòÒôÔöÖùÙûÛüÜçÇ’ñ";
String afterConversion = "aAaAaAaAeEeEeEeEiIiIiIoOoOoOuUuUuUcC'n";
// does it contain international characters?
if (originalFileNameArg.match(regexp : '/[àÀâÂäÄáÁéÉèÈêÊëËìÌîÎïÏòÒôÔöÖùÙûÛüÜçÇ’ñ]+/').length() > 0) {
int i = 0;
String @char;
while (i < beforeConversion.length()) {
originalFileNameArg = originalFileNameArg.replace(from : beforeConversion.charAt(position : i),
@to : afterConversion.charAt(position : i));
i = i + 1;
String[] m = originalFileNameArg.split(regexp : '/[^a-zA-Z0-9_,']+/');
int i = 0;
boolean first = true;
foreach (item in m) {
if (! item.empty) {
if (first) {
retValue = item;
else {
retValue = retValue + " " + item;
first = false;
i = i + 1;
return retValue.trim();Dan -
SharedObject not working with 'Debuggin Permitted' NOT checked in publish settings
Hello,
I have run into a strange problem writing out SharedObject
data. If I select(check) Debugging permitted in the publish
settings the data is written correclty. If I uncheck the option,
the data is not written. The flush() call returns true in both
cases.
Could this be a security related issue?
Thanks,
BradHey florsignol,
I understand that your monitor, while appearing in System Preferences, doesn't display anything; however, it works fine in BootCamp. These are the applicable troubleshooting steps I would go through to resolve the issue:
1. Reset the System
You can reset the Mac's parameter RAM and SMC.
2. Reset the resolution
Start by resetting the Mac's parameter RAM. If the display does not come up, was previously set to an unsupported resolution, and still results in no video:
Start up in Safe Mode.
From the Apple () menu, choose System Preferences.
Choose Displays from the View menu to open the preferences pane.
Select any resolution and refresh rate that your display supports.
Restart your computer.
from: Apple computers: Troubleshooting issues with video on internal or external displays
http://support.apple.com/kb/HT1573
All the best,
Delgadoh
Maybe you are looking for
-
I have a iPhone 4 and lately it has been shutting down randomly when I still have battery left. It also doesn't turn back on, until I plug it in to the charger. But when I plug it in, the low battery sign shows up then comes to the lock screen with l
-
How do I fix my question mark key, it shows up as É
How do I fix my question mark key, it shows up as É
-
I have a new iPhoneS. Siri isn't working. How do I activate it?
I have a new iPhoneS and cannot activate the SIRI feature. How do I accomplish this?
-
hello, I am making a website for myself and am having an issue with loading an swf and commanding the swf to go to a certain frame. Bassically I have one page, that has 7 seperate small thumbnail images on it which are buttons, each is commanded to o
-
Why are alpha/numeric keys inoperative on aluminum apple wireless keyboard
This is a follow on to previous topic that i answered. I was able to get my wireless keyboard partially operational. It is paired and only partially functionall • Alpha numeric keys do not work • Delete Key (backward) and fn-Delete (forward) work • A