cancel
Showing results for 
Search instead for 
Did you mean: 

While doing TU Finish Loading activity for OBD's changing status throwing runtime Error!!

former_member814385
Discoverer
0 Kudos
331

Hi Experts,

While trying to change TU status to Finish Loading throwing runtime error. I am unable to find out. Could you please provide your expertise's to resolve this issue. while doing this activity TU status and same time Assigned OBD and HU load status also completed Green ICON to change from Red.

FYI-->TU created and Active status and loading status also completed and OBD also assigned successfully.

I have written below logic.

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

MOVE-CORRESPONDING p_wl_tu_act_num TO wl_tu_sr_act_num. (TU already created)

go_dlv = go_sr_bom->get_bo_tu_by_key( "lo_bo_tu

is_tu_sr_act_num = wl_tu_sr_act_num ).

TRY.

go_dlv->set_tu_load_unload( EXPORTING iv_activity = wmesr_status_load_end ). " SR08 - status

CATCH /scwm/cx_sr_error.

ENDTRY.

/scwm/cl_sr_tm=>tm( ).

TRY.

CALL METHOD go_sr_bom->save.

CATCH /scwm/cx_sr_error .

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDTRY.

Error :

Facing issue at step :CALL METHOD go_sr_bom->save.

below runtime error occurring.

Accepted Solutions (0)

Answers (0)