How to avoid special charecters in create user form

Hi all,
I am new to Sun IDM.Please u people have to help me in giving the solution.
Actually,in create user form ,we have first name and last name text fields.These two fields accept any special charecters.I want these fields to accept only alphabets.Do i need to create new rule for it?Please tell me the steps to be done to allow only alphabetic charecters in this fields.Thanks in advance,
regards,
suresh

Hi,
I should thank for the quick response u have done.But,still my problem was not solved.I did wat u hav said in the last reply...Now iam getting "1" in that create user form.I have send the XML code of the "isAlpha" and "Firstname"..Please check whether i have done any mistake..waiting for ur reply.
<Rule name='isAlpha'>
<Description>Tests to see if testStr is comprised of only alpha characters.</Description>
<RuleArgument name='testStr' value='testStr'/>
<block>
<defvar name='testList'>
<appendAll>
<rule name='Alpha Numeric Rules:AlphaCapital'/>
<rule name='Alpha Numeric Rules:AlphaLower'/>
</appendAll>
</defvar>
<containsAll>
<ref>testList</ref>
<rule name='Alpha Numeric Rules:stringToChars'>
<argument name='testStr' value='$(testStr)'/>
</rule>
</containsAll>
</block>
</Rule>
<Field name='global.firstname'>
<Display class='Text'>
<Property name='title' value='_FM_FIRSTNAME'/>
<Property name='size' value='32'/>
<Property name='maxLength' value='128'/>
</Display>
<Validation>
<rule name='Alpha Numeric Rules:isAlpha'>
<argument name='global.firstname'/>
</rule>
</Validation>
</Field>

