03-09-2012 1:32 PM
Hi,
After calling a transaction with CALL TRANSACTION...AND SKIP FIRST SCREEN, it displays an ALV report - is it possible to highlight a particular row on the ALV?
Thks,
William
03-09-2012 2:49 PM
- If this is a customer ALV report, yes, use search tools with keywords [color row alv grid|http://www.sdn.sap.com/irj/scn/advancedsearch?query=colrrowalv+grid]
- Else it depends on the called transaction
Regards,
Raymond
03-09-2012 3:00 PM
Hi William,
another idea is to use mark column:
DATA: r_alv TYPE REF TO cl_salv_table,
r_select TYPE REF TO cl_salv_selections.
r_select = r_alv->get_selections( ).
r_select->set_selection_mode( value = 4 ).
r_select->set_selected_rows( your_table_with_marked_and_automatically_highlighted_row).
Cheers
Dieter
03-09-2012 3:07 PM
Since you want after CALL Transaction....I do not think in its your control to highlight perticular row if its standard one and depends on Called Transaction.
03-09-2012 3:24 PM
oh - sorry for not reading headline correctly Of course, my idea will only work in the CALLED Transaction.
Cheers
Dieter
03-09-2012 6:27 PM
Well, if you are calling a report program then you can use a submit statement instead of call transaction & get the contents as mentioned in this blog
& now to set focus on a particular cell just check my reply here http://scn.sap.com/thread/2107820