Database programming with webdynpro java

Hi,
I'm trying to read a database table and fill a grid in web dynpro project.
Table is in portal database.
Is there a sample code to do this operation?
Thanks

>
Cemil Bozlagan wrote:
> Hi,
> I'm trying to read a database table and fill a grid in web dynpro project.
Google for JDBC code.
>
Cemil Bozlagan wrote:
> Table is in portal database.
Can you be more specific ? Are you talking about the backend table or the table that you wanna publish on the portal (through your JDBC web dynpro project) ...

Similar Messages

  • Build gui for existing oracle database tables with webdynpro java?

    hi
    i want to build a GUI to maintain existing oracle tables
    so far we used oracleFORMS to do so
    is there a good approach for webdynpro java? or do you recommend other sap tools?
    can we generate the gui with a wizard based on the fields in the table?
    do we have to generate sql statements or type in manually?
    regards
    joerg

    Hi Joerg,
    generally that is possible, but you'll have to implement the data access by yourself, by means of EJB or another Java persistance framework such as JDO, SQLMaps, Hibernate, whatever...
    Web Dynpro allows to build a GUI based upon a model - in this case this could be some POJOs (DTOs) representing your database tables, which are communicated to the GUI by your data access layer. Consider a model as a simple Java bean representing database data.
    This approach would require to build a data access layer which incorporates manually generated sql statements, so you'll have to have expert database and java knowledge.
    There might be other approaches, this is just to demonstrate one working possibility.
    regards,
    Christian

  • Calling RFC with webdynpro java (in NetWeaver Developer studio)

    Calling RFC with webdynpro java (in NetWeaver Developer studio)
    Hi,
    I want to call only one parameter RFC with webdynpro.
    Flight example is very complex.
    I want to push a button and pass parameter to RFC input and call RFC.
    After execution some message must appaer on the screen.
    Is there a step by step .pdf?
    Thanks.

    Hello Cemil,
    There's a seperate Web Dynpro forum for such posts, you should take a look there.
    Nonetheless, the classic tutorial is the FlightList. If I was you, I would make sure to do this tutorial step-by-step as it should give you the fundamentals for understanding aRFC. On top of that, it's most likely already available to you on your SAP system...
    Here's the link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
    Cheers,
    Hermann

  • SAP MDM Connection with WebDynpro Java

    Hi,
    I am working with SAP WebDynpro Java (UI) and SAP MDM (Database). I had added the respective jars-
    a) I want to test whether I am able to make a connection to the MDM server. Let me know input parameters (sample source code required) which I need to pass from SAP WebDynpro Java (UI) to make a successful connection to MDM (DB). Please let me know this in details.
    b) After making connection to MDM, I need to write a query where I need to pass Lot No1 & Lot No2 from WebDynpro Java (UI) & check in a MDM table numbers of records existing and later display  the corresponding records details  (sample source code required) in the screen.
    Your inputs will be highly appreciated.
    Thanks.

    Anmol,
    Depending on what version of WAS you are on...you might have WDJ components available that you can use. Just to offer a different view on your question.
    Otherwise follow the links above or the following link to get sample code.
    Read MDM ItemDetail Record in WDJ
    You should get lots of sample code on SDN.
    Thanks,
    Praveen.

  • How to access Portal Database ( ORACLE) through webdynpro  java

    Hello experts,
    I  want to <b>access portal database tables</b> ( WCR_USERSTAT,WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON )<b> using</b> <b>webdynpro  java</b> application/service . Our portal DB is Oracle , so please tail me some solution for this asap. I had tried using   <u>Portal Activity Report</u> iViews  but that no fulfill  our requirment.
    Regads,
    Laxmi..

    Hi,
    You can use the following link which will help you to resolve the problem:
    /thread/100181 [original link is broken]
    thanks & regards,
    Manoj

  • Calling RFC with webdynpro java (in NetWaver Dev.Studio)

    Hi,
    I have a RFC like below
    FUNCTION ZSAP_X.
    *""Local interface:*
    *"  IMPORTING
    *"     VALUE(USNAM) TYPE  USERNAME
    *"  EXPORTING
    *"      VALUE(PWD) TYPE  CHAR8
    1-I want to write webdynpro java application to call RFC
    2-Call RFC with USNAM parameter
    3-Get PWD output parameter and write it's value into View TextInput field.
    I wrote application but I did not get PWD (output parameter) value. I checked RFC running poreperly.I did not achieve to get PWD.
    How can I do that?
    Thanks.

    Hi Bala,
    I checked RFC, it is running properly and getting the output value.
    And I used command below, but it produces error
    String X = wdContext.currentPWDElement().getpwd().toString();
    Error:
    java.lang.ArrayIndexOutOfBoundsException: -1
    Thanks.

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

  • Integrating flex with webdynpro java

    hi,
    iam new bie in webdynpro java.please tell is there possibility of integrating flex in webdynpro java,if so what are the prerequisites for it.

    Hi
    This is possible through Adobe Flash Islands under Mimes folder in your Webdynpro project. You create flex objects in FlexBuilder and generate the .swf files. Then the swf files need to be placed under the Mimes folder of Webdynpro Project from which they can be accessed.
    Follow the link below for details :
    http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproJava(CE7.1EHP1)andAdobeFlexIntegration-ColumnChart
    http://help.sap.com/saphelp_nw72/helpdata/en/48/825afcf53d3ff6e10000000a42189c/content.htm
    Regards,
    Sayan Ghosh

  • Database connection with a Java applet

    I am having trouble figuring out what I am doing wrong.
    I am able to connect to the remote database from inside JDeveloper 9.0.3 and execute some simple SQL statements.
    The problem is when I try to run this applet on a web page to test it I get some exceptions.
    with e.message()
    access denied (java.util.PropertyPermission oracle.jserver.version read)
    java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.jserver.version read)
    I know from within the IDE I assume the security settings are lax or non-exsistant.
    any ideas?
    Thanks,
    Martin

    Java applets can only access their host machine. If your database is located on a different server than the web server then you get these errors. To access a database located on a different machine you can use the so callled Applet - Servlet tunelling. You actually use a servelt as a proxy. The applet calls the servlet and the servlet accesses the database.
    There is a lot of info on these issues in java.sun.com.
    hope this helps!

  • Regards with Webdynpro Java in ESS

    Hi,
    i wanted to know whether we can use webdynpro abap in a J2EE server.
    I have the issue that at the client, all the objects are customized and what i came to know that
    we can use webdynpro only on the standard packages but not on the customized ones.
    so here my issue is that can we use Webdynpro ABAP for the customized ones (objects)
    if yes then how do we proceed further.
    and how do use webdynpro ABAP in J2ee server
    please reply me at the earliest possible

    Web Dynpro ABAP is SAP's strategy to build Web Applications in ABAP environment.
    Web Dynpro ABAP is run on ABAP Engine not on Java Engine. ECC 6.0 by default has the ABAP Web Application Server. You can develop Web Dynpro ABAP Applications in the ECC itself and can be integrated into Portal via iViews.
    Web Dynpro Java is a tool to develop Web Applications in Java Environment. Jco is the medium through which it connects to R/3 system and calls the RFC Function Modules.
    I hope it is clear.
    Abhi

  • Integration Webdynpro ABAP with Webdynpro Java in Portal

    Hi All,
    I am facing problem while integrating WDA application with WDJ. I can integrate successfuly one application and trying to invoke other one with different parameters, i am facing the problem
    There is no iView available for system "XXXX_SAP_XXX": object "xxx.xxxx.xxx.xxxx". For more information, contact your administrator.
    I am passing the parameters
    system                      
    object_type                
    object_value_name          
    operation
    Thanks in advance

    Hi Samir,
    Pls look into these threads -
    IE8 problem (WebDynpro ABAP iView call)
    WebDynpro for ABAP and IE 8.0
    Regards,
    Sen

  • How to make a SQL database connection with a java code in netbeans?

    can somebody helpthrough an example

    raghu0007 wrote:
    can somebody helpthrough an exampleNetbeans is just an IDE.
    Anyway the JDBC tutorial may be found here http://java.sun.com/docs/books/tutorial/jdbc/index.html
    If you have a specific question please ask it.

  • Step for Publish a development created with Webdynpro for Java

    Good Afternoon.
    I am new in this of publish development in the portal.
    We created a development with Webdynpro java using RFC. We want know what are the step for publish this development in the portal ESS?
    The development work fine. But i don't know how to publish this in the portal.
    What configurations i have that do In the part of ECC and in the part of portal.?.
    Can someone help me?
    Kind Regards-

    Hi,
    When i have that do configurations for the following paths:
    Employee Self-Service>General Settings>Homepage for Self-Services-->Resources
    Employee Self-Service>General Settings>Homepage for Self-Services-->Headers and Area Group Pages
    Employee Self-Service>General Settings>Homepage for Self-Services-->Areas
    Employee Self-Service>General Settings>Homepage for Self-Services-->Subareas
    Employee Self-Service>General Settings>Homepage for Self-Services-->Services.
    Kind Regards,

  • Flex with webdynpro for java using Flex Island

    Hi Friends,
    I am on Netweaver/SAP Enterprise Portal 7.0 SPstack12, I am developing UI for BI reports using VC, I am interested in developing UI using flex and want to integrate those apps with EP, I came to know flux Island supports flux with webdynpro java,  basically I am a webdynpro for java developer, I want to develop flux applications with webdynpro for java in NWDS. And i want to know how to use Flex Island with webdynpro for java. So could u please post some useful links.
    Thank in advance
    Regards
    samba

    Hi
    If you want to try out using ADOBE Flash Islands with WDJ, you would need to download SAP CE 7.1 EhP1 trial version, if not done so already.
    The following link may help you in building the WDJ component with Flash Islands..
    The specified item was not found.
    If you donot want to develop the Flex project you can download the .swf file provided by the SAP mentors:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163
    Thanks.
    Chitrali

  • 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

  • All the user are Workspace Administrator

    Hi, when i create a user through ##> Home -> Administration -> Users -> Create user with these features: User is a workspace administrator: NO      User is a developer:      NO Application Builder Access : NO      SQL Workshop Access      : NO Team D

  • Can I Sharing Music Between I-tunes Libraries

    Hope someone can help......... I recently copied our itunes music from our desktop to our laptop. Kids can used the desktop and we will use the laptop. I have "authorized" the new laptop to purchase and play itunes music. If our daughter purchases a

  • Shift-Arrow in Curves adjustment layer CS6

    In previous verions of Photoshop, when I made a curves adjustment layer, selected the midpoint, then did a shift-arrow adjusstment, it was always in increments of 10. Now in CS6, it is 12 on my machine, 13 and 14 on the two other machines in the offi

  • MAC OS 8.5 Issue with Intialization of framegrabber

    Hi I've got an image analysis suite on an older Mac 8.5 OS, and I'm having issues where the program starts, but my error message says the framegrabber - an older PCI scion lg3 cant be started in slot 1. How do I look at the load order and initializat

  • ME9F generates authorisation High level risks, why?

    Hi All! Please, advise why transaction ME9F - Message Output: Purchase Orders generates High level risks with such transactions as MK01     Create vendor (Purchasing) MK02     Change vendor (Purchasing) XK02     Change vendor (centrally) MIGO     Goo