How to truncate the first part of ID

My problem is this.
In my Service Request i have create a new field. I want that this field is the last 6 number of the N. SR
How do i do?
Sostantially if the N. SR is 485218-305439087 my field must be 439087(the last 6 number of N.SR).
Thank you
Regards Vale

The expression for the new field must be Left([<SRNumber>],6)
Regards Catalina Valadez

Similar Messages

  • How to truncate the first character of a field

    Hi Experts,
             I have a field say X which is having 3 characters say '123'. Now i have to pass only the last 2 values of X to another field Y. that is Y should contain only '23'. Can you please suggest the method to do it.
    Regards,
    Buvana

    Hi,
    You need to use as follows
    var = var+1(2).
    var = var+n(m)
    This means Read two(M) charachter(s) leaving the first one (N)character(s).
    Regards,
    Sesh

  • How to fetch the first part of string from a whole lenghty string

    Hi,
    I have a data like - ex1:
      Auto Update : 10/04/2014 08:04  NEW data: xxxx OLD data: yyyy Ack - etr03 : 10/04/2014 08:13
     Auto Update : 10/04/2014 15:24  NEW data1 :xxx  OLD data1: yyyy Auto Update : 10/04/2014 09:36  NEW data1: xxx1 OLD data1: yyy1 Auto Update : 08/04/2014 12:28  NEW data1: xxx2 OLD data1: yyy2 Ack - jmi08 : 10/04/2014 09:53 Ack -
    WWI13 : 10/04/2014 15:32
    I want to compare only NEW data: xxxx OLD data: yyyy or  NEW data1 :xxx  OLD data1: yyyy Auto Update : 10/04/2014 09:36  NEW data1: xxx1 OLD data1: yyy1 Auto Update : 08/04/2014 12:28  NEW data1: xxx2 OLD data1: yyy2with the same ste
    of value from another database but since I used substring I am getting even Ack - etr03 : 10/04/2014 08:13 value whose length changes for above 2 examples.
    USed substring to get NEW data1 :xxx  OLD data1: yyyy Auto Update : 10/04/2014 09:36  NEW data1: xxx1 OLD data1: yyy1 Auto Update : 08/04/2014 12:28  NEW data1: xxx2 OLD data1: yyy2 
    or
    NEW data: xxxx OLD data: yyyy
    but the ack part cannot be removed due to variable lenghts for each data hence could not compare this column between 2 databases. Any help would be highly appreciated.
    Thanks,
    Preetha

    HI ,
    THE INPUT IS
     EX 1:Auto Update : 10/04/2014 15:24  NEW data1 :xxx  OLD data1: yyyy Auto Update : 10/04/2014 09:36  NEW data1: xxx1 OLD data1: yyy1 Auto Update : 08/04/2014 12:28  NEW data1: xxx2 OLD data1: yyy2 Ack - jmi08 : 10/04/2014 09:53
    Ack - WWI13 : 10/04/2014 15:32
    EX 2: Auto Update : 10/04/2014 08:04  NEW data: xxxx OLD data: yyyy Ack - etr03 : 10/04/2014 08:13
    AND THE EXPECTED RESULT IS :
    EX1:NEW data1 :xxx  OLD data1: yyyy Auto Update : 10/04/2014 09:36  NEW data1: xxx1 OLD data1: yyy1 Auto Update : 08/04/2014 12:28  NEW data1: xxx2 OLD data1: yyy2
    EX2 : NEW data: xxxx OLD data: yyyy
    SINCE THE FILED LENGTH CHANGES I WANT TO WRITE A GENRIC QUERY WHICH FETCHES THE ABOVE DATA.I DO NOT WANT TO CREATE ANY TABLE
    Hi Preetha7,
    This make no sense. We cannot guess you database structure. 
    Please post DDL (Create table script)
    and DML (your current query)
    and expected output.
    For more info, please have a look at this thread:
    POSTING TIPS - Code, Images, Hyperlinks, Details
    Thanks!
    sqldevelop.wordpress.com

  • Previously, when I got a message notification on my iPhone, I could see the first part of the text. Now it just says "iMessage".

    Previously, when I got a message notification on my iPhone home screen, I could see the first part of the text. Now it just says "iMessage". How can I change this?

    Settings > Notifications > Messages > Show Preview > On.
    Also, check other settings on this screen. 
    Notifications can be a little confusing... this may help... http://www.imore.com/notification-center-ultimate-guide

  • Using Overdrive Media to down load a book from the library it starts ok but stops near the end of the first part I get no indication on ipod of download

    When using Overdrive Media to down load a book from the library it starts ok but stops near the end of the first part. I get no indication on the ipod of the book downloading. Is this a operating error or posable failure of the I pod.?

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Recording Audio Cuts off the first part of the region?

    Hi. When i record audio the regions show up after recording and i have to pull the beginning of the region back a bit so that i can see the full length of the audio recording. Its non destructive but very annyoing. How can i stop it doing this everytime? Thanks

    Thanks Mike for replying
    But the thing is; I want to perform a computation process on the list manager values to trim off the first part of the string. I have the dynamic lov for list manager. But when I insert/update list manager item values I don't want the first part of string in the database.
    Please help with the function. i was trying the below function but it doesn't work; errors out saying
    ORA-06550: line 16, column 14: PLS-00597: expression 'V_ARRAY_1' in the INTO list is of wrong type ORA-06550: line 17, column 9: PL/SQL: ORA-00904: : invalid identifier ORA-06550: line 15, column 7: PL/SQL: SQL Statement ignored
    {code}
    DECLARE
       v_array          apex_application_global.vc_arr2;
       v_array_1         apex_application_global.vc_arr2;
       v_string         VARCHAR2 (32767);
       BEGIN
       -- Convert delimited string to array
       v_array :=
          APEX_UTIL.
           string_to_table (:P3_LM_USES);
       FOR i IN 1 .. v_array.COUNT
       LOOP
          SELECT LTRIM (SUBSTR (v_array (i), INSTR (v_array (i), '..') + 2))
            INTO v_array_1
            FROM DUAL;
    v_string := HTMLDB_UTIL.table_to_string(v_array_1,':');
    apex_application.g_print_success_message := apex_application.g_print_success_message || v_string;
             END LOOP;
    RETURN (v_string);
    END;
    {code}
    Thanks,
    Orton

  • How to modify the coding part of KE30 reports ?

    How to modify the coding part of KE30 reports ,
    so that I can be able to restrict report output based on sales office.
    I am unable to find out the program name also.
    Regards
    Anubhav

    >
    Venkat Reddy wrote:
    > Hi,
    >
    > If u want to know the program running for KE30 just go to SE93 and give KE30
    > and click on display you can see the program running for KE30 will be SAPMKCEE.
    > I think this is much simpler :-).
    >
    > Rather than change the standard report try to prepared your own that will be more
    > comfortable since it will be complex task to achieve editing the standard program.
    > Good Luck
    >
    > Regards
    > VEnk@
    >
    > Edited by: Venkat Reddy on Dec 11, 2009 4:52 PM
    Venkat,your answer is much simpler If the OP knows there is a tcode Se93, what if he/she does not know it?? 
    P.S: Just a thought.
    Regards.
    Vishwa.

  • How to Capitalize the first letter or an entire word using a shortcut on the keyboard just like in microsoft that uses shift+F3

    please how can one How to Capitalize the first letter or an entire word using a shortcut on the keyboard just like in microsoft that uses shift+F3

    What do you mean there was "no effect?" I'm not aware of any effects.
    It looks like that Service is also in the App Store. From their screen shots, the services are prefaced with WordService:
    You can see an example in the App Store for their app: App Store
    After installing, you should now have those text services in your Services menu. You can then add shortcuts in the Keyboard System Prefs.
    Most Apple apps have a Transformations menu in the Edit menu. You can Make upper, lower, and Initial caps with those. I would stick with Word Services, but you can make Application Shortcuts for the items in the Transformations menu.
    Again, in Keyboard System Prefs, Under Applications, Click the Add button on the right side pane.
    Set it for All Applications
    Enter the menu command exactly as they appear in the Transformation menu (separate entries for each),
    Make Upper Case
    Make Lower Case
    Capitalize
    Give them a shortcut.

  • How to get the first day in the month from a domain date ?

    Hi,
    I like to know how to get the first day in the month from a domain date?
    Thanks
    Stephen

    Hi Gokul...
    Instead of using the funtion module you can just write the 3 statements of code to get the first day of the week.
    Its similar to the above one but instead of writing case statement you can achive the following.
    data : w_res type i,
             w_data type d,
    w_res = w_date mod 7.
    w_date = w_date - w_res.
    write w_date.
    This works.
    Regards,
    Siddarth

  • How  to  get the FIRST DAY OF THE CURRENT MONTH

    how to get the FIRST DAY OF THE CURRENT MONTH in oracle 9i.
    plzzzzz send immedaily.advance thanks

    TEST@test SQL> select trunc(sysdate,'MON') from dual;
    TRUNC(SYS
    01-OCT-06
    TEST@test SQL>                                  

  • I purchased a album and only the first part of each song plays, even though the entire length is listed  in the file properities. Any Ideas?

    I purchased a album and only the first part of each song plays, even though the entire length is listed  in the file properities. Any Ideas?

    Assuming you are in a region where you are allowed to redownload your past purchases, delete the current copies from your iTunes library and then download again from your purchased history. If the problem persists, or that facility is not available in your region, contact the iTunes Store support staff through the report a problem links in your account history.
    tt2

  • Apple Mail - how to get the first word in a sentence to auto-capitalize

    How to get the first word in a sentence to auto-capitalize
    Anwar

    something to look forward to then, because we get used not to use our shift button any more, since iPhone and iPad do it for us. entourage and other ms stuff do it. pages does it too now (put it on in the auto-correct in preferences). bizarre however some loose the capitalization when you copy the text. pages to stickies or mail does not. that's good !

  • How to get the first 4 chars form a var ?

    Hi guys,
    How to get the first 4 chars form a var ?
    i.e  temp type num20 value '00000000000012345678'.
    how to move the first 4 chars to another var?
    thx in advance.

    hi
    use OFFESTS..
    example:
    var1 = '12345678'.
    var2 = var1+0(4).
    now var2 conatins '1234'.
    thx
    pavan

  • How to include the first row of detail in every xquery transformed xml?

    I am dealing with a XML file,where i need to publish to different BS.
    First node will be a common node node which contains vital info,second node goes to one BS and third goes to another BS.
    *<header></header>*
    *<details></details> (they are unbounded, but the first detail tag which comes in the input file is a mandatory tag in such a way that it needs to be included in every transformed message)*
    *<trailer></trailer>*
    We need to apply x query transformation on it in such a way:
    *</header></header>*
    *<1st detail></1st detail>*
    *<detail></detail> (2nd row of detail in input file)* -------------------------> Goes to BS1
    *<trailer></trailer>..*
    *<header></header>*
    *<1st detail></1st detail>*
    *<detail></detail> (3rd row of detail in input file)* ----------------------------->Goes to BS2
    *<trailer></trailer>*..
    And so on.
    Now, the problem is how to include the first row( *1st detail* ) of detail in every xquery transformed xml?

    are you looping of this input with a for each?
    /yourdata/details[1] should return always the first detail element.
    or before the for each do an assing of this first detail element to "generic_details_var"
    and use this var in every looping iteration (in an assign or as input for xquery)

  • How to start the IR part in XI

    Hi All,
    How to Start the Design part in XI while Converting the PDF file into Text file using Module Processor?
    Pls let me know.......
    Regards,
    Govindu.

    Govind,
    If you want some changes to be done to the file like mapping etc then you need to have the IR setting done too.
    But if you are going to use XI as an FTP service you need no configuration on the IR except creating the Datatype , message type and message Interfaces .
    Take a look at this blog,
    <a href="/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp">XI in the role of FTP</a>
    Regards,
    Bhavesh

Maybe you are looking for

  • How do I download music to my phone from a family members playlist?

    Thank you

  • How do I find and copy all pictures to a thumb drive

    we have several old mac lap tops - I'd love to restore them all since they are getting SLOW.  How do I ensure I grab all movies and pictures and transfer to either a CD or thumb drive before restoring.  I'm nervous that I might delete / lose data.  T

  • IPod mini 1st Gen. Display problem

    Hello everybody! I've got a problem with my iPod mini display: In the last few weeks the display got brighter and brighter.. or should I say I lost the contrast? .. so now I can't see anything on the display. The iPod works very well but I have to us

  • Size of PR and PO attachments

    Dear All, I need to find out the table name where PR and PO attachments are stored as well as the current size of attachments that have been uploaded in the ECC system e.g. table size of 10 GB has 6 GB of procurement related documents (PR/PO attachme

  • I have a problem with software activation of dedicated channel partners.

    I have a problem with software activation of dedicated channel partners. I find in the portal software and serial number for activation, but when I enter the serial (after you log in with the adobe id) tells me that the serial number is not correct.