Register Table in ABAP Dictionary

One of our SAP RWD standard table got deleted during the upgrade. I have a backup of that table & created it using Create Table SQL commands directly at the database level.
I did exp & imp of various tables too however in SE11 the tables created directly in database no matter Z tables or SAP Standard tables does not show up.
My question is that how to register that table in ABAP dictionary?

Table is a part of PSAPCRMUSR & does exists in schema SAPCRM.
Let me give another example:
One of SAP Table STERM_LINK got corrrupted and we did'nt knew about it for almost a month. OSS replied back saying that its a 3rd party table and we are not using any modules that would have updated/read that table. Also that table did'nt had any data.
OSS suggested that either we exp/imp that table from QA to PRD or they can send us a script which is a normal create table....... script and we can drop can corrupted table.
Now in this example if we drop that table and recreate it using script at database level, it will be unknown in dictionary.
How to solve this kind of issue?

Similar Messages

  • How to update whole external table(in ABAP dictionary) from internal table at once

    Hi,
    How can I update the content of the external table (in ABAP dictionary) from the content of internal table data at once. I created the internal tables with out the header line, with the work area. I tried UPDATE TARGET_EXTERNAL_TABLE FROM TABLE INTERNAL_TABLE. But it returns 4 for sy-subrc and did not work.
    Thank you
    Regards.
    CHINTHAKA

    Hi Feiyun Wu,
    Thank you very much. Your code worked. Is there any way to replace the whole content of the external table from internal table data ?
    Regards,
    Chinthaka

  • ZSD_TABLE is not defined in the ABAP dictionary as a table"

    Hello,
    I created zsd_table and inserted few records
    When i use this table in program system is giving error message "ZSD_TABLE is not defined in the ABAP dictionary as a table"
    How can we define this table in ABAP dictionary?
    Thanks

    Hi,
    Go to Transaction SE11
    Give the table name 'ZSD_TABLE'
    and click on create and enter the fileds
    after entering fields give 'techinical setting' for a table by clicking on technical setting button on tool bar
    save check and activate
    Regards
    Krishna

  • Delete restrict for ABAP Dictionary database table

    Hi,
    I defined two database tables in ABAP dictionary, one with master data, and one with records referencing the master data.
    I also defined a foreign key relationship in the second table, so that new entries in the second table are checked against the master data table.
    In addition to this behaviour, I also want the Dicitionary to perform a check the other way round. In other words, if I try to delete a record in the master data table, this should not be possible if there are records in the second table referencing this record. Thats how foreign key relationships work in Oracle databases.
    Is there a way to force this behaviour for ABAP Dictionary tables, too? Or is it possible to make the table maintenance view perform this check?
    Thanks for your help!
    Kind regards,
    Tobias

    Hello Tobias,
    I can delete records in the master table which have dependent entries in the second table without an error or a warning.
    How are you deleting the entries, via SM30?
    If yes, you can use the [Event 03: Before Deleting the Display Data|http://help.sap.com/saphelp_nw04s/helpdata/en/91/ca9f14a9d111d1a5690000e82deaaa/content.htm]. In this TMG event you can check if the entry can be deleted at all!
    If you're using Open SQL statements to delete the records, i don't think DB layer implicitly checks the dependency. You can always put an explicit check though
    Btw, out-of-curiosity, is this a custom or standard table?
    BR,
    Suhas

  • Creation of dynamic tables in data dictionary.

    Hi Techies,
    Can you help me how to create physical dynamic table in Abap dictionary.
    In the selection screen, if i give Mara or Marc it should be create a dynamic table (zaa_mara) or (zaa_marc) with the similar structure.
    Thanks.

    1) Parameters : P_TABLE --- Enter Table name.(Say mara/Marc)
    2) Get the DataElements of Mara/Marc tables from DD03L.
    Select RollName From DD03L INTO ITAB Where TABNAME = P_TABLE.
    3) Do a Recording in SHDB Tcode for se38 to create table.
    4) Use BDC to Created DBtableTABLE.
    Call Transaction 'SE38' Using T_bdctable.
    Regards,
    Gurpreet

  • Abap-dictionary

    hi experts,
    what is value table&check table in abap dictionary.
    where we use it. and what is the purpose.
    thank u,
      cnu

    Hi,
    Check this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/e2/667092730811d2959500a0c929b3c3/content.htm
    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values.   For example  you go to Domain   SHKZG - Debit/credit indicator.  Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Check table
    For example you have Employee master table & Employee Transaction table.
    When ever an employee Transacts we need to check whether that employee exists , so we can refer to the employee master table.
    This is nothing but a Parent & Child relationship .  Here data can be maintained at client level , no development involved.
    As per DBMS what we call foregin key table, is called as check table in SAP.
    There is 1 more important Difference in Value Table and Check Table is that:
    1. The contents of the check will be used as an input help(F4 Help) for a particular field on which a check table is assigned.
        But the contents of Value Table are never used in Input Help.
    The Heirarchy which decides from where to used the Input Help is:
    1. Input help defined explicitly in ABAP Program or Dialog Module.
    2. Input Help Attached to the referenced Database Table field.
    3. Using the contents of Check Table as an input help if neither (1) or (2) help are there.
    4. Input help from Fixed value or Value range given in Domain.
    http://www.sap-img.com/abap/difference-between-a-check-table-and-a-value-table.htm
    Hope thsi helps.

  • How to activate table in SAP Dictionary?

    Hi Friends!
    There is a table in the Oracle database, and I need see it as sap table.
    The basis guys told me that they have been create a synonimous.
    I can not see this yet, they told me that I need activate it in Abap dictionary.
    How can I do it?
    Thanks in advance!

    Hello SSap,
    I'm not sure if anyone really got the point...
    There is a table in the Oracle database, and I need see it as sap table
    ... I can not see this yet, they told me that I need activate it in Abap dictionary.
    True and false :
    1) false : you can access a database table via "native SQL" (EXEC SQL or ADBC classes) without need of defining the table through
    2) true : in ABAP, it's really advised to define tables via ABAP dictionary so that you can use Open SQL
    and the name is an extrange one, the name lenght is over 20char
    Sorry, but tell basis guys that database tables must be 16 characters maximum to be available via ABAP dictionary.
    I tested what happens when we create a transparent table in ABAP dictionary while the database table already exists : if it has same definition, then existing data is kept. Otherwise an activation error occurs. But always be prudent if the table contains data (though you say it's a duplicata, if I understand well "synonimous"), I see every year a developer who destroys table data while adding a field to a table (even in recent releases).
    Last thing, it is advised to create tables from SAP so that to avoid this kind of issue, when possible of course (and you can later alter database tables from Oracle if you want)
    Best regards
    Sandra

  • Differrences between structure and table in data dictionary in ABAP?

    What is the differrences between structure and table in data dictionary in ABAP?
    are they same?

    Tables :
    1. The place where the data is stored so that you can retrieve at any time.
    2. There can be more than one record stored
    Structures :
    1. The data / info stays only during the runtime of the application and will not get stored at all during the run time ....
    2. Only one record can be stored at the runtime .....
    A structure forms the skeleton of the table.
    A structure comprises components i.e., fields. Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth
    Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.
    When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.

  • Customise table inconsistency between ABAP Dictionary and the databas

    Hi all,
    I have encountered a problem where by, I was not able to activate a table due to inconsistency between ABAP Dictionary and the database.
    After I run the SE14--> Check Database object. It has show that there is a missing Unique Index(Primary Index) at the Database Level, but at ABAP Dictionary it is there.
    I have try to recreate the primary index at the Database level, but failed. Because one of the primary key field is been dropped from this table.
    So now, may I know how can I still make this table Active again?
    Is it save to folllow the following solution that I found on internet?
    Syntax error in SDCC, table inconsistency between ABAP Dictionary and the database, transport error 8 during the generation of ABAP Dictionary. When you call Transaction SDCC, a termination occurs due to a putative syntax error because a table is not known or active. When you check this with the ABAP dictionary (SE11), you notice, that the table is active or inactive, however it is not possible to activate it. The activation might terminate with the error message 'Inconsistency between ABAP Dictionary and database'. A check of the affected object also delivers this error.
    Solution
    Proceed as follows:
    Log on as user DDIC
    Call Transaction SE14
    Enter the affected table name and
    select EDIT
    In the following screen, choose Table -> Reconstruct
    Confirm the execution
    Call Transaction SE11
    Enter the affected table name
    Display
    Activate
    Thanks.
    CK

    I managed to solved this by
    Solution
    Proceed as follows:
    Log on as user DDIC
    Call Transaction SE14
    Enter the affected table name and
    select EDIT
    In the following screen, choose Table -> Reconstruct
    Confirm the execution
    Call Transaction SE11
    Enter the affected table name
    Display
    Activate
    Thanks.
    CK

  • DB02 = Missing Tables and Indexes = Unknown objects in ABAP Dictionary = DB views

    Hi SAP Gurus,
    on our SAP NetWeaver 7.x BW (based on AIX/Oracle) I find via transaction DB02 (path = Diagnostics => Missing Tables and Indexes) under "Unknown objects in ABAP Dictionary" under DB views a BW object /BI0/.....
    When I make a double click on the object, I am getting the popup window "Display not possible for this object":
    How can I identify the object and clarify with the BW application expert, if needed, how to resolve this object?
    I searched already via RSA1 for the object, but I wasn't able to find anything so far ...
    Thanks for your help and ideas.
    Best regards
    Carlos

    Hello Carlos
    The database view in question is a temporary database object created during a query execution.
    Please read this SAP note 449891 - Temporary database objects in BW 3.x to understand what that view is all about and impact if those views are removed.
    The SAP notes 449891 and 1139396 suggests to run the report SAP_DROP_TMPTABLES to drop these temporary objects. Whether the objects are still required or not is a question to be put across to the BW team. If the temporary objects are removed when they are used by a query, then the query will fail.
    Have a nice day
    RB

  • BW - Unknown objects in ABAP Dictionary - DB Tables

    Hello gurus,
    As a result of the consistency check in DB02 transaction, our BW System is showing a high number of "DB Tables" and "DB Tables withouth unique index" as unknown objects in the ABAP dictionary.
    Is there any way to solve these consistency issues detected in DB02?
    Thanks
    Regards

    Hi Dibya,
    I checked the SAP note 33814 and it tooke me to the SAP note 449891 - Temporary database objects in BW 3.X
    According to the recommendations, I executed the report SAP_UPDATE_DBDIFF, and I got as result 579 secondary indexes missing in the DB from the and still the 5 DB Tables unknown in the ABAP dictionary and 2 DB Tables withouth unique index,
    I executed the report SAP_INFOCUBE_INDEXES_REPAIR in order to try to repair the secondary missing indexes that were shwon but withouth getting any results.
    Do you have any recommendation to solve this situation?  In the original scenario the DB02 transaction wasn't reporting any missing index.
    Thanks and regards,

  • A standard table is missing in ABAP dictionary

    We wane to use a standard program which uses a standard table(CCEE/FISISTGRD) .
    but when trying to execute this pgm , itrs going into dump..
    The error is CCEE/FISISTGRD doesnot exist in ABAP dictionary
    Edited by: deepti Gandham on Apr 24, 2009 9:58 AM

    Hi,
    deepti Gandham,
    I check with ECC 6.0  ,but your standard Table not there
    List of the table,
    /CCEE/FISI_DDVN    Slovenia VAT open period
    /CCEE/FISI_SET       Seting for print programs
    /CCEE/FISIFP_A       Forign Payments - account connection
    /CCEE/FISIFP_B       Forign Payments in/out
    /CCEE/FISIFP_C       Bank list
    /CCEE/FISIFP_HAL   Podatki za HALCOM
    /CCEE/FISIKOEF1    Coefficients for revaluation
    /CCEE/FISIMT940     Bank statement - MT 940 - convert referenc
    /CCEE/FISIOBR1      Povezava kupca z letno obr. mero za izraèu
    /CCEE/FISISTGRD   Reasons for Reversal enabling to change ta
    /CCEE/FISITAX        Convert Tax on sales
    /CCEE/FISIZDV       
    Regards,
    Ansari.

  • Number of lines in ABAP Dictionary table

    Hi to all!
    I've got a table in the ABAP Dictionary. Is there any function in any function module that lets know how many lines this table contains?
    I don't wanna use the way to read data to the internal table and describe it using
    DESCRIBE TABLE <itab> LINES <num_of_lines>.
    Thanks!!!

    REPORT ychatest.
    TABLES mara.
    SELECT COUNT(*) FROM mara.
    WRITE : sy-dbcnt.

  • Pool Table Creation in ABAP Dictionary

    Please Help
    How to create Pool table in ABAP DDIC ? I Tried with the Existing Transparent Table
    Changing Its Category to Pool Table by going through EXTRA menu and then Change Table Category Option but After this
    it is asking for Table Pool name in Delivery and Maintaince Tab what should be the name of table pool ?
    How to assign pool table in Table Pool?

    hi,
    u will have to create your own ztable pool/cluster anad assign your table to that .
    eg.
    refer to table A005 its a pool table ...

  • ABAP Dictionary structure for use in ABAP Mapping

    Hello, I'm creating an ABAP mapping class which requires me to use standard ABAP dictionary (table) structures (ex.MARA, KNA1 etc) for the mapping as the data coming into the mapping is in that format. I'm creating the ABAP class in the PI server and do not have table structures (MARA, KNA1 etc) in the dictionary in the PI server. What is the efficient way to create these structures (as Z elements) in the PI server's dictionary?
    I have the XSD of these table structures. Can I import those XSDs into the ABAP dictionary in PI servers? If yes, how can it be done? Please help!

    Yes you can import it as an external definition data and create the data type based on this XSD. Go through the link below for more information on the steps to import and how to use it.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/frameset.htm

Maybe you are looking for

  • Grouping by absolute path

    Hello everyone, I have this small problem: My xml is as follows: <XXKSAPAYANALYSIS> <P_ASSIGNMENT_SET_ID></P_ASSIGNMENT_SET_ID><P_PAYROLL_ID>145</P_PAYROLL_ID><P_CONSOLIDATION_SET_ID>82</P_CONSOLIDATION_SET_ID><P_DATE_EARNED>31-MAR-14</P_DATE_EARNED>

  • Importing DVD to I Tunes

    I am unable to transfer TV Programmes from a Boxed DVD Series to my I Tunes Folder although 2 downloaded from I Store are visible. Any Ideas how to transfer own DVD over or if this is actually possible????

  • Left touchpad button delay in web browsers

    I'm at a loss to figure out what could be causing my left button on my touchpad to delay intermittently. On both Google Chrome (whether stable, beta or dev) and Firefox, the left button when pressed may not respond for up to a few seconds. This is mo

  • Need a Query for getting ItemCost from PO Vendor wise

    Hi,Experts We are not maintain different price list for  some particular items , We raised the PO for Multiple vendors with differnt price for the same material. We need a query to find the Item cost with Various Vendor . I need the query in the foll

  • Illegal Input exception in lookup Api

    Hi all, We have a custom scheduled task to populate the lookup values. The task was working fine. But as per my observation whenever we are getting any values need to go in decode contains *<,>,--* like values "*dummy <ch>*","*the org -- organization