Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP code

Hi Experts....

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

ELSE

SEND ‘true’ to <ls_act_beh_flag

ENDIF.

The error I am getting is : LS_cand_id unknown.

Can you guys help me on this...

Thanks

fhf

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question