Hex equelent of Char?

Hi Experts,
I need some inputs to do SAP upgrade from 4.& to ECC 6.0.
Generally the steps involved in the Upgrade project?
What is the role of ABAPer in Upgrade project?
What us the role og Functional consultant in project?
How the configuration kind of stuff take care?
Can anyone send me the best document to understand the process..?
Regards,
Sekhar.J

ABAP:
The most important things are:
SPAU list: Go through all the custom developments in the standard SAP code. Implement them again.
SPDD: During the activation fase some errors might occur. Like for example indexes that are not useful anymore. Standard SAP elements that no longer exist. Attention: create ONE transport that contains all the SPDD changes. For some reason you cannot import more than one transport in the shadow environment.
Unicode changes (if required).
Maybe cleanup of Z development
Obsolete functions, statements may need to be replaced (there is a document about these, search for Obsolete ABAP Language Constructs).
List of activities we had to perform (just a quick overview):
In weeks preceding the Upgrade
Create manual for Upgrade / Unicode upgrade
Create checklist for developers for the upgrade
Create Master list of used programs for use during the upgrade
Remove open transports in acceptance/production, remove open repairs in development
Check SAP - ASU guides for steps before and after the upgrade
Inventorize z object part of the Production System
Creation of list containing executable programs and business processes
Finding useful notes for the Upgrade
Note 900607 - Execute the RVTEXTE correction report with the function 'Y' to clean up inconsistencies in text Customizing
Preparations for physical upgrade
In Phase SAVE_VAR_CHECK, select JOB_RASUVAR1(2) to automatically convert the variants
Check if all BIM's have been executed
Cleanup update errors (SM13)
Note 442170 - Quick conversion from VA90 to DP90 (resource related billing)
During the physical upgrade
Check if SPDD has been imported correctly
Directly after the physical upgrade
Import ASU-tool
Check all transports
Create masstransports for changes from this system
Change sourcesystem to the new system (TADIR)
Run automatic correction programs (ASU-tool)
Run transaction OYEB
Run RSTVARVCLIENTDEPENDENT
Compare IDOCtypes in old and new release
Run RV80HGEN
Replace report RSWUWFML with RSWUWFML2
Refresh SPRO-index
Add an entry to table TADIR
Add an entry to table ENHSPOTHEADER
Regenerate ABAP coding for Substitutions and validations with program RGUGBR00 (area FI)
In transaction FBN1 number range 03 needs to be adjusted from external to  internal. This needs to be done for every company code
Convert held documents with report RFTMPBLU
Importing all CO Planning layouts with transaction OKBF
Note 900607 - Execute the RVTEXTE correction report with the function 'G' to clean up inconsistencies in text Customizing
Note 812245 - Termination in background processing for condition maintenance
Note 900420 - Termination in background processing for condition maintenance II
Note 32030 - Problems with condition tables after release upgrade
Note 403701 - New component processing (Service Management)
Note 360803 - Reprocessing of non convrtd addresses for service notifications
Note 333384 - Equipment: DBIF_RSQl-SQL_Error for RIXPRA06 (Service Management)
Note 444458 - Error message im014; material number is missing (Service Management)
Note 550214 - Data loss, operation user fields after upgrade or Support pack (Service)
Note 368179 - Advice: Notification and shop papers selected at Popup
Note 451825. 2.2.7 FI-GL-GL-F: Corrctn of IMG attrib.""Define Numb.Ranges for Ext.Tax Retns
Note 480179  2.2.16 EC-PCA-IS: 2KEE: Transport display variant 2.2.17 EC-PCA: Import reports and layouts 2.2.23 CFM-TM: Missing security transactions
Note 315040 2.2.25 FI-AA: Reconciliation a/c for customers in a/c determination
Note 498050 2.2.27 FI-AA: AS01: Error AISBAUFBAU000 with new systems
Note 520447 2.2.29 FI-AA-IS: Reporting: after upgrade no FI document number display
Note 324612 2.2.30 FI-AA-IS: Problems with ALV lists in assets reporting
Note 300273 2.2.31 FI-AA: Settlement AuC: various errors due to transfer variant
Note 965032 2.2.33 FI-AA-AA-B: Differences between old and new depreciation calculation
Note 890976 2.2.34 FI-AA-AA-E: Closing report conversion to internal doc number assignment
Note 795851 2.2.35 FI-AA: Different results in individual and summary reports
Note 101206 2.2.1 CO-OM-CCA-F: Business transaction groups, GA726
Note 107001 2.2.5 CO: Missing translation of texts
Note 320197 2.2.9 CO-OM-CCA-B: SAP standard planning layouts: Various problems
Note 937389 COEP line item display incorrect after upgrade (Run ZFCOM_START_PARALLEL in batch)
Note 533519 2.2.10 CO-OM-CCA-B: New planning functions
Note 356889 2.2.15 CO-OM-CCA-E: Screen variants for manual actual postings
Note 303028 2.2.16 CO-OM-CCA-F: Change of reports for the accrual calculation
Note 5193 2.2.17 CO-OM-CCA-G: Release change: problem overview
Note 321109 2.2.20 CO-OM-IS: CO reports: Assignment report interface is missing
Note 307007 2.2.41 CO-PA: Batch input: missing data
Transaction F110 create for the proposal a standard SAP and a Epson general ALV
Transaction OBA0 Check the tolerance groups
Note 114713 en 494777 check if the interpretation rules are active
Check if for program RFZALI20 the variants still work
Transaction OBA7 The BIM indicator should be removed
Transaction FBN1 number range 03 should be set to internal
Transaction AFAMA Activate all depreciation codes
Check successor Obsolete transaction MR41
Acceptancetesting
Possible corrections
Go / No-go decision
In case of No-Go
Restore backup
Restart jobs and interfaces
Communication to users
Unlock all users
In case of Go-decision
Create on-line backup
Restart jobs and interfaces
Unlock users
Communication to users

