No data from a RFC imported in a Web Dynpro project

Hi all,
I'm experimentig an issue in an app that calls a RFC, the RFC is returning nothing, no message, no error, no data. I tested the RFC in R3 and is doing what is supposed to do, it was tested also in the SLD content manager and it responses well to the ping and test command.
This is what am i doing in the component controller called Rgsm_Reload_Comp
this in the wdDoInit:
  //@@begin javadoc:wdDoInit()
  /** Hook method called to initialize controller. */
  //@@end
  public void wdDoInit()
    //@@begin wdDoInit()
     try {
               Z_Ep_Ess_Gral_Get_Empl_Data_Input input = new Z_Ep_Ess_Gral_Get_Empl_Data_Input();     
               input.setP_Usrid("GRAMIREZ");
               wdContext.nodeEmpl_Data_Input().bind(input);
               wdContext.currentEmpl_Data_InputElement().setP_Usrid("GRAMIREZ");
               //input.setP_Usrid(wdContext.currentEmpl_Data_InputElement().getP_Usrid().trim());
          } catch (Exception e) {
               IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
               msgMgr.reportException("Error al inicializar la RFC de datos personales " + e.getMessage(), true);
    //@@end
This in the execute Bapi method called from the view:
  //@@begin javadoc:executeBapGetDataEmpl()
  /** Declared method. */
  //@@end
  public void executeBapGetDataEmpl( )
    //@@begin executeBapGetDataEmpl()
    //Traemos los datos del empleado comunicandonos con la RFC Z_Ep_Ess_Gral_Get_Empl_Data
          try {
               wdContext.currentEmpl_Data_InputElement().modelObject().execute();
               wdContext.nodeEmpl_Data_Output().nodeHr_Personal_Out().invalidate();
          } catch (Exception e1) {
               msgMgr = wdComponentAPI.getMessageManager();
               msgMgr.reportException("Error al inicializar la RFC de datos personales " + e1.getMessage(), true);
    //@@end
And last this in the Rgsm_Reload_ComView the view controller, the action to call the execute method in the component controller:
  //@@begin javadoc:onActionfindEmployee(ServerEvent)
  /** Declared validating event handler. */
  //@@end
  public void onActionfindEmployee(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionfindEmployee(ServerEvent)
    wdThis.wdGetRgsm_Reload_CompController().executeBapGetDataEmpl();
    //@@end
I've followed all steps in online tutorials I found, but I don't know what is wrong, if somebody can help me on this I'll really appreciate it.
Best regards,
Ramien.-
Message was edited by: Ramien  Rosillo

Hi Kranthi,
Yes I'm pretty sure of the input parameter, because P_Userid y conformed by first letter Name and followed with complete last name I.E "RROSILLO".
Also I've found in a note how to activate log details in the Was I set it to all instead ERROR (as default shipped). On one of log files I found an exception:
#1.5#001083FDED3400950000008900005CE9000409021814BBD4#1135804505426#com.sap.tc.webdynpro.progmodel.context.Node#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.context.Node.getParentElement#J2EE_GUEST#192##cssapq01.corp_I10_95141350#Guest#0325f1a077e711dabfea001083fded34#ID\#(cssapq01_I10_09)ID1950194550DB11983431035475623143End.d41a077077e611dac48e001083fded34##0#0#Debug##Java###: retrieving parent element#1#Node(Rgsm_Reload_CompView.Empl_Data_Input.Output.Hr_Personal)#
#1.5#001083FDED3400950000008A00005CE9000409021814CB9A#1135804505430#com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler#sap.com/tcwddispwda#com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.getString#J2EE_GUEST#192##cssapq01.corp_I10_95141350#Guest#0325f1a077e711dabfea001083fded34#ID\#(cssapq01_I10_09)ID1950194550DB11983431035475623143End.d41a077077e611dac48e001083fded34##0#0#Info##Java###resourceBundle=, locale=, key=, string=#4#java.util.PropertyResourceBundle@70086665#en#MESSAGE_AREA_ACC_DESCRIPTION#Message Area#
#1.5#001083FDED3400950000008B00005CE9000409021814E2BA#1135804505436#com.sap.tc.webdynpro.progmodel.context.Node#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.context.Node.getParentElement#J2EE_GUEST#192##cssapq01.corp_I10_95141350#Guest#0325f1a077e711dabfea001083fded34#ID\#(cssapq01_I10_09)ID1950194550DB11983431035475623143End.d41a077077e611dac48e001083fded34##0#0#Debug##Java###: retrieving parent element#1#Node(Rgsm_Reload_Comp.Empl_Data_Input.Output.Hr_Personal)#
#1.5#001083FDED3400950000008C00005CE9000409021814EACA#1135804505438#com.sap.tc.webdynpro.clientserver.cal.ClientManager#sap.com/tcwddispwda#com.sap.tc.webdynpro.clientserver.cal.ClientManager#J2EE_GUEST#192##cssapq01.corp_I10_95141350#Guest#0325f1a077e711dabfea001083fded34#SAPEngine_Application_Thread[impl:3]_53##0#0#Path##Plain###Exiting method#
#1.5#001083FDED3400950000008D00005CE9000409021814ECDE#1135804505439#com.sap.tc.webdynpro.services.sal.util.cache.GlobalCache#sap.com/tcwddispwda#com.sap.tc.webdynpro.services.sal.util.cache.GlobalCache.releaseStringBufferCache#J2EE_GUEST#192##cssapq01.corp_I10_95141350#Guest#0325f1a077e711dabfea001083fded34#SAPEngine_Application_Thread[impl:3]_53##0#0#Debug##Plain###released#
#1.5#001083FDED340044000000FA00005CE90004090218A54537#1135804514898#com.sap.engine.library.monitor.mapping.ccms.Trace##com.sap.engine.library.monitor.mapping.ccms.Trace######876ae77077e411da8dc1001083fded34#SAPEngine_System_Thread[impl:5]_78##0#0#Error##Plain###RegisterNode</Applications/KM Collaboration/SCF/Service Connectors>: com.sap.engine.library.monitor.mapping.ccms.CcmsConnectorException: 95141350: Invalid configuration group for node'/Applications/KM Collaboration/SCF/Service Connectors' (APP.KM.Collaboration.SCF.ConfiguredConnectors, max. 40 characters)#
#1.5#001083FDED34007E0000000300005CE90004090219854FA9#1135804529581#com.sap.tc.webdynpro.serverimpl.wdc.locking.LockingService##com.sap.tc.webdynpro.serverimpl.wdc.locking.LockingService.lock#J2EE_GUEST#192####ce7be36077e611da9ab6001083fded34#Thread[Finalizer,8,system]##0#0#Info##Plain###Unlocked all.#
After reducing the size of the Rgsm_Reload_Comp.Empl_Data_Input.Output.Hr_Personal node to Rgsm_Reload_Comp.Input.Output.Hr less than 40 car.
I get this lines in the same file (defaultTrace.0.trc)
#1.5#001083FDED34006A0000004D00001B7900040902F81A15BF#1135808263880#com.sap.tc.webdynpro.progmodel.context.Node#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.context.Node.exit#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Debug##Java###: exiting#1#Node(Rgsm_Reload_Comp.Input.Output)#
#1.5#001083FDED34006A0000004E00001B7900040902F81A1790#1135808263880#com.sap.tc.webdynpro.progmodel.context.Node#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.context.Node.clearElements#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Debug##Plain###Node(Rgsm_Reload_Comp.Input.Output): cleared elements#
#1.5#001083FDED34006A0000004F00001B7900040902F81A1956#1135808263881#com.sap.tc.webdynpro.progmodel.context.Node#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.context.Node.exit#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Debug##Java###: exiting#1#Node(Rgsm_Reload_Comp.Input.Output.Hr)#
#1.5#001083FDED34006A0000005000001B7900040902F81A397F#1135808263889#com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel#sap.com/tcwddispwda#com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel.JcoClientManagementWDP#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Info##Plain###successfully released IWDJCOClientConnection to pool for Model: class com.cts.rgsm.wd.Rgsm_Reload_Model - ConnectionInfo: [email protected]68#
#1.5#001083FDED34006A0000005100001B7900040902F81A3DC9#1135808263890#com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel#sap.com/tcwddispwda#com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel.JcoClientManagementWDP#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Info##Plain###successfully released IWDJCOClientConnection to pool for Model: class com.cts.rgsm.wd.Rgsm_Reload_Model - ConnectionInfo: com.sap.mw.jco.JCO$Client@4f41c0ac#
#1.5#001083FDED34006A0000005200001B7900040902F81A4075#1135808263891#com.sap.tc.webdynpro.services.session.Monitor#sap.com/tcwddispwda#com.sap.tc.webdynpro.services.session.Monitor#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Debug##Plain###Destroying scope for Application com.cts.rgsm.app.AppGetEmployee#
#1.5#001083FDED34006A0000005300001B7900040902F81A42DA#1135808263891#com.sap.tc.webdynpro.services.session.Monitor#sap.com/tcwddispwda#com.sap.tc.webdynpro.services.session.Monitor#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Debug##Plain###Removing Application com.cts.rgsm.app.AppGetEmployee#
#1.5#001083FDED34006A0000005400001B7900040902F81AA07E#1135808263915#com.sap.tc.webdynpro.clientserver.cal.ClientWindow#sap.com/tcwddispwda#com.sap.tc.webdynpro.clientserver.cal.ClientWindow.removeApplicationWindow#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Debug##Java###Removed application window with ID=, status=.#2#Id8e7544b077ef11da91b9001083fded340#true#
#1.5#001083FDED34006A0000005500001B7900040902F81AA473#1135808263916#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ApplicationWindow.destroy()#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Info##Java###Destroyed ApplicationWindow with ID=.#1#Id8e7544b077ef11da91b9001083fded340#
#1.5#001083FDED34006A0000005600001B7900040902F81AA719#1135808263917#com.sap.tc.webdynpro.clientserver.cal.ClientApplication#sap.com/tcwddispwda#com.sap.tc.webdynpro.clientserver.cal.ClientApplication.exit#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Info##Plain###ClientApplication destroyed ID: FNOL instanceCounter: 0#
#1.5#001083FDED34006A0000005700001B7900040902F81AAA3F#1135808263918#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ClientApplication.exit()#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#ID\#(cssapq01_I10_09)ID1641170050DB10933063800664331447End.8e7544b077ef11da91b9001083fded34##0#0#Info##Java###Destroyed ClientApplication with ID= and name=. Reason was #3#FNOL#com.cts.rgsm.app.AppGetEmployee#Exception#
#1.5#001083FDED34006A0000005800001B7900040902F81AACA2#1135808263918#com.sap.tc.webdynpro.clientserver.cal.ClientManager#sap.com/tcwddispwda#com.sap.tc.webdynpro.clientserver.cal.ClientManager#J2EE_GUEST#192####c4793da077ef11daa094001083fded34#SAPEngine_Application_Thread[impl:3]_34##0#0#Path##Plain###Exiting method#
Could this help?
Ramien.-

Similar Messages

  • Pasting data from Excel sheet to Table in web dynpro View

    Hii All,
    Is it possible to copy data ( some rows) from Excel sheet and paste in table in a view?
    I tried doing this, but only first element is getting pasted..
    Does anybody know how to do this?
    Is there any way to perform similar thing?
    Pls help.
    regards,
    Amey

    Hi,
    Copy paste may work if you have that many rows in your table(not sure).
    One thing you can do is upload the excel and then populate the context of the node bound to the table by fetching data from the excel
    For this you can make use of JXL or APACHE POI.
    Regards
    Ayyapparaj

  • Error when importing an old web dynpro project

    Hi all,
    I've have upgraded my Sap Netweaver Developer Studio from 2.0.13 to 7.0 .
    Now when i try to compile my old WD project it returs the seguent errors:
    1)The project was not built since its classpath is incomplete. Cannot find the class file for java.lang.Object. Fix the classpath then try rebuilding this project     
    2)This compilation unit indirectly references the missing type java.lang.Object (typically some required class file is referencing a type outside the classpath)     PackagePointer.java     Project/gen_ddic/datatypes/com/sap/function/model/types     line 1
    Where can i find the java.lang.Object?
    thanks, Daniele

    Hi all,
    maybe is too late.. but I wish to share my humble experience with you.
    I encounter in a similar problem...
    When I'm working with Web Dynpro (Messagge Pool) suddenly the NWDS seems to be crazy and give me the error "this compilation unit indirectly references the missing type java.lang.Object "
    I read many post, this one too, but still got the problem.
    Compare the current WD project with another one I found that my project didn't have rt.jar ibrary in its library list.
    So I add in WD project - properties - Java build Path - Libraries  the rt.jar library.
    In my case it was in C:\j2sdk_dir\jre\lib\rt.jar.
    So I build project and the problem desappear.
    I hope this experience will be usefull.
    Cristian

  • Problem with importing web dynpro project

    we did a web dynpro project and we want work on this project on another computer wich conecting to the same server.
    we checked all the definations include the JCO definations and all the same.
    when we try deploy and run the project we get internal server error.
    can someone help what wrong and what to do?
    this is the error log:
    #1.5#000423886958006E0000066B00000A24000437A7577C8C11#1187091773681#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####7e4347524a5b11dcc145000423886958#SAPEngine_Application_Thread[impl:3]_15##0#0#Error##Plain###Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.taldor.tablecapabilties.CTablecapabilties. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:381)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 27 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Unable to create connection for RFC Metadata Repository WD_RSDAS_RFC_METADATA_DEST
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.RFCMetadataRepository.getSingleton(RFCMetadataRepository.java:198)
         at com.taldor.tablecapabilties.model.Bapi_Bank_Getlist_Input.<init>(Bapi_Bank_Getlist_Input.java:51)
         at com.taldor.tablecapabilties.CTablecapabilties.<init>(CTablecapabilties.java:252)
         at com.taldor.tablecapabilties.wdp.InternalCTablecapabilties.<init>(InternalCTablecapabilties.java:246)
         ... 32 more
    Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:170)
         at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:36)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.RFCMetadataRepository.getSingleton(RFCMetadataRepository.java:192)
         ... 35 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RSDAS_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:467)
         at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
         at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:168)
         ... 37 more
    #1.5#000423886958006E0000066D00000A24000437A7577C9187#1187091773681#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#2####7e4347524a5b11dcc145000423886958#SAPEngine_Application_Thread[impl:3]_15##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.taldor.tablecapabilties.CTablecapabilties. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    Exception id: [000423886958006E0000066B00000A24000437A7577C8C11]#

    Hi,
    I think the development components are missing in the new system.
    In this case...instead of importing the developed web Dynpro components into another computer... copy the entire folder (DC-Development Components) from the original system to the new system. Make sure the path and folder name are same in new system. Hope it should resolve the issue.
    Regards,
    Padman

  • Accessing portal dictionary tables from Web Dynpro project

    Hi
    Am a new to whole portal and webdynpro thing, and I hope that you can help here
    I created a new dictionary project through NWDS and created a table with columns and I successfully deployed it
    I also created a web dynpro project and I added a TABEL UI to the layout
    how can I connect or access the table I created in the dictionary project from the Web dynpro project so I can query all data to fill the TABEL UI  in the web dynpro ?
    is there a driver that I can use like JDBC where I can just write regular SQL queries ?
    regards

    Hi swathi
    See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
    Relational Persistence
    =================
    SQL-based coding: expressive!
    SQLJ: for static SQL, checked at design time,
    recommended
    JDBC: for dynamic SQL, can be combined with SQLJ
    =======================
    Object-relational Persistence
    ======================
    SQL-free! Portable!
    JDO: light-weight object persistence, Java-like dynamic
    query language
    EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
    Regards,
    Venkata Kalyan Karanam

  • How to create a Web Dynpro Project from Downloaded zip file?

    Hi,
    I have been working in Java Web Dynpro for last 1 month but not able
    to create any Web Dynpro from Downloaded zip file?
    Can anybody tell me how to create a Java Web Dynpro Project from
    Donloaded zip code?
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    You can add the existing zip file into your workspace by the following way -
    First open the NWDS and create a new project by clicking file -> new -> Project -> Simple -> Project
    and then File -> Import -> zipfile and then browse the zip file into the newly created project.
    or else you can also unzip the zip file into a folder and then Use the option of Import an exisitng project into workspace. You can find this in the File-> import -> Existing project into workspace. and then use the Browse option to browse to the existing folder.
    After importing the project you need to rebuild the project
    Regards,
    Raju Bonagiri.

  • Can a PDF be imported in a Web Dynpro Application

    Can a PDF be imported in a Web Dynpro Application than deployed into a New Archive and be able to displayed in the browser?  Instead of creating the PDF from scratch.

    I am sorry, I did find the tool menu.
    I did import it and created the datasources for the form.
    And I get this error messege when I deploy:
    Error stacktrace:
    java.lang.ClassCastException
         at com.acc.demo.salestaxreturn.wdp.IPrivateSalesTaxReturnCompView$IContextElement.wdSetObject(IPrivateSalesTaxReturnCompView.java:201)
         at com.sap.tc.webdynpro.progmodel.context.AttributePointer.setObject(AttributePointer.java:222)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:106)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1085)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

  • BW SEM-BPS API functions from a Web Dynpro project in Netweaver

    Hi,
    Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done this before? If so, do you have any examples, hints?
    Regards,
    Linda Lee

    Hello Linda,
    let me add some more remarks on this topic from the BW-BPS development perspective:
    I completely agree with Marc's statement.
    Thechnically it is possible to build a planning application UI on top of the BW-BPS API functions and we have some customers that are live with such a solution. However, I would recommend this only in 2 cases
    1. You need to create a tightly integrated application with BPS being only one part of several other components (including transactional UI, e.g. running against a CRM system).
    2. You prefer a UI technology that is not provided by SAP (e.g. Java Swing based).
    In all other cases, I would say that one should stick to the Web Interface created with Web interface Builder, mainly for cost reasons. If this tool does not fulfill all your needs there are several possibilities to enhance and extend the generated web interfaces by custom specific coding (see also several How-To guides in this area; e.g. "How to integrate a BEx Web Template into a BPS Web interface").
    Another possibility is to loosly couple several web UIs with the help of the portal.
    To my knowledge, it is not true that BSP web technology will be obsolete shortly. 
    In general, I would always prefer a tool supported, model driven approach compared to a heavy custom coding. This is also in sync with SAPs general strategy to a more pattern based approach to create UIs.
    Regards,
    Tobias Hagen
    Dev. Manager BW-BPS
    SAP NetWeaver BI

  • Error while creating web dynpro project from DTR

    Hello,
    I am getting following error while creating Web Dynpro project from DTR,
    org.eclipse.jdt.core.JavaModelException: File /<track name><DC><package>/.classpath is read-only.
    Still project gets created but evenif I check out view , it does not allow me to edit it.
    Also I have checked in and activated some changes but active copy in DTR is not reflecting those changes.
    I tried Add subtree option in DTR perspective for folders in this project. Is it result of that?
    Please help me in this regard.
    Thank You
    Beena

    Hi Beena,
            .classpath file should not checked in to DTR(uncheck the Read only properties). It is local file it contains class path for local system.
             Generally in webdynpro project only src folder should be checked in DTR.
    Regards
    Suresh

  • Importing EJBs into web dynpros

    I have created EJBS and I would like to use these EJBs in
    web dynpros. How do I do it.
    I think I can create a jar file for the EJBS and reference them in my Web Dynpro project but I think that is not the right way to do it.
    Thanks,
    PKK.

    Hi Simon + Praveen,
      I will try to walk you through how to do it but I think you may need a bit of experience with EJB's, Web Dynpro and NWDS to understand it right away. <i>The following assumes you have created a session and entity bean.</i>
    First you need to make sure your table is deployed in the database that you created(dictionary perspective).
      Second deploy your EJB (.ear file) to the J2EE engine (J2EE development perspective)
      Third switch to Web Dynpro perspective and goto your project properties (right click on the project and click properties)
       Now goto Java Build Path - libraries - add external jars and add the EJB-Jar file. then choose the tab called "order and export" and move the jar file to the top.
    <b>THIS IS A LITTLE TRICKY</b>. Next you need to add the sharing reference. In the same properties wizard where you add the java build path select Web Dynpro References and then select the Sharing references tab. Click on Add and enter the vendor name and name of the ear file like this <vendor name>/<name of the ear file>, This is how your web dynpro knows where the ear file is on the j2ee engine. <b>IF YOU ARE NOT SURE WHAT IT IS</b> you need to access the J2EE visual administrator. and goto SERVER 0/Services/Deploy then select the "runtime" tab then look under <i>Server 0/EJBContainer</i> save all your meta data. your WD application now accesses your EJB logic.
    Good luck!!
    -wael
    *plz dont forget the rewards?

  • Example storing data in the default schema with a Web Dynpro application

    Hi,
    is there any example or tutorial for storing data in the default schema with a Web Dynpro application via SQLJ or Hibernate by using the default DataSource?
    Thanks for Help,
    Dirk

    Hi,
    When you create the TAB-Strip object you should be able to set the default displayed TAB against the properties of the TAB-Strip.
    Gareth.

  • Ecelsius data from QAAWS do not fit right format to project a bar chart.

    Hello team,
    Need some help in formating Xcelsius data from Qaaws link.
    Here is what i have:
    I imported data in to Xcelsius using QAAWS link.
    What i need to do is to project a bar chart with filters. 'i.e' chart should be projected based on the filter output.
    The problem is that when i pick the data through filters it selects just one row.
    But i need multiple rows, 'i.e'  for every year.  (as i'm projecting Yearly data. Vs HeadCount)
    Excel file has got 4 columns, Project name, Role Name, Year, Head Count.
    Filters are based on project type and Role type.
    'i.e'  when i select project name and role name using filters : i want the filters to pick the matching data in excel (Headcount) for every year, however it picks for just one single year.
    Sample Excel data:
    TeamName     RoleName     CalendarYear     HeadCount
    engg                ModDel            2007                15
    ProjOff             CV                  2007                 22
    SCM                 CV                  2008                 42
    site                   CV                  2008                 31
    ProjOff             HP                   2008                 22  
    PCM                  MM                  2009                 46
    Sore                 ZP                   2009                 22
    Engg                 CV                  2010                 19
    ProjOff             CV                  2010                 26
    Any Ideas to develop this formatting would be greatly appreciated.
    Thank you.

    Anil, 
    Thank you for a quick reply.
    After i tried the combo box instead a filter i got multiple rows picked up, but how will it work for more than one combo box.?
    I actually need 2 to 3 filters or combo boxes here, which can pick the data from Xcelsisus and output multiple rows on those filtered conditions, (just like filters, matching rows of input but output multiple rows )
    'i.e' Combo boxes are displaying output separately ('i.e' both combo boxes are not in sync) unlike filters 
    Any ideas on this issue, Let me know if i do not make myself clear here.
    Appreciate your help.
    Regards
    Ravi

  • Prob. exec. print job from RFC which im calling Web Dynpro java in Portal

    Hi,
    Ive got a problem executing a print job from an RFC which im calling in Java web Dynpro Application in Portal. Im using an Acess Method G: for Front End Printing but Order gets stuck with the Status "Waiting" "Front end unavailable".
    Any help would be greatly appreciated.
    Thanks in advance!!!

    HI,
    I dont think you would be able to do this. Instead, you need to get the content from RFC into WD java and print from the browser.
    Regards
    Srini
    Edited by: Sinivasan Rajamani on Jun 14, 2010 4:25 AM

  • Cannot retrieve data from PublishingPageContentOWSHTML in a Content Search Web Part

    I tried to display the content of a page using Content Search Web Part, the page is stored in a Pages library and the content type is Article Page.  When the data is retrieved in the Content Search Web Part, the page content mapping to PublishingPageContentOWSHTML
    is empty, although other data, such as Title and Page Image, can be retrieved.  It's very strange that I can do this work correctly for another CSWP web part, that page is stored in a Pages library in another subsite.  Both of the CSWP web parts
    are on the same publishing site.
    Could everybody tell me what I was doing wrong?   Thanks you very much in advance.
    Newbie to SharePoint.

    Hi Albert GSC, I had the same problem. I'm starting now with display templates and after including "'SecondaryFileExtension','ContentTypeId'" at the end of the mso:ManagedPropertyMapping section it worked.
    For example, my mso:ManagedPropertyMapping section was (PublishingPageContentOWSHTML returns empty):
    <mso:ManagedPropertyMapping msdt:dt="string">
    'Picture URL'{URL de la imagen}:'PublishingImage;PictureURL;PictureThumbnailURL',
    'Link URL'{Dirección URL del vínculo}:'Path',
    'Line 1':'ArticleStartDateOWSDATE',
    'Line 2':'Title',
    'Line 3':'PublishingPageContentOWSHTML'
    </mso:ManagedPropertyMapping>
    Then I included "'SecondaryFileExtension','ContentTypeId'" (PublishingPageContentOWSHTML returns its value):
    <mso:ManagedPropertyMapping msdt:dt="string">
    'Picture URL'{URL de la imagen}:'PublishingImage;PictureURL;PictureThumbnailURL',
    'Link URL'{Dirección URL del vínculo}:'Path',
    'Line 1':'ArticleStartDateOWSDATE',
    'Line 2':'Title',
    'Line 3':'PublishingPageContentOWSHTML',
    'SecondaryFileExtension','ContentTypeId'
    </mso:ManagedPropertyMapping>
    Still don't understand why but I'm looking for the reason, until then hope it helps

  • How to use EVS with different data in each row, in a Java Web Dynpro table?

    Hi all,
    I am using EVS in a column of java web dynpro table.
    Let's say the name, and context attribute, of this column is column1.
    It's filled dynamically using an RFC, that uses as input parameter the value of another column, and related context attribute, from the same table (Let's call it column2).  Obviously, from the same row. So, in other words: the values of the EVS in column1 of row1, are dependent of the value of column2 of row1. And the values of the EVS in column1 of row2, are dependent of the value of column2 of row2. And so on... Hope i could explain myself ok.
    The code I'm using works great for filling the EVS dynamically:
    IWDAttributeInfo attrInfo = wdContext.nodeDetail().getNodeInfo().getAttribute(nodeElement.COLUMN1);
    ISimpleTypeModifiable siType = attrInfo.getModifiableSimpleType();
    IModifiableSimpleValueSet<String> value = siType.getSVServices().getModifiableSimpleValueSet();
    value.clear();
    if(this.initRFC_Input(nodeElement.getColumn2())){
         for (int i = 0; i < wdContext.nodeRFCresult().size(); i++){
              value.put(wdContext.nodeRFCresult().getRFCresultElementAt(i).getLgort()
                 , wdContext.nodeRFCresult().getRFCresultElementAt(i).getLgobe());
    In this code, nodeElement is the context row of the table that is passed dynamically to the method when the value of colum2 is changed.
    HOWEVER, the problem I'm having is that after executing this code, EACH NEW ROW that is added to the table has by default the same values as the first row, in the column1 EVS. And, for example, if I refresh the values of the column1 EVS in row 2, all EVS values in the other rows are also refreshed with the same values as the ones of EVS in row 2.
    How can I make sure each row EVS has its own set of independent values, so they don't mess with each other?
    Hope you guys can help me. And please, let me know if I didn't explain myself correctly!
    Thanks!

    I just did as you said (I think), but it's still having the same behaviour as before (same data for all EVS in the table).
    Here´s what I did:
    I
    In node "Detail" (cardinality 0...n, singleton set to true), which is binded to the table, I created a child node named "Column1Values" wth cardinality 1...1 and singleton set to false.
    "Column1Values" node has an attribute called "column1", of type String.
    I did the binding between attribute "column1" and the column1 inputfield celleditor in the table.
    I created an event called Column2Changed and binded it to the column2 celleditor of the table. I added a parameter called nodeElement of type IPrivateCompView.IDetailElement to this event, and mapped it to the column2 editor in the table so that I can dynamically get the nodeElement that is being affected.
    I added the following code to the onActionColumn2Changed(wdEvent, nodeElement) method that gets created in the view:
    IWDAttributeInfo attrInfo = nodeElement.nodeColumn1Values().getNodeInfo().getAttribute("column1");
    ISimpleTypeModifiable siType = attrInfo.getModifiableSimpleType();
    IModifiableSimpleValueSet<String> value = siType.getSVServices().getModifiableSimpleValueSet();
    if(this.initRFC_Input(nodeElement.getColumn2())){
         for(int i =0; i < wdContext.nodeRFCresults().size(); i++){
              value.put(wdContext.nodeRFCresults().getRFCresultsElementAt(i).getId(),
                                  wdContext.nodeRFCresults().getRFCresultsElementAt(i).getDesc());
    And with this, I still get the original problem... When the EVS of one row is updated, ALL other EVS of the table get also updated with the same values.
    What am I missing? Sorry Govardan, I bet I'm not seeing something really obvious... hopefully you can point me in the right direction.
    Thanks!

Maybe you are looking for

  • A/R transfer open items from one payer to another

    Hello, has someone transferred open customer invoice items from one payer to another after the new payer was associated with the customer as a partner? which transaction to best use? thanks a lot Patrick

  • Why does firefox not appear in realtek sound mixer?

    Hi, I have recently had a virus on my laptop (windows security virus) on a relatively new dell laptop, however I believe I have managed to clear it using spybot and kaspersky. However the sound has disappeared from youtube & bbc etc, all trusted site

  • Sound in My HP Compaq Laptop

    My compaq Laptop plays sound through the microphone jack i.e when I plug in my earpiece, brings sound, but when i remove the ear piece, no sound. Please How can I rectify this problem, thanks.

  • Conditionally send redirect in Servlet filter after j_security_check

    I am writing a form based challenge for a secured J2EE application. What I want the user to do is log in, and after they are authenticated by j_security_check, get the Role that they have, and based on the role, redirect with the filter to different

  • Query regarding sql server

    i downloaded Microsoft visual studio 2010 in my laptop for windows 8 and in that the sql server is not working.the services for sql server is not starting .so pls help me in starting the services for sql server.