Hi,
I am trying to display a dynamic context node in ALV, using the SALV_WD_TABLE component. When I execute the application, I get the following errror:
The following error text was processed in the system XXX : Invalid operand type for the MOVE-CORRESPONDING statement. The error occurred on the application server XXX_XXX_XX and in the work process 0 . The termination type was: RABAX_STATE The ABAP call stack was: Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP Method: EXECUTE of program CL_SALV_BS_SERVICE_MNGR_TABLE=CP Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Using a non-dynamic context node everything works fine.
The dynamic context node is created as follows.
lr_child_node_info = lr_node_info->add_new_child_node(
name = 'DYNAMIC_CONTEXT_NODE'
is_mandatory = abap_false
is_mandatory_selection = abap_false
is_initialize_lead_selection = abap_false
is_static = abap_false
attributes = lt_context_attr_info ).
Any ideas how I can solve the issue?
Thanks!
Björn-Henrik