Similar Messages

  • How to avoid special stock indicator for intercompany sales transitions.

    Hi Friends
    I have an issue Intercompany sales .if I  enter intercompany plant(Delivering plant) in the sales order system is taking special stock indicator and looking for sales order stock.
    If I enter company code plant for sales from unrestricted stock, system is not taking special stock indicator.
    Please advice how to avoid special stock indicator for intercompany sales transitions.
    Thanks in advance.
    SRK

    Ravi,
    Special stock is generally determined by the MRP strategy group in the material master of the plant against which you place your order.  The strateg(ies) contained in the strategy group will determine the SO requirements type, which will in turn determine whether or not the order is 'account assigned' (special stock).  
    It is normal to only have one strategy contained in a strategy group.  However (and I seldom recommend this) SAP will support multiple strategies within one strategy group.  In this case, you could have both MTS and MTO orders against the same plant/material, by manually altering the requirements type in the sales order.  This scenario is usually difficult for a planner, and involves additional manual attention to make everything work.
    I suggest that your first avenue is to change the Strategy group in the material master of the delivering plant to one that supports MTS.  This has a big impact in Controlling and in Production Planning, so ensure that all affected functional groups are aware of what you are doing, and of the resulting changes that they will experience.  The transition from MTO to MTS must be carefully controlled.
    If you are not a PP expert, I suggest you consult with your local PP expert before embarking on this change.
    Best Regards,
    DB49

  • Want to add a prepopulated User defined field in create user form

    Hi,
    I have an entity adapter which will perform a pre-insert check on the user group of the user logged in to the oim.
    If the logged in user belongs to a group say "IT ADMIN", another validation check will be imposed on the create user action performed by him.
    If not from "IT ADMIN" group then create user action will be handled normally.
    Now the catch is, how would I determine the group name of the user logged in from the adapter code I have written?
    I decided to keep an User defined field "Created by" in the create user form which will be non-editable and auto-prepopulated with the group name of the logged in user. This way I will be able to map the variable field from the User definition drop down list while mapping the adapter variables.
    May you please guide me how I can achieve this?
    Would highly appreciate suggestion/inputs.

    Thanks for all your replies!
    However I am still in dark.
    I tried to retrieve the groupname using tcUSerOperationsIntf. But iit tries to retrieve the group name of the user getting created.
    Please note, the group name I want is not of the user yet to get created, but that of the user creating it i.e., the logged in user.
    My requirement is to have this created_by field in the create user form already prepopulated with the group name of the logged in user.
    So that I can put a check based on this field value in the netity adapter.
    If the group is IT ADMIN then proceed with the validation.
    Else no validation required.
    In short, I want to know,how can I auto-prepopulate a UDF in Create USer form?

  • How to avoid submitting a page when tabular form rows are empty

    Hi,
    I have a master detail form in my application. There are 2 tables that are used Table A and Table B. Table A contains Ticket number and Table B refers to Table A through a foriegn key and Table B have columns like Date,Name, Age, ticket_id (that refers to the ticket_number of the Table A).
    This is how the application works:
    In a page there is a field for Ticket Number, once the user enters the Ticket Number and click Add Details, a tabular Form with 5 empty field appears... (Done through Page Process->Data Manipilation->Add Rows)
    This form contains fields Date, Name and Age. Once the user fills in all the details and click Submit button, the page is submitted. Whatever values that was entered is saved in Table B. Page Sucess message appears. This works fine.
    But once the Ticket Number is entered and Add Details is clicked, and without entering the values in the Tabular Form, if Submit button is clicked, there is no error showing up neither I see Page success message. But this should not be allowed. There should be some error showing up...
    Tabular Form Validations works only when user enters some values in the Tabular Form and click Submit. For the above scenario, where the form is untouched the validation doesnt work.
    How can I get this done? Any ideas?

    Hello Suzi,
    >> if (document.wwv_flow==null)
    The document.wwv_flow is an object representing the current form that was just rendered on your screen. As such, it can never be null.
    >> How to avoid submitting a page when tabular form rows are empty
    The correct way, especially for versions prior to APEX 4.0 is to use JavaScript, but for that, you need to know and understand how APEX generates your tabular form, HTML wise.
    To be very brief, APEX attached a unique ID to every updatable cell in the tabular form, using a certain pattern – each updatable column is getting a unique name (e.g. ‘f01’,’f02’ etc.) and the ID of a cell is a combination of this name with the serial row number the cell is on. For example, a cell on the third row in an updatable column called ‘f04’ will be given an ID of f04_0003. (More detailed explanation, with an example, can be found in my book).
    What you should do is to check these cells according to your validation policy (e.g. is all five row must be filled, is all the columns in a specific row must be filled, etc.).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Mandatory Attributes in Create User Form

    Hi All
    i want to make the mandatory fields in create user form (ie Organization name) as optional.
    For this i edited the FormMetada.xml file by making optional as true. (in the attribute reference for Organization field in User management section), as mentioned in the docs.
    Now when i try creating user, it shows me 'You do not have permissions to perform this operation' error.
    while when i give some value in the organization field, then it creates the user.
    please provide some pointers in this regard.
    Thanks.

    You MUST provide an organizatation name. There is a system entity adapter on the Users data object. You cannot avoid populating this.
    -Kevin

  • Gaps appear in IE 6 browser window for hidden fields in Create User form

    Hi,
    I need an urgent input on this one.
    I hid an OIM default attribute for users in the 'Create User' form by modifying clear_all_fields.js
    The field is hidden from the 'Create User' page fine!
    But if I open the page from Internet Explorer 6 it shows a gap in the place of the hidden field.
    For Mozilla 3.0.5 the gaps are not appearing.
    I tried removing these gaps by deleting the tags and the field in the clear_all_fields.js
    or, by reducing the dimension of the spacer.gif in GenerateCreateUserForm.jsp.
    But it reflected no change in the form look n feel.
    The requirement is to hide the fields and not remove them.
    Any suggestion as to what may be the way out?

    Thanks for the update Leonard. This would be an extremely useful plugin. I've been looking for it on http://labs.adobe.com/technologies/ under the plug-ins tab but have been unable to find it. It wasn't even there in the Pre-Release Programs. Is it located somewhere else or with a different name? Please let me know.
    Meanwhile, I've been trying to write my own VB script to get the button clicked. Here's what I've come up till now-
    FindText
    HiliteList.Add->CreateWordHilite->SetTextSelect->GetBoundingRect->PointToDevice
    The last function seems to be deprecated. Also there's nothing to connect the text highlighted by findtext with HiLiteList.Add. I guess
    I may have to use the JSO word search method.
    Any advice, as always, would be much appreciated.

  • How to rearrange field positions in the user form

    Hi all,
    I have added some fields to user creation form, i want to rearrange these fields (like i want to keep some fields which i created in the begining and some in the end ) .is it possible to rearrange the fields.If, can anybody help me by giving detailed steps.
    Thanks,
    Kishore.
    Edited by: user10457483 on Oct 22, 2008 4:08 AM

    To rearrange your User Defined Fields you just have to edit the "order" column in the UDF Form in Design Console.
    If you want to put an User Defined Field between the Default Fields, the process is a bit more complex:
    1) Set the field property VISIBLE to false.
    2) Open the FormMetadata.xml file (oim_server_home\xellerate\config\FormMetadata.xml).
    3) Declare your UDF there, just before the line <Form name="3"> (this is the create user form):
    (e.g.)
    <Attribute name="-1003" label="Country" displayComponentType="ComboBox" variantType="String" dataLength="1" map="USR_UDF_COUNTRY">
         <ValidValues lookupCode="Lookup.Country" selectionColumn="lkv_encoded"/>
    </Attribute>
    4) Finally add the reference to this field to the <Form name="3"> section, in the desired position:
    (e.g.)
    <AttributeReference editable="true" optional="true">-1003</AttributeReference>
    An important note is that (in my experience) this procedure only works for optional fields. I don't know why it fails when I do it with mandatory fields.
    Regards,

  • Add user validation in create user form during Configure User Object Classe

    Hi friends,
    I like to add a user validation code (javaScript or PL/SQL) into create user form during Configure User Object Classes.
    Is any way to pick user information and role assignment for validation in Portal side?
    or pre event in OID provisioning befor loading LDAP?
    We like to make a rols assignment validation. But portal does not have this function.
    TOM, Any suggestion?
    Thanks!!

    after study, portal form --LOVGroupSearch take a  role search and display user name  for select role.
    Who know we are can find system object LOVGroupSearch in portal or OID?
    the source SCR as /oiddas/ui/oracle/ldap/das/search/LOVGroupSearch?title=Role%3Fredirect=/oiddas/ui/oracle/ldap/das/search/LOVGroupSearch%3Ftitle=Role
    When we search a role and added it. selected role appears in form Search and Select:.
    When click role name in Search and Select form. system will display Group Members and group owner.
    Who can find behind codes for this form or samilar pl/sql codes?
    Thanks!!

  • Why doesn't default CREATE USER form show a "Check"  Page before submitting

    Hi
    Interesting question.
    When I create a User (using my Customized Create User Form), and I press SAVE, the Form is submitted immediately. There is no "stop-and-check" page, which allows one to review the entries made BEFORE submitting the form itself.
    For example : when EDITING or UPDATING a User, and you press "Save", the form is not submitted right away. Instead, a new page opens, where you can review the changes you made, to ensure that they are correct. In fact, at the bottom of this new page, there are 4 standard buttons : SAVE...........RETURN TO EDIT............CANCEL
    This is a very good system, because it allows you to check your entries, and make sure they are correct, before pressing SAVE again to submit.
    However, the "Create User" form does not have this same arrangement.
    Is there any way to customize the Form, so that, when creating a User, and you press SAVE, a "check-page" first shows up (just like when updating/editing a user) ?
    Thanks

    Hi
    Interesting question.
    When I create a User (using my Customized Create User Form), and I press SAVE, the Form is submitted immediately. There is no "stop-and-check" page, which allows one to review the entries made BEFORE submitting the form itself.
    For example : when EDITING or UPDATING a User, and you press "Save", the form is not submitted right away. Instead, a new page opens, where you can review the changes you made, to ensure that they are correct. In fact, at the bottom of this new page, there are 4 standard buttons : SAVE...........RETURN TO EDIT............CANCEL
    This is a very good system, because it allows you to check your entries, and make sure they are correct, before pressing SAVE again to submit.
    However, the "Create User" form does not have this same arrangement.
    Is there any way to customize the Form, so that, when creating a User, and you press SAVE, a "check-page" first shows up (just like when updating/editing a user) ?
    Thanks

  • Restrict list of Organizations on Create User form

    Running OIM 11.1.1.5.0.
    We have a couple of companies using our OIM for delegated administration. In the Create User form, if the user searches for an organization they see a list of all of our organizations not just the ones that they can place a user in.
    If they place a user in an organization that is not in their auth policy they receive an error:
    "You are either not authorized to create user in XXX organization or not authorized to create user in XXX organization without specifying a value for manager."
    Is there any way to restrict the list of organizations in the search to the list in their auth policy?

    I have have this:
    Company A
    -- Department A1 (although these are actually set as Organization type Company in OIM)
    -- Department A2
    Company B
    -- Department B1
    User Management Auth Policy for AdminA:
    -- Data Constraint - Users who are members of Department A1, A2
    But when AdminA uses Create User he gets a list of all Company and Department names in the Organization search popup.
    Do I take it from your reply that this is supposed to work and it's something that I have setup incorrectly then?
    Edited by: Ewan on May 4, 2012 7:37 AM

  • Cannot create user form portal

    Hi
    We have installed NW 2004 server on windows SPS9
    While creating user form portal , i am getting the following error:
    ##0#0#Error#1#/System/Security#Java###An exception was thrown in the UME/ABAP user management connector. Message: . --> #2#BAPI_USER_CREATE1@QSACLNT000: ID=01, NUMBER=491, MESSAGE=You are not authorized to create users in group#BAPI_USER_CREATE1@QSACLNT000: ID=01, NUMBER=491, MESSAGE=You are not authorized to create users in group#
    #1.5#000C295F1EB3004900000003000000B80004346CD09B385F#1183541868109#com.sap.security.core.persistence.datasource.imp.R3Persistence#sap.com/irj#com.sap.security.core.persistence.datasource.imp.R3Persistence.createPrincipalDatabag()#J2EE_ADMIN#313##pun45idmqa45vm1_QSA_5696050#Guest#104e58202a1211dcab81000c295f1eb3#Thread[PRT-Async 0,5,PRT-Async]##0#0#Error#1#/System/Audit#Java###An exception was thrown in the UME/ABAP user management connector. Message: . --> #2#BAPI_USER_CREATE1@QSACLNT000: ID=01, NUMBER=491, MESSAGE=You are not authorized to create users in group#com.sap.security.core.persistence.datasource.PersistenceException: BAPI_USER_CREATE1@QSACLNT000: ID=01, NUMBER=491, MESSAGE=You are not authorized to create users in group
                at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.handleBapiRet2Table(R3PersistenceBase.java:3136)
                at com.sap.security.core.persistence.datasource.imp.R3Persistence.doBapiUserCreateChange(R3Persistence.java:5265)
                at com.sap.security.core.persistence.datasource.imp.R3Persistence.doDispatchWrite(R3Persistence.java:3622)
                at com.sap.security.core.persistence.datasource.imp.R3Persistence.createPrincipalDatabag(R3Persistence
    Any clue what has to be dome to make it working
    Best Regards
    Manoj

    Hi Manoj,
    Looks like your Portal uses the ABAP backend system QSACLNT000 as the
    UME. Please ensure that the user being used to create other users in the portal
    has sufficient permissions in the backend system also.
    Regards
    Srikishan

  • How to handle special charecters in the payload

    Hi
       I'm getting special charecterstics  from R/3 side..   that is also some  large data .. but in XI side.. i have a single field..(that is STRING  data type) ..so it was thrwing message mapping exception...
       but  how can we handle that..  is there any limitation that XI  one field can handle this much of data only(limit) because I'm gettinng huge data  for example 24 kb  and 26 kb like that.. this all the data i want to load in a single field..
    and  this data also contain some special charecters.. how can we handle this  type of problems..
    Thanks
    babu

    Hi Babu
    have a look at this pdf for special character
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
    Read this page:
    http://en.wikipedia.org/wiki/Character_encodings_in_HTML
    for more details you can follow these two links
    http://mail-archives.apache.org/mod_mbox/xerces-j-dev/200004.mbox/%[email protected]%3Eerces-j-dev/200004.mbox/%[email protected]%3E
    http://en.wikipedia.org/wiki/Help:Special_characters
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    Regds
    Abhishek

  • How to assign the role for created user  thru dynpro App

    Hi All
    How to assign the role for currently created user from Webdynpro App.
    when i enter into the portal after creating the user
    i am getting the following messgae in the portal
    "No portal roles are assigned for this user.If this problem persists, contact your system administrator."
    how to assign the user defined role for the created user from dynpro App
    Regards
    Dhina  Kar J
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:19 PM
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:35 PM

    In the User Administration section of your portal find your newly created user and below select "Assigned Roles" tab then press <Modify> button and look through available roles on portal then just simply add and save. But if you want to do it programmatically see below:
    IUserAcountFactory userFactory = UMFactory.getUserAccountFactory();
    // IUser - read only but with IUserAccount is possible to set up user data
    IUserAccountSearchFilter userFilter = userFactory.getUserAccountSearchFilter();
    userFilter.setLogonUid("superuser", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult sr = userFactory.search(userFilter);
    for (final Iterator i = new PrincipalIterator(sr); i.hasNext();) {
      IUserAccount user = (IUserAccount) i.next();
    Execute the same search for IRole (or IGroup if needed) get the unique id of them and use newRole(...) and addUserToRole(...) methods from IRoleFactory.
    Of course you don't need search for this principals if you know uniqueness of them. Use appropriate factories to get'em all by this unique id.
    All the features see in  [javadocs|http://help.sap.com/javadocs/NW04S/current/se/index.html]

  • How to remove special Charecters

    Hi
    I have a internal table having text 900 charecters.
    Hacving Special Charecters also (like !,@,# etc)
    Here I need to remove all special charecters only from internal table itab.
    Can you please tell me the logic?

    REPLACE, FIND and SPLIT Statements sometimes doesnot work while Working on Special Characters.
    Instead Convert all the 900 characters into HEXADECIMAL codes and Replace the Special characters ( find Hex codes of each Special Character ) with Space(Hex code = 20) .
    After Replacing all the Special Characters , Convert all the Characters back to Normal Text.
    You can use the Function module ''HR_KR_STRING_TO_XSTRING' to Convert TEXT to Hexadecimal String  and
    FM 'HR_KR_XSTRING_TO_STRING' to convert back Hexadecimal String to TEXT format
    You can use the following link to find the Hex code of each Character
    http://scarlethamster.com/binary.html
    Thanks
    Shekar

  • How to Populate Database values in OIM user form

    Hi friends,
    I have created some groups in OIM and I have created a new field in OIM user form. Now i want the group values visible as new field values.
    How the database table values can be made visible in OIM field ..?
    please help me in doing it
    Regards
    sri

    Just follow this document and from fig 13 select LOV type as query.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/conf_mangmnt.htm
    Regards
    Shashank

Maybe you are looking for