Skip to Content
avatar image
Former Member

EmployeeSearch: integrate other webdynpro ABAP iview

Hi experts,

According to OSS 1112733 MSS Employee Profile: Integrating other iView (https://service.sap.com/sap/support/notes/1112733), you can add other iViews to this Webdynpro Page (General Info for example) and when you click an employee you can catch the event subscribed selection_changed.

When you are accessing this page it is loaded info for a certain employee. Which are the criterias for loading this first employee? I need this information because I need to show my custom iview with the information regarding the employee that the system as already loaded for the standard iViews.

Thanks in advance.

Best regards,

AS

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 11, 2011 at 03:36 PM

    You can include the iviews as indicated here too

    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=118423928

    You can read here

    Parameter Passing from WDJ iview to WDABAP Iview

    call function 'HR_ASR_WDA_GET_EMPLOYEE'

    exporting

    id = 'MSS01' "ABAP Memory ID To get the PERNR Selected.

    importing

    pernr = gv_pernr.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Siddharth Rajora

      Dear all,

      I found out that SAP is selecting the first employee with the lowest position ID. I build up a new FM to get this first employee and now it is working fine. Thanks anyway for your cooperation.

      Best,

      AS

  • avatar image
    Former Member
    Nov 18, 2011 at 12:29 PM

    If we use EPCF eventing, its the drawback, we will loose the initial event when we load the foarm.

    So that is the reason why SAP came up FcObjectSelection dc, we need use this DCas used DC and get the selection value from the team viewer. This is for WDJ.

    https://wiki.sdn.sap.com/wiki/display/profile/How-toaddacustomWebDynproiViewtotheMSSEmployeeProfile%28ECC+6.0%29

    I am not sure what is the equivalent for it in WDA. Might be u can try to look at the other similar kind of WDA apps.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 01, 2011 at 09:06 AM

    Solved. Solution explained on this topic.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi all.

      I have now the same problem that André Sousa had with this issue. I've tried using FM HR_ASR_WDA_GET_EMPLOYEE to get the employee selected on search list but it doesn't work; and I cannot use the solution provided by André since my system hasn't ZMSSDIR evaluation path.

      Does anybody know a solution to get the selected employee PERNR in a ZWDA??

      Thanks in advance.

      Regards.