How to disable numbers in a text type or field ?
Hi,
Any option of disabling numbers in a text type or field ? For E.G. in the PO header text can we prevent users from entering number or values ?
Thanks.
No, not without own programming
Similar Messages
-
How to make numbers in message text input fields left aligned?
Hi Friends
I have completed one of my task .but getting result right side of the field.
how to make numbers in message text input fields left aligned?
Thanks
AravindaHi ,
Sorry for late replay i am trying this alos not set that page....
pageContext.forwardImmediatelyToCurrentPage(null, true, null);
and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
Regards,
Srini -
How can I detect a certain text within a field within CASE using IF
Dear all,
for a transformation / generation of values receiving from R/3 into BW I try to
manupulate three fields. I have a problem detecting a string in a field.
I am using a CASE with several WHEN clauses on one field. Depending on the
value, an IF is integrated. There I look into another field evaluating, if it contains
a certain string. E.g. IF STRING CP 'xyz' OR 'abc'.
System gives error for the locigal expression. I also tried CS, but same error.
How can I detect a certain text within a field and which is the right logical
expression.
Many thanks in advance!!!
ClaudiaHi,
Folow the blow example...
May be it helps....
DATA: hex1 TYPE string,
hex2 TYPE string.
hex1 = 'FFFF'.
hex2 = '123FF'.
IF hex1 CP hex2.
ENDIF.
Cheers,
SImha. -
Tabular Forms - how to change the color of text when the field is disabled
Hi,
I have a tabular form and some of it's columns are disabled showing text in grey color...
is there a way to change the color to black and bold the text...?
thanksOkay, i've taken a look at your example.
The column formatting does not work on the input fields. The help on the item says that it generates a span with a style attribute. This would work for a display field, not for an input field.
Css like i've written should be in the style tags, put up in the header section of the page (page -> edit -> header region).
You've already put script tags there, the style tags go there aswell. You shouldn't even need to put your script tags in the header region. Just put your code up in the javascript functions region (without the script tags).
However, i tested in firefox and here color works on an input field, changing the font color. In IE it does not do this. Cross browser implementations and such, not much to do about it here. See http://stackoverflow.com/questions/602070/changing-font-colour-in-textboxes-in-ie-which-are-disabled.
I did notice that you build your form with a bunch of input fields, which you disable through javascript in the footer of the region. Then on submit, you set the disabled to false again for all those fields! If you want those fields to always be submitted to the server, why wouldn't you use the readonly attribute? Readonly fields are always submitted, and can't be edited by the user. Plus, readonly fields CAN be styled however you want! You can get rid of the javascript code in your header then.
Even the javascript in the footer is not necessary. If you just add 'readonly="true"' (without single quotes) to the element attributes of your items (edit column -> column attributes region) = no javascript at all (less maintenance). -
How to disable Oracle table NUMBER column type auto round-up
Below is an example,
SQL> create table a
a_col1 NUMBER(8, 2)
SQL> update a set a_col1=1.999 where ...
I found column 'a_col1' of table 'a' value will be 2.00, but the application is for some financial calculation and doesn't allow any difference of the amount value (like, 1.999 <> 2.00), what I want to achieve is to disable the Oracle NUMBER type auto round-up and make above 'update' SQL fail with error, so I can trap the error and handle it in the program.
Could anyone advise me how to achieve above or any good suggestion ? Thanks.user12317666 wrote:
Below is an example,
SQL> create table a
a_col1 NUMBER(8, 2)
SQL> update a set a_col1=1.999 where ...
I found column 'a_col1' of table 'a' value will be 2.00, but the application is for some financial calculation and doesn't allow any difference of the amount value (like, 1.999 <> 2.00), what I want to achieve is to disable the Oracle NUMBER type auto round-up and make above 'update' SQL fail with error, so I can trap the error and handle it in the program.
Could anyone advise me how to achieve above or any good suggestion ? Thanks.Oracle does not auto-round.
you have data presentation problem; not data storage problem. -
How to enter numbers in Arabic font in the fields
Hi Everyone,
I installed Adobe Reader 10.0.1 multi-Language and I am able to enter Arabic alphabet in the fields, but when I enter numbers in the fileds, it is English. I don't have this issue in MS-Word. i.e., both letters and numbers depend on my keyboard setting and is English or Arabic respectively. The numbers setting in windows in "depend on context" and I think is fine. Do you know how I can fix this issue? Is there any setting in Adobe that overwrights the Windows setting for numbers?
Thanks a lotI won't say I am very clear about this topic. But I will give an example, which seems to show that number (in the double type) is logically of the form -000.00 while locale spacific String object can be both of the forms "000.00-" and "-000.00"
// you can show the string below (formatted) on a JLabel with the following
//<JLabel_instance>.setFont(new Font("Lucida Sans", Font.PLAIN, 22));
NumberFormat nf = NumberFormat.getInstance(new java.util.Locale("ar","EG"));
//NumberFormat nf = NumberFormat.getInstance(new java.util.Locale("fr","Fr")); // compare
DecimalFormat df=null;
DecimalFormatSymbols dfs= null;
if (nf instanceof DecimalFormat) {
df = (DecimalFormat)nf;
dfs = df.getDecimalFormatSymbols();
dfs.setZeroDigit('\u0660');// set the beginning of the range to Arabic digits.. this can be commented out
df.setDecimalFormatSymbols(dfs);
String formatted = nf.format(-1234567.89); -
How to control numbers of characters in a input field?
Hi all
I need to limit the maximum of input characters to 255 in the field: vendortxt at the Shopping Cart. Do anyone know how to do this.
Regards, BjarneHi,
You can use the BBP_DOC_CHECK_BADI to read the number of characters entered in the text field VENDOR_TEXT and accordingly throw the error message if it exceeds 125 characters.
In the BADI,use the FM BBP_PD_SC_GETDETAIL to read the details of the SC.In the table E_LONGTEXT,you wil get the value for Vendor text.
BR,
Disha.
Pls reward points for useful answers. -
Text Type (short - long) in F4 selection help (web)
How can I change the the text type (short - medium - long) in the F4 help for a variable on the web? Currently the short text is always displayed and I want to show the medium text.
I had the idea the setting 'text type' (in rsa1\infoobject maintenance\ tab bex) is responsible for this, but changing this setting has no effect. I also tried to change this in the query designer (infobject properties \ display as), again without result.
The query is based on an InfoSet.
Thank you for your help!
Kind regards
DirkHi, you can try to change the transfer rules setting matching the medium text from the source system to the long text in the infoObject and then change the infoObject text properties. I have the same problem with the infoObject with only the short and medium description. In the F4 i can have only the short description.
I hope it help
Alberto -
How to display HTML formatted text in the field with Item Style: Raw Text
How can I display HTML formatted text in the field with Item Style: Raw Text.
Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
RegardsHi,
Use Item Style formattedText.
Regards,
Gyan -
I just discovered that when I type names in Reminder, Notes or even email there is a voice repeating them. Any idea how to disable this function??? I never heard this before and I have the iPod Touch since a year!. Thanks a lot.
You have an Accessibility feature turned on. Go to Settings>General>Accessibility and turn off/check off:
VoiceOver
Speak Selection
Speak Auto-text. -
How can I disable e-mail and text messages when I'm close to or over my data quota ?
How can I disable e-mail and text messages when I'm close to or over my data quota ?
Is this possible? I don't see any options?
All I see is this:
Receive confirmations of many account transactions via Email and/or free Text Alerts delivered right to your cell phone. You can receive these confirmations for
transactions done online, over the phone or from your handset. Account management Text Alerts do not count against any Messaging allowances.
Your bill is ready for review.
Payment Confirmations: Your payment has been received Your credit/adjustment has been applied.1
Account Activity Confirmations Plan changes Feature changes1What phone?
You would need to disable data on the phone itself. You wouldn't do it online on your account.
Note also that text messages do not count toward your data allowance. -
How can I read the bootstrap files of any HDS Live stream and extract the fragment-URLs and fragment-numbers in plain text?
Could it be that it is some kind of compressed format in the bootstrap? Can I uncompress it wirh f4fpackager.exe? Could not find any download for f4fpackager.exe. I would prefere less code to do so. Is there something in Java of JavaScript, that can extract the fragment-numbers?
Thank you!Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave. -
How to disable auto clear feature in a text box in IE10
How to disable auto clear button in Text box in IE10
Hi Team,
I saw this question on Microsoft forum but I did not find any reply to this question, therefore, I am re-posting it.
When I run web interface application on IE10, i see there is a new feature which has 'X' at the end of text box and on clicking it it clears the text.
Are there any settings of IE10 that can be changed to disable it or some code snippet?
I find the 'X' sign at the end of text box very annoying and would like to turn it off and make it compatible with older versions of IE and other explorers.
Looking forward to your answer at the earliest.
Regards
SakshiHi,
Please try the steps in the following thread to see whether it could help:
Remove IE10's “clear field” X button on certain inputs?
http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs
Regards,
Vincent Wang
TechNet Community Support -
How to check a text type if it is filled or not for specific user status
Hello;
I want to check if a text type in a notification is filled or not for a specific user status. I guess that can be done using the BADI "ORDER_SAVE", but not sure how to do that.
Regards,
Erkan KayaHello Erkan.
You can use the function module CRM_ORDER_READ_OW in method check_before_save of BADI ORDER_SAVE.
Fill the header_guid of the notification into the it_header_guid table parameter and get the returning table ET_TEXT.
For performance reason you should provide importing parameter it_requested_objects.
INCLUDE CRM_DIRECT.
APPEND gc_object_name-texts TO it_required_objects.
Then you can check in et_Text if the required text is maintained. If not, you can raise the exception DO_NOT_SAVE in the BADI.
Regards,
Timo. -
How to disable text can be adopted from inforecord (PO text)
Hi,
I have a issue in PO output, when I try to create a PO through ME21N transaction, the inforecord PO text is not printing in PO output.
It is printing only when I click on the option text can be adopted from inforecord (PO text).
This option is there in item details text tab.
Please let me know how to disable this option, because when I create PO automatically, it is not printing inforecord PO text.
Here we almost all PO's create through automatically, so we should not have any restriction to print this.
When we create PO, automatically the text should print.
Please advise.
Thanks,
SandhyaIn customizing for purchasing , under SPRO -? materials management-?Purchasing-? Purchase Order->Texts of rpurchas eorders->define copying rules for item texts , here select 02-info record PO text and click on "text linkages" .
Here for sequence 0 ,"Info record PO text " , the fix indicator should be " " BLANK. In this case, the text should automatically be adopted in the PO , and should come in print
Maybe you are looking for
-
Photo sharing replacement for mobileme galleries
HI all, I'm sure there are others out there, like me, who built their entire gallery strategy on using Apple's "mobileme galleries," and now you have had to find a replacement for that becuase as we all know....There will be no replacement for Galler
-
Our temporary tablespace doesn't empty itself after a commit, rollback or end-session. Can't find the reason why not. Next size is set to 256K but we get error messages that the temp tablespace is unable to extend next size with 128K which is in fact
-
I cannot update any apps, my security code is not invalid, but it says it is. Cannot purchase apps or even do free updates? What to do??
-
I tried to download for two days. The link seems to be wrong. Is there another way to download full version? Thanks. César
-
[Solved] AUR package fails MD5 (tweetdeck)
New to arch, new to linux aside from a 3 week crash course with ubuntu. Following this link to install tweetdeck. http://bbs.archlinux.org/viewtopic.php?id=75416 Problem arises with it comes time to install tweetdeck. ==> Retrieving Sources... -> F