Hi Experts,
Need an advise on the following codes.
TYPES: BEGIN OF gty_obj,
PLVAR TYPE hrp1001-PLVAR,
OTYPE TYPE hrp1001-OTYPE,
objid TYPE hrp1001-objid,
END OF gty_obj.
TYPES: gtab_obj TYPE STANDARD TABLE OF gty_obj INITIAL SIZE 0.
DATA: gt_obj TYPE gtab_obj.
DATA: candidate type ref to CL_HRRCF_CANDIDATE_PREVIEW_BL.
CALL METHOD candidate->GET_PERSONAL_DATA
EXPORTING
CAND_OBJ = gt_obj.
Keep getting below error message:
"GT_OBJ" is not type-compatible with formal parameter "CAND_OBJ".