Web Dynpro Model help

I have a Web Dynpro application in which a user will enter information and click a button to call an RFC.  The RFC then returns data to a new view.  The user can make changes to this view, and will hit a button to call a BAPI.  I am using a custom controller.  I am not sure how to feed the results from my RFC to my BAPI.  Can someone give me some pointers as to where to begin?

Hi Maz,
Follow This Procedure,
Create Model:
Create a new Model for Your Webdynpro Project.
Name your Model and Give The R/3 Login details
After successful login select your RFC FM module/BAPI
Add your Model to component.
Mapping:
Do Mapping between Model and Your component controller.
Do Mapping Between your component Controller and View
Binding:
Create Required UI elements.
Bind your UI elements
Code:
Write a method to execute You BAPI.
Create a Model Object in InitView and Bind it.
Call execution method.
Regards,
<b>Ramganesan K</b>

Similar Messages

  • Error when Creating Web Dynpro Model in CAF-Service

    Hi All,
    I reaaly need help. AFter updating to SPS 9, it was necessary to redeploy my Entity Service. That contains to "Create a Web Dynpro Model" in the Service Explorer,
    to get an interface of the Service in my Web Dynpro Application.
    Before I update to SPS 9, the Application works fine.
    But now, when I want to "Create a Web Dynpro Model" in the NWDS I get the following Error-Message (its not a useful Error-Message):
    <i>Error cannot create Web Dynpro Model:
    Creation of  Web Dynpro model failed. Reason: null </i>
    Thanks for helping me
    Steve

    Hi Aliaksei,
    the problem in the thread is the same I got.
    When I use only 7 letters for the operation name, the creation work. When I use more then 7 letters the creation doesnt work.
    But its hard to find a methodname with only 7 letters.
    In SPS 8 I didnt have problems with the length of method names. Why is it so?
    The workspace log:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.577
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.592
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    Thanks
    Steve

  • Generate Web Dynpro Model?

    Hi,
    I'm familiar with DS 7.0, and I'm begining to lear 7.1 recently.
    I searched for tutorials and in the forum, but I can't find how to create a Web Dynpro model from a CAF DC, in 7.0 it was just a right click and generate WD Model, can you help me please?
    thanks a lot!

    Hi Maldonado,
    Check this link first:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ee5047-c7a0-2a10-70b7-9557e3e4d440
    Reward points if it's helpful.
    Regards,

  • Web Dynpro model binding

    can anybody help me here.
    I want to take some data from the backend system and want to display it into a table.

    hi,
    follow this procedure
      1.      Choose the context menu entry  Create Model on the  Models node.
      2.      Choose Import RFC Model.
      3.      Make the required specifications in the second wizard window to define where the generated   RFC proxies are to be stored.
      4.      In the next wizard window, log on to the SAP System that contains the BAPIs with the business logic.
      5.      Select the BAPIs for which you want to create Java proxies.
      6.      Choose Finish to start the proxy generation process:
      7.      In the Web Dynpro Explorer, choose Create Component Interface Definition in the context menu for the node Web Dynpro Component Interfaces.
    8.      Enter a name and a package and choose Finish.
    9.      The following structure is created in the Web Dynpro Explorer:
    10.      Place the cursor on the subnode Used Models and choose Add in the context menu.
    11.      Select the Web Dynpro model in the dialog box.
    12.      Choose OK.
    Regards,
    Sunaina Reddy T

  • Web Dynpro Model Wizard Exception

    Hi there,
    I've recently installed the latest Netweaver'04 Sneak Preview and I get the following exception when generating an R3 Adaptive RFC model (using the "create model" Wizard):
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController)
    Here are the rest of the details that the error displays:
    Plugin: Web Dynpro Model Editor Services
    Pugin ID: com.sap.ide.webdynpro.service.modeleditor
    Class: com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog
    Method: nextPressed
    Message: Internal error - see detail information in exception trace.
    I'm on Version: 2.0.11 of the NetWeaver Developer Studio.
    Anyone else out there with the same problem?
    Thanks,
    Gough

    Hi,
    Do check if the following link helps.
    Problem Connecting with SAP R3 for creating new model
    Regards,
    Vijith

  • Web Dynpro Model Generation for Application Services

    Hi Experts,
    I'm currently experimenting with the new functionality provided by CE, but there is one thing that I can't seem to figure out. How does the new Web Dynpro model generation work with regards to CAF Application Services? I'm trying to call an application service from a web dynpro application, but it seems as if models are completely different from Netweaver 7.0. What type of model do I need to create? Do I have to expose the application services as web services?
    I've tried creating an EJB model and then binding the model to the context, but I kept receiving null pointer exceptions when doing this and I'm not sure if this is the correct way to do this. Can anybody point me to some good documentation on Web Dynpro/CAF interaction in CE?
    Thank you,
    JP

    Hi JP,
    You are right, the CAF models are completely different in NW CE 7.1 compared to NW 7.0.
    CAF Application Services in CE 7.1 are in fact EJBs. So the EJB model importer is the way to go. You can find <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/dd45e4bc295595e10000000a1553f7/frameset.htm">documentation</a> and some <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/f7f744aea471fae10000000a1553f6/frameset.htm">tutorials</a> on help.sap.com. If you still have troubles after you go thru these, please post your concrete issues and I'm sure we'll be able to figure out what's been going wrong.
    HTH!
    -- Vladimir

  • Web Dynpro Model Usage Error

    Hi All
    I have created Web Dynpro Model out of my CAF project. I followed this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8b7059da-0c01-0010-e09c-9ecabaf58864">tutorial</a> to create Web Dynpro model and use it in other DC. In the other DC, I added all the other required DCs mentioned in the tutorial such as caf/core/dict,  caf/ui/ptn/common and tc/col/runtime with each of them havin dependency type as build and deploy.
    After I do model mappings in controller and view, deploy and run the application, I m gettin the following exception
    "java.lang.NoClassDefFoundError: com/sap/tc/col/client/generic/api/IQuery "
    Has anybody ever got this exception ?
    any help on this will be appreciated with points
    Regards
    Dharanish

    Hi ,
    check the following depedencies in Public part of the component,
    caf/core/dict
    caf/eu/gp/api/wd(GPWdbDynpro)
    Caf/eu/gp/api(external)
    caf/runtime/uicoupling/api(compilation)
    caf/UI/ptn/common(com.sap.caf.ui.utils)
    com.sap.aii.proxy.framework(defalut)
    com.sap.exception(default)
    com.sap.mw.jco
    com.sap.security.api.sda
    tc/cmi
    tc/ddic/metamodel/content
    tc/logging
    tc/wd/webdynpro
    tc/wdp/metamodel/content
    and then add following two in library reference in webdynpro refrence,
    if your using the GP interface we have to include the "cafeugp~api"
    for caf ->sap.com/cafruntimeuicouplingapilib
    Thanks,
    Balaji.B

  • Adding a Web Dynpro Model on a Composite Apllication Component in CE 7.1

    Hi experts,
    I am trying to add a web dynpro model to a Composite Application DC.
    I am using SAP NW CE 7.1.
    In CE 7.0, this was done by simple right click on the CA DC.
    but i am not able to do it in CE 7.1.
    Can somebody tell me how do i add a web dynpro model to a composite application DC???
    basically i need to add a UI corresponding to a composite application?????
    Cheers
    Gaurav Raghav

    Hi Srinivasan Subbiah,
    The option you just mentioned is disabled.
    how can i enable it???
    Also let me explain what i need.
    I have a 3 step process where in a user fills a form and sends it to his manager, who appoves/reject it based on some criterias. then the approval/rejection alert is send back to the user.
    Now i need to develop the UI as well as Business Logic for this process.
    How do i go about it?????
    I can develop the UI in a Web Dynpro DC and the Business Logic in a Composite Application DC. How do i associte one with the other????
    In CE 7.0, this was achieved by addind a Web Dynpro Model in the Composite Application Project. How do i acheive the same in CE 7.1 ?????
    Thanks and cheers
    Gaurav Raghav

  • Web Dynpro Model Editor - Wizard Exception

    Hello,
    I get the following error when I want to create model in Web Dynpro (Right click on Models > Create model):
    Internal error
    An internal error has ocurred. See error log for more details.
    Plugin name:  Web Dynpro Model Editor
    Plugin ID:      com.sap.ide.webdynpro.modeleditor
    Class:           com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
    Method:         createModel
    Message:       An error ocurred. See error log for more details.
    Exception:     java.lang.NullPointerException: null
    Developer Studio version: 7.0.11
    Thanks for any advice,
    Peter Censcak

    Hi Peter,
    We have already faced this problem in our company with Windows Vista machines.  So, if you have Windows Vista, try to run NWDS under Administrator account and in Windows XP compatibility mode...
    If not, probably you should re-install your NWDS.
    Best Regards,
    Juraj Sedik

  • Quick Question: ABAP web-dynpro model relies on JCO?

    Hi gurus,
    As mention in subject. Does ABAP web-dynpro model relies on JCO?
    Did a quick search without solid answers...

    JCO, is Java Connectors to connect SAP from Java world
    You don't need any JCO when you are in the same ABAP Stack
    There is no model Nodes/Attributes in Web Dynpro ABAP as in Java, because you are in the same ABAP Stack
    Abhi
    Edited by: Abhimanyu Lagishetti on Jul 10, 2008 11:35 AM

  • Creating web dynpro model from XMII web service

    Hi All,
    need some help, after creating model in Web Dynpro from XMII WSDL file everything is fine but when i execute the service. I'm getting the following error:
    <b><i>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element [http://www.sap.com/xMII]<OutTxRecordSetXML> is required in <OutTxExecutionMsg> but can not be found.</i></b>
    Please help!
    Regards,
    Raj

    Hi Sam,
    i am providing login details, if i dont i see the authorization error message. I'm using runner to access the BLS transaction now to get the xml data. I'm wondering if there's something wrong on the XMII side, some config?
    Regards,
    Raj

  • Inheritance in Web Dynpro Model

    Hello
    This is the current situation:
    I have 3 JPA entity classes much like these (including constructors, getters, setters, ...).
    @Entity
    public abstract class OuComponent {
    @ManyToOne
    private Ou ou;
    @Entity
    public class Ou extends OuComponent {
    @OneToMany
    private Collection<OuComponent> ouComponentCollection;
    @Entity
    public class Person extends Component {}
    In the database, OuComponent has a discriminator column.
    This structure appears to work in a normal web module and an EJB Module.
    In Web Dynpro, using a model, I can create a new Person and attach an existing Ou to it (through the inherited property ou from OuComponent).
    However, when I try to display the information, I recieve the following error:
    java.lang.IllegalArgumentException: Cannot perform write operation 'setRelatedModelObjects' on target role: Class 'Person' is not compatible to class 'OuComponent' of target role 'ouComponentCollection' in model class 'Ou'
    It appears that Web Dynpro does not realise that Person is actually a subclass from OuComponent. I think it simply checks the discriminatorcolumn for the word 'OuComponent' and throws this exception because it finds a related entity of the type Person instead of OuComponent (even though, as stated, Person IS-A OuComponent. Web Dynpro just seems to ignore it).
    How could I bypass this?
    Thanks for your feedback

    Hi Vincent.
    Have you resolve this problem? If yes, could you post the solution?
    Regards
    Marcos Brandã

  • Problem while accesing EJB DC from Web Dynpro DC - Help Needed.

    Hello All,
    I am trying to acces an EJB from a Web Dynpro, can you please suggest what I could have done wrong I have added all the required jar file, can you please suggest what could be wrong:
    Dec 25, 2006 1:56:04 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: john/wd: Build failed for sap.com/john/wd(MyComponents) in variant "default":
    The Build terminated with errors
    ------------------------------------- Build log ------------------------------------------------------
    Build Plugin Version: 1.6.3 (630_REL) from 03 November 2004 12:47:57
    Start: 25.12.2006 01:56:03
    Temp dir: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9
    prepare:
        [mkdir] Created dir: C:Documents and Settingsjohn.dtcLocalDevelopmentDCssap.comjohnwd_compgendefaultdeploy
        [mkdir] Created dir: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwdpackages
    gen:
        [ddgen]
        [ddgen] [Info]    Property deployment is true: Deployment information is provided!
        [ddgen] [Info]    Property sourcepath: C:Documents and Settingsjohn.dtcLocalDevelopmentDCssap.comjohnwd_compsrc/packages
        [ddgen] [Info]    Property targetpath: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9/gdd
        [ddgen] [Info]    Property archivename: sap.com~john~wd
        [ddgen] [Info]    Property vendor: sap.com
        [ddgen] [Info]    Property dcname: john/wd
        [ddgen] [Info]    Property language: Available languages are automatically determined!
        [ddgen] [Info]    Property addpaths ...
        [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
        [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
        [ddgen] [Info]    Destination directory C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gdd does not exist
        [ddgen] [Info]    Destination directory C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gdd is created
        [ddgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/dict/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
        [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
        [ddgen] [Info]    Generation finished (0 seconds)
        [ddgen]
        [wdgen]
        [wdgen] [Info]    Property deployment is true: Deployment information is provided!
        [wdgen] [Info]    Property sourcepath: C:Documents and Settingsjohn.dtcLocalDevelopmentDCssap.comjohnwd_compsrc/packages
        [wdgen] [Info]    Property targetpath: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwd
        [wdgen] [Info]    Property archivename: sap.com~john~wd
        [wdgen] [Info]    Property vendor: sap.com
        [wdgen] [Info]    Property dcname: john/wd
        [wdgen] [Info]    Property language: Available languages are automatically determined!
        [wdgen] [Info]    Property addpaths ...
        [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
        [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
        [wdgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
        [wdgen] [Info]    TextView DefaultTextView: UIElement does not have a label
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPrivateMyAppView.java
        [wdgen] [Info]    Generating packages/myCompany/MyAppView.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/InternalMyAppView.java
    Warning: searching view element definition for TransparentContainer RootUIElementContainer
    Warning: searching view element definition for FlowLayout Layout
    Warning: searching view element definition for TextView DefaultTextView
    Warning: searching view element definition for FlowData DefaultTextView_layoutdata
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPublicMyApp.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPrivateMyApp.java
        [wdgen] [Info]    Generating packages/myCompany/MyApp.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/InternalMyApp.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPublicMyAppInterfaceCfg.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IExternalMyAppInterfaceCfg.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPrivateMyAppInterfaceCfg.java
        [wdgen] [Info]    Generating packages/myCompany/MyAppInterfaceCfg.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/InternalMyAppInterfaceCfg.java
        [wdgen] [Info]    Generating packages/myCompany/MyAppInterfaceCfg.wdcontroller
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPublicMyAppWinInterfaceView.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPrivateMyAppWinInterfaceView.java
        [wdgen] [Info]    Generating packages/myCompany/MyAppWinInterfaceView.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/InternalMyAppWinInterfaceView.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPublicMyAppInterface.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IExternalMyAppInterface.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/IPrivateMyAppInterface.java
        [wdgen] [Info]    Generating packages/myCompany/MyAppInterface.java
        [wdgen] [Info]    Generating packages/myCompany/wdp/InternalMyAppInterface.java
        [wdgen] [Info]    Generating packages/myCompany/MyAppInterface.wdcontroller
        [wdgen] [Info]    Generating packages/myCompany/wdp/IMessageMyApp.java
        [wdgen] [Info]    Generating configuration/Components/myCompany.MyApp/MyApp.xml
        [wdgen] [Info]    Generating packages/myCompany/wdp/ResourceMyApp.properties
        [wdgen] [Info]    Generating configuration/Applications/myCompany.MyApp/MyApp.xml
        [wdgen] [Info]    Generating portalapp.xml
        [wdgen] [Info]    Generating wd.xml
        [wdgen] [Info]    Generating application.xml
        [wdgen] [Info]    Generating application-j2ee-engine.xml
        [wdgen] [Info]    Generating PublicPartFileList.properties
        [wdgen] [Info]    Generating PublicPartFileList.xml
        [wdgen] [Info]    Generation finished (0 seconds)
        [wdgen]
        [mkdir] Created dir: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9classes
        [javac] Compiling 22 source files to C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9classes
    C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwdpackagesmyCompanyMyApp.java:121: cannot access javax.ejb.EJBHome
    file javaxejbEJBHome.class not found
              SimpleSession mySessionBean = myBeanHome.create();
                                                            ^
    C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwdpackagesmyCompanyMyApp.java:123: cannot access javax.ejb.EJBObject
    file javaxejbEJBObject.class not found
              String x = mySessionBean.businessMethod();
                                            ^
    2 errors
    Build with ERRORS
    file:C:/Documents and Settings/john/.dtc/LocalDevelopment/DCs/sap.com/john/wd/_comp/gen/default/logs/build.xml:58: Compile failed; see the compiler error output for details.
    End: 25.12.2006 01:56:04 (Duration: 1 second)
    Message was edited by:
            John Bray

    have a look _
    Using EJBs in Web Dynpro (20)
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/a11ba7c8-0401-0010-23b5-f5d2394c0ac0">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/a11ba7c8-0401-0010-23b5-f5d2394c0ac0</a>

  • Web Dynpro - FITV_POWL_TRIPS Help

    Hi,
    My Client's travel policy establishes maximum daily limit for the reimbursement of meals. Standard SAP enforces maximums at receipt level, but cannot sum receipts and enforces a daily  maximum. Since as associate will mostly likely have several meal receipts for a single day, Client want summarize these receipts and flag a policy violation (with warning message) if the daily limit has been exceeded.
    We are implementing ESS/MSS and for travel expenses we are using Web Dynpro Application - FITV_POWL_TRIPS.
    Please let me know how to achieve summarized check on daily max limit.
    Regards,
    Amey

    I have some other iviews on ESS personal information like addresses and once it is changed/edited by employee on portal I have to shoot an email to HR department.
    So is there any enhancement I can use to achieve this functionality.
    And thanks for your previous inputs, it was useful.
    Regards,
    Amey

  • Calling Web Dynpro-Model of Application-Service doesnu00B4t work.

    Hello!
    I have created a Composite Application with Entity- and Application-Services. I have also created the WebDynpro-Model and use it in another WebDynpro application to call the services.
    I have a Entity-Service 'PollCatalogue' and an Application Service 'PollCatalogueApp'.
    When I call an Entity-Service to create an entity, it works:
    APollCatalogue pollcat =
                        PollCatalogueServiceProxy.createPollCatalogue();
                   pollcat.setName(name);
                   pollcat.getAspect().sendChanges();
                   IServiceFacade serviceFacade;
                   serviceFacade =
                        CAFServiceFactory.getServiceFacade(diplDefinition.class);
                   serviceFacade.save();
    But when I call the create-Method of the Application service nothing is created:
    the call is similar to above except that
    PollCatalogueServiceProxy.createPollCatalogue();
    is replaced by
    PollCatalogueAppProxy.createPollCatalogue();
    Anyway I don´t understand what is done behind the scenes. My create-Methode has one parameter name, because it is a business key. But the ServiceProxy-create-Methods do not provide a name parameter. What service-methods are called when service-facade.save() is called? In case of Entity-Service-Proxy seems to be the create method. But what if I change more than the key-parameter, what else is called? update? And in case of AppServiceProxy? ???
    Does anyone understand what is going on here?
    Thank you for your help.
    Best regards,
    Jörg

    Hi Jorg,
    About getting an exception:
    IQuery query =... ;
    query.execute() ;
    IMessageList mList = query.getResultAspect().getMessages()
    if (mList.size() > 0) {
         for (int i = 0; i < mList.size(); i++) {
             IMessage mes = (IMessage) mList.getMessage(i);
          Throwable ex = (Throwable) mes.getExtension();
         ByteArrayOutputStream bAOStream = new ByteArrayOutputStream();
         PrintStream pStream = new PrintStream( bAOStream);
         ex.printStackTrace(pStream);
            //use bAOStream in order to show stacktrace
    Regarding conceptual background about Models and Proxys:
    You can find some infomation about wd model:
    <a href="/people/valery.silaev/blog/2005/09/09/common-model-interface Model Interface</a>
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115">WQhy to use webdynpro common model interface ?</a>
    I don't know about some proxies documentation. Possible it does not exist. So, there is brief information about it:
    CAF data access services - comcafruntime~uicoupling DC. There is an implementation of com.sap.tc.col.client.generic.api api. These interfaces extends generic CMI interfaces. On top of CAF data access services implementation CAF designer generates typed CMI models which you finally use. For supporting of typed CMI models CAF provides additional build-in functionality GCP(generic client proxy) which directly operates over com.sap.tc.col.client.generic.api generic implementation.
    I recommend you to learn CAF data access implementation and read information about CMI model. That's not huge area and it gives you necessary understanding.
    Best regards,
    Aliaksei
    P.S. I don't recommend to learn and investigate the GCP implementation. That's just loss of time. The only thing that you need to know there is a black box layer which converts generic CMI model to typed model. Actually you can use generic model directly without typed. To do this use the following method for service facade getting:
    com.sap.caf.ui.utils.cool.CAFServiceFactory.getServiceFacade() ;
    but not this one:
    com.sap.caf.ui.utils.cool.CAFServiceFactory.getServiceFacade(final Class modelDefinition) ;
    and also do not use generated proxies at all, just use CMI api for model info setup for model nodes and other generic CMI api.

Maybe you are looking for

  • Software Updates failed to installed on Server 2008 R2

    Hello All, I have performed deployment of around 89 software updates on Windows Server 2008 Citrix Terminal Server. However, out of them only 1 of them got installed .  8 updates got downloaded in ccmcache. The updates were installing manually if we

  • How to Restore a data table from a 'dmp' file in a database of oracle ?

    Hello, I want just to restore one table belonging in a database. I Have the dmp file which I must restore. Then I am asking if it's possible to restore only a table not all the databse ? If Yes, What I mut do to realize it ? I need really helps . Reg

  • Context-sensitive F4 help

    Hello experts, I have a normal ABAP report with a selection screen. On this screen I have two input fields, field_A and field_B. In field_A the user can choose from one of 4 pre-set values (A, B, C, D). Now, depending on this value choosen for field_

  • Can't find Iphoto after HD Crash

    Kernal panics caused me to rebuild my IMAC. I installed my most recent disk of Tiger 10.4l. I can't find my Iphoto application. When i use my software reinstall disks the system does not recognize disk one. How do I go about getting Iphoto reinstalle

  • Get Next business day conditionally

    Hi All, I have a calendar table with all federal holidays, saturdays and sundays flagged to 1. I need help in finding the next business day from givendate and that too Conditionallly.. means Lets say today's date is 01/02/2014(wednesday) and I want t