How to undeploy dictionary projects?

Hello!
Does anybody know how to undeploy the Dictionary-Projects generated by the CAF-Framework?
When I undeploy this dictionary do I also delete all associated entity-Data and schemes in the Database?
Thank´s for your help.
Jörg

Hello Austin!
Unfortunately that does not work. I also tried that before. Anyway it is a little bit mysterious. When you choose the undeployment tab without selecting the Deployment-Tab before you cannot see any Dictionary-project. But if you choose the deployment tab at first and then the undeployment tab then you can also see the Dictionary projects. But when you select (button select) one of them it is not shown in the right window that shows the the SDA for undeployment. That´s not good.
Possibly I do something wrong?
Best regards,
Jörg

Similar Messages

  • How to deploy Dictionary project on Oracle \ MSSQL ?

    Hi Guys,
    <i>SAP NetWeaver \ Dictionary Perspective</i> provides a possibility to deploy DB tables on build-in MaxDB, but how can I change the underlying DB - Oracle or MSSQL ?
    Through <i>Visual Admin \ JDBC Connector</i> I managed to create a 'MY' DataSource to Oracle \ MSSQL, but how to change\redirect the deployment to those DBs.
    Thanks in advance
    -Alex

    Hi Alex,
    1) When you install the WAS you choose the DB (SQL Server, Oracle, MaxDB etc) However, you can always create DataSource to another DB. See this link:
    Creation of database in WbDynpro application
    Also, you can look for 'jdbc' in the forum.
    2) As far I know a dictionary project is simply SQL's
    "CREATE TABLE" function in the WAS DB scheme.
    The WAS DB is like any other DB. Once you have its connection string you can connect to it in any DB tool.
    Adding tables to the WAS DB scheme or using another scheme is really up to you.
    Hope it helps
    Omri

  • Unable to undeploy a dictionary project

    Hi,
    I have  a DC that is of the type Dictionary project. I have my tables defined in this. How do I undeploy this DC.
    I tried it from the SDM and it is greyed out and does not allow me to undeploy it.
    So if I have it in my SDA it does not deploy as it says it already deployed.
    Can you please help.
    thanks
    Padmaja

    Hi,
    I have a system that I am using to test my created SCA files. I had an earlier SCA that I had deployed. I wanted to delete everything so that I could deploy the new SCA.
    Here it would not allow me to undeploy the dictionary DC using SDM.
    I then deleted the tables in the database. so that all my data would be gone.
    Then installed the sca. Here the dictionary project had not changed.
    When I deployed using the SDM it ignored the dictionary project saying it was installed.
    So I had to go to NWDS to be able to recreate my tables.
    Is there a better way to recreate my tables?
    thanks for all your help
    Padmaja

  • How to store/manipulate Date and long text fields with Dictionary project

    I am able to save string values into my backend (SQL Server) database in my web dynpro project but I am getting errors dealing with my date string and my long text (comments) field. 
    I want to figure out both how I need to define the fields in the dictionary project, how to define the context variables in web dynpro, and how to code the statements to pull the values out of the context and into fields I can use in my SQL insert. 
    Currently I have the date defined in the dictionary project as "date" and the comments as a 256-character string. 
    In the web dynpro context I have the date field defined as "date" and the comments field defined as "string".  Should I define a 256-character string type and use that as field type??
    In the code I am using the following to get the values:
         String s9 = (String) wdContext.nodeReceipt().getElementAt(wdContext.nodeReceipt().getLeadSelection()).getAttributeValue("Comments");
    String s5 = (String) wdContext.nodeReceipt().getElementAt(wdContext.nodeReceipt().getLeadSelection()).getAttributeValue("DateReceived");
    SimpleDateFormat sdf = new SimpleDateFormat("dd/mm/yyyy");
         try {
         Date dt = sdf.parse(s5);
         } catch (Exception e) {
              e.printStackTrace();
    I then try to insert all of my values with the following code:
    InitialContext ctx = new InitialContext();
      javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/SAP/BC_JMS");
      java.sql.Connection con = ds.getConnection();
      java.sql.Statement stmt = con.createStatement();
      stmt.executeUpdate("insert into AVD_GEN_REC(VENDOR,DATE_RECEIVED,TOTAL_PIECES,LOGGED_BY," +
           "ADDRESSED_TO,BLDG_NO,CARRIER,TRACKING_NO, COMMENTS) values('s1','s5','s2','s6','s3','s7','s4','s8','s9')");
       } catch (Exception e) {
             wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Exception "+e.getMessage());
    Any help/ideas would be appreciated...

    The comment error seems to have resolved itself but I still get an error with the date field:
    Exception The SQL statement "INSERT INTO "AVD_GEN_REC" ("VENDOR","DATE_RECEIVED","TOTAL_PIECES","LOGGED_BY","ADDRESSED_TO","BLDG_NO","CARRIER","TRACKING_NO","COMMENTS") VALUES ('s1','d5','s2','s6','s3','s7','s4','s8','s9')" contains the semantics error[s]: type check error: new value (element number 2) is not assignable to column "DATE_RECEIVED" 
    The DATE_RECEIVED is defined in the data dictionary as "date", the context variable "DateReceived" is also a "date", and the statement to pull d5 is being stored to a "Date".  Is there a difference between the "Date" and "date"?
    Date d5   = wdContext.currentReceiptElement().getDateReceived();

  • How can i deploy dictionary project manually

    Hai,
    Any body tell me how to deploy the dictionary project manually using command prompt.
    regards,

    Hi there,
    think you landed in the wrong forum.
    Sry & regards,
    Roland

  • How to use another database schema in Dictionary project

    Problem description:
    1)     I want to use Developer Studio to create my own J2EE project. Then I have to use Dictionary Project to maintain my database.  My database is Oracle.
    2)     I created tables in Dictionary project and deployed to database
    3)     After that I found my tables were deployed into SAPSR3DB schema.
    Question:
          What can I do if I want to deploy my tables into another schema other than SAPSR3DB?  In real cases I want to separate my tables from the WAS system tables.

    Hi Chaoran,
    If you want to use external database with Java dictionary tables..
    Right click on the Java Dictionary Table, from the menu select <b>Create DDL script</b>, then select to which data base you want to generate scripts. It will generate .sql scripts, use this scripts in your database to create tables. But the same time you need to create Data sources in Visual Administrator for your oracle system.
    Regards
    Abhilash

  • How to undeploy a NW BPM?

    Hi,
    i m using SAP PO 7.31 SP 09.
    I would like to undeploy a process.
    I deleted a product / process and recreated it with the same name. During deploying i get the error message, that the used interface is already used by another process. -> The once deployed process will not be overwritten but is anoying development. The error message is stating that either another interface should be used or the process should be undeployed.
    The first possibility is not nice, because the mappings and configuration had to be changed. In addition the interface name would not match to the naming conventions. So i would appreciate to undeploy.
    Does anybody know how to undeploy a process?
    /Udo

    In your NWDS, go to "Undeploy" view. Select your BPM project here and double-click on it. Once it is visible in the Undeploy table on the right, click on the Undeploy icon (looks like a black ball).
    Check the Infrastructure Console for the Undeploy progress.

  • Java Dictionary Project + create autonumber for KEY field?

    Hi there,
    I would like to create a Java Dictionary project that has a table with an AUTONUMBER as the key field.
    I know exactly how to do this in SQL Server using the IDENTITY field but cannot see an option when using the Java Dictionary project?
    Any ideas?
    Thanks for the help
    Lynton

    Has there been an update to this recently?  I am in need of exactly the same information.  The FAQ lists this:
    <i>Can I deploy a Java Dictionary table along with the table content?
    Yes. You can deliver the Java Dictionary table along the table content. There are two possibilities:
    Export from a reference database
    Specification of the table entries in an XML file (since SP5)
    Note that there is no modification support for table entries that are delivered in this way. Therefore, you can deliver table entries with program character or for examples, but not for templates or customizing data.</i>
    Now, I may be reading the note incorrectly, but it makes it sound like if you do populate a table with a XML file, the records cannot be modified thereafter.  Is this true?
    I'd also like to know how to develop the XML and where to put it, etc.  I've had no luck searching for this information.
    Thanks!

  • Dictionary project to j2ee prospective

    hi,
    i developed the dictionary project and deployed into server it created .sda file .
    now i want to operate the this table by writing ejb methods .
    what are the steps  i need to follow to insert and update table with data.
    how to configure.
    is there any tutorials or any documents ,
    i want build the application which is contain the table and write in java code .
    plz help me on this

    Hi Eshwar,
    please chk the "Creating a J2ee-based  Car Rental application" which you can find in your NWDS help- SAP WebAS documentation-Webdynpro application.
    You can also this link, to find any article matching your requirement.
    https://www.sdn.sap.com/irj/sdn/articles-topic?rid=/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c
    Regards
    Priyanka

  • Creating dictionary project in other than default datasource

    I want to create a dictionary project in other than default datasource . Every time I create a dictionary project and create archive and deploy it ...It creates tables in SAP default datasource MAXDB . I have created another datasource pointing to MSSQL in visual admin . I want dictionary project to be deployed to this datasource without making MSSQL  as default datasource . Can anyone please let me know how to do this ?
    Thanks in advance
    Bhat

    Hi Alka,
    from your post, it is not entirely clear to me what you are atempting to do.
    1) Do you need help with accessing tables in a non-default schema?
    2) Do you want to determine all tables in the default schema?
    If 1), please follow the hints given by Vladimir Pavlov.
    If 2), currently, the method DatabaseMetaData.getTables() is unfortunately not supported in Open SQL/JDBC. We are currently preparing a new download of the NetWeaver Java EE 5 edition. In this version, the getTables() method will be supported.
    Or do you just want to check for the existence of a specific database table in the default schema?
    I hope this helps,
    Best regards,
    Adrian

  • Unique IDs in Dictionary Project (NW Developer Studio 7.0)

    Hi all,
    I am working with NWDS 7.0 and creating a table in Java Schema with a Dictionary Project.
    What I need is a unique ID field with auto-increment value. How do I create such a field? Is this possible at all? Before we use workarounds such as java.rmi.server.UID, creating tables with Oracle, utilizing stored procedures, etc. we would like to know if this can be achieved with a standard dictionary project.
    Any comments will be appreciated and rewarded.

    Hi,
    if you use entity beans for O/R Mapping and your unique id will be the primary key you could also try and use automatic primary key generation. The documentation can be found here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/b3/b238bfd13a8f408958d70a6989d001/frameset.htm
    However, I think you do not have much influence on how the keys will be generated.
    Another possiblity  if you use entity beans is the Entity Bean Primary Key Generator from Floyd Marinescu:
    http://www.theserverside.com/patterns/thread.tss?thread_id=220
    These solutions both do not rely on any special database requirements.
    Best regards,
    Stefan Brauneis

  • Can't create dictionary project in eclipse as in Netweaver Studio

    Hi All,
    I was able to create a dictionary project in netweaver studio of SAP. I was able to create tables and archive it to create SDA.
    Similarly I want to create the same in eclipse. Do we need any special plugin for this in eclipse? Or do we have any option in creating this?
    Regards,
    Vara

    Have you set the JAVAFX_HOME environment variable as specified?
    Maybe it should have been set by the JavaFX installer, but otherwise, I don't see that as a kludge from the Eclipse plug-in point of view, as if it is not set, I don't see how it could guess the location.
    And well, if you are afraid of bugs and workarounds, you should avoid JavaFX, indeed, at least until next year... :-)
    The platform is still a bit green; some even say it is still beta but I find it, and lot of other people too, already very usable.

  • How to deploy dictionary DC in server

    hi everyone
    I'm going to deploy Dictionary DC.
    There's a way for building dictionary DC in context tab of NWDS.
    but no way for deploying dictionary DC  in context tab of NWDS.
    Pls let us know how to deploy Dictionary Dc in server.
    It's very urgent matter since we must proceed development job.
    Regards bk Kim.

    Hi BUB,
    FYI : For Your Information....
    When you have created a Dictionary table, click on "Save All Metadata" on your
    second Toolbar of the perspective.
    If it is a local Project:
    1. Then Right Click on Your Project and click "Rebuild Project".
    2. Then similarly, click on "Create Archive".
    3. And then "Deploy".
    If it is a dictionary DC:
    1. Then Right Click on Your Project and click "Development Component"
    2. Select "Build .." from the extended menu of "Development Component".
    3. Then Select "Deploy" from the extended menu of "Development Component".
    I think this may help... Also look out for any errors in the Tasks Window.
    Regards,
    Alka.

  • Dictionary project

    Hello,
    In order to map CMP Bean to a table we need to have a dictionary project. But how do we create a dictioanry project on an external database like Oracle or SQL server and map it to an Entity bean.

    Hi Sudhakar,
    After dictinary project creation , when u deploy it , actually what is happening is that it is creating the tables corresponding to your dictionary project in the database , where your SAP J2EE WAS is running.
    i think u can only use the tables which are already present in the database or create new , where the current J2EE WAS is running .
                             Regards
                               Kishor Gopinathan

  • How to create a Project in Development system?

    Hi,
    I am starting my development on client system.
    Whenever i try to create infoarea or cube or catalog or whatever it is asking for request.
    before  creating request, Project must be created plz tell me how to create a project?
    whats the relation between project and package?
    And one more question...if i want to avoid asking requests then what settings must be done so that after all development is over i can transport to quality system at time.
    PLZ provide me the solution for above mentioned queries.
    Thanks in Advance,
    Vijaya.

    Thanks Tony.
    Please tell me in details or send me a document regarding this...what shoud be done in SE06.
    Here there are 2 options:
    1)Standard installation
    2)Database copy or database migration.
    and there s a option system change option.
    I am not getting the idea of this what can be done by clicking on system change option and perform post installation actions?
    plz help me out.
    Thanks,
    Vijaya

Maybe you are looking for