on 10-08-2013 11:30 PM
All,
During development in our HR system (ECC) development chose to make info type 0105 subtype 0002 where the employees email address is. Currently GRC is looking at info type 0105 subtype 0010 for the email address value (for table GRACUSER). Since there is a value in 0010 GRC is reading that field so populating the email address in SU01 hasn't seemed to work (possible work around). Is it possible to change GRC so that it looks at info type 0002 versus 0010 for email address?
Note - We only have one data source, that connector is currently set as the data source as HR (versus SU01).
Thank you and help!
Ryan
So our solution was to make a code change in our plugin system that was are using for our HR data source. The specific solution was to change method /GRCPI/CL_GRIA_USR
=> GET_USR_DETAILS.
The program is displayed below:
* Get Email address
DATA lv_userid_long TYPE comm_id_long.
DATA lv_userid TYPE sysid.
CLEAR lv_userid_long.
SELECT SINGLE usrid_long
INTO lv_userid_long
* #CP-SUPPRESS: FP <Dynamic where condition based on condition>
FROM (/grcpi/cl_gria_util=>gc_hrt_pa0105)
WHERE pernr = lv_per_no
AND subty = '0010'
AND begda <= sy-datum
AND endda >= sy-datum.
IF sy-subrc = 0.
es_address-e_mail = lv_userid_long.
ELSE.
CLEAR es_address-e_mail.
ENDIF.
Needs to be changed to
AND subty = '0002'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It will look for communication infotype and sub type.
do not think will look for 002 subtype .instead will look for 010 subtype.
ensure id exist and email address maintain.
in SPRO for user data source,check for user details a data source as HR.
Regards,
Prasant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ryan,
Since you have selected your Data Source as HR it looks at the Info Type 0105 and subtype 0010 fro getting the email address value of the user from the backend.
refer my reply to the thread: GRC 10 User Email Addresses aren't appearing
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.