Last 2 characters

Hi Gurus,
I have a requirement to show only those values of an infoobject where,
First 2 characters are AB.I have written code for this and is working.
Additionally I need to show the values where the last 2 characters are PR.
How to write code for this part.
Please help.
Regards,
Sunita

Hi,
Write a simple code.
Suppose value is "ABCDPR".
DATA :V_CHAR type any,
            v_char1 type c,
            V_LENGTH type n.
v_lenght = strlen(v_char).
v_length = v_length - 2.
v_char1 = v_char+v_length(2).
This will give you the last two characters of the string.
- Jaimin

Similar Messages

  • Order by on the basis of last characters of the column

    hi
    i have this type of data in Column
    ABL - Allied Corp. services (XES) - Newyork
    ABL - Allied Corp. services (XES) - Chicago
    SBS - Logistics - Newyork
    ETC..
    As the last characters are for city and i want to perform order by on the basis of city.The naming convention is "the name always contain two hiphens(-)
    and the city name in the last".(means after second '-')
    Regards

    SQL> INSERT INTO dt_test VALUES('ABL - Allied Corp. services (XES) - Newyork');
    1 row created.
    SQL> INSERT INTO dt_test VALUES('ABL - Allied Corp. services (XES) - Chicago');
    1 row created.
    SQL> INSERT INTO dt_test VALUES('SBS - Logistics - Newyork');
    1 row created.
    SQL>
    SQL> select
    2 column_1
    3 FROM
    4 dt_test
    5 ORDER BY
    6 SUBSTR(column_1, INSTR(column_1,'-',1,2) + 2);
    COLUMN_1
    ABL - Allied Corp. services (XES) - Chicago
    ABL - Allied Corp. services (XES) - Newyork
    SBS - Logistics - Newyork

  • Swapping the first and last characters in a column

    Hi,
    Fairly new to T-SQL and i want to swap the first and last characters in a column.
    Thanks
    Umar Javed

    Likewise i have also tried your suggestion and i still seem to be getting errors:
    IF (@TYPE = 'SCRAMBLE')
    BEGIN
    DECLARE @SQLCOMMAND VARCHAR(2000)
    SET @SQLCOMMAND = 'UPDATE ' + @TABLENAME + ' SET ' + @VALUE +
    STUFF(STUFF(@VALUE,1,1,RIGHT(@VALUE,1)),LEN(@VALUE),1,LEFT(@VALUE,1))
    EXECUTE(@SQLCOMMAND)
    END
    Umar Javed
    Please post the errors.
    EDIT: Actually looking at your code this will bring errors:
    IF (@TYPE = 'SCRAMBLE')
    BEGIN
    DECLARE @SQLCOMMAND VARCHAR(2000)
    SET @SQLCOMMAND = 'UPDATE ' + @TABLENAME + ' SET ' + @VALUE + ' = STUFF(STUFF('+@VALUE+',1,1,RIGHT('+@VALUE+',1)),LEN('+@VALUE+'),1,LEFT('+@VALUE+',1))'
    PRINT @SQLCOMMAND
    EXECUTE(@SQLCOMMAND)
    END
    I've also added a print command so it will show you what the code looks like upon concatenation. It's much easier to debug this way.

  • Finding last characters with grep

    I am lousy with grep and didn't find the solution with google, so let's ask here (help me out, please...)
    I need to find last 7 characters of a paragraph and assign a character style "no break" to it. I know everything else, but what's the string to find the 7 last characters (incl. white spaces, digits and letters).
    Thanks in advance.

    try searching for .{7}$

  • Read last characters of file

    Hello everybody,
    I have got a question here, how to read the last bytes of a file.
    In my case, I have a file, and at the end of that file there is a MD5 hash. This hash is allways 128 Bit long (32 UTF8 Chars) so it is easy for me to find it. I know how to read the first 128 bytes, and also how to read the last bytes, by loading the file into NSData but this file might be very large so this is no option. The best way would be to take an NSFileHandle object, read out the last bytes and make a string out of it. I can go to the end of file with seekToEndOfFile butis there any way to go back from there? Can I say: go back 32 byte and read from there 32 byte into this NSData? And how. Or is there any othr solution?
    Thanks in advance, Jannes

    Be warned this statement is wrong:
    >This hash is allways 128 Bit long (32 UTF8 Chars)
    You cannot use UTF8-aware string functions to read or otherwise manipulate CRC numbers. It's a list of 32 8-bit unsigned characters (or any smaller set of larger memory units, providing you know the endianness of your reader). This is *pure* binary information, whereas UTF8 contains *character codes*. And not every binary number is a valid UTF8 code.
    Sent from my iPad

  • Read last characters from a file

    Hey All:
    i'm a novice when it comes to powershell- but this is what i'm trying to do.
    I have the following command-
    gwmi-classwin32_computersystem|selectName|out-filec:\computername.txt
    I want to then read the last three characters of the computername from the file. If there is a 'cleaner' approach
    please enlighten me.
    Thanks for all the help
    -Matlock

    Hi,
    Here's a method you can use:
    $name = (Get-WmiObject Win32_ComputerSystem).Name
    $shortName = $name.SubString($name.Length - 3)
    $shortName
    EDIT: Show on the draw, see Tommy's response above.
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • How to compare the first and last characters of strings?

    lets say we have a name column with values;
    c1
    Antu Anamentu
    Steven Smith
    Since A=A and U=U for the first value we need a TRUE and FALSE for the second value SQL. Is this possible to do with REGEXP functions on 10gR2.
    Thank you.

    Hi Frank,
    Just minor correction: REGEXP_LIKE (Name1, '^(.).*(.) \1.*\2$') ;
    Explanation: ^(.) =>^ specifies the next char is first char
                                . dot specifies single character
                               ()  defines group which can be backrferenced
                       .* => Any number of characters as we want only first and last character
                      (.)  => (.)space The space signifies that we want to remember last char of first word or char before space
                       \1 => It recalls first group which we saved for backreference using (.)
                       .* => Any number of chars
                      \2 =>  It recalls first group which we saved for backreference using (.)
                       $ => It specifies the char before this is last charHope it clarifies :)
    SQL> WITH t AS
    SELECT 'Antu Anamentu' Name1 FROM DUAL UNION ALL
    SELECT 'Steven Smith' Name1 FROM DUAL
    SELECT Name1
    FROM t
    WHERE REGEXP_LIKE (Name1, '^(.).*(.) \1.*\2$')  ;
    NAME1
    Antu Anamentu

  • The last characters of a string

    c:\tmp\peter
    c:\tmp\test01\antonia
    c:\test\olga
    I would like get the following:
    peter
    antonia
    olga
    Does anybody have an idea?

    what for are you replacing the beginning with a space first
    and then trimming it?
    SQL> with rt as
      2       (select 'c:\tmp\peter' str from dual union all
      3        select 'c:\tmp\test01\antonia' str from dual union all
      4        select 'aiyaiya' from dual union all
      5        select 'c:\test\olga' str from dual)
      6      select trim(replace(str, substr(str, 1, instr(str, '\', -1)), ' ')) str,
      7             replace(str, substr(str, 1, instr(str, '\', -1)), '') str,--just replace the beginning
      8             substr(str, instr(str, '\', -1) + 1) str--even easier
      9        from rt;
    STR                   STR                   STR
    peter                 peter                 peter
    antonia               antonia               antonia
    aiyaiya               aiyaiya               aiyaiya
    olga                  olga                  olga

  • Truncation of Heading characters when an ALV is exported to an excel sheet

    Hi All,
    I am facing a problem while printing an ALV output on to an excel sheet. In the header the last characters are being truncated in the excel.
    Now, I have the entire data in tb_output itab. So using REUSE_ALV*, i printed the output. Here comes the problem.
    I heard about LIST_FROM_MEMORY and LIST_TO_ASCI which can solve this problem. But not much sure how to use those. Whether I need to pass my itab tb_output into any of these?
    Please help me out from this problem.
    Thanks a lot.
    Regards,
    Seenu

    Hi!
    You have 2 options:
    1. Shorten your headings so that their length is LE to the fieldlength of the data they are displaying. E.g. for PO number maximum possible is 10.
    2. Try using the parameter OUTPUTLEN in the field catalog. You can increase this to be equal to the length of your column heading.
    Hope this helps.
    Cheers!

  • Special Character is last character.

    Greetings All, I am running Oracle 11g and I am leveraging Oracle Text. I understand how to use printjoins and how to query via "contains". I can successfully query for a period and get back the desired result if the period is embedded mid string: e.g.) "john.paul.jones". However, when a period is the last characters: e.g.) "john.paul.jones." I cannot get the query to return the desired record. I looked in the I$ table and could not find the token "john.paul.jones.", what was there was "john.paul.jones". It seems that Oracle Text did not persist the string with the terminating period? Any and all help would be greatly appreciated.
    L

    Look at the punctuations attribute of the lexer in the Text Reference [http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/cdatadic.htm#CCREF0218].
    If the overall nature of your text collection isn't regular sentences, then you could remove periods as a punctuation character -- that is, if your text collection is something like email addresses, where periods don't mean what they usually mean.
    If your collection is mainly regular sentences, and you don't want the period to be included as part of the token in most cases, you'll probably have to think about it in terms of processing the user's input -- that is, something like removing the trailing period from the search input in order to match what the tokenizer is doing to the raw text.

  • Setting characters to italic within a textframe -- two problems

    Hi!  I'm trying to set the font for specific characters (or words) to italics within the contents of a textframe.  The font I'm using is Helvetica.  The first problem is that when I try to set the .Italics property to TRUE, there is no effect, i.e., the text does not appear italicized.  For example:
              With tfrmTopLine2 '(This is a text frame object)
                    .Contents = "Harry met Sally"
                    .TextRange.CharacterAttributes.TextFont = appIll.TextFonts.Item("Helvetica")
                    .TextRange.CharacterAttributes.Italics = True
                End With
    The text does not appear italicized.  For the Helvetica font I'm using, the italics type face is named "Helvetica Bold Oblique".  I've tried referencing that font name but it doesn't work, i.e., the font remains unitalicized. 
    Now, assuming that I (we) can figure out how to set italics, then I need to change just specified characters within the text frame to italics.  In the example above, imagine that I wanted to just make the word "and" italics so that the sentence would read, "Harry met Sally".  I will always know the positions of first and last characters of the word to change and I have no problem looping through the relevant characters to make the change... ONCE I know what I need to do to make a character italics.
    Thanks for the help!!!
    Bob

    I solved this myself so thought I'd share what I learned.
    When setting a font to other than the default regular style of that font, you need to use the precise name of the sub font.  For example, I discovered I needed to use the following:
         appIll.TextFonts.Item("Helvetica-Oblique")
    The challenge is that I didn't know that precise name.  So I programmatically interrogated a textFrame that I had already set the font as I wanted it in Illustrator.  Basically, I wrote a textFrame to a Ai document, went into debug mode right after that, then manually changed the font to what I wanted it to look like, then did the following:
    MsgBox tfrmTextFrame.TextRange.CharacterAttributes.TextFont.Name
    That gave me the name I needed to refer to in code.

  • Comparing characters

    I'm trying to make a program that will have the user enter a string of code, and then compare the first and last characters of the string to each other
         String text=reader.readLine("Enter string of text ");
              System.out.println(text.length());
              int numsave=text.length();
              int savechar1=text.charAt(1);
              System.out.println(savechar1); 
              int savechar2=text.charAt(numsave);
              System.out.println(savechar2);The thought behind the length statement would be to have it check how long it is, and then since it would be the length, it would be the index for the last character as well, but apparently that doesn't fly in java because it gives me and error on that line when I compile it.

    it checks the first character with
    charAt(1), which spits out a number, whereas its
    looking for actual characters when using endsWithLook at where you assign the value of savechar1. Is there anything in your code that tells the program you want it to make savechar1 an int? The program will make the type of savechar1 to be exactly what you tell it to be.
    Edit: I guess that's not what you were worried about. However, you would have found debugging to be much easier if you could see the actual charcter returned by charAt(1), instead of just the int representation
    As for using "endsWith", if you take a look at the charAt(int i) method in String, you'll see that it tells you the index numbers of the first and last characters in the String. What is the index number of the first character? (It's not 1 like you're saying above). What is the index number of the last character compared to String.length()?
    Edit: Oh, I guess Gino went ahead and told you straight out what the indexes should be.
    Message was edited by:
    Asbestos

  • Upload tab-delimited file from the application server to an internal table

    Hello SAPients.
    I'm using OPEN DATASET..., READ DATASET..., CLOSE DATASET to upload a file from the application server (SunOS). I'm working with SAP 4.6C. I'm trying to upload a tab-delimited file to an internal table but when I try load it the fields are not correctly separated, in fact, they are all misplaced and the table shows '#' where supposedly there was a tab.
    I tried to SPLIT the line using as separator a variable with reference to CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB but for some reason that class doesn't exist in my system.
    Do you know what I'm doing wrong? or Do you know a better method to upload a tab-delimited file into an internal table?
    Thank you in advance for your help.

    Try:
    REPORT ztest MESSAGE-ID 00.
    PARAMETER: p_file LIKE rlgrap-filename   OBLIGATORY.
    DATA: BEGIN OF data_tab OCCURS 0,
          data(4096),
          END   OF data_tab.
    DATA: BEGIN OF vendor_file_x OCCURS 0.
    * LFA1 Data
    DATA: mandt  LIKE bgr00-mandt,
          lifnr  LIKE blf00-lifnr,
          anred  LIKE blfa1-anred,
          bahns  LIKE blfa1-bahns,
          bbbnr  LIKE blfa1-bbbnr,
          bbsnr  LIKE blfa1-bbsnr,
          begru  LIKE blfa1-begru,
          brsch  LIKE blfa1-brsch,
          bubkz  LIKE blfa1-bubkz,
          datlt  LIKE blfa1-datlt,
          dtams  LIKE blfa1-dtams,
          dtaws  LIKE blfa1-dtaws,
          erdat  LIKE  lfa1-erdat,
          ernam  LIKE  lfa1-ernam,
          esrnr  LIKE blfa1-esrnr,
          konzs  LIKE blfa1-konzs,
          ktokk  LIKE  lfa1-ktokk,
          kunnr  LIKE blfa1-kunnr,
          land1  LIKE blfa1-land1,
          lnrza  LIKE blfa1-lnrza,
          loevm  LIKE blfa1-loevm,
          name1  LIKE blfa1-name1,
          name2  LIKE blfa1-name2,
          name3  LIKE blfa1-name3,
          name4  LIKE blfa1-name4,
          ort01  LIKE blfa1-ort01,
          ort02  LIKE blfa1-ort02,
          pfach  LIKE blfa1-pfach,
          pstl2  LIKE blfa1-pstl2,
          pstlz  LIKE blfa1-pstlz,
          regio  LIKE blfa1-regio,
          sortl  LIKE blfa1-sortl,
          sperr  LIKE blfa1-sperr,
          sperm  LIKE blfa1-sperm,
          spras  LIKE blfa1-spras,
          stcd1  LIKE blfa1-stcd1,
          stcd2  LIKE blfa1-stcd2,
          stkza  LIKE blfa1-stkza,
          stkzu  LIKE blfa1-stkzu,
          stras  LIKE blfa1-stras,
          telbx  LIKE blfa1-telbx,
          telf1  LIKE blfa1-telf1,
          telf2  LIKE blfa1-telf2,
          telfx  LIKE blfa1-telfx,
          teltx  LIKE blfa1-teltx,
          telx1  LIKE blfa1-telx1,
          xcpdk  LIKE  lfa1-xcpdk,
          xzemp  LIKE blfa1-xzemp,
          vbund  LIKE blfa1-vbund,
          fiskn  LIKE blfa1-fiskn,
          stceg  LIKE blfa1-stceg,
          stkzn  LIKE blfa1-stkzn,
          sperq  LIKE blfa1-sperq,
          adrnr  LIKE  lfa1-adrnr,
          mcod1  LIKE  lfa1-mcod1,
          mcod2  LIKE  lfa1-mcod2,
          mcod3  LIKE  lfa1-mcod3,
          gbort  LIKE blfa1-gbort,
          gbdat  LIKE blfa1-gbdat,
          sexkz  LIKE blfa1-sexkz,
          kraus  LIKE blfa1-kraus,
          revdb  LIKE blfa1-revdb,
          qssys  LIKE blfa1-qssys,
          ktock  LIKE blfa1-ktock,
          pfort  LIKE blfa1-pfort,
          werks  LIKE blfa1-werks,
          ltsna  LIKE blfa1-ltsna,
          werkr  LIKE blfa1-werkr,
          plkal  LIKE  lfa1-plkal,
          duefl  LIKE  lfa1-duefl,
          txjcd  LIKE blfa1-txjcd,
          sperz  LIKE  lfa1-sperz,
          scacd  LIKE blfa1-scacd,
          sfrgr  LIKE blfa1-sfrgr,
          lzone  LIKE blfa1-lzone,
          xlfza  LIKE  lfa1-xlfza,
          dlgrp  LIKE blfa1-dlgrp,
          fityp  LIKE blfa1-fityp,
          stcdt  LIKE blfa1-stcdt,
          regss  LIKE blfa1-regss,
          actss  LIKE blfa1-actss,
          stcd3  LIKE blfa1-stcd3,
          stcd4  LIKE blfa1-stcd4,
          ipisp  LIKE blfa1-ipisp,
          taxbs  LIKE blfa1-taxbs,
          profs  LIKE blfa1-profs,
          stgdl  LIKE blfa1-stgdl,
          emnfr  LIKE blfa1-emnfr,
          lfurl  LIKE blfa1-lfurl,
          j_1kfrepre  LIKE blfa1-j_1kfrepre,
          j_1kftbus   LIKE blfa1-j_1kftbus,
          j_1kftind   LIKE blfa1-j_1kftind,
          confs  LIKE  lfa1-confs,
          updat  LIKE  lfa1-updat,
          uptim  LIKE  lfa1-uptim,
          nodel  LIKE blfa1-nodel.
    DATA: END   OF vendor_file_x.
    FIELD-SYMBOLS:  <field>,
                    <field_1>.
    DATA: delim          TYPE x        VALUE '09'.
    DATA: fld_chk(4096),
          last_char,
          quote_1     TYPE i,
          quote_2     TYPE i,
          fld_lth     TYPE i,
          columns     TYPE i,
          field_end   TYPE i,
          outp_rec    TYPE i,
          extras(3)   TYPE c        VALUE '.,"',
          mixed_no(14) TYPE c        VALUE '1234567890-.,"'.
    OPEN DATASET p_file FOR INPUT.
    DO.
      READ DATASET p_file INTO data_tab-data.
      IF sy-subrc = 0.
        APPEND data_tab.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    * count columns in output structure
    DO.
      ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      columns = sy-index.
    ENDDO.
    * Assign elements of input file to internal table
    CLEAR vendor_file_x.
    IF columns > 0.
      LOOP AT data_tab.
        DO columns TIMES.
          ASSIGN space TO <field>.
          ASSIGN space TO <field_1>.
          ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
          SEARCH data_tab-data FOR delim.
          IF sy-fdpos > 0.
            field_end = sy-fdpos + 1.
            ASSIGN data_tab-data(sy-fdpos) TO <field_1>.
    * Check that numeric fields don't contain any embedded " or ,
            IF <field_1> CO mixed_no AND
               <field_1> CA extras.
              TRANSLATE <field_1> USING '" , '.
              CONDENSE <field_1> NO-GAPS.
            ENDIF.
    * If first and last characters are '"', remove both.
            fld_chk = <field_1>.
            IF NOT fld_chk IS INITIAL.
              fld_lth = strlen( fld_chk ) - 1.
              MOVE fld_chk+fld_lth(1) TO last_char.
              IF fld_chk(1) = '"' AND
                 last_char = '"'.
                MOVE space TO fld_chk+fld_lth(1).
                SHIFT fld_chk.
                MOVE fld_chk TO <field_1>.
              ENDIF.       " for if fld_chk(1)=" & last_char="
            ENDIF.         " for if not fld_chk is initial
    * Replace "" with "
            DO.
              IF fld_chk CS '""'.
                quote_1 = sy-fdpos.
                quote_2 = sy-fdpos + 1.
                MOVE fld_chk+quote_2 TO fld_chk+quote_1.
              ELSE.
                MOVE fld_chk TO <field_1>.
                EXIT.
              ENDIF.
            ENDDO.
            <field> = <field_1>.
          ELSE.
            field_end = 1.
          ENDIF.
          SHIFT data_tab-data LEFT BY field_end PLACES.
        ENDDO.
        APPEND vendor_file_x.
        CLEAR vendor_file_x.
      ENDLOOP.
    ENDIF.
    CLEAR   data_tab.
    REFRESH data_tab.
    FREE    data_tab.
    Rob

  • Error in Service desk message

    Hi
    I am facing one error in Service desk related to message text .
    Some of the characters of message entered by the customer is getting truncated when we see the message details in the transaction data tab in the service desk. Due to this we are not getting the full description of the support message.
    Is any note is available for this?
    Best regards
    Sarang

    Hi
    Please find the reply in Bold :
    What Sol Man release are you workin on?
    SAP Solution Manager 4.0
    What kind of characters get truncated?
    General message characters (English alphabets)... is this because of length constraint?
    Are you working on a unicode system?
    Yes
    Does this happen while creating messages from a satellite system or from within Sol Man?
    When user creates messge in SAP ECC 6.0 , then the sme of the last characters of each row gets truncated.
    Best regards
    Sarang

  • Issue with splitting string into multiple lines

    Hi Experts,
    I have a long string s. I want to split this string into several lines each having 72 characters. For this I have done following programming:
         String s = "For the first time it includes a supplementary report attempting to determine if extreme weather
    events can be linked to human-induced climate change. The research team, including members
    of the UK Met Office, identified recent episodes of extreme weather then used a computer to
    estimate the likelihood of the episode happening in a world without increased CO2." ;
         s = s.replaceAll("[\r\n]+", " ");
         char[] sAr = s.toCharArray();
         AbstractList RecepitsList7 = new Bapitrtext.Bapitrtext_List();;
         int start = 0; // start with
         int i = 72 ;
    //     for (int i = 71; i < sAr.length; i++) {
    while (i < sAr.length) {
    //     {     if (sAr[i] == ' ')
                   Bapitrtext Recepits7 = new Bapitrtext();
                   Recepits7.setTextid("TEXT");
                   Recepits7.setTextline(s.substring(start, i).replaceAll("[\r\n]+", ""));
                   RecepitsList7.add(Recepits7);
                   start = i+1;
                   i += 72;
         input.setText(RecepitsList7);
    The output of program is as below:
    For the first time it includes a supplementary report attempting to dete
    mine if extreme weather events can be linked to human-induced climate
    hange. The research team, including members of the UK Met Office, iden
    ified recent episodes of extreme weather then used a computer to estim
    te the likelihood of the episode happening in a world without increased
    Here as we can see last characters are getting deleted by program. For example in first line
    determine 'r' is missing in extreme right.
    In 3rd line c is missing in extreme left (word change is needed. Program
    prints hange.
    Also in 3rd line extreme right 't' is missing
    Also in 4th line extreme right 'a' is missing
    Also the last line is not being printed. In last line "CO2." " should appear.
    There are two issues:
    1. Why last word of each sentence is not being printed?
    2. Why last sentence is not being printed?
    I am struggling since last 2 days. Please help. I made all changes like replacing 72 by 71 etc.
    By making such changes, I am able to print first line correctly. However under all cases
    last character of 2nd line onward is not getting displayed.
    Also last line is not getting displayed. I did every thing like using while instead of for loop etc.
    Kindly help.
    Regards,
    Gary
    Edited by: 945655 on Jul 10, 2012 11:39 PM

    String s = wdContext.currentContextElement().getExpense_Text();
         s = s.replaceAll("[\r\n]+", " ");
         char[] sAr = s.toCharArray();
         AbstractList RecepitsList7 = new Bapitrtext.Bapitrtext_List();;
         int start = 0; // start with
         int i = 72;
    while (i < sAr.length) {
                   Bapitrtext Recepits7 = new Bapitrtext();
                   Recepits7.setTextid("TEXT");
                   System.out.println(s.substring(start, i));
                   RecepitsList7.add(Recepits7);
                   start = i+1;
                   i += 72;
         input.setText(RecepitsList7);
    Edited by: 945655 on Jul 11, 2012 2:25 AM

  • Error in service desk while message processing.

    Dear Basis Guru,
    I have tried to configure the standarad servie desk scenario in solution manager 7.0 EHP1 stack 22.
             The end users are able to raise the message ( both without sap gui and from sap gui )
             Messages are properly getting routed to support teams.
             Message processesor is able to process the mesage ( can reply , can change the status of message ) from sap gui    only .
    But message processor is not able to process the message without sap gui ( thorough web link ).
    Link - http://solprodhml.hmldm.com:8003/sap/bc/webdynpro/sap/ags_workcenter?sap-client=113
    When mssage processor try to change status or propiry through web link following error occurs .
    The URL http://solprodhml.hmldm.com:8003/sap/bc/webdynpro/sap/ags_incident_trans was not called due to an error.
    Note
    The following error text was processed in the system HSP : Could not find attribute ATTR_00000001
    The error occurred on the application server SOLPRODHML_HSP_03 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE of program CL_WDR_CONTEXT_ELEMENT========CP
    Method: UPDATE_BP_EVENT of program /1BCWDY/B33K1JXKX4WX14T8Y3RC==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/B33K1JXKX4WX14T8Y3RC==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: FIRE_EVENT of program CL_WDR_COMPONENT==============CP
    Method: IFWDR_INTERNAL_API~RAISE_EVENT of program SAPLWDR_RG_PROXY_FACTORY
    Method: IF_COMPONENTCONTROLLER~FIRE_UPDATE_BP_DETAIL_EVT of program /1BCWDY/B33K1JXKX4WX14T8Y3RC==CP
    Method: REFRESH_ONE_ORDER_OBJECT of program /1BCWDY/B33K1JXKX4WX14T8Y3RC==CP
    Method: IF_COMPONENTCONTROLLER~REFRESH_ONE_ORDER_OBJECT of program /1BCWDY/B33K1JXKX4WX14T8Y3RC==CP
    In system st22 shows following dump : -
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WD_CONTEXT
    Client.............. 113
    User................ "KPIT_PR2"
    Language Key........ "E"
    Transaction......... " "
    Transactions ID..... "2A02CFE040A5F108B31F18A905457F24"
    Program............. "CL_WDR_CONTEXT_NODE_INFO======CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "192.168.0.145"
    Caller Port........... 8003
    Universal Resource Id. "/sap/bc/webdynpro/sap/ags_incident_trans"
    Please help
    Thanks,
    Rusi123

    Hi
    Please find the reply in Bold :
    What Sol Man release are you workin on?
    SAP Solution Manager 4.0
    What kind of characters get truncated?
    General message characters (English alphabets)... is this because of length constraint?
    Are you working on a unicode system?
    Yes
    Does this happen while creating messages from a satellite system or from within Sol Man?
    When user creates messge in SAP ECC 6.0 , then the sme of the last characters of each row gets truncated.
    Best regards
    Sarang

Maybe you are looking for

  • How can I email Facebook images from Firefox?

    As a computer support person, I've switched many people from other browsers to Firefox, often touting that the Firefox interface is most similar to Internet Explorer than the other choices. This client's issue stumped me, however, and I haven't been

  • Condition in trigger

    Dear All, I wrote a trigger and i used conditions, but it doesn´t work. i use oracle 11g . would you please recorrect it? thanks, if u need i can provide trable information but i just want to correct it syntactically.tnx. i want to check, if the popu

  • How to FTP file and extract the zip file automatically?

    Hi, My app needs to FTP another site and also automatically unzip the transferred file over the internet by user clicking on one button. Any experts? thanks.

  • How to Select the last price of parts

    Hi Gents, I have below table   TranNum | TranDate | PartNum | Price 1             | 1/1/15    | 111        | 5 2             | 1/5/15    | 212        | 7 3             | 1/7/15    | 111        | 4.5 4             | 1/8/15    | 212        | 6 5      

  • Characteristic restriction

    Hello Experts, In our current BI7.0 security landscape we are facing an authorisation problem. The user executes a particular report the report gets executed properly, but when the user tries to drilldown on a characteristic (say:- salesrep) the user