Embed OVP in custom Web Dynpro

Hi,
I'm experiencing a similar problem as described [here|How to Embed FPM ABAP into a WebDynpro ABAP Application;, but that thread is closed (unanswered).
I want to embed an (ESS) OVP component in my Z Web Dynpro. I defined a component usage for the OVP component, embedded its window in a view container. I also set the configuration 'XYZ' for the OVS component:
   1. using code (as in FPM developer's guide)
   2. by means of an application configuration for my Z Web Dynpro
Both approaches to set the configuration (1 and 2) yield into the same result at runtime: see B
A) When I run the OVP component directly (OVP app with config XYZ), it works (ESS data is shown in FPM_LIST_UIBB panes).
B) When I run my Z Web Dynpro, only the header of the OVP component is shown (no FPM_LIST_UIBB panes with data).
Following symptoms make me think my Z Web Dynpro set up is correct and it is a FPM/Web Dynpro bug:
   1. Something of OVP component is shown (page header), so it is initialized and runs
   2. When I open my app while my PERNR is locked, the OVP component shows it in a message (exactly as in case A): "Person is already being processed by user XYZ123")
Did I forget something? Do you think it could be a bug?
Regards
Jeroen

Hi Joachim,
To embedd object selector in your custom UI you can use two interfaces which are implemented by this component. There are ObjectSelectorCI and CommandletCI.
I recommend you to use the ObjectSelectorCI. There are no methods in this interface. So, you need to add this interface to used components from cafuiptn~common dc, the "CommonInterfaces" public part. The only configuration step which you need to perfrom is create component and setup object selector configuration name to context
like this:
     String componentName = "com.sap.caf.ui.ptn.objectselector.ObjectSelector" ;
     String devComponentName = "sap.com/caf~UI~ptn~objectselector" ;
     IWDComponentUsage usage = wdThis.wdGetObjectSelectorComponentUsage();
          WDUtils.createComponent(usage, componentName, devComponentName, true) ;
IExternalObjectSelectorCI interface =
wdThis.wdGetObjectSelectorInterface()
IWDNodeElement selectorConfig = interface.wdGetAPI().getContext().getRootNode().getCurrentElement();
selectorConfig.setAttributeValue("configName", configName);
And that's it. Actually, I never done it, if you'll get a problem please let me know.
Best regards,
Aliaksei

