WebDynpro VS PDK

Hi all,
when should i use WebDynpro and when PDK ?
What is the prefered Environment to write Internet Apps for SAP ? Will PDK have a future or is it old style development and we should use WebDynpro for our future Development ?

Hi Bub,
    See this Link:
JSPDynpage  Vs Web Dynpro Java
/people/guru.subramanianb/blog/2005/03/29/jspdynpage-vs-webdynpros
Regards, Suresh KB

Similar Messages

  • Customising CATS      Webdynpro or PDK or BSP

    Hi SDN Gurus,
    Currently we've have configured CATS application in EP using ITS.
    Because of performance related issues , we are planning to develop the application based on BSP/PDK/Webdynpro.
    As I am new to BSP/Webdynpro/PDK your thoughts on this will be very much useful to me.Please guide me which option is better performance wise for CATS.Request you to provide any useful link/ info in this regard
    Thanks in advance.
    Regards,
    Ganga

    Hi Sujesh,
            To achieve this create Development component.
    In your component controller of WebDynpro Component add your database related code.like getting connection,registering connection etc.
    This approach is much like all java applications connecting with oracle.
    You can use JDBC connector service. Here you can configure Java based thin drivers to connect to Oracle Database. Advanatages of doing this are you can configure several connection paramaters and also do a rough monitoring of the connection usage.
    For connection u can use this code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Regards,
    Pooja.

  • WebDynpro or PDK

    Hi,
    I have a requirement where customer wants to develop web applications in Enterprise portal. The customer doesn't have a SAP Backend system(R/3). The data for the application is going to be in oracle or ms sql server. Which of the approaches will be suitable for developing applications for the portal. Webdynpro for java or PDK(HTMLB,JSPDYNPAGE).
    What are the pros and cons of each? Any suggestions?
    regards,
    Sujesh

    Hi Sujesh,
            To achieve this create Development component.
    In your component controller of WebDynpro Component add your database related code.like getting connection,registering connection etc.
    This approach is much like all java applications connecting with oracle.
    You can use JDBC connector service. Here you can configure Java based thin drivers to connect to Oracle Database. Advanatages of doing this are you can configure several connection paramaters and also do a rough monitoring of the connection usage.
    For connection u can use this code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Regards,
    Pooja.

  • Access webdynpro value from PDK

    Hi ,
    Can i know how to access a value set in webdynpro from PDK java?
    Example
    from webdynpro--
         WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, "BP_ID", "value");
    i would like to access the BP_ID value from PDK java. Can i know what is the method ?
    Thanks in advance.
    Sujith

    Just to keep you guys informed... found its not possible to solve the above issue because of underlying architecture differences.
    Hence to track a session / user, better use cookies which is possible both in pdk and webdynpro.

  • Display a ALV report in EP

    Hi,
    What is the best way to display an ALV report in the Portal?
    I would like the report to be displayed in the GUI of the Portal (meaning, I would like to work with WebDynpro or PDK or any other way such that the GUI will be identical to all the other Portal objects).
    Thanks in advance,
    Aviad

    Hi,
    You can actually, as suggested by others, code the PDV_ALV found in the PDK yourself.
    All you need is to understand the workflow of the BAPI called "PORTAL_ALV_QUERY_CALL".
    This BAPI is configured to get the properties of a query and another BAPI (derived from Z_QUERY_SELECTIONS) which plants additional data in the original query.
    For example - If you wish to activate a query called myQuery1 in the user group FI-AP with a variant called TEST between a date range selected by the portal user. The parameters passed to the BAPI are as follows -
    "QUERY_NAME=myQuery1"
    "QUERY_USERGROUP=FI-AP"
    "QUERY_VARIANT=TEST"
    "QUERY_CREATE_SELTAB_FM=Z_QUERY_SELECTIONS_1"
    "FROM_DATE="
    "TO_DATE="
    What will happen in the background is that the query myQuery1 from the usergroup FI-AP will be activated using the variant TEST and using the QUERY_CREATE_SELTAB_FM value the date fileds will be assigned to their corresponding fields in the query. After the activation the BAPI will return a table with the result.
    Hope it helps,
    Aviad

  • How to create a collaboration room of the SAP Portal from EJB tier.

    Hi.
    I have created a EJB Stateless Session Beans, and I want to create a room using the API of KM.
    I have used the code mentioned in this URL: http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.htm
    It works fine it is called from Web Dynpro.
    I have added in my application-j2ee-engine.xml of the J2EE Proyect.
    <application-j2ee-engine>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.km.application</reference-target>
         </reference>
         <reference
              reference-type="weak">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.netweaver.coll.shared</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.security.api.sda</reference-target>
         </reference>
         <provider-name>sap.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    It was deployed correctly, but when I tried to call the method the server sent me this exception:
    Caused by: javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
    at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSBean.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSBean.java:188)
    at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.java:991)
    ... 25 more
    javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
    I hope that somebody can help me
    Regards  in advance.
    Manuel Loayza
    Living La Vida JAVA

    After playing with WebDynPro and PDK  - finally I have a simple list showing.  This simple example has provided me with a good starting point - it is a pity that SAP do not provide such simple examples to allow you to get your head around the concepts.
    I used the SAP NetWeaver Developer Studio to produce a version of my example using a WebDynPro and a JSPDynPage (PDK). Deployed to my EP6 server and then created iVews to show then in the appropriate theme.
    My thoughts on this now are that both WebDynPro and PDK have merits - both achieve same end result with various affects.  WebDynPro is clunky and PDK is not tighly integrated with the Studio (unlike the .NET one).
    To use the PDK you need to understand the TAGs and the SAPDesignGuild website helps  - but would be better if the Studio presented a graphical interface much like DreamWeaver does.
    SAP's direction seems to be with WebDynPro and no longer PDK  - wonder if this is truely the case ?.  SAP does have a lot of work to do in my opinion to get both products up to scratch from a useability point of view.

  • Specific Search Without TREX

    Dear all,
    I've a KM directory that have many files, so I need to filter this by date or a custom attribute, have some possibility to do it without use TREX?
    Best regards

    Hi,
    It is absolutely possible using KM API'S in java webdynpro or PDK.
    Simple Logic would be ask user to give some value, get resource (file) from your folder, compare custom property value to user input value.
    Refer foillowing link for more info :
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3500
    Regards,
    Jigar Oza

  • CRM PCUI or not?

    I'm a bit confused about CRM implementation options for using PCUI/BSPs vs "pure" iViews (iViews that <b>don't</b> call PCUI BSP pages).
    (by the way, we're planning on implementing CRM 5.0 on EP 6)
    Is <u>PCUI/BSP</u> vs <u>iView/no BSPs</u> an architectural decision that I need to make?  If so, what are the pros & cons for each option? 
    Thank you - Matt

    Hi Matthew,
    we have a CRM implementation based on CRM 4.0 on EP6.0
    We are using a combination of BSP pages and "pure" iViews developed in webdynpro calling BAPIs in the CRM system.
    for example we are not using factsheet but webdynpro reports. when creating a lead we used a webdynpro with an iView designed for our needs (with instruction to the users what to write in each field) then called BAPI for Lead.create (adding some logic not possible in CRM) and after commit if the users needs to display/change the lead he will navugate to the BSP.
    What you should do is define all tasks the user needs and then decide how to develop the iView that supports every task.
    BSP are supplied with the CRM system so if your needs are like the standard effort is less in development
    (webdynpro ot PDK) you can do more but you need more effort and skills.
    from what I saw crm 5.0 has some more BSP applications to support what we developed in webdynpro.
    hope this will help you.
    Eyal.

  • What certification can i do???

    Hi ALL
    i  have trained on Enterprise portal and WebDynPro and PDK  what certification i can do???
    people told me that there is no certification on EP.
    presently i am working on Portal ,WebDynPro(NWDS).
    so please can u suggest me that what sort of certification i am eligible for.
    Thank you
    Regards
    Gayathri

    Hi,
    You mean to say there is no certification there for EP in this techEd? then yes they dont have certification for EP ,
    Here is the link where you can find all the certifications available in TechEd 07
    http://www.sapteched.com/india/reg/certificationExams.htm
    Also for EP certification details, please cee this link too.
    http://www.sap.com/services/education/catalog/netweaver/ep.epx
    Hope this helps,
    Regards,
    Ameya

  • Eventing from a PDK appln to a Webdynpro appln ! :(

    Hi,
    I would like to trigger an event in webdynpro and catch subscribe for it from a PDK application..
    (And passing data b/w WD appln and a PDK appln ...)
    How can i acheive the same..
    WDPortalEventing will work only across WD applns !
    Is their any API that suits my requirement !
    Any help is appreciated !
    Regards
    Bharathwaj

    Hi Bharath,
    You can trigger in WD and catch it in the PDK application.
    The following code is for firing an event from webdynpro.
    WDPortalEventing.fire ("urn:com.sap.tc.webdynpro.test.portal", 
                           "TestEvent", 
                           "AParameter");
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/1d584289e59041e10000000a1550b0/frameset.htm
    It can be captured in portal using EPCF
    EPCM.subscribeEvent( "urn:com.sap.tc.webdynpro.test.portal",
             "TestEvent",Function_name);
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/aebf40b87e0366e10000000a1550b0/frameset.htm
    Regards
    gEorgE

  • Can we Pass value from PDK to Webdynpro

    Hi ,
    Can we pass the values from PDK to webdynpro screen.I have created a screen in PDK , i want to send the control to the webdynpro application on some action.
    whether is it possible ? if yes tel me how to go about that .
    Rakesh

    Hi Rakesh ,
    We can pass value the concept of following comes into picture :-
    · dataObject
    This parameter contains the transported parameter of the portal event.
    · Namespace
    This parameter contains the name space of the received portal event.
    · Name
    This parameter contains the name of the received portal event.
    Refer to this for more details  :-
    http://help.sap.com/saphelp_erp2005/helpdata/en/5d/08f43cf1da7646a2b210a16321c669/content.htm
    Thanks & Regards
    Pankaj

  • Calling a pdk application from webdynpro application

    Hi experts,
    I have a reqiremet  in the webdynpro application by clicking some link or button it has to call pdk application in external window ,and i want to pass the value from pdk application to webdynpro application .
    thanks &regards,
    ramani.

    I tried testing it with the Webservice navigator, and getting the same error,
    XML Deserialization Error. XML is not valid. Element [http://session.services.enterprise.mclarensoftware.com] is required in  but can not be found.
    however
    request:
    POST /mclaren/services/session HTTP/1.1
    Host: localhost:50100
    Content-Type: text/xml; charset=UTF-8
    Connection: close
    Cookie: <value is hidden>
    Cookie: <value is hidden>
    Content-Length: 696
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><pns:createSession xmlns:pns='http://session.services.enterprise.mclarensoftware.com'><pns:strTechnologyID>filenet</pns:strTechnologyID><pns:strConnection>http://mclglaweb006:8008/ApplicationEngine/xcmisasoap.dll</pns:strConnection><pns:strConnectionFriendlyName> </pns:strConnectionFriendlyName><pns:strUserName>davidp</pns:strUserName><pns:strPassword>nimbus</pns:strPassword><pns:strDomain> </pns:strDomain></pns:createSession></SOAP-ENV:Body></SOAP-ENV:Envelope>
    response:
    HTTP/1.1 200 OK
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=utf-8
    Date: Thu, 29 Jun 2006 14:15:50 GMT
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><createSessionResponse xmlns="http://session.services.enterprise.mclarensoftware.com"><createSessionReturn><code>0</code><detail xsi:nil="true"/><message xsi:nil="true"/><sessionID>filenet;http://mclglaweb006:8008/ApplicationEngine/xcmisasoap.dll;davidp; </sessionID><successful>true</successful>

  • Calling pdk component in webdynpro

    Dear All
    is it possible to call a pdk component in webdynpro
    Please provide your inputs
    Thanks
    Karthi D

    Karthik,
    When you say call a portal component, do you want to navigate away from your webdynpro and call a any portal component?
    If yes,It is possible to call portal component. Just create an Iview for the portal component and assign that into portal page.
    Call the component using EPCF navigation api inyour web dynpro by passing pcd location of the page.
    Ram

  • Passing Value from PDK Java to Webdynpro Java in SAP EP SP18

    Dear Experts
    Please tell me how to call a webdynpro java ivew form a PDK java application and I need to pass a value to webdynpro form my PDK application.
    I am using SP18
    Please help me in this issue
    Regards
    Noel

    Noel,
    From your PDK aplication you will be providing the WD URL along with the parameter.
    Say in your PDK application you redirect to http://portalserver:50000/irj/local/webdynpro/sap.com/test?mypram=1
    In WD you fetch this parameter using WDProtocolAdapter class.
    Check below links for more information.
    [Access WebDynpro URL parameters programaticaly |https://wiki.sdn.sap.com/wiki/display/WDJava/Access%20WebDynpro%20URL%20parameters%20programaticly]
    Page 23 of this [document|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/ba641aa6-0c01-0010-57ac-c21a4ca7b542&overridelayout=true]
    Chintan

  • Calling WebDynpro Component from PDK

    Hi
    I need to pass portal runtime information to a webdynpro component. How do i call a webdynpro component from PDK.
    Any Help please.
    Regards
    NagaKishore V

    Were you able to call Webdynpro component fro PDK? Can you tell me how did you accomplish this?
    I have a similar requirement.

Maybe you are looking for