on 10-15-2015 5:09 PM
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
Here is the SAP help link,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.