Portal Workprotect in Talent Profile - WebDynpro ABAP FPM application

We are trying to implement Workprotect in ESS - Talent Profile application (HRTMC_EMPLOYEE_PROFILE). The requirement is that when user had entered data in either Internal work experience, External Work experience or other tabs; before he has saved the data, if the user clicks on some other link in portal or try to close the window, Portal work protect that is enabled should prompt the user to save the data or risk losing data.
What has been done so far:
1. Enabled Workprotect on Portal:
Step 1: In the portal, go to System Administration -> System
Configuration -> Service Configuration.
Step 2: In the portal catalog, Select
application "com.sap.portal.epcf.loader" and open the properties for
service "epcfloader" for editing
Step 3: Set property workprotect.mode.default = 3
Step 4: Save -> Restart service
Now, Portal Work protect is enabled.
2. On the Talent application end, I have seen many posts in forum & FPM related workprotect documentation. But, it is not clear as to how this actually works when it comes to FPM application.
The documents says FPM allows application to make use of work protect
mode offered by Portal. To achieve this, the application must u2018tellu2019 the
FPM whether it contains unsaved
(u201Cdirtyu201D) data. For this, the FPM provides the Web Dynpro Interface
IF_FPM_WORK_PROTECTION. In the is dirty method, you have to put
METHOD is_dirty.
if * component contains unsaved data
ev_dirty = abap_true.
else.
ev_dirty = abap_false.
endif.
ENDMETHOD.
Questions:
1. If you see the shared application component HRTMC_TP_SHARED_DATA, it implements interface IF_FPM_WORK_PROTECTION. But, the isdirty method in the component controller has already existing code
METHOD is_dirty.
ev_dirty = wd_this->mv_is_dirty.
ENDMETHOD.
Where should we put the code given below as described in FPM documentation. In shared component or in individual components like HRTMC_TP_WORKEXP_INTERNAL, HRTMC_WORKEXP_INTERNAL, HRTMC_TP_EDUCATION
etc.
METHOD is_dirty.
if * component contains unsaved data
ev_dirty = abap_true.
else.
ev_dirty = abap_false.
endif.
ENDMETHOD.
And, the line "* component contains unsaved data" as described in document- how do we code this for talent profile considering that there are multiple components, shared component etc? My requirement is that if user has entered some data in any of the tabs like internal work experience, external work experience, then work protect should work if
user tries to navigate away or close browser.
2. If you see general documentation for Work protect and webdynpro (not for FPM), it says that the application must define a special status (dirty flag), which tells the portal when there is unsaved data. You can set and cancel this status (TRUE, FALSE) using method
SET_APPLICATION_DIRTY_FLAG in interface IF_WD_PORTAL_INTEGRATION.
And it goes on to say that one must set application flag dirty
SET_APPLICATION_DIRTY_FLAG
exporting
DIRTY_FLAG = TRUE | FALSE
and also set work protect mode
call method L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
exporting
MODE = NONE | APPLICATION_ONLY | BOTH
3. Which is the correct way to enable Work protect in case of Talent profile applications? Which method of which component should should we add code to? Which of the above ways should we follow ( Interface IF_FPM_WORK_PROTECTION or IF_WD_PORTAL_INTEGRATION) ? Which component and which method should we Set Work protect and  Set isdirty
Please advise.

Hi Experts,
Can you please provide some useful info in implementing work protect in Standard FPM WebDynpro ABAP applications? In this case, as mentioned above, the application is  ESS Talent Profile application (HRTMC_EMPLOYEE_PROFILE).
Thanks,
Sandeep

