SQLJ use in Web Dynpro

Dear All.
How can i use my SQLJ and other helper classes (DB engine) in Web Dynpro? Where can i create the connection context? Is it possible, to use java relational persistence in Web Dynpro without EJB model?
Best Regards, Andrey.

Hi Andrey,
you should wrap your SQLJ related classes behind some EJB module project and another application project. You can create the Connection Context class and other SQLJ classes just by saying File>New>Other>Persistence>SQLJ Source. So first create your connection context class there and llok up for the Datasource alias as defined in your application.xml file in your application project. Later on in the business methods of your session bean you can access these sqlj helper classes for processing ad access the business methods from web dynpro through EJB project reference or local web service model.
For relational persistence you can use JDO if you dont want to use EJB CMP. Though for JDO, there are no wizards in NWDS for creating the .map or .jdo files. So you have to create these files by your own and have to take care of syntactical errors as in any xml.
Regards,
Shubhadip

Similar Messages

  • Dynamic Use of web dynpro component

    Hi,
    How can I dynamically use the web dynpro component for display in one component with out using Wdb Dynpro Interface component?
    I want to give user a dash board which is configurable by the user.
    Thanks and regards,
    Pradip

    >
    Pradip R[https://cw.sdn.sap.com/cw/docs/DOC-37733
    > Hi Bhaskar,
    > My components are not in used componenty. In runtime user will search the component in server and shall embedd in my application. So component usage is also dynamic.
    > Any suggestion?
    > Regards,
    > Pradip
    Hi,
    see the link here
    [https://cw.sdn.sap.com/cw/docs/DOC-37733|https://cw.sdn.sap.com/cw/docs/DOC-37733].
    as advised, you create a usage group for dynamic components, add component usages to the group based on your conditions.

  • Work on tasks without using the Web-Dynpro

    Hello everybody,
    i´m new at BPM and i have a question about tasks. Is there a way to work on tasks with the BPM API or something without using the Web-Dynpro? The System i work with is the CE 7.2. I can also use a CE 7.3 test System.
    thanks
    Edited by: jtrebess on Oct 5, 2011 3:57 PM

    Here ist the scenario: I have to write an application which has its own UWL. I know that it is possible to read tasks for the current user. Is it also possible to manage the task with the BPM-API? Is it possible to get the output parameter and to transfer the required Input parameter?

  • UI-Type using the Web Dynpro Dode Wizard

    Hi,
    every time i use the Web Dynpro Code Wizard and choose the Form i still get the UI-Element-Type "InputField". Is it possible to select ohter Element-Types for example DropDownByIndex or Text_Edit?
    i hope we can fix this.
    best regards,
    Michael

    Ofcourse you ca change it to UI-type that you want.
    change the Standard Cell Editor to DropDownbyKey all the UI elements will change(Default it will be InputField because most of the forms contains more number of InputFields ), also you can change the individual context attribute UI type also by changing the CellEditor of a table Column.
    Abhi

  • How to use Web dynpro DC to use another Web dynpro DC?

    First,I created a Web dynpro DC,and make the component to public .
    Then,I created another Web dynpro DC,Add the first DC in Used DCs,But in this Web dynpro, I can't use first Web dynpro Method,can anyone tell me how to do it?

    Go for below document.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60132577-7801-2b10-c9b1-b13b2f78f23b?QuickLink=index&overridelayout=true]
    This explains interaction between two components of same DC.
    Now, since you need 2 DC.
    Then follow below steps in addition to above document.
    1. Create DC1 and Dc2
    2. Add dependency from DC1 to DC2. (Used DC Component).
    If you find any further issues then please revert back.
    Thanks

  • Function used in web dynpro java application

    Hi
    I am creating some application in web dynpro java by using ABAP function module and table. I am trying to put data to table and update data in table and delete data in table in my application by using ABAP function by using RFC. And this is the ABAP function module.
    FUNCTION ZUP_DESIG12.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(DESG_CODE) TYPE  ZUP_DESIG-DESG_CODE OPTIONAL
    *"     VALUE(DESG_DESC) TYPE  ZUP_DESIG-DESG_DESC OPTIONAL
    *"     VALUE(DESG_ACT) TYPE  ZUP_DESIG-DESG_ACT OPTIONAL
    *"     VALUE(DESG_OPT) TYPE  ZUP_DESIG-DESG_OPT OPTIONAL
    *"  TABLES
    *"      WA STRUCTURE  ZMSTR_DESIG
    DATA CNT TYPE I.
    SELECT MANDT DESG_CODE DESG_DESC DESG_ACT FROM ZMSTR_DESIG
      INTO TABLE WA.
    IF DESG_OPT = 'U'.
    UPDATE ZMSTR_DESIG
        SET DESG_DESC = DESG_DESC
        DESG_ACT = DESG_ACT
        WHERE DESG_CODE = DESG_CODE.
    MESSAGE 'Updated Successfully' TYPE 'I'.
    ELSEIF DESG_OPT = 'C'.
    SELECT COUNT( * ) FROM ZMSTR_DESIG INTO CNT
       WHERE DESG_CODE = DESG_CODE.
       IF CNT > 0.
       MESSAGE 'Duplicate Designation code' TYPE 'I'.
       ELSE.
      WA-DESG_CODE = DESG_CODE.
      WA-DESG_DESC = DESG_DESC.
      WA-DESG_ACT = DESG_ACT.
      MODIFY ZMSTR_DESIG FROM WA.
       MESSAGE 'Inserted successfully' TYPE 'I'.
    ENDIF.
    ELSEIF DESG_OPT = 'D'.
       DELETE FROM ZMSTR_DESIG WHERE DESG_CODE = DESG_CODE.
       MESSAGE 'Deleted successfully' TYPE 'I'.
    ENDIF.
    ENDFUNCTION.
    I am not able to put data to table through my application but i am getting this error.
         java.lang.ArrayIndexOutOfBoundsException: -1
    What might be the problem .
    Regards,
    H.V.Swathi

    Can any one tell solution

  • Find keyword used in Web Dynpro Application?

    Hi folks,
    I have a simple question with regards to Web Dynpro for ABAP: Is it possible to search in my application for a keyword that I have used?
    For e.g., I wish to search for the keyword "loop" to find out which parts of my program have this matching string. I have many views, windows, and code in my component controllers.
    Is that possible? Please advise. Thanks in advance.

    Read this thread:
    how to view COMPONENTCONTROLLER interface 's implement class
    With my approach you can access the generated class and search on it globally from SE24 (efectively searching across the whole component).
    With Thomas approach you can only search on controller by controller basis but may be a bit less complicated to use.
    Regards
    Edited by: Alejandro Bindi on Oct 24, 2008 12:53 AM

  • Using Java Web Dynpro iViews to integrate with SAP MDM

    Hi,
    I have already SAP MDM 5.5 supplied iViews with Enterprise Portal.
    These include itemDetail iView, ResultSet iView, PicklistSearch, Hiearchy Search.
    Now, I am integrating Java Web Dynpro iViews with SAP MDM.
    When adding the fields using object of ResultSetDefinition Class, should we use MDM Table Name or MDM Table Name Code/MDM Field Name or MDM Field Code?
    I think we should use the CODE as the name as it does not contains any space while working with Java API.
    Regards
    Kaushik Banerjee

    Hi Kaushik ,
    Yes you should use the Field and Table CODE when integrating MDM with any other system using API either Java, Abap or Com api.
    Actually this is one of the main use of the code in MDM .In API.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Using ABAP Web dynpro for connecting EP with MDM

    Hi All,
    We have an architecture landscape in which EP User interface (iviews) need to integrate with MDM import manager. Is it possible to achieve this using Web dynpro? If any company has implemented this kind of scenario before, please gave us the tips.
    Thanks,
    Anand

    Hi Anand,
    You can use MDM Java API in WD. ABAP API for MDM is is currently in process.
    Just wondering what kind of business scenario do you have which allows portal users to use import manager`s functionality.
    Best regards, Maksim Rashchynski.

  • Shared memory used in Web Dynpro ABAP

    Hi Gurus,
    I am using shared memory objects in Web Dynpro ABAP. Everything was working fine until we went live to production. After some research I realized that users are not always able to reach data in shared memory because of different approach of web environment and classic GUI when using more servers. Solution would be to go to database instead of shared memory. However I am still interested if there might be some other way to solve it. Any ideas?

    Marek Veverka wrote:
    Hi Gurus,
    >
    > I am using shared memory objects in Web Dynpro ABAP. Everything was working fine until we went live to production. After some research I realized that users are not always able to reach data in shared memory because of different approach of web environment and classic GUI when using more servers. Solution would be to go to database instead of shared memory. However I am still interested if there might be some other way to solve it. Any ideas?
    To my understanding writing to the database is the safe option. There are no other ways to solve your problem with Shared memory.

  • Can CVS be used with Web Dynpro Applications?

    Is it okay to use CVS as the source control system for Web Dynpro apps? Or does the DTR have to be used? How would you use CVS within NetWeaver Developer Studio?

    Hi Dora,
    I hope at this time there should not be any confusion, because JDI can be used for Webdynpro Applications,right from devlopment to production you can maintain the versioning.
    Please go through the following links and explore more on JDI.
    You need to install the JDI separately. Go to http://service.sap.com/patches -> Entry by Application Group -> SAP Net Weaver -> SAP NETWEAVER -> SAP NETWEAVER 04 -> NWDI -> JDI 6.40 -> #OS independent
    https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/sap enterprise portal 6.0 sp4 netweaver stack 4 developer sneak preview download.abst
    https://media.sdn.sap.com/public/eclasses/nwbcil/Java_Development_Infrastructures_files/Default.htm#nopreload=1
    http://help.sap.com/saphelp_nw04/helpdata/en/01/9c4940d1ba6913e10000000a1550b0/content.htm
    i will be happy to join with you for any JDI related issues.
    hope this info helped you
    Regards,
    RK

  • How to use different Web Dynpro Applicat. in one view?

    hello all,
    i want to call at least 3 different Web Dynpro Applicat as main view in one component configuration (or as subtables in one page in portal).
    can anyone please show me how to resolve this?
    thank you
    SR

    in one Portal page, i have several subtables that they are mapped to the same webdynpro application, and i want add an other subtables to the others, but that one has/mapped to a different webdynpro application..
    exampl :
    one portal page containes a subtables that have at the moment only one Web Dynpro Application( HRTMC_01) and  Web Dynpro configuration(ZHRTMC_01)  so, i want to add another subtables that have another Web Dynpro Applicat(HRTMC_02) and a different Web Dynpro configuration(ZHRTMC_02).
    please show me how can I do this?
    thank you all

  • Use of Web Dynpro ABAP as UI in SAP NetWeaver BPM?

    Hello,
    Have anybody heard of any plans by SAP to support SAP Web Dynpro ABAP as another option for the UI in SAP NeWeaver BPM?
    As SAP now delivers some Web Dynpro ABAP UI:s as part of EHP:s etc it would be good to be able to reuse these in SAP NetWeaver BPM.
    All input is welcome.
    Thanks for your help and support,
    /Markus

    i heard it can be expected in 7.3.

  • Can't use deployed Web Dynpro as CO of type "Web Dynpro Component (GP int)"

    Hello!
    I've made a skeleton of Web Dynpro DC, as was told in "Implementing a Web Dynpro CO which Implements the GP Interface" (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59), though I couldn't fulfill the step 9, as SLD is not configured in our environment - I've made a Local DC.
    So, I've built a skeleton of the DC (all steps 1-16), then deployed it - as it is told in steps 47 & 48, to try if this works at least. DC was successfully deployed. But in the list of WD DCs, which are shown in step 50, my new DC is not shown!! Though, it is shown in the list of deployed Web Dynpros in portal.
    What's the problem? There're no errors outputted during build process. I thought that problem is due to step 9, where I've created a Local DC, not Inactive one. But if it the DC would be truly local, NWDS won't be able to deploy it to portal - am I right? My another version is - in steps 17-46 there's something crucial to do to make DC appear in the list of Web Dynpro Components with GP interface.
    I have SAP AS 7.07 and NW 2004s SP7.
    Thanx in advance!

    The difference between local DC and DC under a SC has nothing to do with the possibility to deploy it. Local DCs also can be deployed.
    Have you implemented the GP interface correctly? My suggestion is to follow the tutorial step-by-step.
    Regards,
    Christophe

  • How to use the Web Dynpro Component Interface

    Hi, All
    Error when processing your request
    What has happened?
    The URL http://erp2005.besuretech.com:8000/sap/bc/webdynpro/sap/zz_test5/ was not called due to an error.
    Note
    The following error text was processed in the system E05 : Error when Creating Component ZZ_TEST6. ZZ_TEST6 Is a Component Interface, Therefore, an Instance Cannot Be Created. Name of Component May Not Be Specified. (Used Component: ZZ_TEST5, Component Usage: MYCOMPUSAGE)
    The error occurred on the application server erp2005_E05_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_COMPONENT_USAGE~CREATE_COMPONENT of program CL_WDR_COMPONENT_USAGE========CP
    Method: RESOLVE_MAPPING of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: MAP of program CL_WDR_CONTEXT_NODE_MAP=======CP
    Method: MAP of program CL_WDR_CONTEXT_NODE_MAP=======CP
    Method: IF_WD_CONTEXT_NODE~GET_ELEMENT of program CL_WDR_CONTEXT_NODE_MAP=======CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system E05 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server erp2005_E05_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server erp2005_E05_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 600 -u: LIPEI -l: E -s: E05 -i: erp2005_E05_00 -w: 0 -d: 20070120 -t: 212436 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    How can i do?
    Thanks

    Hi,
    There is something wrong in the definition of component usage in your component. Maybe you forgot to instantiate the use component, maby the name you are using is not correct. Try to find it in that direction.
    Good Luck,
    Ben

Maybe you are looking for

  • My sales order is having two schedule lines

    Hi sap gurus, my sales order quantity is 36 pcs. the same sales order has two schedule lines in that the material availability date is 05/02/2010 for quantity 22 and for second is 15/02/2010 quantity is for remaining 14 quantities. so here delivery c

  • Quicktime files showing up as white frame since Leopard upgrade

    Recently upgraded to new Mac tower running Leopard from G5 running Tiger. Did a migration copy from old to new system. Since then iWeb'08 where I had been placing my quicktime files for my podcast are not showing a thumbnail only a white frame. It pu

  • 4.7E to ECC 6 upgrade in MM

    Dear All, What are the activities to be carried out  in MM functionality while upgrading from 4.7E to ECC6 and proposing to merge various company codes in single company code. Regards, Prem

  • Creation of multiple database

    how to creation and monitoring multiple databases in one linux box

  • Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD

    Hi!!!       I am facing a problem, when I run any application, I get the following error, *com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD. No such JCO destination