Skip to Content

VA06- adding extra field in ALV output

Oct 10, 2017 at 07:23 AM


avatar image

Hi Guru's

I got the requirement in VA06 transaction to add extra field in output, I have added field in MONITOR_STATUS_LIST_HEADER structure and created implicit enhancement in

Method : method set_col_head_pos.

ENHANCEMENT 1 ZVA06. "active version *"'ZZDATE' ir_columns->set_column_position( columnname = 'ZZDATE' position = 22 ).

ENDENHANCEMENT. *$*$-End: (1)---------------------------------------------------------------------------------$*$* endmethod.


ENHANCEMENT 2 ZVA06. "active version * try. lr_column ?= ir_columns->get_column( 'ZZDATE' ). ls_ddic-field = 'ZZDATE'. ls_ddic-table = 'MONITOR_STATUS_LIST_HEADER'. lr_column->set_ddic_reference( ls_ddic ). catch cx_salv_not_found. "#EC NO_HANDLER endtry.


But i am not able to see in out put field in VA06.

Please let me know what is missing from my end.

Thank you

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ankit Mahajan Oct 10, 2017 at 10:28 AM

Hi Satyanarayana,

Just check for field catalog before the method call set_table_for_first_display.

I think there is miss in catalog for your new field.


Ankit Mahajan

10 |10000 characters needed characters left characters exceeded