Similar Messages

  • Restarting or Reloading Webdynpro ABAP(FPM) application in Portal

    Hi All,
    I have created a ABAP webdynpro application in FPM framework which is run in the portal. The application has got a roadmap that contains 7 steps. In the last step there is a button 'save and exit'. When the user reaches the last step and presses the 'save and exit' button, one popup will appear with a 'close' button. When the user pressed that 'close' button, the application should restart i.e., the user should be taken to the first step. I tried using the method 'NAVIAGATE_ABSOLUTE' where I hardcoded the PCD path which takes the user to the first step but it is not helpful ( All Relative navigation links and Detailed navigation links were missing in portal ) in my case as it is not actually restarting the application. Could anyone help me out in getting the application restarted in the portal on click of a button.
    Note: We tried with Exit-Plug as well, which is not applicable ( helpful) for portal integration.
    Please suggest.
    Thanks
    Deepak

    Hi Deepak,
    Well we have few webdynpro applications with multiple views, by design, on the last step after save, we disable all other button and display a new button called 'RESTART' with only available choice. On click of this button
    1. We initialize all the data of component.
    2. Clear stored variable parameters & internal table used by assistance class
    3. if everything was fine fire navigation to the FirstDefaultView of the webdynpro application.
    Thus its almost restart of the application.
    So design wise have a method  INIT_COMP  in the component controller of webdynpro component. and then at the last step when call to RESTART is made reinitialize all the data of your webdynpro component.
    method onactionrestart.
    wd_assist->reinit_my_obj_tables( ).
    wd_this->fire_to_v_Start_plg(  ).
    endmethod
    Greetings
    Prashant

  • Exit from ABAP FPM application to anothor WD application (W/O FPM)

    Hi Experts,
    I am working on a custom ABAP FPM application using roadmap pattern. I have anothor WD application w/o FPM application which calls my second FPM application. I do the navigation from my first application to FPM application using an exit plug in the window of first app. This navigation works fine. Now FPM component has following steps.These views are embed from a WD component ZFPM.
    EDIT  View - WD Comp ZFPM
    REVIEW View - WD Comp ZFPM
    CONFIRMATION View - WD Comp ZFPM
    I want a button on the EDIT screen and confirmation screen which will lead me to first application (ZCOMP1). For this I created an exit plug in the EDIT window and Confirmation window. But when I debug the application i find that even though control goes to respective exit plugs navigation does not happen. I think thats because of FPM. Can anybody please suggest the posible approach for it or is it just that this navigation is not possible?
    Thanks in Advance
    Umnag
    Edited by: Umang Mathur on May 31, 2011 1:36 AM

    Hi Baskaran,
    Thanks for a reply. I have done following things. I added a toolbar button in EDIT step and  I have given  its FPM ID "EMP_PRF_BACK".
    Then on the process event method I have coded as following.
    if io_event->mv_event_id = 'BACK_EMP_PRF'.
    DATA: lv_launch TYPE FPM_S_LAUNCH_URL.
    DATA: lo_navigate_to TYPE REF TO if_fpm_navigate_to.
    lo_fpm = cl_fpm_factory=>get_instance( ).
    lo_navigate_to = lo_fpm->get_navigate_to( ).
    lv_launch-HEADER_TEXT = ''.
    lv_launch-URL = 'http://www.google.com/'.
    *USE_SUSPEND_RESUME = ''.
    *PARAMETER
    lo_navigate_to->LAUNCH_URL( is_url_fields = lv_launch ).
    endif.
    for the test purpose I am trying to open google. It open the link but It opens in a separate window. I want it to open in the same window. Please suggest how to do it.
    Thanks in advance
    Umang

  • Webdynpro ABAP independent application

    hello,
    I have developed independent application of webdynpro ABAP
    i want to integrate it on portal
    i have page, create iview, assign application url to the iview - all this i do in portal content administration etc
    but in later versions, instead of iview etc, there is bankend transaction code, ie tcode in R/3 where I can assign my web dynpro application to portal
    I need the name of that transaction code. kindly help with your inputs
    thanks
    bhakti

    Hi Bhakti,
    AFAIK there is no such kind of facility available so that you can directly assign your webdynpro into the portal using any t-codes.
    But the SAP Enterprise Portal supports the Web Dynpro application development with functions like:
    Event handling of portal events
    Navigation between Web Dynpro applications within the portal or to any portal content
    WorkProtect mode
    And With Web Dynpro you create interactive Web-based user interfaces for business applications. The portal allows the role-based and secure access to different kinds of information (structured or non-structured), services, and applications using a Web Browser.
    For portal integration, refer the below document which will give you an idea.
    How to Integrate Web Dynpro  ABAP in Portal
    Thanks
    KH

  • Exit from ABAP FPM application to anothor WD application in same window

    Hello experts,
    If anybody can please suggest how to exit an FPM application to another WD component without using suspend mode.
    I did following coding in the process event but this opens target wd abap application in the same window. But the problem is below code uses suspend method for FPM application hence there are performance issues.
    if io_event->mv_event_id = 'BACK_EMP_PRF'.
    DATA: lv_launch TYPE FPM_S_LAUNCH_URL.
    DATA: lo_navigate_to TYPE REF TO if_fpm_navigate_to.
    lo_fpm = cl_fpm_factory=>get_instance( ).
    lo_navigate_to = lo_fpm->get_navigate_to( ).
    lv_launch-HEADER_TEXT = ''.
    lv_launch-URL = lv_url (lv_url is target url for WD application)
    *USE_SUSPEND_RESUME = 'X'.
    *PARAMETER
    lo_navigate_to->LAUNCH_URL( is_url_fields = lv_launch ).
    endif.
    Is there any API to open new application in the same window without suspend_resume method.
    Thanks in advance
    Umang

    Hi Baskaran,
    Thanks for a reply. I have done following things. I added a toolbar button in EDIT step and  I have given  its FPM ID "EMP_PRF_BACK".
    Then on the process event method I have coded as following.
    if io_event->mv_event_id = 'BACK_EMP_PRF'.
    DATA: lv_launch TYPE FPM_S_LAUNCH_URL.
    DATA: lo_navigate_to TYPE REF TO if_fpm_navigate_to.
    lo_fpm = cl_fpm_factory=>get_instance( ).
    lo_navigate_to = lo_fpm->get_navigate_to( ).
    lv_launch-HEADER_TEXT = ''.
    lv_launch-URL = 'http://www.google.com/'.
    *USE_SUSPEND_RESUME = ''.
    *PARAMETER
    lo_navigate_to->LAUNCH_URL( is_url_fields = lv_launch ).
    endif.
    for the test purpose I am trying to open google. It open the link but It opens in a separate window. I want it to open in the same window. Please suggest how to do it.
    Thanks in advance
    Umang

  • Adding a Webdynpro Abap custom application to the list HCM F&P List

    Hi
    On my Portal's  HR Admin tab i have a link Start process to start all my HCMF&P Processes. Is there any way i can add my custom web dynpro application to this list. So that using the same link the HR Can proces any Adobe Form or a custom web dynpro application ?
    Can i add my  custom webdypro application to the table T5ASRPROC or V_T5ASRPROCVALID ?
    regards
    Pamela

    Hi Chris,
    Ran into similar issue with another Adobe form.
    But this time no matter how many times I add "$record." instaed of "$."in the binding ($.WERKS.DATA[*].field), it disappears. And now none of the dropdowns are working in another Adobe form.
    Does ALC 8.2 have to do something with it?
    Now if the binding shows "$.WERKS.DATA[*].field", how should I specify the list items . It needs  three inputs.
    Binding = same as "$.WERKS.DATA[].field" ? or $.WERKS.DATA[] or $.WERKS
    and since the field catalogue and actual list items are attached at runtime how do I specify other two inputs "Text" and "Key".
    ~Amit.
    Edited by: Amit Molekar on Aug 11, 2010 7:14 AM

  • Webdynpro ABAP application on MSS Overview screen

    Hi Guru's,
    We are having a customized Overview screen in MSS which is all Webdynpro Java application.I am trying to add Webdynpro ABAP custom application link on the overview page.I created a IVEW ,then PAGE, assigned to Workset and then to role .
    Copied the PCD location and assigned in the Resources of Homepage framework.
    When I do preview it is fine but when I run it through Overview..I am getting 404 page error.
    Again its webdynpro ABAP application in the Overview page..What are the steps for it ..I created Area,Subarea ,Services and assigned Resources which has the PCD location with ROLES:// ...
    Also in Services I mentioned it as WEBDYNPRO ABAP application.
    Please suggest me ay steps I may be missing.
    Thanks,
    ST

    Also I was comparing the links through HTTP WATCH that was trying to read:
    The first one is from direct page assignment under ROLE in Portal:
    http://DEV SYSTEM/sap/bc/webdynpro/SAP/zhr_associate_form/;sap-ext-sid=bNrjr3FDhSA9HxracqUNhQ9H0Rpx1m12qVv5aAWcHbEw
    The Second one is referred under overview from Homepage Framework:
    http://DEV SYSTEM/sap/bc/webdynpro/sap.com/pcui_gp~xssutils/XssMenuArea/;sap-ext-sid=bNrjr3FDhSA9HxracqUNhQE37DBLWEEK_COBmuSIHeeA
    I am for sure missing something ..can you please suggest.
    Thanks,
    ST

  • Webdynpro abap integration with interactive adobe forms

    Hi  Experts,
    Am Facing problem printpreview  adobe in portal and it developed by webdynpro abap interactive form there am getting warning message
                Warning  : This form is not supported with current verision of Acrobat or Adobe reader
                                  Upgrade to Latest Verision For full Support.
    And it is display half letters in print preview.
    Regards,
    Sakthi.

    Dear Thomas,
    Here there are two server  one is developpment and quality.In development it is working fine and quality it is creating problem.If open in any system we are facing same problem.My dout is any server specific
    adobe verision is in portal.
    Thanks for Replying Good luck.
    Regards,
    Sakthivel.S

  • Reading & writing from MS Excel files in Webdynpro ABAP

    Dear experts,
    We have a requirement to read and write from an MS excel file in a Webdynpro ABAP based application. The application would be deployed on WAS (Web Application Server) which is running as part of SAP ECC on UNIX platform.
    What is not clear is
    1) If we store the MS Excel template on the server which has UNIX, will the file be recognised for reading/writing programmatically in Webdynpro ABAP? If this works, we have a requirement where the end users will download the excel template and upload the same after filling data into the excel file. The data filled into the excel has to be read and updated in the SAP backend (ECC).
    2) There is an article on "Modifying Excel using WD ABAP" at the following link
    https://wiki.sdn.sap.com/wiki/display/WDABAP/ModifyingexistingexcelsheetusingWDABAP
    But again it is not clear whether this approach will work on Unix based SAP server (ECC WAS).
    Thanks
    Suresh

    I don't know if there is an application in Unix that can read Excel files - if that is what you are asking.  However that has nothing to do with this forum.  If you are uploading the file to ABAP using Web Dynpro ABAP, then it doesn't matter what Operating System the server is running on.  Unix, Linux, Windows - all the processing is done in ABAP and is OS independent. The actual reading of the file in ABAP involves reading either an XML or Text Tab Delimited version of the Excel file however - if you read through the links on manipulating Excel in ABAP.

  • Exit from FPM application to non-FPM application

    Hi Experts,
    In my custom project (ABAP Webdynpros), I have created homepage screen using non-FPM webdynpro application. When I click any link on homepage, Iu2019m calling 2nd screen (FPM application) using exit plugs and this is working fine.
    In FPM application I have [EXIT] button. When I click [EXIT] button I want to call homepage in the same screen. How can I do this? Exit plugs are not working in FPM application. 
    There is a similar post I have seen in SDN, but it was not answered.
    Exit from ABAP FPM application to anothor WD application (W/O FPM)
    [Exit from ABAP FPM application to anothor WD application (W/O FPM) ]

    You are right, it is a simillar post as you already mentioned. I am afraid there is not much beter answer available from me than already posted in that other thread.
    I am not sure in 7.02 the navigation api's are expanded such a way that you can supply window as inplce or new.

  • Webdynpro Java based application performance testin

    Hi Experts,
    could any one of you please provide me step by step guide to use some tool which can be used for profiling webdynpro java based application?
    this is very urgent...... kindly help
    Best regards
    Falgun

    My recommendations:
    - Always use a BufferedInputStream and BufferedOutputStream around the socket streams
    - Increase the socket send and receive buffers to at least 32k if you are on a Windows platform where the default is a ridiculous 8k, which hasn't been enough for about 15 years.
    - Your 2-second timeout is far too short. Increase it to at least 10 seconds.
    - Your strategy of counting up to N short timeouts of S seconds each is completely pointless. Change it to one single timeout of N*S seconds. There is nothing to be gained by the complication you have introduced to this.

  • Webdynpro ABAP Caching Problem in Portal

    Hi All,
    We have developed custom applications using Webdynpro - ABAP, using FPM and accessing those applications through SAP Netweaver Portal 7.0. I have deactivated all the caching techniquies in Portal @ iview level and Page level, Portal Runtime and ContentFetch side, But still causing the same problem.
    I have a doubt, wether this is happening because of SAP Logon Caching @ SAP WAS system level. I have checked the SSO parameter settings in RZ10 Profile parameters. Our basis people have set both accept and create parameter value = 1. Is this causing issue?
    Or Is there any other settings which is required to do in Portal or SAP system level. Please let us know , really appreciate your value suggestions and help.
    Please find the below links, which im referring to...
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/91553b4d53273de10000000a114084/frameset.htm
    http://help.sap.com/SAPHELP_NWPI71/helpdata/EN/48/69eb40e8a607d6e10000000a42189c/content.htm
    Thanks in Advance
    PRadeep
    Edited by: Pradeep on Jan 28, 2009 9:10 AM

    The delete icon will not show up in the line of the favorite/templates, if no hours are recorded on it. There is no transfer to the backend either, unless hours are recorded on these working time attributes. also ensure note 1986356 is implemented for details column check CAC2 for the CATS profile attached to the user in CVR in Su3

  • WebDynpro ABAP Portal Integration

    Hello,
    i want to integrate a WebDynpro ABAP application from ERP 200 in the portal.
    There are several system aliasesdefinded in the portal.
    Anybody knows which system should be used to get a connection to the ERP 200 of the discovery system?
    Regards,
    Andy

    Hi Andy,
    You have to setup your SSO such as User Mapping in your Personalization -> Profiles at Portal.
    There are other methods, please visit help.sap.com for more information.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/4344b6d24a05408ca4faa94554e851/frameset.htm
    Regards,
    Rogério

  • Webdynpro ABAP columns hidden in portal only

    We have configured webdynpro abap application HRESS_A_CATS_1.
    When we test from the backend, we see a delete column on the left and each day has a detail column as below:
    When we launch from the portal, those columns are hidden:
    Is there some personalization or customizing feature that I am missing?  I am not familiar with portal administration, could there be a parameter on the iView itself that is causing this to occur?
    When I look over the shoulder of our portal administrator and he looks at the iView preview itself, the columns are there.
    Something is hiding them, but not sure what it is....

    The delete icon will not show up in the line of the favorite/templates, if no hours are recorded on it. There is no transfer to the backend either, unless hours are recorded on these working time attributes. also ensure note 1986356 is implemented for details column check CAC2 for the CATS profile attached to the user in CVR in Su3

  • Calling Portal iView from a WebdynPro ABAP application

    Hi ,
    I have a requirement where I need to call an iView in my portal from the Webdynpro application also existing in the portal.
    Can anyone provide me the method with source code( if possible ) to call an iView existing in the portal from the WebDynPro ABAP application.
    Best Regards
    Sid

    Hi Siddharth,
    Well, I think you can go for Portal Navigation concept.
    Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
    Hope that should solve your problem.
    Regards
    <i><b>Raja Sekhar</b></i>

Maybe you are looking for

  • ITunes 6.0.1 causes skips when ripping from CDs

    I have been using iTunes to convert my CDs to mp3 files on my Mac. With the advent of iTunes 6.0.1 the mp3 files skip (in the same places) using iTunes, VLC, and the SlimMusic player. The converted mp3 files from earlier versions of iTunes don't have

  • Why can't I see my ipod in itunes?

    I can;t see my ipod musique list in itunes, what do I nee to do to find it?

  • Ability to sort by image similarity.

    Ability to sort by actual image similarity.  This is the only way I can think of to identify duplicates in the catalog.  I know I have perhaps 5,000 dupplicate RAW images in my catalog and I can think of no other way to find them (so I can delete the

  • Safely Dismounting External Drive before Log Out or Shut Down?

    Hi folks! Just recently set up Time Machine with a Western Digital USB 320 GB My Passport Essential portable external HDD. Back ups are working just fine, but, should I decide to keep the drive permanently connected to the computer, does each user on

  • Reports stop running after 45/90mins

    I'm using Crystal reports for Visual Studio 2008. I have inherited a asp.net system that has alot of reports. These reports all run fine in dev/test. But in live they run perfectly fine for 45 to 90 mins then all stop working. Failed to load report.