Can you guys look at this and tell me whats wrong with this code:
DATA : LS_9105 TYPE HRP9105.
DATA: ls_act_beh_flag TYPE string.
DATA: LS_WPLOG_VDATA TYPE string.
DATA: LS_cand_id TYPE string.
DATA: ls_hrobject TYPE hrobject.
SELECT * FROM HRP9105 INTO LS_9105
WHERE LS_cand_id = ls_hrobject-objid
AND subty = INVB
AND endda > SY-DATUM.
IF SY-SUBRC = 0
SEND false to ls_act_beh_flag
SEND true to <ls_act_beh_flag
The error I am getting is : LS_cand_id unknown.
Can you guys help me on this...