RAWSTRING in DDIC Table???

Dear ALL,
i would like to add a rawstring in a Z Table, but it do not work. When i try to activate it, following message appears:
Type RAWSTRING isn't allowed in DB-Tables.
Is there no chance to have a db-table with a rawstring? I really need to have a table-field with a variable length. How could i solve this problem?
Thx a lot,
Marcel

Problem is solved....just use LRAW as Datatype

Similar Messages

  • Error while filling DDIC table.

    hi friends,
    when i try to insert or modify the DDIC table (which is made by user)
    it Shows the error message
    (The type of the database table and work area (or internal table)          
    "T_FTAB" are not Unicode-convertible . . . . . . . . . .          )
    how to rectify the error.
    thanks in advance.

    Hi Bhupi.
    I also had the same error in my program yesterday.
    I have found the cause,
    I would like share it with you,
    The Possible reasons for this error are,
    1. The Work area and the Table has Different Structures.
    2. There might be some extra fields in your table that the user table.
    3. Missing fields
    Let me tell you my Issue, If it is the same case as yours, That will be good.
    I used Infotype P0006 and PA0006 in HR.
    When I wrote a SELECT query -
    select * from PA0006
                into T_table6.
    But, T_table6 is refered to P0006 and * is used.
    I got the same error.
    Because, The Table T_table6 refers to P0006 which has the stucture different with respect to Infotype PA0006.
    As the Infotype P0006 has no MANDT field and PA0006 has Mandt field and may be some extra fields.
    So declaration is also very important.
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • How to create an dynamic internal table with the structure of a ddic table

    Hi all,
    I want to fill ddic-tables (which I already created) in my abap dictionary with data out of CSV-files (which are located on the CRM-Server).  The ddic tables have different amount of fields.
    I started with creating a table which contains the name of the tables and the path to the matching CSV-file.
    At the beginning I'm filling an internal table with part of this data (the name of the ddic-tables) - after that I am looping at this internal table.
    LOOP AT lt_struc ASSIGNING <lfs_struc>.
         LOOP AT lv_itab1 INTO lv_wa1 WHERE ztab_name = <lfs_struc>.
         lv_feld = lv_wa1-zdat_name.
        ENDLOOP.
        CONCATENATE 'C:\-tmp\Exportierte Tabellen\' lv_feld INTO lv_pfad.
        Do.
        OPEN DATASET lv_pfad FOR INPUT IN TEXT MODE ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.
        READ DATASET lv_pfad INTO lv_rec.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
        enddo.
        REPLACE ALL OCCURRENCES OF '"' IN lv_rec WITH ''.
        SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
        INSERT into (<lfs_struc>) values lr_str_value.
        CLOSE DATASET lv_pfad.
    endloop.
    This is not the whole code, but it's working until
    SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
    I want to split all the data of lv_rec into an internal table which has the structure of the current ddic-table, but I didn't find out how to do give the internal table the structure of the ddic-table. In the code I used an internal tyble type string but I should be the structure of the matching tabel.
    If I try to create an internal table by using a fiel symbol, I am told, that the data types are not matching.
    Has anyone an idea?

    Hi Mayari,
    though you were successfull with
    METHOD cl_alv_table_create=>create_dynamic_table
    I must warn you not to use it. The reason is that the number of tables created is limited, the method uses GENERATE SUBROUTINE statement and this triggers an unwanted database commit.
    If you know the DDIC structure, it is (starting with ECC6.0) much easier:
    field-symbols:
      <table> type standard table.
    data:
      lr_data type ref to data.
    Create data lr_data type table of (<DDIC structure>).
    assign lr_data->* to <table>.
    The split code can be simplified gaining speed loosing complexity not loosing functionality.
    field-symbols:<fs_s> type any.
    field-symbols:<fs_t> type any.
    SPLIT lv_rec AT ';' INTO table it_string.
    loop at it_string assigning <fs_s>.
      assign component sy-tabix of wa_string to <fs_t>.
    if sy-subrc = 0.
      <fs_t> = <fs_s>.
    endif.
    at last.
      append <fs_itwa3> to <ft_itab3>.
    endat.
    endloop.
    Though it may work as Keshav.T suggested, there is no need to do that way.     
    Regards,
    Clemens

  • INSERTING A VALUES IN A DDIC TABLE AT A PARTICULAR INDEX VIA WORKAREA

    HI ALL
    Can I INSERT a value at a particular index in a DDIC table via a workarea with similar structure.??
    like if I have a DDIC table with four feilds and creating a internal table and a workarea with similar structure.
    after fetching the values from DDIC table to our internal table and making some changes or wants to insert a values at a particular index. Then Cal I write like:
    INSERT WA INTO zMARA INDEX 2.
    IS IT WRITE?
    OR PLEASE SUGGEST ME THE CORRECT CODE.

    You can insert or rather update the row of table desired by using Primary key combination..
    A Db table will have at least one primary key. So first select the desired record to be updated using
    unique combination of primary key to get the row you want to modify in work area then change the
    value of that field in work are and then use MODIFY db table from workarea.. Remembr you can't change primary key
    If key combination is not found in DB table mentioned in work area  then it will insert the row in ZABC..
    Code..
    consider ZABC having 2 fileds AA and BB, then consider AA as primary key.. and BB as normal field..
    Consider row having value AA = 1 and BB = 2.
    data: wa_ZABC type ZABC.
    data: i_zabc type table of zabc with header line.
    Select single * from ZABC into wa_zabc where AA = '1'.
    wa_zabc-bb = '3'.
    modify ZABC from wa_zabc.
    if you want to change multiple lines in internal table and then update in DB table then use
    Modify ZABC from table i_zabc. after selecting value of zabc in i_zabc and then change
    value by loop .. endloop and then apply the Modify statement..
    Hope this solves your query..
    Regards,
    Uday Desai.

  • How to get DDL descriptions of DDIC tables?

    Hi,
    for a replication scenario of ERP data into BOBJ BI on Demand we have to define data schemas in the BI oD MS SQL Server. Instead of doing that manually, we could also import DDL (data definition language) descriptions of the ERP DDIC table to replicate into the SQL Server.
    The question is: Is it possible to generate or extract DDL descriptions of database tables defined in the ERP DDIC and if yes, how (e.g. inside ABAP or using DB tools)?
    Thanks for any assistance,
    H-D

    Hi,
    if you use SQL2005 or SQL2008 you can try SSMS to generate the DDL statements. Just expand your database <SID> and apply a filter on the tables tab. If you right click on a specific table you have the option to 'Script table as' -> 'Create to' -> 'New Query Editor Window'. That way you will get the CREATE TABLE statement.
    Regards,
    Sven

  • How to find all the DDIC tables and fields of Tcode?

    Hi All,
    For several transactions we have caprtured all the filed names along with the technical names.
    Ex : in VA03 - in the initial screen ,postal code field is there.When i see F1 help for that field i could see POST_CODE2 as its technical name.
    But i want to see the actuall DDIC table field which corresponds to this field that is LFA1-PSTLZ.
    Like wise there are so many T-codes for which i need do the same thing.But for some transactions i am unable to find out the database tables and the corresponding fields.Please suggest any other easier way to do this.
    Is there any way to find out  all the DDIC tables and fields that gets updated for a Tcode?
    Please help me out in this.
    Thanks,
    Jyothi D.
    Edited by: jyothi dosapati on Mar 27, 2008 2:48 PM

    HI,
    DDIC tcode is  SE11
    GIVE THE TABLE NAME THERE AND CLICK DISPLAY
    FOR EXAMPLE
    TYPE LFA1 THERE AND CLICK DISPLAY....
    Regards,
    V .Balaji
    Reward if usefull

  • Problems with DDIC tables in a Function's signature

    Hi,
    We're on SAP Basis 702, support pack 7.
    I am trying to add a (DDIC) table to the signature of a Function in BRF+, but I have encountered 2 problems:
    1. BRF+ asks me to specify the 'Table Line Type' of the table, but it refuses to recognize the structure name (ZINSTALMENTS) that I specified.
    I guessed (correctly) that it was actually asking for the 'Table Type' (ZINSTALMENTS_T), not the line type.
    Question 1: Do you find the 'Table Line Type' text misleading, or is it just me?
    Question 2: Does this mean that we always have to wrap a structure in a table type, before we can use it to define tables in BRF+?
    2. My structure ZINSTALMENTS contains three fields:
    PRAMT     Types     PRAMT_KK     CURR     13     2     Payment Amount Promised
    PRDAT     Types     PRODT_KK     DATS     8     0     Payment Date Promised
    PRCUR     Types     WAERS     CUKY     5     0     Currency Key
    ..but the table structure that was transferred to BRF+ contains only the first two fields.
    Question 3: Is this a bug or a feature? Has anyone else encountered this issue?
    Note: field PRCUR is a currency reference field for PRAMT.
    thanks for your advice
    Paul

    Hi Paul,
    Let my analyse and comment on your text:
    "I am trying to add a (DDIC) table to the signature of a Function ..."
    In BRFplus you cannot add a DDIC table directly to the signature of a Function. What you can do is to create a data object of type table and add this to a function as input/context. The creation of data objects provide the option to bind to DDIC. So your table data object can be bound to a DDIC table. Your structure data objects could be bound to a DDIC structure etc. When you bind a table type it will automatically also create the line type (structure or element) and bind this as well to DDIC.
    Im an not sure what exactly your problem is but maybe you expect a database table to be used for binding with a BRFplus table. This is not possible as a DB table is not a table type but defines a structure only. So you could use the DB table name in the binding of a BRFplus structure.
    In case you have problems because of terminology used in the UI we should perform some tests and then we will change accordingly. Therefore I appreciate that you openly bring up the question in the forum.
    "My structure ZINSTALMENTS contains three fields..."
    In BRFplus there is a type AMOUNT for elementary data objects. This Amount includes a number and a currency. I assume in your case the fields PRAMT and PRCUR are included in a field of type amount with name PRAMT.
    Regards,
    Carsten

  • Function module to get structure of DDIC table

    Hi everyone,
    Is there any SAP standard function module to fetch the structure of DDIC table ?
    Thanks in Advance

    HI,
    Go thru this link
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    Thanks
    Sunil

  • ABAP DDIC  table name for structure definition

    Hello,
      Can anybody tell me what is the name of DDIC table used for storing ABAP structure definition and also its related tables.
    Thanks&Regards,
    Prajesh

    Hi again,
    1. There is one more field
        in DD03L table.
    2. DEPTH
    3. Normally this field will be blank.
    4. In your case,
       u have 2 common fields.
      eg. F2
    5. Then
       it will be like this in table
       F2  - space
       F2  - 1
    6. The second entry is for DEPTH.
    regards,
    amit m.

  • Download DDIC Table to Excel

    Hi all,
    is there any standard report which downloads a ddic table to server as a .xls or .txt file? It should run in background. I know how to write a report which does that, but i'm wondering if there is already a standard report which does that.
    Regards

    Hi Mark
    Here i'm providiing you a simple coding. Using this code u can get the total data present in that table to u r report from there on the menu bar
    System> List> Save> Local File> spread sheet this will stores on to the local system or else u can use the following function module <b>ALSM_EXCEL_TO_INTERNAL_TABLE.</b>
    and call that FM in this program and u can get data directly
    *& Report  ZEKPOINFO                                                   *
    REPORT  ZEKPOINFO                               .
    tables: ekpo.
    Data: begin of int_ekpo occurs 0,
       netwr type ekpo-netwr,
       werks type ekpo-werks,
       knttp type ekpo-knttp,
       end of int_ekpo.
       select netwr werks knttp from ekpo into corresponding fields of table
    int_ekpo.
    loop at int_ekpo.
    Write: / int_ekpo-netwr,
             int_ekpo-werks,
             int_ekpo-knttp.
       endloop.
    Reward all helpfull answers
    Regards
    Pavan

  • DB02old  showing Missing in R/3 DDIC Tables & Indexes in BI 7.0 system

    Hi,
    Db02old showing missing in R/3 DDIC Tables & Indexes ,Details given below.
                                        Tables          Indexes
    Total number                        63,413          88,532
    Total size/kb                1,208,272,704     227,436,608
    More than 1 extent                 16,499           6,629
    Missing in database                 0               0
    Missing in R/3 DDIC                 5               1
    Space-critical objects              0               0
    Unknown indexes in ABAP Dictionary
         DB indexes                       1
             /BIC/E101128~900
    Unknown objects in ABAP Dictionary
        DB tables                        5
            /BI0/1ASSET
            /BI0/1ASSET_CLAS
            /BIC/E100219
            /BIC/F101145
            /BIC/F101153
    Why it is showing ? Please advise.
    Thnks&Rgds,
    Ganga.

    Hi Bhaskar,
    I have done the below process
    In T-code DB02 Menu "Go TO" -> Table and Indices -> DB <-> ABAP Dic<->Display
    It is showing the below details
    Other checks
    Tables 1
    SCI_TEMPT Should not be created in DB
    I have select the SCI_TEMPT table and clicked on create in DB.
    After that again I have checked the db02 t-code again it is showing the same.
    Please let me know how can fix this issue.
    Regards,
    Reddy V.

  • Hide value in interative report where it stored in DDIC table?

    hi,
    In interactive report, after hide , value is stored in SAP memory, and it also stored in one DDIC table, can any one tell me this DDIC table name.
    thanks in advance
    sarath

    Hi,
                   It will not be any of the DDIC tables.just Stores the content of the dobj variable with the current list row in the current list level. It will be stored in abap memory at the runtime.
                    Assoon as the report has been executed and u come out of the list it will be released.
    Regds,
    Vinsa.R

  • How to fill DDIC  table

    hi sdnrs,
    i want to fill DDIC table from two different internal tables is this possible if yes how . kindly give the sytax.
    rewards will be sured.
    thanks in advance.

    Hi,
    The Open SQL statement for inserting data into a database table is:
    INSERT INTO <target> <lines>.
    The Open SQL statement for changing data in a database table is:
    UPDATE <target> <lines>.
    To insert lines into a database table regardless of whether there is
    already a line in the table with the same primary key, use the following:
    MODIFY <target> <lines>.
    Check this link:
    For insert,
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a6d358411d1829f0000e829fbfe/content.htm
    For update,
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a94358411d1829f0000e829fbfe/content.htm
    For modify,
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ac8358411d1829f0000e829fbfe/content.htm
    Regards
    Adil

  • CONVERT RAWSTRING to SOLIX TABLE

    Hello,
    I want to converte RAWSTRING to SOLIX TABLE.
    how can i do that?
    thank you...

    Hi,
    here an example from sending mail
    it_graphics = is_job_info-xmloutput-xsfgr[].
       LOOP AT it_graphics
            INTO is_graphic.
         CLEAR w_gr_xtxt.
         LOOP AT is_graphic-content
              INTO is_gr_raw.
           CONCATENATE w_gr_xtxt
                       is_gr_raw-line
                       INTO w_gr_xtxt
                       IN BYTE MODE.
         ENDLOOP.
         w_gr_xtxt = w_gr_xtxt(is_graphic-length).
         w_offset = 0.
         w_len    = 255.
         CLEAR it_solix[].
         WHILE w_offset < is_graphic-length.
           w_diff = is_graphic-length - w_offset.
           IF w_diff > w_len.
             is_solix-line = w_gr_xtxt+w_offset(w_len).
           ELSE.
             is_solix-line = w_gr_xtxt+w_offset(w_diff).
           ENDIF.
           APPEND is_solix TO it_solix.
           ADD w_len TO w_offset.
         ENDWHILE.
    Regards
    Fred

  • Ddic tables of userexit & badi

    hi all,
    can any one tell me , in whic ddic table, all the user-exits and badi's are stored.
    Thanks in advance

    Hi,
    Check these tables.
    TABLES :
    TSTC,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.

Maybe you are looking for

  • SAP connector and JSPDynPage

    hi everybody, I am trying to display some data from RFC on a JspDyn Page, I have prepared the project but the data from RFc is not displaying.... the code is MyJspPage.java:- package com.ust.jca; import javax.resource.cci.MappedRecord; import javax.r

  • Courpted data in row

    Hello Experts         i create one master form which has three text box which is connected to master table and matrix connected to master row table i am also created object for it but when i click on add button for data adding it  gives ERROR like "C

  • Column Containing Partition Key Condition Information

    I am using 11.2.0.2 on AIX 6.1. I am creating a range partition table as below. CREATE TABLE SALES_RANGE   ( prod_id       NUMBER(6)   , cust_id       NUMBER   , time_id       DATE   , channel_id    NUMBER(3) PARTITION BY RANGE (time_id) ( PARTITION

  • Why do Single-Process shared variables create a single variable VI in my dir.

    I'm creating an application VI following the example which is created by starting a two loop Real-Time project which creates a Single-Process shared variable and a Network-Published shared variable for each variable that needs to be sent to a non-Rea

  • Is it possible to make gsm call on iPad 4

    Is any one know how to make gsm cellular call through iPad 4 plz tell me