How to select a field containing only alphabet.

Post Author: tantk
CA Forum: General
I want to select records with only alphabet in a field.
Can't seem to find any finctions to do this in CR XI.
e.g Reference ID
ABCXYS - Select this record
173839S - Don't select
UDHHW12 - Don't select
173746 - Don't select
Thanks for the help in advance.

Post Author: SKodidine
CA Forum: General
There might be an easier way but I just cant think of it right now.  Here is a way to get you started.
Create a formula with:
numbervar i;numbervar a := 0;//for i := 1 to length({table.refid}) do(if not({table.refid}[i] in chrw(65) to chrw(122)) then a := a + 1;);//if a = 0 then 'true' else 'false';
Place this formula in the report header and suppress it.  Then in your record selection criteria place this line:
{@yourformula} = 'true'
This should fetch only those records that either have a space or all alphabets for the refID.

Similar Messages

  • Validation Rule - Should contain only alphabets and can be upto 4 characters long

    Hi, I am using MDS 2012 and want to create a business rule for data validation which says,
    "Should contain only alphabets and can be up to 4 characters long". How can I create such a rule in MDS? Also the Code and Name attributes are 250 characters by default. How to restrict them to 4 characters if business need them to be 4 or
    less character?
    Any help appreciated.
    Thanks, Ashish Singh

    When creating a business rule, under Actions there is "Must be maximum length of" and "must contain patern".
    See:
    http://technet.microsoft.com/en-us/library/ff487015.aspx

  • How to check postal code contains only 0 to 9

    Hi all,
    How to check postal code contains only 0 to 9
    thank you

    Hi
    Check the below link.It may help you out.
    http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    Cheers,
    Hakim
    mark all useful answers

  • How to select a web container in Identiy Manager IDE 8.1 (8.1.0.20080630).

    Hello.
    I'm testing Identity Manager IDE 8.1.0.20080630.
    How to select a web container ?
    If registered one Server in NetBeans and select it, however such GlassFish v3 and others is resterd, I could not choose which one.
    Anybody solved this issue?
    thanks.

    Please refer
    http://www.netbeans.org/kb/60/web/customer-book.html

  • Can the encrypted string contain only alphabets?

    Hi friends,
    I have problem with the encryption. I am using Des .
    I want to get the encrypted string which contains only alphabets ( no digits or no special characters).
    Help appreciated.
    Thanks.

    Within the Java Cryptographic Extension (JCE), encryption works on bytes and generates bytes. You can convert any arbitrary String to bytes using one of the String.getBytes() methods (preferably the one where you define the encoding to use). The way you restrict what the plane text String contains is up to you.
    The JCE produces secure encryption based on well tested algorithms.
    The tone of your question implies that all you want to do is have a simple substitution cipher. The is very VERY VERY insecure and can be broken by a 2 year old. Use the JCE.

  • How to make form field read only for users with certain permissions

    We need to make two form fields read only for users with certain permissions. Kindly guide me on how to do this in Infopath. I searched and there is an option to disable to the column, but no option to select user permissions. 
    Please give your suggestion on this. 
    thanks.

    Hi,
    See the link below:
    http://info.akgroup.com/blog-0/bid/69277/InfoPath-Restrict-visibility-to-users-in-a-SharePoint-Group
    Here you can add the fomatting action on the field to disable the field if those users belong to certain Sharepoint group (does not matter the permission levels though). Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Making selection-screen fields output only

    Hi all and thanks for the quick replies to my last question!
    Here comes another one: Does anyone know how to display a parameter field in a selection screen as output only?
    Thanks
    Magnus

    hi Magnus,
       Check event AT SELECTION-SCREEN OUTPUT.
    <b>PARAMETERS: P_MNTH RADIOBUTTON GROUP H1 USER-COMMAND ABC DEFAULT 'X'</b>
                                                             MODIF ID ABC.
    <b>AT SELECTION-SCREEN OUTPUT.
      IF P_DETA = 'X' OR P_STRT = 'X'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'ABC'.
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.</b>
    Regards,
    santosh
    Message was edited by: Santosh Kumar P

  • Urgent......  how to select few fields, from database table, (dynamic ita.)

    Dear all experts,
    I am able to populate all fields data from database table, using dynamic table creation.
    eg,
    SELECT *    FROM (w_tabname)    INTO    TABLE <t_itab>.
    where w_tabname is the table name given by the user, and t_itab is field symbol.
    but some requirement is like that i need to pick up only few fields, <b>which user will give at the runtime.</b>
    <b>I can</b> take those fields from file into any internal table,
    but the problem is that instead of <b>select *</b>, i need to put selected the fields given by user.
    i have tried with field symbol, it is not working (as per my knowledge.)
    do i need to create any structures dynamically ?
    Can anybody please help in this regards ?
    Your help will be surely rewarded with points.
    Waiting for reply..
    Regards
    Vinay

    Hi Vinay ,
    Adding to the below code , you can use some more fields in the select stmt as below:-
    REPORT ychatest.
    PARAMETERS : p_field1 LIKE dd03l-fieldname,
                             P_field2 LIKE dd03l-fieldname,
                             p_table LIKE dd03l-tabname.
    FIELD-SYMBOLS : <fs> TYPE STANDARD TABLE.
    SELECT (p_field1) (p_field2) ( FROM (p_table) INTO TABLE <fs>.
    Now p_field1 & p_field2  belong to the same table since you have give the user to enter only one table name.
    This should work fine.
    please try & let me know .
    Thanks & Regards,
    Daniel

  • How to select and print calls only made and receiv...

    how to select and print out list of calls made and received for the past year, between myseld and one particular contact

    While I'm not sure about what you want to accomplish, I'll offer a couple of possible solutions.
    1. If the items that you want to remove are on the timeline, and those items are in layers that contain no content that you want to keep, then you can just select those layers and delete them.
    2. If you want to remove some items from the stage, but keep the original items for some later purpose, just copy the movie and then edit the copy as in item 1.
    3. If you need to remove some items from stage and then resize the stage to compensate for the loss of these items, then you may have to move and/or resize some of the items in your movie. This may be as simple as using the "edit multiple frames" selection in the timeline, or it may be much more time consuming.

  • How to select this field  for the extractor?

    Hi Gurus, I hope you are fine!
    I need to extract the field     PRED_OPPT_GUID   form the Data source  0CRM_SRV_CONTRACT_H inside CRM system.
    If I go inside CRM to:   
    Transaction SBIW -> Settings for BW Adapter -> Maintain DataSource and Enhance BW Adapter Metadata ->
    tipe "0CRM_SRV_CONTRACT_H" and press change buttom -> Mapping TAB
    there I can see the field I need "PRED_OPPT_GUID"  but this is not selected at the "BW Selection" Column , I guess this is the cause why I am not receiving this field from the extractor, Am I right?
    If yes, How can I select this field  for the "BW Selection" Column? (the system does not allow me to click it directly)
    if not, what is the proper procedure if I need to extract this field ? because this is the key field  for  the DSO 
    " Service Orders: Header Data "
    Thanks

    This is what i can see inside the  ROOSFIELD table:
    Filtered by data source = 0CRM_SRV_PROCESS_H
    Comparison with another field:
    BILL_TO_PARTY  (working properly)    columns:        SELECTION = X              NOTEXREL= Y
    PRED_OPPT_GUID (Not working)           columns:        SELECTION = (Empty)    NOTEXREL= Y
    I think that if I try to change the Selection field to X it will cause inconsistencies with the SMOXRELP table am I right ?
    I tried to change using the system and not directly into the tables, but thaere was an inconsitecie between these 2 tables.
    Why is no able this field taking into account that this is the KEY FIELD inside the standard DSO? it has no sense to me.
    What do you think?
    regards.

  • How to Identify whether string contains only numbers

    Hi Experts,
    How to identify whether a string contains only numbers...
    Thanks & Regards,
    Neeraj.

    Hi Neeraj,
    ISNUMERIC(String_Field)
    The above function returns '0' for non-numerics and
    '1' for numeric
    Hope this helps.
    Regards,
    Bala

  • How to select a field in R/3 in a datasource

    Hi all,
    I have a generic datasource ZDS_TIMECO in R/3 and there are few fields already selected.
    Now, I need to select one more field WORKDATE which is there in the datasource in grey color. I tried to select this in Change mode but it is still showing grey and I am not able to select this. This data source is not attached to any transport request or task as well.
    Pls help on this urgently.....
    Thanx in advance!!!

    Hi Chandran,
    Yes. I want to select this field in selection for Infopack. but its grey in datasource and not allowing me to select the same in datasource in R/3 and hence there is of no use to replicate datasource in BW.
    Pls advice...

  • Column alias to select all fields in only one table in a join

    Hi,
    Please can you tell me if it is possible to use something like "SELECT a*" to select all fields in table a when using a join to join 2 tables e.g a and b? Instead of using "select acomlumn1 acomlumn2 acomlumn3" etc.
    Thanks and Regards.

    HI,
    It is not possible... You have to specify all the fields you want to select with the tilde '~' symbol...
    or,
    The other solution can be to fetch all the fields from the first table and use 'For all entries' of this table to fetch all fields from the other table...
    Edited by: sneha singhania on Jun 23, 2009 3:01 PM

  • How to select number field starting with 99

    Hi Freinds-
    I have to pick values for a number field  but  i want only those values which starting with 99 
    how i can put code in select query for this ?
    Regards
    Meeta & Ruby

    Hi,
    Use the query as:-
    select
       <field1>
       <field2>
    from <database_table>
    into table <internal_table>
    where
       <field_name> like '99%'.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • How to make report that contains only summaries?

    How to make a report in Designer/2000 that shows only summary fields? For example something like:
    select count(*) from emp;
    null

    How to make a report in Designer/2000 that shows only summary fields? For example something like:
    select count(*) from emp;
    null

Maybe you are looking for