How to set the maximum length that a user can enter in Msgstyledtextinput
Hi Everyone,
I'm currently using EBS 11.5.1 and 10.2g DB
Is there a way that I can set the maximum length that a user can input?
I changed the Maximum Length to lower number (from 150 to 100) but I get the following error.
Developer Mode Exception encountered in item SaveLocation
Error: The item SaveLocation has a maximum length (100)
which is not equal to that of the corresponding VO attribute
, SaveLocation length (150).
Action: Make sure they are equal in size. There must be other way to set that value
Thanks,
Elmer
You have to set the maximum length of column to 150 to avoid this error.
You can set the same in Jdev.
Thanks
--Anil
Similar Messages
-
How to set the maximum length in a JTextField component.
Hi This is a basic doubt. How can i set the maximum lenght in a JTextField.. I tried the setColumns() method. It doesnt do anything.. Pls Help.
Thanks
RajeevHere's an example using PlainDocument.
textField.setDocuemnt( new TextFieldVerifier() );
class TextFieldVerifier extends PlainDocument {
int requiredLength = 10; // whatever length you want
public void insertString( int offset, String str, AttributeSet attSet ) throws BadLocationException {
boolean valid = true;
if (str == null) {
return;
String old = getText( 0, getLength() );
/* insert the new string at the given offset, into the old string */
String newStr = old.substring( 0, offset ) + str + old.substring( offset );
if (newStr.length() > requiredLength)
valid = false;
Toolkit.getDefaultToolkit().beep();
if ( valid )
super.insertString( offset, str, attSet );
} -
Set the maximum length of textedit element in webdynpro
Hi All,
How to set the maximum length of texedit element to a some constant characters.setting col and row property to 10 and 2 didnot set max length to 40.setting width and height also didnt helped to limit the characters user can enter to 20.
Thanks,
pkv>
pkv wrote:
> Hi All,
>
> How to set the maximum length of texedit element to a some constant characters.setting col and row property to 10 and 2 didnot set max length to 40.setting width and height also didnt helped to limit the characters user can enter to 20.
>
> Thanks,
> pkv
Hi,
Setting row and height is for layout purposes and not for the limiting of text in a TextEdit UI Element.
To ensure that the Text Exit has only 40 characters in 04s - you can do as Alka has suggested.
For doing the same in CE 7.1 - you can use the onChange Action and write code inside that method to limit the number of characters.
I would suggest that you use IWDMessageManager to show a message in the MessageTray whenever the user goes over the limit of 40 characters - rather than accept the whole text and then show some sort of popup.
Thanks.
p256960 -
How to set the Maximum Number of the retry interval in sender cc?
Hi,gurus:
You know about how to set the Maximum Number of the retry interval of receiver communication channel in RWB.
But how to set the one of the sender communication channel?
Can we set that in integration directory?
Any help will be appreciated.Hi,
Check this blog, For the settings to be done at SXMB_ADMIN Tuning(IS_Retry_Limit )and the VA
XI : How to Re-Process failed XI Messages Automatically
Also in VA change both inbound and outbound retries. For max no. of retry interval change the default value 300000(5 mins) to 600000(10 mins) or whatever you want.
Thanks!
Edited by: Sudhir Tiwari on Dec 16, 2008 7:33 AM -
In my ALV o/p what is the maximum length of column, I can display ( because
In my ALV o/p what is the maximum length of column, I can display ( because the length of the text some times exceeding 600 chars ) ?
Thanks in ADVANCEI have declared like
<b> S_LAYOUT-MAX_LINESIZE = 1000.
S_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.</b>
However ALV output not displaying the entire length.
Call the following function to display output in ALV form
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'ZFRSBOI0'
IS_LAYOUT = S_LAYOUT
IT_FIELDCAT = FIELDCAT
IT_EVENTS = P_EVENTS[]
it_sort = p_it_sort[]
I_SAVE = 'A'
TABLES
T_OUTTAB = PDET_OTAB_ALV1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
If the function call is not successful, raise error message
and come out from the program
IF SY-SUBRC <> 0.
MESSAGE E000(00) WITH
'Unable to display report'(E01).
EXIT.
ENDIF. -
How to control the maximum time that a dynamic sql can execute
Hi,
I want to restrict the maximum time that a dynamic sql can execute in a plsql block.
If the execution is not completed, the execution should be terminated and a exception should be raised.
Please let me know, if there is any provision for the same in Oracle 10g.
I was reading about Oracle Resource Database Resource Manager, which talks about restricting the maximum time of execution for Oracle session for a user.
However I am not sure, if this can be used to control the execution of dynamic sql in a plsql block.
Please provide some pointers.
Thank you,
Warm Regards,
Navin Srivastavanavsriva wrote:
We are building a messaging framework, which is used to send time sensitive messages to boundary system.I assume this means across application/database/server boundaries? Or is the message processing fully localised in the Oracle database instance?
Every message has a time to live. if the processing of message does not occurs within the specified time, we have to rollback this processing and mark the message in error state.This is a problematic requirement.. Time is not consistent ito data processing on any platform (except real-time ones). For example, messageFoo1 has a TTL (time to live) of 1 sec. It needs to read a number of rows from a table. The mere factor of whether those rows are cached in the database buffer cache, or still residing on disk, will play a major role in execution time. Physical I/O is significantly slower that logical I/O.
As a result, with the rows on disk, messageFoo1 exceeds the 1s TTL and fails. messageFoo2 is an identical message. It now finds most of the rows that were read by messageFoo1 in the buffer cache, enabling it to complete its processing under 1s.
What is the business logic behind the fact that given this approach, messageFoo1 failed, and the identical messageFoo2 succeeded? The only difference was physical versus logical I/O. How can that influence the business validation/requirement model?
If it does, then you need to look instead at a real-time operating system and server platform. Not Windows/Linux/Unix/etc. Not Oracle/SQL-Server/DB2/etc.
TTL is also not time based in other s/w layers and processing. Take for example the traceroute and ping commands for the Internet Protocol (IP) stack. These commands send an ICMP (Internet Control Message Protocol) packet.
This packet is constructed with a TTL value too. When TTL is exceeded, the packet expires and the sender receives a notification packet to that regard.
However, this TTL is not time based, but "+hop+" based. Each server's IP stack that receives an ICMP packet as it is routed through the network, subtracts 1 from the TTL and the forwards the packet (with the new TTL value). When a server's IP stack sees that TTL is zero, it does not forward the packet (with a -1 TTL), but instead responds back to the sender with an ICMP packet informing the sender that the packet's TTL has expired.
As you can see, this is a very sensible and practical implementation of TTL. Imagine now that this is time based.. and the complexities that will be involved for the IP stack s/w to deal with it in that format.
Making exact response/execution times part of the actual functional business requirements need to be carefully considered.. as this is very unusual and typically only found in solutions implemented in real-time systems. -
IPod Shuffle: How to set the maximum volume limit
How do I get back to the volume default I set at the onset of using my shuffle?
I have speakers in my Ski Helmet and would now like to turn up the volume louder than I have currently set for my in ear earpods.
Any help is appreciated.
bIf you're talking about the Maximium Volume Limit:
Setting the Maximum Volume Limit
You can set a limit for the maximum volume on iPod shuffle. You can also set a
password in iTunes to prevent this setting from being changed by someone else.
If you’ve set a volume limit on iPod shuffle, the status light blinks orange three times if
you try to increase the volume beyond the limit.
To set the maximum volume limit for iPod shuffle:
1 Set iPod shuffle to the desired maximum volume.
2 Connect iPod shuffle to your computer.
3 In iTunes, select iPod shuffle in the Source pane.
4 Click the Settings tab.
5 Select “Limit maximum volume.”
6 Drag the slider to the desired maximum volume.
The initial slider setting shows the volume the iPod shuffle was set to when you
selected the “Limit maximum volume” checkbox.
7 To require a password to change this setting, click the lock and enter a password.
If you set a password, you must enter it before you can change or remove the
maximum volume limit.
Note: The volume level may vary if you use different earphones or headphones.
To remove the maximum volume limit:
1 Connect iPod shuffle to your computer.
2 In iTunes, select iPod shuffle in the Source pane.
3 Click the Settings tab.
4 Deselect “Limit maximum volume.”
Enter the password, if required.
Note: If you forget the password, you can restore iPod shuffle. See “Updating and
Restoring iPod shuffle Software” on page 26 for more information. -
How to set the resource_limit parameter to each user
how to set the resource_limit initialization parameter to each user.
it says like this;
You must modify the RESOURCE_LIMIT initialization parameter. After you assign profiles to users, the Oracle database
enforces the limits only when the RESOURCE_LIMIT parameter is set to TRUE. Therefore, you modify the RESOURCE_LIMIT initialization parameter to enforce the resource limits defined within each user's profile.
alter system set resource_limit=true;
if doing like this is it ok. ????
Assume im logged as user "SYS". so if i use this command, will it alter the resource_limit parameter for this user SYS only OR for the entire database..... (for all other user)The RESOURCE_LIMIT parameter only enables resource limits that are defined in profiles.
The DEFAULT profile, by default, is UNLIMITED for all resources.
You should create a custom profile and set the limits you need. The next step would be to assign that profile to the users whom you want to limit. Other users in other profiles (or in the DEFAULT profile) would not have any limits enforced.
See the documentation on CREATE PROFILE.
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6010.htm#i2065930 -
Filed in the ALV report in which user can enter text manually
Hi,
Is it possible to enter a field in the report where user can enter data manually and save it in a ALV report?
If yes then letHi, SATYA
Test the following Sample Report it hope it will solve out your Problems related to ALV.
REPORT zfsl_alv_test.
TYPES: BEGIN OF t_it,
mname(10),
amount1 TYPE p,
amount2 TYPE p,
END OF t_it.
*TABLES : it1_sum.
TYPE-POOLS : slis.
*VARIABLES
DATA : check(1),
rep_id TYPE sy-repid.
*INTERNAL TABLE TYPE OF t_name
DATA: it1_sum TYPE STANDARD TABLE OF t_it WITH HEADER LINE,
wa_it1_sum TYPE t_it,
it2_sum TYPE STANDARD TABLE OF t_it WITH HEADER LINE,
wa_it2_sum TYPE t_it.
*List Header
DATA : it_listheader TYPE STANDARD TABLE OF slis_listheader WITH HEADER LINE,
wa_listheader TYPE slis_listheader.
*Event Raising to Display Heading.
DATA: event TYPE slis_t_event,
event_str TYPE slis_alv_event. "Event String.
*FIELD CATALOG
DATA : it_field TYPE slis_t_fieldcat_alv,
wa_field TYPE slis_fieldcat_alv.
*SORTING
DATA : it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
*Layout
DATA : wa_layout TYPE slis_layout_alv.
INITIALIZATION.
check = 'X'.
rep_id = sy-repid.
START-OF-SELECTION.
wa_it1_sum-mname = 'BBB'.
wa_it1_sum-amount1 = '-500'.
wa_it1_sum-amount2 = '-200'.
APPEND wa_it1_sum TO it1_sum.
wa_it1_sum-mname = 'BBB'.
wa_it1_sum-amount1 = 100.
wa_it1_sum-amount2 = 200.
APPEND wa_it1_sum TO it1_sum.
wa_it1_sum-mname = 'CCC'.
wa_it1_sum-amount1 = 500.
wa_it1_sum-amount2 = 10000.
APPEND wa_it1_sum TO it1_sum.
wa_it1_sum-mname = 'CCC'.
wa_it1_sum-amount1 = 105000.
wa_it1_sum-amount2 = 20500.
APPEND wa_it1_sum TO it1_sum.
wa_it1_sum-mname = 'AAA'.
wa_it1_sum-amount1 = 21000.
wa_it1_sum-amount2 = 22000.
APPEND wa_it1_sum TO it1_sum.
wa_it1_sum-mname = 'BBB'.
wa_it1_sum-amount1 = 5500.
wa_it1_sum-amount2 = 2200.
APPEND wa_it1_sum TO it1_sum.
* Heading
wa_listheader-typ = 'H'.
wa_listheader-info = 'ALV TEST Top-of-Page'.
APPEND wa_listheader TO it_listheader.
* FIELD CATALOG
wa_field-col_pos = 1 .
wa_field-tabname = 'IT1_SUM'.
wa_field-fieldname = 'MNAME'.
wa_field-seltext_m = 'Material Number'.
*ls_fcat-do_sum = 'X'.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-col_pos = 2 .
wa_field-tabname = 'IT1_SUM'.
wa_field-fieldname = 'AMOUNT1'.
wa_field-seltext_m = 'Amount 1'.
wa_field-do_sum = check.
wa_field-edit = 'X'. " To add this you can edit any Colum
wa_field-edit_mask = 'V___________'. " Use this to place the (-) Minus Signe on the left side
*ls_fcat-do_sum = 'X'.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-col_pos = 3 .
wa_field-tabname = 'IT1_SUM'.
wa_field-fieldname = 'AMOUNT1'.
wa_field-seltext_m = 'Amount 2'.
wa_field-do_sum = check.
wa_field-edit_mask = 'V___________'.
*ls_fcat-do_sum = 'X'.
APPEND wa_field TO it_field.
CLEAR wa_field.
* SORT By MNAME
wa_sort-spos = 1.
wa_sort-fieldname = 'MNAME'.
wa_sort-tabname = 'IT1_SUM'.
wa_sort-up = check. " Here Use u2018downu2019 for descending Order
wa_sort-subtot = check.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
* ALV Layout Setting
wa_layout-zebra = 'X'.
wa_layout-colwidth_optimize = 'X'.
* Calling function to raise event to display heading and icon above ALV
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = event[]
* EXCEPTIONS
* LIST_TYPE_WRONG = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Calling TOP_OF_PAGE Event
READ TABLE event WITH KEY name = 'TOP_OF_PAGE' INTO event_str.
IF sy-subrc = 0.
MOVE: 'TOP_OF_PAGE' TO event_str-form.
APPEND event_str TO event.
ENDIF.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-cprog
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
i_grid_title = 'ALV Test'
* I_GRID_SETTINGS =
is_layout = wa_layout
it_fieldcat = it_field
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
it_sort = it_sort
* IT_FILTER =
* IS_SEL_HIDE =
i_default = 'X'
i_save = 'X'
* IS_VARIANT =
it_events = event[]
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it1_sum
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form top_of_page
* text
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader[]
i_logo = 'ENJOYSAP_LOGO'
* I_END_OF_LIST_GRID =
* I_ALV_FORM =
ENDFORM. "top_of_page
Kind Regards,
Faisal -
How to set the bit length of the RSA key in ILOM?
It is possible to generate new SSH keys for the ILOM.
set /SP/services/ssh generate_new_key_type=rsa
set /SP/services/ssh generate_new_key_action=true
I noticed that the default length is 1024 bit. How to define a key with 2048 bits?Hi,
According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
Drill down into one of them and you'll see the option under the list of columns for that content type.
To apply the column order in the NewDocSet.aspx page, you need to:
Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
Content Types section, choose Refresh all published content types on next
update.
Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
More information:
http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to set the maximum heap size on a deployed application?
I�m running a fairly large java application and am getting java.lang.OutOfMemoryError. I could increase the heap size in my development environment to eliminate this error. However, I don�t know how to set this in a deployed application. We are currently using ant to build our software.
Another question, when I execute a statement such as java �Xmx512M �cp app.jar. Is it correct to say that the application in app.jar will use to a maximum of 512MB of memory when running?
Thank you everyone for your help!But first, when you say "a deployed environment" do you mean an executable .jar file? This is what I'm using.The term "deploy" is commonly used to refer to deploying an ear file or a war file on an application server.
I would assume that there is some entry you can include in the .jar's
Manifest.mf file to specify the maximum memory, but I can't find an example of the entry. <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6197671"></a> -
What happened to the maximum length option for user-created variables?
In previous versions, I got a field to specify the maximum size when adding a new variable. In Captivate 7 this feature seems to be really well hidden, and I can't find it. It seems to me that I must still be able to expand this from the default of 15 characters, because you can still have a text entry box of more than 15 characters and bind its value to a user-defined variable. But mine are being truncated. Any help would be appreciated.
Sorry, think you are bit confused. There was never a way to specify the maximum size of a variable when created, because that maximum size is 256. There is still a way to specify the length of a variable when inserting it in a text container (caption or shape) and it is in exactly the same location in CP7: when you insert the variable with the X button in the formatting accordion, in the dialog box. Previously maximum number of displayed characters was set at 15, now it is 50. If you have made a typo and talks about CP8 that same X is in Properties panel, Style tab, Character region:
-
How do I set up a page that a user can edit online?
I am setting up a simple website for a restaurant moxibistro.com. The client has asked me to set up a page for her "Weekly Special" She wants to be able to edit this page once a week with a different special. She doesn't have a mac so I'm thinking there has to be an online service that she could use for this page. Is there something that I could just embed the HTML of that page into iWeb and it will update as she changes it.
I was thinking maybe she could use sites.google.com but I don't know if I could embed the page contents into my site or how I would make the theme look consistent.
Any ideas?Basically, if your client does not have a Mac then don't use iWeb to create the site. iWeb is Mac only and if a client wishes to make alterations, then they need the domain file.
If your client needs to update on a weekly basis, then why not consider using one of the online website creation packages where you can log in from any Mac or PC. This would be simpler and there are lots out there - Microsoft Office Live or Google or something like http://www.wix.com where you can create a site and use a domain name with it.
Look at the alternatives before using iWeb. -
How to set the default settings for all users in 11.1.1.3
I have couple of questions
1. How can I change the default setting for all the users so that whenever they log in the planning takes them to the Task lists mode. Or is this a one time thing which they need to do individually ?
2. How can I set the defalut setting for all the users so that they can see the same page when they log into Workspace ?For workspace have a read of - http://docs.oracle.com/cd/E12825_01/epm.111/bpmui_admin/assigning_default_preferences.html
For planning you can't really set it without hacking tables.
Cheers
John
http://john-goodwin.blogspot.com/ -
What's the maximum speed that AirPort Extreme can share with Wifi?
The thing is that I am going to buy a new Wifi Router, but I was considering an AirPort Extreme from Apple but is not specify what's the maximum speed of Internet connection for the Wifi to share, I know that the limit might depend on my service provider, but I don't know what is the theoretical maximum of the AirPort Extreme, does anybody knows?
1,000 Mbps on an Ethernet connection
450 Mbps on a wireless connection, assuming you have a new computer and it has line of sight with the AirPort Extreme. Otherwise, the speed will be lower due to obstructions absorbing the signal.
Maybe you are looking for
-
How to delete the master records when corresponding details records exist.
What is the SQL statement to delete the records of master when the corresponding detail records are present. Note: No Cascade clause was used at the time of creation of referential integrity constraint. "M"- Master Table "D"- Detail Table I used, "De
-
How to check transport in Production environment
Hi, I did some standard configuration as OBYA (Intercompany automatic Posting clearing account) in development Box and get it transported to Production. I have to verify that the configuration I have done has been transported to Production Environmen
-
Control, Service and I/O Domains
I was wondering what others have been doing regarding the setup of Control, Service and I/O Domains. I assume most combine the Control and Service Domain? The I/O Domain is another story or not? If my system has 2 I/O buses do you have 2 I/O Domains?
-
I have the url's to the reports embedded in our entranet web page. The problem is anyone can do a view source and see passwords. How can i hide those userid's and passwords??
-
Unknown Computer in shared area
I'm probably posting this in the wrong place, so forgive me. I took my MBP into the Apple store to be repaired, and now I notice that when I look at the shared pane when I click on my macintosh HD, i see a computer there that wasn't there before. Whe