WebDynpro or JSPDynPage with HTMLB

We'd like to develop JavaApplications (PortalService, EJB,..) that will be called through a Portal-iView.
Some people from SAP say that it is better to use Java-iViews for frontend and others say that WebDynpro is strategic.
When looking at it, Java-iViews run inside the PortalPage where WebDynpro is always integrated by a generic WebDynpro-Java-iView using URL-isolation (IFRAME). This means that the browser always calls the WebDynpro-Content as if it comes from a dedicated server.
But WebDynpro has an easier and more standardized UI-design than HTMLB.
What are other pro/con's or recommendations?

Hi Prakash,
so for conclusion there would be the following possibilities for developing WebApplications being accessed through the Portal:
- use WebDynpro (with standard controls) for developing UI's that connect to components like EJB, PortalService, WebService, RFC-FunctionModule... containing the business-logic. This would clearly encapsulate the logic. Communication between iViews would take place through (client-side) PortalEventing.
- use Java-iView (PortalAPI/DynPage/HTMLB with specific control over HTML/JavaScript-Code) for developing UI's that can not be developed with WebDynpro because specific control of Clientside-Code is needed or the application runs completely in the Portal and has a simple UI.
- use ABAP-BSP for developing UI's when there is no WebDynpro for ABAP available on the same server and the application can not be implemented by RFC-FunctionModules.
Taking this scenario, looking at where the UI'Component would run:
- the Java-iView must run on the PortalServer
- the WebDynpro must run on the PortalServer when using PortalService
- the WebDynpro could run on the PortalServer or a dedicated server when using WebService or RFC-FunctionModule
- the WebDynpro must run on the same (dedicated) server when using EJB, ABAP
-> is this correct (e.g. EJB must be on same server as WebDynpro) and does it make sense?

