Deleted Tables in Java Dictionary

Hi all,
I have deleted a table within the Java Dictionary. The documentation tells that it is not possible to reuse the name of a deleted table.
But unfortunately i have to reuse this name. So my question is:
Is there any possiblity to undelete the table or to reuse the name?
Thanks in advance....

Hi Florian,
the creation of Java dictionary projects is checked against the name server. That is the reason why you cannot re-use the name just after the deletion of the table, as it could be possible that this table is already transported and re-used in another project.
If you really know that this table name is not used somewhere else, you can remove the name reservation. This has to be done in the SLD that acts as the Name Reservation Server (in most cases it's the SLD that you also use for creating your SCs).
There, go to the section "Name Reservation" and have a look at the reserved names of type "DB table". Delete the desired entry.
Then you only have to restart the NWDS, as this is chaching the info from the name server. 
On the DB, there is no issue re-using the table. But you have to keep in mind that this will result in a drop of the existing table with all the data before it is recreated.
Best regards,
Timo

Similar Messages

  • X I and Java Dictionary

    Hi Friends,
    I have created some tables in Java Dictionary Project in NDS and deployed it on the server.I want to access those tables directly from XI. For that i have done JDBC connection to the underlying data base of the Java Stack on server. Connection established succesfully but it is giving that no tables found.Then i tried to access the tables using Oracle SQL+ environment,there also i can't see the tables that i have created through Java Dictionary .
    My question is that " I have created tables through Java Dictionary but want to access the data directly using some Oracle Client." Is it possible?????/
    Regards,
    Gowtham K

    yes it is very much posiible. You just login to oracle enterprise manager there search ur tables under the installed databses. Login to database as an administrator.You will definately find the tables there.So if u want to access these tables from ur editor ,create a user if needed or use the existing user and configure ur client.
    It will definately work.U will be able to access the data too.
    regards,
    datta

  • Problems with Java Dictionary Tables

    Hi Experts,
    I have some problems with the Java Dictionary tables that I have created for my
    application. There are around 15 dictionary tables, each one of them having
    several hundred records, added in due course.
    As much as I understand these tables (created using the dictionary perspective)
    are stored in the default schema of the J2EE engine where the dictionary project
    is deployed and there is no direct way to insert records into these tables, we have
    to separately write methods to insert, update and delete records.
    I've already done this. Now the problem is that i have moved my project DC from
    development to testing. Now here the tables are existing, but not the data that i
    inserted during development.
    NOW, the main question: IS THERE ANY WAY IN WHICH I CAN TRANSFER
    THE CONTENTS OF THESE JAVA DICTIONARY TABLES??
    I have tried solutions like creating a DBLINK between the databases, but it is
    tedious, and unpredictable in behaviour. Also Please do not advise to first
    download them to excel and then upload using jxlapi, etc.
    Thanx in Advance.
    Alka.

    Hi Alka,
    The dblink is a good solution, but just a bit slow. You can also use a SQL Loader, first export the data from the source table in a text file (i.e. using a tool like TOAD), then sql loader loads the data in the destination table. This is more fast.
    Hope this help,
    Vito

  • Java dictionary database table in web dynpro application

    Hi,
    I want to access java dictionary database table in my web dynpro application in java.
    Right now I have created one java dictionary DC.
    and in that Dc i have created two database table .
    Now I want to use this table in my web dynpro application.
    Can anyone help me.

    You can use the Dictionary Projects to create tables in Database. You must use codes to access these database tables that is created using Dictionary projects.
    You have to use the DataSource in order to get connection ; Use Visual Administrator to see the data source name.
    You can use the following code to access the database table.
    ResultSet result = null;
    try
         InitialContext initialcontext = new InitialContext();
         DataSource datasource = (DataSource)initialcontext.lookup("jdbc/<DataSourceName>");
            Connection connection = datasource.getConnection();
         Statement statement = connection.createStatement();
         result = statement.executeQuery( <Query>);
         connection.close();
    } catch (NamingException e) {
         // TODO Auto-generated catch block          
              e.printStackTrace();
    } catch (SQLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    Regards
       Vinod

  • 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

  • How to save data from a server log to the java dictionary table?

    Hi,
    I need a java dictionary and a program which will read data from the log file and save records into tables.
    Can somebody help how to achieve this? Please help!
    Thanks & regards
    Amita

    Hi folks, Give some inputs here....
    Thanks & regards
    Amita

  • Java dictionary table access

    HEllo all,
    I have to access a table created using the java dictionary perspective . I know how I do it by means of creating an ejb and sharing a reference.
    But how do i acess the table if i have to do it using the jsp dynpage model.
    Thank you

    Hi,
    do you use JSP or Web Dynpro?
    - In JSP the procedure is the same as with EJB
    (lookup the jdbc data source via JNDI, using a resource reference you map to the jndi name in deployment descriptor)
    View an example "Getting Started With Open SQL) existing in the examples folder of your SAP NW Developer Studio,
    and the corresponding tutorial in the Docu:
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/b127af68234e868cfd4e9f440aa0bf/frameset.htm
    - In Web Dynpro resource references are not available so you use the JNDI name of the data source in the lookup string.
    Regards, Katharina

  • Java Dictionary or ABAP tables

    Dear all,
    Can anybody tell me when to make use of Java Dictionary?
    I've seen different projects that make use of ABAP tables as well as Java dictionary to store data. But what will be the criteria to decide which one I should choose for  my data persistence?
    For example, I've a requirement at my hand, which will have huge data transfer per day & the number of records in the table will be in lacs. Where will I persist my data in Java dictionary or ABAP tables?
    What are the pros & cons of each?
    Regards,
    Aparnna

    Hi
    Sir as your question : I wanted to know the pros & cons of using Java Dictionary (Dictionary DC) as well as ABAP tables ?
    Please try to understand both are different things in their context , OK let me try again
    1.  Java Dictonary is used used to define the table structure its data types and  used for portal database if it is small/ lightweighted.
    2.ABAP table is again for defining the structure , datatypes , which is used in RFC/BAPI.
    3. When to use what or Pros & Cons
    Java supports more models (Javabeans, web services, adaptive RFC, and XMI) . Data Dictonary is common every where  ,OK
    Compared to the function module model in  ABAP,
    (so u can think like this that  ABAP tables are base in SAP environment to define metadata of the databse , Similar concept java has implemented using data dictonary)
    There is nothing comparable because both have their own purpose to serve, except Java Dictonary are mostly use for small project or if project involvment is only in Java., where as ABAP table has no limit .
    and ,
    Second thing is both has code wizards to generate the metatdata after definition.
    Best Regards
    Satish Kumar

  • Generate delete tables from dictionary

    Hi,
    I have a  CAF project that I´ve imported from a track, so far ok, I click to build and it works, but when I try generate it again it marks the tables from the dictionary project as deleted and remove them from my project, so i have two doubts:
    1 - Has any one any idea what happened? Why they are deleted?
    2 - Is it possible to undelete the table? The file still there but all the configuration is lost, the list of columns is lost.
    Thanks and best regards,
    Eduardo

    In the package hierarchy (applications navigator), right-click the package containing your EO's, choose "Generate Database Objects"
    Voila
    John

  • How to query Database via Mobile WebDynpro with Java Dictionary?

    Hi all,
    I'm developing a simple mobile webdynpro appplication using Dictionary(DC). My Question is, how the Java Dictionary can query/insert/update/delete the underlying default database tables? I'm reluctant to use EJB as it is just for a simple application. Is there any quick and simple way to achieve this?
    Any help would be much appreciate.

    Hi,
    Dictonary project will helps you in creating tables in the backendand creating the same context structure in your WebDynpro application..
    But for doing update/add records you need to write code .Please check this How to create tables in Database when webdynpro project is deployed
    Regards, Anilkumar

  • Naming convention table name Java

    Dear expert,
    I know that in the ABAP world, when I create a custom table, it have to start with Z.. or Y.. in the name.
    Is this the same when I need to create a table in the Java schema?
    Thanks for you help.
    Mario

    Hi, Ferruccio,
    In the Java world, table naming conventions apply when you define your tables in the Java Dictionary (which is a metadata representation of a real database).
    The names of tables that are defined in the Java Dictionary should:
    - begin with a prefix (for example, the name of a component ‚FI_*’);
    - not exceed 18 characters (including the prefix);
    - not contain Open SQL keywords (for example, SELECT, INSERT, UPDATE, MODIFY and DELETE);
    - contain only permitted characters, i.e. letters, numbers, and underscores.
    I hope that helps!
    Regards,
    Yordan

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

  • VALUES NOT GETTING ADDED IN JAVA DICTIONARY

    HIII ,
    AM DOING AN APPLICATION IN WHICH I AM TRYING TO INSERT VALUES IN A TABLE(CREATED THRU JAVA DICTIONARY), USING EJBS(ENTITY BEAN AND SESSION BEAN) AND COMMAND BEAN..AND WEBDYNPRO....
        AFTER DEPLOYMENT EVRYTHNG IS RUNNING FINE BUT VALUES NOT GETTING ADDED IN THE TABLE...
    THE CODE FOR THE "ADD" BUTTON IS :
    wdContext.currentEmp_cmdElement().modelObject().add(wdContext.currentEmp_cmdElement().getEmpno(),wdContext.currentEmp_cmdElement().getEmpname());
    THE CODE FOR ADD function IN COMMANDBEAN IS
    public void add(String empno,String empname){
              try {
                     local.createdata(empno,empname);
                   } catch (Exception e) {
                        e.printStackTrace();}
    PLZZ DO HELP OUT!!!

    The message in simple English just means that "You are doing something really bad" !!! It is absolutely not the communication problem, but understanding problem.
    Though you may be executing the same function using SE37 or in the webshop application through JCo, the runtime context is different and without knowing what exactly your Z rfc is doing, it is very difficult to help. To start with, the userid - that is who is running the RFC is different in both situations. In SE37, it is the logon user and in the web, depending upon whether the connection is stateless or stateful, it could be the anonymous ICSS user or the logged in user. Here again, if you have used UME, it is the user id and if you have used ALIAS user, then it is the alias user id. This is just an example. Your runtime context can be different due to many other reasons too.
    So, to make this simpler - what is that you are trying to do?
    BTW, try not to create multiple threads for the same issue..

  • 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?

  • Create database view with Java Dictionary

    Hi,
    is there a possibility to create and deploy a database view with the
    Java Dictionary (in SAP NetWeaver Development Studio)?
    It seems as if you can only create and deploy database tables.

    or else, with prior versions, use somethinig like this...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7094c365-e8c4-2910-62b6-93712dd555d4

Maybe you are looking for

  • Where can i find documentation on Forte 3.0?

    Hi Folks! i'm lookin' for all the documentation about Forte for Java 3.0, CE about all the features, old and new can anybody tell me the right url to find it? thanks all

  • Logic 9 - Snow Leapord to Lion Compatability

    I'm currently running Logic (32-bit) on an older Macbook Pro (Intel...about 3-years old) using Snow Leopard and am looking to upgrade to a new Macbook....which would come with Lion of course. I've hesitated upgrading my current mac to Lion because my

  • Chronic Slow performance in CRM OnDemand not resolved

    I have had an SR open for over one month. Problems include over two minutes for a simple search by last name, 5 minutes to run simple reports on indexed fields, and timeouts on downloads. They hand me off to a new person each week who has no idea how

  • Problems to differentiate between attachments and embedded in an email

    In my code i have something like that to verify if the attachment is embedded or not: public static bool IsEmbeddedAttachment(Outlook.Attachment attachment) //Anexos que não são embedded são obrigatóriamente olByValue, porém os embedded podem ser de

  • Is Adobe Creative Suite 6 Design standard compatible with mac yosemite OS X?

    Hello! My Mac OS X is Version 10.6.8 and I want to update the software to yosemite! Now I´m worried if all my programs from Adobe Creative Suite 6: Design Standard still works with Yosemite? or If i will have troubles or if I have to install all the