Similar Messages

  • How to Convert a HEX value to CHAR value...Unicode Issue...

    Hi,
    How can I convert HEX value to CHAR value.
    The Code in <b>non Unicode</b> system is:
    DATA: t_text LIKE tline OCCURS 0 WITH HEADER LINE.
    constants:   c_hex_20a5(2) TYPE x            VALUE '20A5'.
    t_text-tdline = 'seller of the item so listed.  A legend of the Seller Code(s) is as'.
          TRANSLATE t_text-tdline USING c_hex_20a5.
    The same code give error in <b>Uni-Code</b> system:
    <b>error is "c_hex_20a5 must be an character type object (C, N, D, T or String type)."</b>
    If anyone know, what is the solution, please let me know.
    Thanks!
    Puneet.

    Hi,
    Try declaring the Hex chars using the ABAP char utilities. This is just a sample piece of code on how to declare and use:
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    DATA:  ws_lf TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    data:    c_newline           TYPE x VALUE '0D'.  [ it is zero D, for carriage return ]
    ws_lf = c_newline.
        CONCATENATE it_tab-maktx
                    ws_lf
                    ws_template
                    INTO it_notificatn-template.
    Hope this helps...
    Regards
    Subramanian

  • Need Hex conversion to char for 4 digits.

    I need to read a file in and translate some of the characters into integers. I need the hex value from the character. Problem is, when using Cp850 which is the encoding of the file, some characters show as ? instead of the proper character.
    A simple output shows the problem where only 4 digit hex values will not appear correctly. You can view the character set and values at the following URL http://www.microsoft.com/globaldev/reference/oem/850.htm
    Here is a simple app to show the problem.
    public class EncodingTest {
         public static void main(String[] args) throws Exception {
              String encoding = "Cp850"; //args[ 0 ];
              byte[] b = new byte[256];
              for (int i = 0; i < 256; i++)
                   b[i] = (byte)i;
              byte c[] = new byte[1];
              String x = new String(b, encoding);
              for (int i = 0; i < x.length(); i++) {
                   c[0] = b;
                   if (x.charAt(i) != i)
                        System.out.println(i + " -> " + (int)x.charAt(i) + "->" + (new String(c, encoding)));
    How to I get character 176 for example to show correctly? I tried to post the output from the app but all of the characters showed as ?.

    Well, if you want to convert int or char values to hex, just do the following:
    Integer.toHexString(int value);
    Now, about your charset problem, I tried it and found out that you will definetly not be able to print strange characters in DOS.
    I'll show you my example, it might help you; it prints out good in my computer...
    public class EncodingTest {
        public static void main(String[] args) throws Exception {
            String encoding = "Cp850"; //args[ 0 ];
            byte[] b = new byte[256];
            for (int i = 0; i < 256; i++)
                b[i] = (byte) i;
            byte c[] = new byte[1];
            String x = new String(b, encoding);
            for (int i = 0; i < x.length(); i++) {
                c[0] = b;
    if (x.charAt(i) != i)
    System.out.println(i + " -> " + Integer.toHexString((int)x.charAt(i)) + "-> " + (int)x.charAt(i) + "->" + (char) i + "->" + (new String(c, encoding)));

  • Eliminating ###'s after hex reconversion to char string

    This is interesting.
    I was originally required to pass a segment to my subroutine. I had to do so using text literals. The   symbol is not recognizable by text literals. Therefore, I had to convert the entire string to hex.
    I then passed the hex segment to the subroutine, and reconverted it back to char string.
    After this I found a ton of unexpected # symbols in my segment. I tried doing a
    REPLACE '###' WITH '' INTO CHARSTRING.
    , but unsuccessfully. There is not much documentation on hex_to_char conversion, there are 2 FMs on 46, but I cannot get them to work. If anyone knows how to eliminate these unexpected # symbols please let me know.

    DATA: HEXSTRINGER(6000) TYPE 'X'.
    DATA: STRINGER(3000) TYPE 'C'.
    FIELD-SYMBOLS: <FSHEX>, <RECONVERT2>.
    CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD'
                   EXPORTING
                         ARCHIVE_HANDLE       = READ_HANDLE
                   IMPORTING
                         RECORD               = ARC_BUFFER-SEGMENT
                         RECORD_STRUCTURE     = ARC_BUFFER-RNAME
               MOVE ARC_BUFFER-SEGMENT TO SEGSTER.
               assign SEGSTER to <fsHEX> type 'X'.
               MOVE <fsHEX> to HEXSTRINGER.
    APPEND 'REPORT ZSUBR.' TO CODE.
    APPEND 'FORM DYN1 USING HEXSTRINGER.' TO CODE.
    APPEND 'DATA: SEGSTER2(3000) TYPE ''C''.' TO CODE.
    APPEND 'ASSIGN HEXSTRINGER TO <RECONVERT2> TYPE ''C'' .' TO CODE.
    APPEND 'MOVE <RECONVERT2> TO SEGSTER2.' TO CODE.
    APPEND 'WRITE:/ SEGSTER2.' TO CODE.
    APPEND 'ENDFORM.' TO CODE.
    I write out Segster2 and compare it to segster.
    I've done some variations of this where after I change the char string to hex string I replace 'C' with '7C' into hexstringer and then re-replace it in the subroutine, and then reconvert it to a char string- but actually I don't think that was a necessary step. I believe I can just convert it to hex, and then reconvert it back to hex in the subroutine.

  • Hex chars in strings

    Hi
    Is it possible to insert hex chars inside a string, like unicode chars \u, but for hex, like \0xFF....
    I have \x in my java book but that doesnt work.

    Hi,
    Just use it without '\'
            System.out.println("Character with value hex value 41: " + (char)0x41 + " Can you see it?");Prints:
    Character with value hex value 41: A Can you see it?
    /Kaj

  • Unicode, assignment  char to hex

    Hi Experts,
        I have a question related to assignment of char to hex in
    uni-code system.
    Here is piece of code:
    In non-uncode system:
    data:
    begin of struct,
    x1(1) type x,
    end of struct.
    data:
    c1 type c value 'C'.
    struct1 = c1.
    In unicode system
    *struct1 = c1 is not allowed.
    If i assign struct1-x1 = c1, intenally the values value are getting changed that can be seen in debug mode .
    for example: internal value for 'C' is 43,similarlly for 'L' it is 4C.
    so how can i assign this in unicode system with out the values to be changed ...
    please reply
    Sorry iam posting this twice because the first post thread got closed .....
    Regards
    Syed Abdul Adil.

    There are function modules in the system to convert hex values to char values.
    These function modules are:
    NLS_STRING_CONVERT_TO_SYS (hex to char)
    NLS_SRING_CONVERT_FROM_SYS (char to hex)
    If it's the tab character then it can be done with (example):
    data: x1 type char1 value c1_abap_char_utilities=>horizontal_tab.

  • Conver from hex to char

    hi guys,
               i am trying  to convert an hex to an char using the folloing code but its giving me short dumb with the message "When converting the base entry of the field symbol "<FS>" (number in base table: 13), it was found that the target type requests a memory
    alignment of 2."
               but the same code is working in some other system i am suing BI 7.0 can anyone tell me what is the reason....
    data : v_hex(4) type x,
           v_char(10) type c value 'ABCDA0A0',
           V_CHAR(10) TYPE C VALUE 'A0A0A0A0'.
    v_hex = 'A0A0A0A0'.
    FIELD-SYMBOLS <FS> TYPE ANY.
    v_hex = '20202020'.
    ASSIGN V_HEX TO <FS> CASTING TYPE C.
    CONCATENATE <FS> V_CHAR INTO V_CHAR.
    pls reply me
    ravi

    Hello Ravi,
    Check the below program:
    data : v_hex(4) type x,
    v_char(10) type c value 'ABCDA0A0',
    V_CHAR1 TYPE string.
    v_hex = 'A0A0A0A0'.
    FIELD-SYMBOLS <FS> TYPE ANY.
    v_hex = '20202020'.
    ASSIGN V_HEX TO <FS> ."CASTING TYPE C.
    move <FS> to v_char1.
    CONCATENATE v_char1 V_CHAR INTO V_CHAR.
    write:/ v_char.
    In Unicode env ,do not use casting after assign statement
    I don't have idea about your functionality.
    Check the below program :
    field-symbols <fs> type any .
    data : w_hex(1) type x value 31.
    assign w_hex to <fs> ."casting.
    write <fs>.
    hex value is 31 ,when you convert into ASCII character then it becomes 1F.
    Thanks
    Seshu

  • Passage de Hexa à Char ?

    Bonjour,
     Cela fait deux jours que je cherche une sollution à mon probleme .
     J'ai des nombre en Hex (string)  et je souhaite les mettres en Char(string).
    Par exemple :
              01 en hexa --> "01" en char
              18 en hexa --> "18" en char
    Est ceque quelqu'un peu me donner un tuyau ?
    Merci, de vore aide .
    Solved!
    Go to Solution.

    Un peu pourri mais ça marche, disons que tu peux t'en sortir comme ça si tu n'as pas 36000 constantes et autres valeurs à convertir. Je te dis si je trouve un truc moins bourin.
    Attachments:
    Screenshot.jpg ‏62 KB

  • Unicode error, Split Variable at HEX 00 into ITAB

    Hello all,
    We will be changing our system to a Unicode system next year.  As we are modifying existing programs, we are setting the Unicode flag and correcting any errors.  In this one particular program I have run across a situation  for which I have not been able to find a solution.  Any thoughts would be greatly appreciated.
    This error occurs when the following code is checked.
    HEX must be a character-type data object
    data hex type x.    "Binary zeros
    data: begin of i_apqd occurs 0.
            include structure apqd.
    data: end of i_apqd.
    data: begin of itab occurs 0,
            field(150),
          end of itab.
    split i_apqd-vardata+20 at hex into table itab.
    This is what i_apqd-vardata+20 looks like in the debugger.
    ##SAPMF05A0100##BKPF-BLDAT#11072006#BKPF-BLART#KR#BKPF-BUKRS#100#BKPF-budat#11072006
    This program is a custom developed utility program to display the contents of a BDC session.
    Thanks
    Bruce

    try this:
    data hex type x value '00'.                
    field-symbols: <hex> type x,<char> type c. 
    data: begin of i_apqd occurs 0.            
    include structure apqd.                    
    data: end of i_apqd.                       
    data: begin of itab occurs 0,              
    field(150),                                
    end of itab.                               
    assign hex to <hex>.
    assign <hex> to <char> casting.
    split i_apqd-vardata+20 at <char> into table itab.

  • Serialization using Base 64 and Hex Encoding... Which is Better

    I have serialized an object and stored in one of the Database column's. I had 2 options to choose from;
    Option 1: Serialization into the database using Base 64 Encoder
    public static void write(Object obj, PreparedStatement ps)
                    throws SQLException, IOException {
                    ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    ObjectOutputStream oout = new ObjectOutputStream(baos);
                    oout.writeObject(obj);
                    oout.close();
                    byte[] buf = baos.toByteArray();
                    s = new sun.misc.BASE64Encoder().encode(buf);
                    ps.setString(1, s);
    //                ps.setBytes(1, Base64.byteArrayToBase64(baos.toByteArray()));
                  ps.setBytes(1, baos.toByteArray());
                  ps.setInt(2, ++count);
          public static Object read(ResultSet rs, String column)
                   throws SQLException, IOException, ClassNotFoundException {
               byte[] buf = new sun.misc.BASE64Decoder().decodeBuffer(s);
    //           byte[] buf = Base64.base64ToByteArray(new String(rs.getBytes(column)));
               if (buf != null) {
               ObjectInputStream objectIn = new ObjectInputStream(
                              new ByteArrayInputStream(buf));
                              Object obj = objectIn.readObject();         //Contains the object
                              PersonDetails p = (PersonDetails)obj;
                              System.out.println(p.getName()+"\t"+p.getAge()+"\t"+p.getSex());
                 return null;
    Option 2: Serialization into the database using Hex Encoding
    static char[]      encodeHex(byte[] data)
              Converts an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
    static byte[]      decodeHex(char[] data)
              Converts an array of characters representing hexidecimal values into an array of bytes of those same values.Using the above api functions encode and decode for serialization by writing similar Java Serialization read and write functions as shown above..
    I want to know which is recommended out of the 2 encodings chosen based on performance and space used by the field in the database

    The one which is best is the one which you determine to be best based on measuring your usage patterns in your environment on hardware as close as possible to what you will be using.
    There is also a third option... why are you converting your byte[] into characters? You could use a binary field on the database - e.g. BLOB/BINARY/OBJECT instead of CLOB/MEMO/TEXT whatever

  • 39525 as char/ dealing with unsigned 2byte

    if i have a string "39525" and i want to make that an unsigned 2byte, i use char right? how do i get it into a char? it needs to be an integer first, i don't want to convert the string value. so i Integer.parseInt("") and i get it in an 'int'. what next? is there a better way?
    how do you normally deal with 2byte unsigned chars?

    it fills up too high though.. i need numbers over
    65472 to overflow, not above Integer.MAX_VALUE.
    the low 16 bits of int do overflow, that is enough.
    if you wish to access the low 16 bits, do this:
    int low16bits = value & 0xFFFF;
    i think i got it though..
    char a =
    Character.toChars(Integer.parseInt("12512512"))[0];
    sloppy but i hope it'll work.
    It won't; did you read the API documentation of the toChars method? It does something completely different. I posted the code you asked for above, but I really think you should be using ints, not chars.
    now i need to figure out how to Pad with up to 4
    zeros in hex with this char. is there anything in
    java like
    sprintf("%04x", $x)
    yes; see java.util.Formatter

  • Invalid characters error while ODS activation

    I have 2 queries regarding Invalid characters
    1) I got following error while activating ODS.
    Value 'HYDERABAD - IV  COMMISSIONERATE ' (hex. '48594445524142414420<b>2D</b>204956A020434F4D4D495353494F') of characteristic ZEXCRG contains     invalid characters
       I added space (ALT+255) in RSKC as suggested in other threads and activated the ODS.('-' is already there in RSKC).
    Above record did not give any error but got the same error for another record.
    Value 'SURAT – II ' (hex. '535552415420<b>96</b>204949 ') of characteristic ZEXCRG contains invalid characters     
       Can anybody tell me why there is difference between in representation(HEX) of same char and which char should I add to RSKC to solve the error?
    2) RSKC_ALLOWED_CHAR_GET lists the space as default allowed char, so why do I need to add the same again?

    Hi Vikram:
    go to RSKC: do a ALL_CAPITAL. then do the permitted charcters in BW(do a F1 and copy all and paste). also, please be advised that add <b>~</b> (tilda) and take a closer look at the error you got and insert that there.
    hope it should fix the issue.
    assign points if helpful
    kalyan

  • File Content Conversion - Sender File Adapter - Record Delimeter ~

    The inbound file has file has ~ as record delimeter. I am using the FCC at sender file adapter to covert this file into XML. Somehow, the file adapter is not able to interpret "~" as my record delimeter even thoough I specified "record.endSeparator = ~" in FCC.
    Would someone help me with a solution?

    Raju,
    You can also try to use the '0x7E' as endSeperator condition.
    I am not sure if the HTML tag will work but this should do the trick. This should be the HEX corresponding entry
    char       description        hex               char code       html
    " ~ "         "Tilde"               "0x7e"         "~"                      &!tilde; (without !)
    greets.
    in adition to this see SAP help
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/655453b48a4ddfe10000000a1553f7/frameset.htm
    Special Characters in Strings for Separators
    In all strings for separators (NameA.fieldSeparator, NameA.beginSeparator, NameA.endSeparator), you can specify non-printable ASCII characters. These characters can each be inserted individually in the strings in the form ´0xHH´ (including the quotation marks), where HH represents the character encoded as a hexadecimal value.
    Please also ensure that the "recordSet Structure" also need to be configured Correctly
    for example:
    Header,1,Detail,*
    Header.fieldSeperator  --> %parameter%
    Detail.fieldSeperator --> %parameter%
    Detail.endSeparator --> '0x7e'
    Greets

  • Create_dynamic_table does not work when fieldcatalog table contains LVC_S_S

    I'm getting short-dump when creating dynamic internal table via CALL METHOD cl_alv_table_create=>create_dynamic_table. The fieldcatalog contains a component named LVC_S_STYL which populates fine when after call function LVC_FIELDCATALOG_MERGE but when this is passed to cl_alv_table_create=>create_dynamic_table it short dumps!
    Is it possible to pass the style catalog in this case, how? Below is my code.
    Structure of 'ZZ_ALV_FCAT' is WERKS type werks_d, DATE type datum, CELLTAB type LVC_S_STYL.
       CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
         EXPORTING
           i_structure_name             = 'ZZ_ALV_FCAT'
          CHANGING
            ct_fieldcat                  = lt_fieldcat.
        CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fieldcat
            i_length_in_byte          = ''
          IMPORTING
            ep_table                  = dy_table
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc EQ 0.
          ASSIGN dy_table->* TO <dyn_table>.
        ELSE.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    <b>I'll be generously giving away points for any help!</b>
    Any idea anyone? I was thinking may be convert the HEX data to CHAR before creating the dynamic table then again convert the CHAR data back to HEX before I call SET_TABLE_FOR_FIRST_DISPLAY? In that case, how to convert Hex of a structure to CHAR and vice versa?
    Message was edited by:
            Sougata Chatterjee

    Hi
    I worote this code in my system (4.6C) and I got any dump:
    DATA: CT_FIELDCAT TYPE  LVC_T_FCAT.
    DATA: DY_TABLE TYPE REF TO DATA.
    FIELD-SYMBOLS: <TABLE> TYPE TABLE.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
      EXPORTING
    *   I_BUFFER_ACTIVE              =
        I_STRUCTURE_NAME             = 'ZLVC_S_STYL'
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
    *   I_BYPASSING_BUFFER           =
      CHANGING
        CT_FIELDCAT                  = CT_FIELDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
          EXPORTING
            IT_FIELDCATALOG           = CT_FIELDCAT
    *       I_LENGTH_IN_BYTE          = ''
          IMPORTING
            EP_TABLE                  = DY_TABLE
          EXCEPTIONS
            GENERATE_SUBPOOL_DIR_FULL = 1
            OTHERS                    = 2.
    IF SY-SUBRC = 0.
      ASSIGN DY_TABLE->* TO <TABLE>.
      IF SY-SUBRC = 0.
      ENDIF.
    ENDIF.
    I've included the structure LVC_S_STYL in my structure ZLVC_S_STYL and then add some fields.
    But if I insert a field CELL like LVC_S_STYL, instead of to include it directly, I get the dump.
    So I believe it depends on how you've defined the structure in dictionary, because in the second case it seems the METHOD can't create the subroutine to create the dynamic table.
    It seems if it uses a complex structure where a field is a structure, the METHOD can't write a right defintion of an internal table based on the dictionary structure.
    In my system I saw the method try to create a subroutine where the interna table is defined in this way:
    DATA: STYLE TYPE ZLVC_S_STYL-STYLE. 
    instead of
    DATA: STYLE TYPE ZLVC_S_STYL-CELL-STYLE. 
    Max

  • Use of ROWID in Oracle 9i

    I was hoping to do something like the following to retrieve a ROWID and then later retrieve that same record:
    String rowid = rs.getString("ROWID");
    // .. lots of code snipped here
    stmt.executeQuery("SELECT * FROM tbl WHERE ROWID='" + rowid + "'");
    The problem is that 'rs' has a value such as "414141414C58414144414141414136414149" while SQL*Plus shows the rowid as "AAAALXAADAAAAA6AAI". Consequently the SELECT does not find the correct record. Obviously the "4141..." string is just the "AA..." string after converting each character to hex.
    Outside of manually re-converting the ROWID from hex back to chars, how can I use it to re-select the row of interest? I'm using java.sql.* rather than oracle.jdbc.*.
    Thanks.

        String rowid = null;
        DriverManager.registerDriver(new OracleDriver());
        Connection conn = DriverManager.getConnection("jdbc:oracle:thin:scott/tiger@localhost:1521:ias904");
        Statement stmt = conn.createStatement();   
        ResultSet rset = stmt.executeQuery(" SELECT ROWID,EmpNO FROM EMP Where EMPNO = 7654");
        if(rset.next()) {
          rowid = rset.getString(1);
        rset.close();
        stmt.close();
        PreparedStatement pstmt = conn.prepareStatement("SELECT EmpNo FROM EMP WHERE rowid=?");   
        pstmt.setString(1, rowid);
        rset = pstmt.executeQuery();
        if(rset.next()) {
          System.out.println(rset.getString(1));
        rset.close();
        pstmt.close();   
        conn.close();Regards
    Elango.

Maybe you are looking for