NW Dev Studio Java Dictionary  Usage

I want to create tables  using the NW Dev Studio's Java Dictionary...i know that if i am using the java dictionary i have to use the NW custom database ie SAP DB..but my query is ..if i am doing an installation of WEB AS with oracle as the specified database  then i should be able to use java dictionary for interacting with oracle??
please  help..

Hi,
this statements of yours:
>>> i know that if i am using the java dictionary i have to use the NW custom database ie SAP DB
is not quite right. In fact, you can use the Java dictionary with the default DataSource. You have a default DataSource on each installation, regardless of which DB product is used for it. Have also a look at Using JDBC 2.0 driver for default datasource thread.
So, the answer to your question is yes - you can use Java dictionary with your Oracle installation.

Similar Messages

  • 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

  • Modify a standard webdynpro( RFC import created ) java dictionary?

    hackers , geeks .
    here is the scenario I imported a RFC model from a non-standard RFC.
    the webdynpro i make does not work, i created a jco client and  the connection worked.
    i have mapped the problem , to the java dictionary created by the import process ,
    there is  a "Date" type that when i send via the JCO client i send as a String
    webdynpro  understands the "Date" data type as a java.sql.Date
    as a standard behaviour we cant change the standard dictionary
    is there a work around ?
    or a way to hack away at DEveloper Studio to be able to change the dicionary type ?
    thanks in advance ,
    Guy

    this works (from my test Jco Client) :
              JCO.ParameterList entrada = funcao.getImportParameterList();
              entrada.setValue("20041025, "DATA");
              client.execute(funcao);
              JCO.ParameterList recebido = funcao.getExportParameterList();
              System.out.println(recebido.toString());
              JCO.ParameterList tableExportList = funcao.getTableParameterList();
    this does not (from webdynpro):
    public void executarBapi( )
        //@@begin executarBapi()
        try {
           wdContext.currentY_Ssd_Get_Remessas_Novo_InputElement().setData(java.sql.Date.valueOf("25-10-2004"));
    wdContext.currentY_Ssd_Get_Remessas_Novo_InputElement().modelObject().execute();      
           wdContext.nodeOutput().invalidate();
        }catch(Exception e){
          e.printStackTrace();
    when i pass the value DATA via string , it goes no problem
    put when i change it to sql.Date , it does not work =[ .
    thats why i wanted to change the java dictionary

  • 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

  • Preferred Uses of Structure from Java Dictionary

    Hello Friends ,
    I am confused about the scenarios where the structure can be used as the data type from the java dictionary
    It will be help full if could be known about some scenarios which could make the usage of structure clear

    Hi,
    Java Dictionary can be used as a central repository for cross-platform definitions of data types and database objects.
    Data type descriptions in the form of structures are used in Web applications and can be created in the Java Dictionary independently of the program code. Structures created in the Java Dictionary can be reused in different Web Dynpro contexts.
    This useful document link: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00c062ec-f90d-2a10-52bd-df57de2d1ddb
    Regards,
    Anagha

  • Problem installing dev studio

    I have installed the dev studio on a windows workstation and it will not start, I get the following error
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Aug 17, 2005 07:25:13.767
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Caused by: java.lang.reflect.InvocationTargetException
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:861)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         ... 7 more
    Caused by: java.lang.NumberFormatException: For input string: ""
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:489)
         at java.lang.Integer.parseInt(Integer.java:518)
         at com.tssap.config.ProxySettings.parse(ProxySettings.java:184)
         at com.tssap.config.ProxySettings.loadFromPreferences(ProxySettings.java:114)
         at com.tssap.config.Startup.runBeforeWBStartup(Startup.java:39)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:65)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         ... 8 more

    Hi,
    Search for file "plugin_customization.ini" in PDK installation directory. ( C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.java.ide )
    open plugin_customization.ini file and for parameter
    "com.tssap.config/proxy= " , put 80 at the end and restart the PDK.
    80 -->IF you are not using proxy server to hook to internet.
    If you are using Proxy server , provide that port number.
    plugin_customization.ini=80.
    If you are not using the Proxcy server to hook to the internet .. DO THI SSTEP.
    Once PDK is opened in the PDK GUI, go to Windows (Menu) --> Preferences --> Workbench --> Proxy Settings --> uncheck the use a proxcy server.
    Reply back were you able to solve

  • Error after creating a new dimension in dev studio

    Hi,
    I have set up ATG 10.1.2 along Endeca 3.1.1
    For the CRS application the cartridges are shown properly.
    But once I create an autogen dimension from dev studio and run the baseline the navigation cartridges disappear giving the below mentioned error.
    error=com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://localhost:15000/graph?node=10098&refinement=dimvalid:10093+dynrank:0+exposed:1&refinement=dimvalid:10001+dynrank:0+exposed:1&refinement=dimvalid:10002+dynrank:0+exposed:1&refinement=dimvalid:1+dynrank:0+exposed:1&refinement=dimvalid:10011+dynrank:0+exposed:1&groupby=product.repositoryId&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&filter=AND%28product.priceListPair%3asalePrices_listPrices%2cOR%28product.siteId%3astoreSiteUS%29%29&irversion=640'., displayNameProperty=displayName_en, dimensionId=10001, buryRefinements=[]}, {showMoreLink=false, sort=default, @type=RefinementMenu, boostRefinements=[], maxNumRefinements=200, numRefinements=10, displayNamePropertyAlias=displayName, name=Size, moreLinkText=Show More Refinements..., dimensionName=clothing-sku.size
    I have also put the --back_compat flag as 640 but even then getting the same error.
    Only the redeployment of full application removes the error.
    Please suggest if anyone has faced similar issue.
    Regards,
    Varun

    Please see the suggested solutions in the following docs.
    Entity Maps Not Defined For Attachment Error When Selecting A Deliverable (Doc ID 358385.1)
    Corrupt Personalization - No Entities Found Entitymaps Not Defined For Attachment Item (Doc ID 1085011.1)
    R12:Supplier Page Unexpected Error: 'No Entities Found EntityMaps not Defined for Attachment Item' (Doc ID 1361320.1
    Geography Hierarchy No Entities Found, EntityMaps Not Defined For Attachment Item (Doc ID 831088.1)
    Depot Repair Bulk Receiving Error: "No entities found, entityMaps not defined for attachment item" (Doc ID 1357977.1)
    Thanks,
    Hussein

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

  • When to use WEb Dynpro application and Portal application in NW dev studio

    I would like to know what is the difference between
    webdynpro application  and EP Application using PDK.
    Are they comaparable  ...Which one has an edge over the other specific to any applications.
    I want develop an application related to e-commerce using the SAP R3 as backend for an industiry(where in a registered user can place an order and query on the staus of order. All the data will be stored in R3 ).
    I am planning to dev this using NW dev studio , but have an appehension about which application is useful for this kind of application either webdynpro or EP application .
    can anybody explain which one has edge over the other ( Webdynpro or EP applcations in context with NW Dev studio) and why.
    thanks
    PK

    Hi,
    <b>Webdynpro</b> is used when requirements ask for a prototype using minimal time n effort.
    Highly skilled programmers are not necessary to write a webdynpro application
    It uses dynamic controls without reloading the page.
    <b>Portal components</b> esp Abstract portal component provides a lean method to write HTML command to web client
    Large interactive components requires more programming.
    <b>WebDynpro</b> is a highly declarative, tool-based programming model. It minimizes platform-dependent "plumbing" code for building UIs and maximizes declarative metadata describing huge portions of a typical application in a platform-independent way.
    Web Dynpro follows a "top-down" approach in order to consistently support multiple runtime platforms.
    In Web Dynpro you just have to drag & drop the UI components.
    <b>Portal components</b> has followed a "bottom-up", programming-driven approach to Web development.
    Regards,
    Pooja.

  • Issue in workbench integration with Dev studio on unix machine

    Hi,
    I am trying to integrate my workbench on unix machine with dev studio on windows machine. To do so, I did the following:
    1. created a new application in dev studio
    2. In dev studio - Tools - Workbench settings I gave the host and port of my unix workbench. It was able to connect properly.
    3. Then through Tools - Workbench - Set Instance Configuration, I sent these configurations of my application on dev studio to that of workbench(which I had selected earlier in step #2)
    4. Then in my unix machine, I replaced the wine data with my new data feed
    5. Ran initialize services, load baseline update and baseline update scripts.
    5. My baseline update script Failed at Forge with the following error:
    FATAL     03/07/13 12:21:30.718 UTC (1362658890718)     
    +FORGE     {config}: Could not open "/app/ENDECA/endeca/endeca/apps/Test/data/processing/wine_data.txt.gz": No such file or directory     +
    +ERROR     03/07/13 12:21:30.719 UTC (1362658890719)     FORGE     {config}: Forge failed with 1 error and 0 warnings.+     
    I am not able to figure out why it is still looking for wine data. Any suggestions on this are highly welcome!
    Thanks,
    Vineet

    Vineet,
    Using a text editor, search for "wine.data.txt.gz" in your ./Test/config/pipeline/pipeline.epx. If you find it, note the record adapter's name trying to read it and then remove it in DEV Studio and reupload your pipeline project. If you don't find it, check the same file in the ./Test/data/processing/pipeline.epx directory. If you find it there, you may have an issue with your baseline update script as defined in your ./Test/config/script/AppConfig.xml file. Make sure that your Forge.getConfig(); command is successfully copying contents from the ./Test/config/pipeline directory to the ./Test/data/processing directory (you may want to clear out the processing directory before your next run to make sure of it).
    HTH,
    Dan
    http://branchbird.com

  • 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

  • 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

  • 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

  • Using Java Dictionary With Oracle

    Can Someone tell how can i configure my java dictionary with oracle...Currently if a create a table from my IDE and then deploy it it  deploys to the Default SAP DB ...how do  i directrly create  tables in oracle by just  specifying the Deploy option ...
    And further  on  I want my web Dynpro application to talk with oracle db..how do i acheive this..
    Please Help!!

    Hi, 
             Does this mean that the additional features of The Java Dictionary (bufferring etc ) can only be implemented if we ONLY connect to the SAP DB---- YES
    If I have to utilize the services of Java Dictionary in my application i can only use The SAP DB database -- YES
    You deploy a dictionary project to create a table in the DB.
    When it is a DB created and used by Web AS ,it is possible to create tables in that DB with dictionary project using the standard connection parameters specified in visual admin.
    Java Dictionary purpose is to create a DB abstraction by providing a standard interface to create tables whatever the DB used by WebAS maybe.
    Regards
    Bharathwaj
    Edited by: Bharathwaj R - Hope this makes it clear !

Maybe you are looking for

  • Using AAD as a user-database

    I'm wondering if it's possible to use Windows Azure Active Directory (WAAD) as a standard "user-database"? Let me explain.. We currently have a standard, "home-built" user registration system build on top of SQL server, MVC, etc. The users in this da

  • JCAPS 5.1.3 on an HP-UX 11iv3 System

    I can't seem to find any documentation indicating that JCAPS 5.1.3 will run on an HP-UX 11iv3 system. I see documentation up thru 11.23. Does anyone out there run this version of JCAPS on an 11iv3 system? If so, have you experienced any problems? Any

  • Adobe flash error while using Roxio

    I am using roxio to make a photoshow and keep getting the Adobe error message ' a script in this movie is causing adobe flash player to run slowly. If this continues to run your computer may become unresponsive. Do you want to abort this script?' It

  • Photoshop CS6 Pen Tool Issue

    The pen tool won't fill even when I set it to shape layers. Shapes won't fill either. It's getting me really frustrated and I'm not sure if it's just a glitch or I'm missing something.

  • Date function: urgent : please help

    This is the problem statement.: Problem: Given two dates (during the years 1901 and 2999, inclusive), find the number of days between the two dates. Input: Two dates consisting of month, day, year. For example, the inputs '6, 2, 1983' and '6, 22, 198