Skip to Content
0

VA06- adding extra field in ALV output

Oct 10, 2017 at 07:23 AM

161

avatar image
Former Member

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.

Method:set_col_head_settings.

ENHANCEMENT 2 ZVA06. "active version *Reg.d.date 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.

ENDENHANCEMENT.

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

avatar image
Former Member Oct 10, 2017 at 10:28 AM
0

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.

Regards,

Ankit Mahajan

Share
10 |10000 characters needed characters left characters exceeded