Similar Messages

  • How to implement result states in custom web dynpro components

    Hi all,
    My callable objects are custom implemented -web dynpro Componenets
    How am i to implement the result states in them so that i can use them to take logical decisions.?
    There is decision dialog component in  Process Control Callable Object. It has Exit states. I need my component also to have exit states like that
    Help me to implement this.
    Points assured for help

    Hi Shobhendra,
    You can define the result states of your custom Web Dynpro callable object like this in the getDescription() method:
    //add success result state
    IGPCOResultStateInfo success =               technicalDescription.addResultState("Success");
    success.setDescriptionKey("Success");
    //add failure result state
    IGPCOResultStateInfo failure =               technicalDescription.addResultState("Failed");
    failure.setDescriptionKey("Failure");
    And in the custom comelete() method (which will be called at the end of the execution of the WDP comp from GP) you can set the actual resultstate at runtime:
    executionContext.setResultState("Success");
    or
    executionContext.setResultState("Failed");
    The result states defined in the WDP callable object will appear in the the GP design time and you can set target for each result state.
    For more info on how to implement the WDP callable object check the doc:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59">Implementating Web Dynpro callable Object</a>
    Please let me know if you need any further help.
    Thanks,
    Dipankar
    [P.S. Award points for helpful answer]

  • Make custom Web Dynpro java iView properties

    Hi All,
    Please guide me as to creation of custom Web Dynpro java iView properties in NW 04s .
    I have already gone through the music box example but  still have doubts .
    ANy pointers?
    Regards
    Radhika Kuthiala
    Edited by: Radhika Kuthiala on Dec 13, 2011 9:49 PM

    I don't think this can be done since WDJ apps can also run standalone (not in a portal)

  • Posted a new wiki on "Developing custom Web Dynpro pplications using GRT"

    This article describes how to develop custom Web Dynpro Java ESS applications using Generic Reporting Tool (GRT) / Reporting Framework (RFW)
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=235966686

    Hi,
    Its an awesome WIKI, lots of inputs and a eye-opener which shows clearly how powerful FPM is and what we can do with existing components.
    Thanks for the Wiki.
    Regards
    Tushar Shinde

  • How-to add a custom Web Dynpro iView to the MSS Employee Profile

    Hello everybody,
    i have created a small How-to guide of how to add a custom iView/Web Dynpro application to the standard MSS Employee Profile for ECC 6.0.
    The How-to guide can be found <a href="https://wiki.sdn.sap.com/wiki/display/profile/2007/04/15/How-toaddacustomWebDynproiViewtotheMSSEmployee+Profile">here</a>
    I hope its of any value.
    cheers,
    Markus

    Hello Luca,
    unfortunatelly it wont work. A WDA Application does not have access to the Floorplan Manager for XSS Applications. So until SAP develop an interface, you have to stick for such a task to WDJ.
    regards,
    Markus

  • Embed java applet in web dynpro

    Hi experts,
    is it possible to embed a java applet into a web Dynpro application. Or have I to use a jsp / Servlet / AbstractPortalApplication / (JSP)Dynpage
    Regards
    Fllo

    Hi
    yes its possible...
    go thorugh these docs..:[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/91b8c890-0201-0010-c787-be96f6fade89]
    [http://www.vogella.de/articles/SAPWebDynpro/article.html]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8382535d-0d01-0010-dbb5-d3d41dfefd10]
    hpe it hlps u..
    Regards,
    Khushboo

  • Customizing Web Dynpro for CATS Approval

    Hi experts,
    I would like to implement some additional logics when the CATS is approved by managers in MSS.
    After tracing the codes, I located an ABAP class "CL_MSS_CAT_APPR_TR_BUFFER" that performs the approval actions in R/3.
    Currently, I am considering to copy and edit a ZCL_MSS_CAT_APPR_TR_BUFFER to add additional logics to the "IF_MSS_CAT_APPR_TR_PROCESSOR~SAVE". But, here are my questions:
    1/ Since there is no object delegation in BO, how can I "delegate" the objects from CL_MSS_CAT_APPR_TR_BUFFER to the z-class ?
    2/ If no delegation possible, is it possible to change the action mapping s.t. ESS calls to the Z-Class instead of the standard class?
    3/ If it cannot be done with action mapping, does it mean that customized Dynpro developments required ?
    Sorry that I don't know much about ESS and Dynpro.
    Please offer detailed steps when possible.
    Many Thanks.

    I don't believe that your question has been asked in the correct forum.  This forum is for questions directly related to Web Dynpro ABAP development only.
    However a quick suggestion (although unrelated to WDA).  Instead of copying the class, consider using the enhancement framework instead.  You can use a pre, post or override method to extend the logic of the SAVE method.

  • Extending MDM ResultSet iView with custom web dynpro

    I built a MDM Result set(which is displaying fine), and a web dynpro iview to receive the events from the ResultSet and put them on to a page, added to a role and added to my userid etc.
    But when I invoke the event from the MDM ResultSet Standard iView, no data is coming from the ResultSet.
    Yes, I am aware that I need to make sure the namespace and name of the event should be same in the source and target iviews. I made sure of that.
    The event is being invoked, for sure, but no data. (Because if I didn't catch, the target iView is throwing NullpointerException for want of parameter passed by the EPCF event)
    EPCF event is reaching the target, but no data, what so ever.
    I tried with different fields(Columns) of the Resultset, but no use.
    I got a doubt. The client said, they used MDM 5.5 SP04 software for the Business Package, but MDM 5.5 SP03 MDM Connectors, and ofcourse the server itself is MDM 5.5 SP03. Does this have any influence in the problem I mentioned ?
    Another issue is the naming of the event or the namespace. Are there any guidelines for that ? I gave the name and namespace to be "ShowItemDetails" and "urn:com.oi.ecat.mdm.epcfevent". Are these OK ?
    Thank you very much for your help,
    Prasad Nutalapati

    Hi Narendra/Sidharth,
    I have been referring the same blog below of Vinay for developing the WDJ application:
    Importing Records from MDM BP ResultSet iView to Excel:--https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/504814b6-da5f-2b10-0dbd-e5ee597c74a5
    I have created an event in the ResultSet iview with the details below :
    Event Name = "Export"
    nameSpace = "urn:com.sap.tc.webdynpro.exporttocsv"
    Parameter is of type [MDM Search] and the value is "value"
    And in the Web Dynpro app,following is the code
    public void wdDoInit()
        //@@begin wdDoInit()
        String nameSpace = "urn:com.sap.tc.webdynpro.exporttocsv";
        String event = "Export";
        WDPortalEventing.subscribe(nameSpace,event,wdThis.wdGetExportAction());
        //@@end
    In the Event handler below,Currently I have removed the rest of code to fetch result from MDM ,I am just trying to access the Search object (i.e string value) and I am getting the value as null.
    Can you please tell me what is going wrong....
    public void onActionExport(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String value )
        //@@begin onActionExport(ServerEvent)
        wdComponentAPI.getMessageManager().reportSuccess("The search object:"+value);
        //@@end

  • Maintaining custom Web Dynpro Java applications

    We are a relatively new Web Dynpro Java shop, and I hope to propose a standard for code modification documentation to my organization. I have a few questions for WDJ maintenance developers:
    When documenting creation and modification activities, what is the benefit of using the javadoc comment convention?
    In the controller implementation tab, when I use the Source --> Add JavaDoc Comment tool, the comment block is always inserted into the
    //@@begin imports
    tag. Is the automatically generated tag
    //@@begin documentation
    in the controller implementation tab useful? Should summary information and ongoing modification comments for the controller be stored here?
    Does anyone require full javadoc comments on every new method? @param, @return, @exception?
    Do the NWDS/Eclipse Tasks and/or Bookmarks provide any real value? I have observed that bookmarks are useless for flagging code changes because they are dropped whenever edits are saved. I'd like to leverage Tasks, are there any examples of using them successfully that can be shared with me?

    The Java source in Web Dynpro is generated from the meta-data. Manual changes must be done exclusively inside the so-called user coding areas marked by comments //@@begin ID ... //@@end. That has the consequence that many of the Eclipse source code and refactoring functionality does not work anymore resp. is overwritten by the code generation step. Please be careful.
    Armin

  • Appraisal Templates - Custom Web Dynpro developement

    Hi All,
    I have a requirement to display the new Appraisal document templates  created using a Web Dynpro application.
    How do I go about doing this? How can the Appraisal templates be exposed to the Web Dynpro application?
    Regards,
    Ashwini.

    Hi Bhagat
    You have raised a very good point,
    As far as i know there is no such option available in NWDS ,there is a separate thread called
    POLL: Web Dynpro UI elements - enhancement proposals
    Please do post your same query there, hope SAP considers this, we all wait for the same feature in the forthcoming versions of NWDS
    Regards
    Chaitanya.A

  • WEB DYNPRO: FCK Editor or Integration of BSP

    Hi,
    I would like to use the FCKEditor within my Web Dynpro applikation, because I need the fuctionality to have a rich html editor presented to my customer. I didn't found any soluton for this problem in the net or here, so I ask you for help.
    If there is no way to integrate the FCK Editor in an Web Dynpro application ist there a way to embed a BSP in Web Dynpro?
    Greetings
    Bernd
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on May 18, 2011 2:41 PM

    bguenthe wrote:
    Hi,
    > I would like to use the FCKEditor in my Web Dynpro application, because I need the fuctionality to have an rich html editor for my customer. Is that possible?
    i think it is not possible.
    > If there is no way to integrate the FCK Editor in an Web Dynpro application is there a way to embed a BSP in Web Dynpro, because we have a BSP-Integration for the FCKEditor? Can I embed a BSP into a Web Dynpro view?
    >
    Embed BSP into webDynpro , i see Iframe as a possibility, however iframe is depricated in 7.01 and supported in 7.02.

  • Open PO in SRM 7.0 through program or web dynpro . Is it possible ?

    Hello All ,
    I have a PO number with me in SRM 7.0 . I have to open it as it opens in Portal .
    Can we do it through a program , or via custom web dynpro application using the link to action UI element or in any other way ?
    Regards,
    Ambar Patil.

    Any answers please ?

  • Web Dynpro applications not working on ECC 6.0 IDES

    Hi,
    I'm new to Web Dynpro and developed a custom Web Dynpro (including the application) on a ECC 6.0 IDES system. It's simple with a couple of input fields. When I test it (either via SAP GUI 7.1 or 7.2, or Web GUI), it appears on the browser ok but the screen is frozen. I can't enter anything into the fields, etc. I also tested SAP Web Dynpro applications and they act the same way, frozen screen. There aren't any errors displayed or any runtime errors in ST22. Please advise. I searched this forum but didn't see any issue similar to mine. The IDES vendor suggested I post the issue on SDN.
    John

    I guess it has do to with some sort of browser's font size or view settings.
    press ctrl +0  make the zoom 100% and font size medium and try again.
    thanks
    sarbjeet singh

  • Call ESS FPM CATS Working time application from non FPM web dynpro application on click of button

    Hi,
    My requirement is to launch ESS Working time application HRESS_AC_CATS_1 from custom web dynpro application.
    ESS CATS working time application is configured in LPD_CUST launchpad.
    I tried using method  cl_hr_navigation_services=>navigate in my custom web dynpro but it did not work.
    Regards,
    Ibrahim

    In case you want to use Launchpad, you can use ABAP class CL_APB_LAUNCHPAD_API. If choose not to use Launchpad, you can use method CONSTRUCT_WD_URL of ABAP class CL_WD_UTILITIES to generate the URL. Specify Web Dynpro application and Web Dynpro Configuration as parameter. Finally create an external window using method CREATE_EXTERNAL_WINDOW that points to that URL.

  • How to change the Portal Password using a link from Web dynpro application

    Hello Everybody,
    I have a requirement to change the user password from a web dynpro application which is available on a mobile device. Firstly User will log into the portal through a mobile device and after getting authenticated user will be redirected to the mobile application. Within this mobile application there will be a link to change the login password(Portal login). Can somebody tell me how can i change the portal login password from a link available within the mobile application. Looking forward for a suitable reply.
    Thanks to all,
    Regards,
    Saby.

    Hi Maksim,
    Thanks for your reply..but i would also like to know can we directly use the Change Password Iview "persoUserPassword" from the portal. Can i directly Pass the URL of this iview from the portal to a "Change Password" link in the web dynpro application, so that when the user click this link he should be able to see this Iview on his/her mobile device and should be able to change the password from there. But i dont know whether this iview will appear properly on the mobile device or we have to have a custom web dynpro application for this purpose...Please reply with a suitable answer.
    Thanks in advance.
    Regards,
    Sarabjeet Singh.

Maybe you are looking for