Similar Messages

  • Test iView (htmlb & JSPDynPage) with Eclipse

    Hi,
    I am new and I wonder if it is possible to test "iView" generated in JSPDynPage and HTMLB with Eclipse without having a SAP Portal installed.
    I developp JSPDynPage and HTMLB in local (no SAP Portal, no network) and I would like to see result of developpment before to deploy and test it in the Portal
    And if it is possible, how do to it ? (plugin ...)
    Thanks a lot,
    Fabien

    H Fabien,
    simple answer: No, at least not for EP6, independent if SP2 or higher (NW04). "One upon a time", for EP5, there has been the PDK as a runtime development environment, but this has gone (which, I think, was the right decision, for having differences between this dev runtime env and the "real" portal).
    The conclusion for many people is to have locally installed dev portal installations in before a central dev portal instance.
    Hope it helps nevertheless
    Detlev
    PS: Please!!! Consider rewarding points for helpful answers on SDN or be more responsive if answers do not lead to a solution!

  • Webdynpro or JSPdynpages

    Hi Experts,
    I have a  client requirment with 20,000 concurrent  users hitting the EP 6.0 server. Need to know which is the best approach for developing the portal application between webdynpro and jspdynpages.
    What will be the performance issues in both the cases, if any ?
    Thanks

    hi  bhavaniharikrishnarao
         both jspdynpages and webdynpros have there own advantages.
    but,According to ur requirement,i recommend u go with webdynpros.
    The main advantages of webdynpros are
             u can reload particular components for Eg Table page of data when click of “Next” button.so,this reduces the load on ur server and increases performance. but where as in jspdynpages the whole page get reloaded.
    The other added advantages of webdynpros are
       1. Dynamic controls and reuseability
       2. Strict separation of layout data and business data through use of the Model View Controller concept
       3. Flicker-free screen construction.
       4. Web Dynpro supports a structured design process
                   upto my knowledege,i fell tat webdynpros have better performance then jspdynpages.
    Thanks
    Ananth.

  • Integrating WebDynpro ABAP applications with UWL for workflow in Portal

    Dear
    We want to integrate an abap webdynpro application as task in the workflow with UWL.
    More information was found in /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
    But no answer on the following issue:
    We use the transaction SWFVISU to prepare standard setting for our  task. This defines how a task is executed, once you select the task subject line on the worklist.
    Task                           TS91700001
    Visualization Type             ABAP Web Dynpro
    APPLICATION     z_wd_pas
    DYNPARAM     IV_WIID=${item.externalId}&period=${item.PERIOD}
    NAMESPACE     SAP
    SYSTEM_ALIAS     SAP_BSP_EREC
    But we want to start the abap webdynpro application with a dynamic parameter: period 07.2010 or 08.2010 or MM.YYYY. This parameter is a container element of the task, filled when the task is created. Also other parameters are available in the abap webdynpro application.
    Component       Z_WD_PAS
    Interface View  PAS
    Plug Name       DEFAULT
    Help Menu Text
    Help Link
                                                                                    Package         Z_PAS
    Language        EN
    URL             http://saperpd1.imec.be:8000/sap/bc/webdynpro/sap/z_wd_pas                                                                               
    with parameters
    IV_WIID     000000000000     SWW_WIID
    ORG_UNIT     00000000     ORGEH
    PERIOD                              SPMON
    PERNR     00000000     PERSNO                            
    Can we set the dynamic parameter list DYNPARAM from the task
    or should  we read the container in our abap webdynpro application described in http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal?
    More information: The task is a webservice
    Standard task        91700001   Z_PAS_CC
    Object Category      BOR Object Type
    Object Type          WEBSERVICE   WebFlow Service
    Method               PROCESSDIALOG                      Dialog Service
    with the following standard program code for this method:
    begin_method processdialog changing container.
    DATA: l_wi_objkey TYPE swotobjid-objkey.
    DATA: l_wiid TYPE swwwihead-wi_id.
                                                                                    CALL FUNCTION 'SWE_WI_GET_FROM_REQUESTER'
      IMPORTING
        requester_workitemid = l_wi_objkey.
    l_wiid = l_wi_objkey.
                                                                                    CALL FUNCTION 'SWF_WSC_START_LH_DIALOG'
      EXPORTING
        i_wiid                 = l_wiid
      EXCEPTIONS
        url_creation_failed    = 1
        browser_launch_failure = 2
        OTHERS                 = 3.
    IF sy-subrc <> 0.
      CASE sy-subrc.
        WHEN 1.
          exit_return '1000' space space space space.
        WHEN 2.
          exit_return '1001' space space space space.
        WHEN OTHERS.
          exit_return '1002' space space space space.
      ENDCASE.
    ENDIF.
    end_method.                                           
    Before calling the function SWF_WSC_START_LH_DIALOG the parameters for the abap webdynpro should be defined. Is this possible ?
    Thanks for your suggestions.
    Best regards
    Luc Marent

    I added below sources .
    >    <ItemType name="uwl.request.webflow.WS91000001" connector="WebFlowConnector" defaultView="WorkItemRequestsView" defaultAction="launchWebDynPro" executionMode="default">
    >      <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" connector="WebFlowConnector" />
    >      <Actions>
    >        <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
    >          <Properties>
    >            <Property name="WebDynproApplication" value="ZWD_WF_002" />
    >            <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no" />
    >            <Property name="DynamicParameter" value="wi_id=${item.externalId}" />
    >            <Property name="openInNewWindow" value="yes" />
    >            <Property name="System" value="WDSETXXX" />
    >            <Property name="WebDynproNamespace" value="sap" />
    >            <Property name="display_order_priority" value="5" />
    >          </Properties>
    >          <Descriptions default="" />
    >        </Action>
    >      </Actions>
    >    </ItemType>
    >    <ItemType name="uwl.request.webflow.decision.WS91000001.UWLSETXXX" connector="WebFlowConnector" defaultView="WorkItemRequestsView " defaultAction="viewDetail" executionMode="default">
    >      <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" connector="WebFlowConnector" />
    >    </ItemType>

  • Call WebDynpro Abap application with trasaction

    Hello Experts,
    can I call my WebDynpro Abap application with a trasaction ?
    Regards
    sas

    hi,
    Go through this link
    [****************/Tutorials/WebDynproABAP/TransactionCode/Create.htm]
    Hope it will help you.
    Regards,
    Rohit

  • Client side eventing with HTMLB in a jsp file

    Hi All,
    Can u give me the solution to work with client side eventing with HTMLB with a jsp page but not with a dynpage.
    Regards,
    sireesha.

    Hi sireesha,
      Check this.
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page import="com.sapportals.htmlb.enum.EventTrigger,com.sapportals.htmlb.event.Event" %>
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <script language="Javascript">
    function checkinput(){
         var funcName = htmlb_formid+"_getHtmlbElementId";
         func = window[funcName];
         var inputfield1 = eval(func("inf1"));
         var input1 = inputfield1.getValue();
         if (input1==""){
              alert("Enter mandatory fields");
    </script>
    <hbj:form>
    <hbj:textView id="tv1" text="Name"/>
    <hbj:inputField id="inf1"
    type="String"
    required="true"
    jsObjectNeeded="true">
    <% inf1.setClientEvent(EventTrigger.ON_BLUR, "checkinput()"); %>
    </hbj:inputField>
    <br>
    <hbj:textView id="tv2" text="City"/>
    <hbj:inputField id="inf2" type="String"/>
    <hbj:button id="b1" text ="submit" onClick="onSubmitclicked"/>
    </hbj:form>
    </hbj:page>
    </hbj:content>
    Regards,
    Harini S

  • WebDynpro Exception: IDs with Namespace Must Have the Format / namespace /

    Hi Experts,
        Can you please help me with this:
        I get the following error when I execute a webdynpro application.  Can you please let me know where do
        I need to look to verify the <namespace> and <id>.
       Error when processing your request
    What has happened?
    The URL http://sapdev.tfi.local:8000/sap/bc/webdynpro/sap/z_temp_disp_mara/ was not called due to an error.
    Note
    The following error text was processed in the system DEV : WebDynpro Exception: IDs with Namespace Must Have the Format /<namespace>/<id>
    The error occurred on the application server sapdev_DEV_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
    Method: CONSTRUCTOR of program CL_WD_TABLE_COLUMN============CP
    Method: NEW_TABLE_COLUMN of program CL_WD_TABLE_COLUMN============CP
    Method: IF_WDR_VIEW_DELEGATE~WD_CREATE_UI_TREE of program /1BCWDY/6JQCRML58TRPAX42J5MQ==CP
    Method: CREATE_UI_TREE of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========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 DEV 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 sapdev_DEV_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 sapdev_DEV_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.
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Edited by: arshad mohammed on Sep 24, 2009 2:19 AM

    Hello experts,
    i got the same error but we use sap basis 700 with sps 15. What to do here?

  • Connect webdynpro callable object with ms sql server 2000

    Hi all
    how connect webdynpro callable object with ms sql server 2000?
    How can I register on the portal as an additional connection?
    thank you very much!

    Thanks for your answers, Now I have the following problem, to develop this code:
    try {
              InitialContext iC = new InitialContext();
              DataSource dataSource = (DataSource)iC.lookup("jdbc/ConnectionAlias");
              Connection con = dataSource.getConnection();
              java.sql.Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("select * from ejemplo");
              while (rs.next()){
                   com.sap.test.sql.testsql.wdp.IPrivateTestIViewView.IDatosElement
                                                             DatosElement =
                                                             wdContext.nodeDatos()
                                                             .createDatosElement();
                   DatosElement.setId(rs.getString("id"));
                   DatosElement.setNom(rs.getString("nom"));
                   DatosElement.setNum(rs.getInt("num"));
         }catch (SQLException e) {
              wdContext.currentContextElement().setB(e.getMessage());
         }catch (Exception e){
              wdContext.currentContextElement().setB(e.getMessage());
    and shows me the following exception
    ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    the data that you place in the visual administrator were:
    Drivers: com.sap.aii.af.jmsproviderlib (msutil.jar , mssqlserver.jar , msbase.jar)
    DataSources: sap.com/JDBCConnector_MyDatasource.xml
                   Name: MyDatasource
                   Alias: ConnectionAlias
                   DriverName: com.sap.aii.af.jmsproviderlib
                   JDBC Version: 1.x
                   Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
                   Database URL: jdbc:microsoft:sqlserver://181.42.101.219:1433;DatabaseName=test
                   User: sa
                   Password: abcd1234
    did not know the cause of the problem
    thanks!

  • Webdynpro abap Faqs with anws!

    Hi experts!!
    Can any one please Provide some webdynpro abap faqs with answers.
    what are the good books/sites to Read/Refer.
    Thanks;
    -Upen.

    Check out this links related to abap web dynpro
    WDA in SAP Help
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/7c/3545415ea6f523e10000000a155106/frameset.htm]
    Web Dynpro for ABAP in SDN
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9 [original link is broken]
    Developing ABAP Applications Using Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/d41b25d2216babe10000000a1553f6/frameset.htm
    Web Dynpro ABAP: Development in Detail
    http://help.sap.com/saphelp_nw2004s/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm
    WDA Sample programs & tutorials
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Web Dynpro ABAP Demonstration Videos
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    Web Dynpro ABAP Wiki's
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdabap/main&
    New to Webdynpro
    Regards,
    Manne

  • Getting Error :  WebDynpro Exception: IDs with Namespace Must Have the

    Hi Experts,
    I am getting following error while running Webdynpro application, Please give me solution
    The following error text was processed in the system E6I : WebDynpro Exception: IDs with Namespace Must Have the Format /<namespace>/<id>
    The error occurred on the application server HCSAP2950-1_E6I_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
    Method: CONSTRUCTOR of program CL_WD_TABLE_COLUMN============CP
    Method: NEW_TABLE_COLUMN of program CL_WD_TABLE_COLUMN============CP
    Method: IF_WDR_VIEW_DELEGATE~WD_CREATE_UI_TREE of program /1BCWDY/AK98KQL1OONYBLIT9ARC==CP
    Method: CREATE_UI_TREE of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CPThanks,
    satish

    Hi,
    SAP Notes 1242377, 1381873, 1389146
    Threads:
    WebDynpro Exception: IDs with Namespace Must Have the Format /<namespace>/<
    regards, Lukas

  • Java webdynpro is compatible with VC?

    Hi Experts
    Whether Java webdynpro is compatible with VC?
    What I mean is whether Webdynpro projects can be imported into VC and further modified.Please respond me as soon as possible
    regards,
    Noel

    Hi,
    no this is not possible.
    VC is pure modelling; you can run a web dynpro from VC (and even within) by making use of HTML forms, but that's it !
    In the next release (7.1) it will be possible to integrate web dynpro components, but it is not clear yet how this will be done.
    Rgds,
    Karim

  • BSP's with htmlb - Tags on Browsers for Apple Computers

    Hello,
    I have a question. I use htmlb - Tags in a lot of BSP's. At the most Browsers for Windows Systems there is no problem, but at the Safari Browser or the Internet Explorer for Apple Mac OS X the Sites with htmlb - Tags won't work.
    Does anybody know why?
    Greetings
    Timo

    hallo Timo,
    Actually on Friday we got an official update on the question of Safari support. In summary SAP will <b>not</b> natively support the Safari browser. However, what we will do, for <u>design2003 only</u>, is to recognize the Safari browser as an IE6 browser. The official statement is that what works, works. No code changes will be made to handle any special cases of Safari browser. It is acceptabled that Office Integration, handling of PDF documents and any ActiveX stuff will not work.
    This change should be in 620SP46 or SP47. If you should be in a hurry, consider to modify our browser recognition code already now.
    bye, brian

  • WebDynpro and JSPDynpage

    Hi all,
      Could any one please send me some documents on how to communicate between WebDynpro and JSPDynpage. Are there any examples in help.sap.com
    Thanks.

    Hi Neha,
    You should use EPCF (Enterprise Portal Client Framework),
    which allows communication between iViews <b>on the same page</b> in the client side.
    In jspDynpage it is used in the form of javascript methods, as described here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/771fa290-0201-0010-3d93-865e66cc6d7e
    In Web-Dynpro you have java methods (which, I guess, are finally rendered also to javascript methods),
    which are available from the class <b>WDPortalEventing</b>,
    as described here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d35bb690-0201-0010-988a-d669c8530518
    Note that the jspDynpage iView must be in URL Isolation for EPCF methods to work.
    Hope that helps,
    Yoav.

  • Problem with htmlb:chart after upgrade

    We just upgraded from BW 3.0, WAS 6.20 to BW 3.5, WAS 6.40.   Testing revealed that my htmlb:chart would no longer work.  I just got a white screen whether using Internet Explorer or Netscape.  After much digging, I found that the values for charttype changed with this upgrade.  Any value before that was COLS* now is COLUMNS*
    This is just a "for your information" in case you run into this.
    Janice

    Thanks for the info!

  • WebDynpro proxy page with Webdynpro iView and SAP Gui for html iView

    Hello,
    I have a requirement to have a page that has at the top of it a webdynpro for java iView screen with several links that when pressed pop-up various data pulled from the back-end. This part is fine and presents no problem. Beneath this the requirement calls for a SAP Gui for HTML iView to be displayed. Which is no problem either. The problem occurs when one of the links in the java webdynpro application at the top of the screen is pressed it causes the SAP Gui for HTML portion to refresh and come back to the beginning. So for example you first navigate to this screen and you go into the sap gui for html portion and drill into 2 or 3 screens in the sap gui for html transaction. If you then press one of the webdynpro links the sap gui for html (which is a separate iView) refreshes and you are taken back to the initial screen. This only occurs when using a web dynpro proxy page. If I use a standard page the SAP Gi for html does not refresh. Unfortunately there are other things not mentioned here that require us to use the webdynpro proxy page.
    Any help is greatly appreciated,
    Bert

    Use System admin -> System Config and find your system in the PCD (under portal content). Right click and open -> permissions. Find a user or group or role and give it the end user permission. I'd suggest the group Everyone.
    Cheers

Maybe you are looking for

  • How to completely remove safari and all its files?

    I have Windows Vista and I need to COMPLETELY remove Safari and ALL its files. It is important that it is completely removed, and I've already tried simply uninstalling (from "uninstall a program" in the control panel)it but it doesn't get rid of EVE

  • What's the best way to organize a sequence of objects of different classes

    Say I have a base class and some derived classes... lots of different derived classes, actually. I need to create many objects from all sorts of these subclasses and put them onto a LIFO sequence. What's the ideal type of collection to handle this? I

  • Error occur when terminting several running process

    Dear all, when I terminate the several existent procsses with status 'Running', the server is immediately down. And I have to reboot the server to fix this problem. Can someone explain this error message? The error message is shown as follow: 2010-12

  • Will the current iPad 2 upgrade to iOS 5?

    Hi, I wanted to know if the current version of iPad 2 will be upgraded to the iOS 5 (scheduled for release this fall)? SHould I buy the iPad 2 right now or wait for the iOS 5 to hit the market?

  • Need help with ABAP coding using java

    Dear experts, I have used ABAP to code many reports/function modules.However as i know java quite well,i want to achieve the same using java.I have utilized JCO to retrieve information from RFC in this mission. However i realized that i had to code a