Skip to Content
avatar image
Former Member

ESS WDA - Family Members customization

Hi Guys,

I am trying to separate the emergency contact (subtype 7) from other family members (infotype 0021). Created 2 application and component configuration and followed the SAP help documents but emergency contact still exist in family members application. Is there anything I am missing here?

WDA application: HRESS_A_PERSINFO

Appl configuration: HRESS_AC_DEP_BEN

Please see the screen shot for how I am trying to exclude subtype 7.

I would appreciate if someone could give me a hint on this?

Thank you,

Shen

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 15, 2015 at 04:15 PM

    Here is the SAP help link,

    Filter Business Card (Biz Card) Records based on Subtype - Employee Self-Service (WDA) in SAP NetWeaver Business Client …

    I believe we are on EHP7 and understand that this functionality is available from EHP6 onwards. I have attached the current system status.

    While debugging the feeder class, CL_HRESS_PER_OVERVIEW method GET_ACTIONS, I noticed that mv_subtype and mv_ex_subtype are initial. This should contain at least the exclude parameter I set in the configuration. What am I missing here?

    * If subtype parameter is provided then only that subtype's create button must be availble

       IF mt_subty_metadata IS NOT INITIAL.

         IF mv_subtype IS NOT INITIAL.

           CONCATENATE cv_create mv_subtype '_' INTO lv_action_code.

           DELETE mt_actiondef WHERE id NE lv_action_code.

           DELETE mt_event WHERE subty NE mv_subtype.

         ENDIF.

    * if exclude subtype parameter is provided then that subtypes create button should not be available

         IF mv_ex_subtype IS NOT INITIAL.

           CONCATENATE cv_create mv_ex_subtype '_' INTO lv_action_code.

           DELETE mt_actiondef WHERE id EQ lv_action_code.

           DELETE mt_event WHERE subty EQ mv_ex_subtype.

         ENDIF.

       ENDIF.

    Please throw me a hint.

    Thank you,

    Shen

    Add comment
    10|10000 characters needed characters exceeded