Skip to Content
0
Former Member
Feb 13, 2012 at 06:52 AM

BL207 error - Log record not found in FM BAL_LOG_HDR_CHANGE

1058 Views

Hi Experts,

Can you help me understand why FM BAL_LOG_HDR_CHANGE is not working for me. I'm populating the import parameter I_LOG_HANDLE with a log handle (guid) a saved in BALHDR and i'm populating the import parameter I_S_LOG with basis header data like OBJECT; ALTCODE and ALPROG. However, I get a log not found message. Is there a step that i'm missing? When i run debug, it appears the program is trying to access the log from memory and hitting this code which errors each time:

*********************************************************************

  • access the memory where all data are stored

*********************************************************************

macro_access_data.

*********************************************************************

  • find log

*********************************************************************

READ TABLE <g>-t_ldat ASSIGNING <l_s_ldat>

WITH KEY log_handle = i_log_handle.

IF sy-subrc NE 0.

MESSAGE e207(bl) RAISING log_not_found.

ENDIF.

Any help on this matter wil be very helpful.

Thanks,

Jamie