Edit PSA results in CAPITAL letters
We import data from non-SAP systems and occasionally they contain erroneous data. We edit the PSA to make the correction and then reload. Unfortunately we have encountered a side-effect - the character string fields are all converted to capital letters (even though lowercase is allowed).
Any suggestions on preventing this would be appreciated.
Ian.
Hi Ian,
you can try the following in the start routine of your transfer rules:
data: l_allowedchar type rsallowchar,
l_allchar(200) type c,
l_uppercase type syabcde,
l_lowercase(26) type c,
l_strlen type i,
l_replchar type c value space,
l_count type i,
l_index type i.
select single allowchar into l_allowchar
from rsallowedchar.
l_uppercase = sy-abcde.
translate l_uppercase to upper case.
l_lowercase = sy-abcde.
translate l_lowercase to lower case.
concatenate l_allowedchar l_uppercase l_lowercase '0123456789' into l_allchar.
loop at datapak into l_s_datapak_line.
l_index = sy-tabix.
now, for each field you want to check
if l_s_datapak_line-<field name> cn l_allchar.
the field doesn't contain only allowed chars
l_strlen = strlen(l_s_datapak_line-<field name>.
l_count = 0.
do l_strlen times.
l_count = l_count + 1.
if l_s_datapak_line-<field name>+l_count(1) na l_allchar.
l_s_datapak_line-<field name>+l_count(1) = l_replchar.
endif.
enddo.
endif.
modify datapak from l_s_datapak_line index l_index.
endloop.
Please check it carefully, I was writing this just from memory without any abab syntax check ....
But in general it will replace not allowed characters with space.
Hope this helps!
regards
Siggi
Similar Messages
-
Identifying capital letters in strings
I need to read a string (in this case a sentence) and identify any 'words' in the sentence (excluding the first word of the sentence) that begin with capital letters OR are entirely made up of capital letters. I guess I use string tokenizer to braek the string into individual words, but how do I then 'spot' capital letters (either beginnig words or all through the word)?
Here's the script that completes the task you describe (that is, to the best of my knowledge based upon your description). Enjoy!
Regards,
Brad Galiette
(Note - create a CapsLetters object and call testString; for instance:
CapsLetters myCaps = new CapsLetters();
boolean result = myCaps.testString("Hello There");
class CapsLetters{
String caps[] = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
String notCaps[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};
public boolean testString(String sentence){
StringTokenizer sentenceWords = new StringTokenizer(sentence, " ");
String tempStr;
if (sentenceWords.hasMoreElements()){tempStr = sentenceWords.nextToken();}
boolean validSentence = true;
boolean allCaps = true;
boolean firstCap = false;
boolean otherCaps = false;
while (sentenceWords.hasMoreTokens()){
tempStr = sentenceWords.nextToken();
allCaps = true;
firstCap = false;
otherCaps = false;
int noCapsInc = 0;
for (int i = 0; i < tempStr.length(); i++){
System.out.println(isCaps(tempStr.charAt(i)));
if (isCaps(tempStr.charAt(i))){
if (i == 0){
firstCap = true;
else{
otherCaps = true;
else{
allCaps = false;
noCapsInc++;
if ((allCaps == false && otherCaps == true) || noCapsInc == tempStr.length()){
validSentence = false;
return validSentence;
public boolean isCaps(char letter){
String letterStr = "" + letter;
boolean capFound = false;
for (int j = 0; j < caps.length; j++){
if (caps[j].equals(letterStr)){
capFound = true;
return capFound;
} -
User input changes to capital letters after submit
Hi,
I have a button which saves the pdf form in portal.For some reason it is changing all my user inputs to capital letters.
I have used pdfsource to store the pdf .
I have used pdfsource and changed it to binary format
SCMS_XSTRING_TO_BINARY
and then used this binary table and saved the same using following FM.
CFX_API_DOC_DOCUMENT_WRITE
Is there anything i can do using javscript to make the inputs to remain the same after clicks the submit button and saves the form.?
rgds
vara
Edited by: Vara K on Oct 2, 2009 7:51 PMYou need to set the indicator "Lower case" at the domain of that field.
You need go again regenrate the Table maintaianace to make this effective.
Regards,
Naimesh Patel -
Capital letters issue with 'like'
Hello
Maybe it is simple but I cant find solution for this.
For example I have table pets with column name
"name" | "category"
1. Tomcat | cat
2. tomy | cat
3. toM | cat
4. tim | cat
5. tOmi | cat
query
select name from pets where name like '%to%'
results will give me
2. tomy
3. toM
but i want as results all names wit 'to' no matter if it has capital letters or not
1. Tomcat
2. tomy
3. toM
5. tOmi
How should i write this query ?
please helpHi,
Salski wrote:
but I also have to remember to convert entered string in inputtext to uppercase as well
someString.toUpperCase()You can also do that on the back-end, if that's better for you:
select name
from pets
where UPPER (name) like '%' || UPPER (someString) || '%'
Thanks all for respondGlad to help! -
My text tool is all in capital letters even though caps lock is off.
My text tool is all in capital letters even though the caps lock button is off. Also I cannot click on the set fond style button. What seems to be the problem?
Hi Neale --
I am having the exact same issue, and it's a problem with any & all fonts I've tried. Of course, my keyboard's CAPS LOCK feature is OFF -- and I've tried many different font styles, nearly all of which allow for standard, non-ALL-CAPS usage.
I'm intending to use Century Gothic for the work I'm doing right now, but it's been an ongoing issue for at least a few weeks -- but I know I never had an issue with this before recently. (Note that I typically don't use or need the text tool for most of the photo editing work that I do w/PSE, so I'm not sure how long this has been an issue.)
In addition, I would like to access other font-setting-related features, like kerning, character spacing, small caps, & other adjustments, etc. -- but I don't see ANYWHERE within the program (or on this forum...or online) how to adjust these relatively standard settings.
Please help -
Momentarily stops working when shift key is used to type in capital Letters
I've been using Firefox for an year, when ever I try to use shift key to google something or type something in capital letters firefox momentarily stops and resumes after 45-60 seconds..!
I'm using the latest version of firefox 23.0.1 but, the problem still persists.Hello,
Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
Then perform these steps:
*Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
*In the Firefox options window click the ''Advanced'' tab, then select "General".
*In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
*Now, restart Firefox and see if the problems persist.
Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
* [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
* [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
Did this fix your problems? Please report back to us!
Thank you. -
Hi all
When I try to add text to a picture in my photoshop elements, then it only writes with capital letters.
I guess I might have pushed some botton somewhere, but I can't find it.
Anyone knows how to solve this?
And before you think my caps is locked.. then no ;-)
greetings from Sweden
ChristinaAs I have never used PSE, I am not sure if it has something like the Character Palette (probably similar, as the Options Bar above, seems similar), but in PS, there is a setting for All Caps in the Character Palette. That is where one could easily change things to Initial Caps, if that is what is desired.
What happens is that one Opens an image, where All Caps was used, and then does some editing of Text. A good, and common, example of this is with many DVD Menus. The All Caps is a "sticky," and if used for that first Image, will "hang around," when the next Image is Opened. Often, the user is totally unaware that this change has been made - until they start typing and they are not getting what they desire. A simple reset takes care of it.
Here's a look at PS CS2's Character Palette, w/ the All Caps icon active.
I'm surprised that the PSE forum sent you here, as Barb_O and the rest are usually very quick to help with PSE issues.
Good luck, and sorry that I cannot point you directly to a Character Palette in PSE, but I think that you have your answer above.
Hunt -
Dear all, greetings, I did not mean to offend anyone by typing all my texts in capital letters, I am just used to it and at my age (63) it is better and easier for my eyes to type all the texts in my messages in capital letters.I do apologize about it all. I can assure you that I do respect all of you more that you maight me thinking of. i have the same difficulties in typing in small letters like yours in reading texts in CAPITAL letters.......tant pis, c' est la vie
For web and computing experts I would like to remind them that all the peoples nowadays have the same needs (or hobbies if you wish) regarding the electronic devices, web, compouters, softwares and that sort of thing.
If I WERE not to have technical support because of my prefiously used capital letters in me text messages, I have to confess that next time I will be more carefull about the devices producers........ I live and always learn (SOCRATES, girasko, aei didaskomenos)
Two questions
1. I noticed on the you tube videos about the new ipad that the main icons are more than mine (i.e. the icon of facebook and a number or others are missing)
2. I would like to ask you to do me a favour, thanks for your patiene. Still I have not understood how (in which way, the pictures, transfered from my system or new taken by the ipad camera are uploaded directly to the FaceBook. I suppose that I will not have the same difficulties regarding the videos to both Facebook AND YoutTube. Thanks a lot for your patience with me, from now on I will be more carefull about posting messages to you referring to technical support
Constantinos
Athens, GreeceSome of the apps shown in adverts / videos have been downloaded from the App Store, they don't come pre-installed e.g. the Facebook app is a free download the app store : 'official' Facebook app.
To upload photos to Facebook you can use the above app - you can't, for example, use Safari on the iPad to upload content to sites.
Not sure whether any apps allow you to upload videos to YouTube (I don't use the site). -
?I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?
pkg4ibm wrote:
editing a url on the graphic...
Not sure what you mean by that: is that URL in an image, or is it actual text?
If it is in an image, then you need to extract the image, edit it with something like Photoshop, then add it back to the PDF.
If the URL is actual text, I suggest that you remove the entire URL, then add the corrected link. -
Why capital letters change in lower after copying them from a PDF document (Made by InDesign), or otherwise, why some uppercase are in fact lowercase when I look in the Text Property in any PDF Reader.
your home page to get into your Web site should be index.html (for Mac) or index.htm (on PC)
You can name it something other than index, but will be harder to find. when you create the subjects and link to them, they can can be named anything with the html extension Or if your using PHP end in .php. There is a Microsoft type asp or aspx but your hosting service has to set up using windows server system.
My hosting service use a Linux server normally but can convert Windows for a Fee. UNIX Linux has no concept of asp or aspx.
See this : https://skitch.com/pjonescet/8mnnx/dreamweaver -
Why is my keyboard only typint CAPITAL LETTERS?
My keyboard only types CAPITAL LETTERS. When I restart the computer it is taking ages to boot and words "Boot Safe" appears in red on the screen. Mail search is not working and nor is spotlight
vicentelou,
if you made a backup of your system before installing 10.9.4, you can restore from the backup. If you didn’t make such a backup, you can do it manually by booting into Recovery mode, completely erasing your internal disk, letting OS X Internet Recovery redownload and reïnstall your MacBook Pro’s original version of OS X, running Software Update to get it up to date in-version, and if necessary redownloading Mavericks from the Mac App Store and reïnstalling Mavericks — that should get you back to 10.9.3. -
How do i get Rosetta stone to recognize capital letters in Rosetta stone
Yeah, so how does this happen? Capitals worked with a PC, but not w/mac. any help?
I second shldr2thewheel.
I use Rosetta Stone and have no issues getting capital letteres recognized.
But in the "writing" lessons the "soft keyboard" has a "shift" key for making the capital letters available. -
Capital letters in artist name. Difference between ipod classic and iPhone
My ipod classic knows that "Peter Gabriel" and "peter gabriel" is the same artist. But the iphone distinguishes between the 2. This is a really annoying "feature". How come it's different? My wishlist for a iOs 4,1,1 update would be for this feature to be disabled so capital letters does not confuse the ipod software on the iphone.
Sorry, should have said that the iPhone is a 16Gb version not 8
Roger -
My published Captivate 4 project has the tops of capital letters cut off
I am using Captivate 4, on Windows 7. My screen resolution is 1680x1050.
When I publish my Captivate 4 project to Flash 9 HTML and view the published version, the tops of Capital letters are cut off in the text boxes. I have resized and expanded the text boxes, and even tried moving them around, but no improvement.
The font size in the text boxes is Arial 16, and Arial 12.
What can I adjust so the text displays properly when published and the tops of the letters are not cut off?Hi there
At any point along the way have you checked the DPI settings on your machine?
Click Start > Run, type Desk.cpl into the dialog and press Enter
Click the Settings tab
Click the Advanced button
Click the General tab (It's likely already there)
Examine the DPI setting.
Sometimes the DPI is set to something like 120 and it causes issues with captions. Setting to 96 often cures that.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Table entries only with capital letters
Hi
I have created a table with some entries.One of these is type char length 65.My problem appears when i try to add entries to my table in this field,it will automatically transform them in capital letters.Even if i write with small letters,when saving,it will save my text with capital letters.How can i change this?
thank you.Hi Seba,
Make below change in the DOMAIN for that field
Domain
Defination Tab
Tick Lower Case Checkbox of Output Characteristics..
Use
When this attribute is activated, you can enter both upper and lower
case letters; conversion to upper case does not then take place. Use of
this attribute only makes sense with character formats.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
Maybe you are looking for
-
Pls see the title. There are hundreds of elements/paragraphs.
-
Over the last week I've been experiencing some very frustrating problems with the wired Might Mouse running on my Dual 2.0Ghz PowerMac G5 (10.4.9). I've tried cleaning it with compressed air and the consistent problems would indicate that it's not a
-
HT4059 How do I get my page on iBook to take the full page
My book in iBook has a few sentences on the top and bottom of the page that is cut off
-
Can't create external content type
Hi, I'm trying to create an ECT in Sharepoint Designer for my Office365 environment. I have an E3 license, so I should be alble to create one. I need it to create an external list from an Azure SQL DB. In Sharepoint designer, the button for a new ECT
-
Dear Friends, I want to implelment the intercompany Sales flow. What I want to know is the concept of getting the same pricing as in Intercompany PO to flow in the Intercopmany Billing. Is this possible to achieve, as we usually have different pricin