10-17-2014 4:46 AM
Hi Guys,
I have a requirement to have texts in italics and some underlined.
This will be in the end of list event.
I'm using SALV.
Is it possible?
Also, can we adjust the font?
Thanks.
10-17-2014 5:30 AM
Hi,
You can try this method.
CALL METHOD SALV->SET_LAYOUT_PROPERTIES
10-17-2014 6:29 AM
Hi,
There's no class SALV.
What is the class for this method?
Thanks.
10-17-2014 6:41 AM
10-17-2014 7:00 AM
yes,
you would have to declare a variable DATA : S_ALV TYPE REF TO CL_GUI_ALV_GRID.
and then call method CALL METHOD SALV->SET_LAYOUT_PROPERTIES
10-31-2014 2:20 AM
10-17-2014 7:03 AM
Perform some search for classes used in this sample
DATA: go_alv TYPE REF TO cl_salv_table,
lo_layout TYPE REF TO cl_salv_form_layout_grid,
lo_label TYPE REF TO cl_salv_form_label,
lo_flow TYPE REF TO cl_salv_form_layout_flow,
lo_text TYPE REF TO cl_salv_form_text.
CREATE OBJECT lo_layout.
lo_label = lo_layout->create_label( row = 1 column = 1 ).
lo_label->set_text('Label').
lo_flow = lo_layout->create_flow( row = 2 column = 1 ).
lo_flow->create_text( text = 'Flow' ).
lo_text = lo_layout->create_text( row = 3 column = 1 text = 'Text' ).
go_alv->set_end_of_list( lo_layout ).
go_alv->set_end_of_list_print( lo_layout ).
Regards,
Raymond
10-31-2014 2:18 AM
Hi Raymond,
I already checked that classes before posting here. But I don't find any.
Thanks.
10-31-2014 4:09 AM
Hi,
Please check the links:
1. Setting Text Properties - SAP-GUI-Technologie - SAP Library
2. Compiling Design Objects - SAP-GUI-Technologie - SAP Library
For displaying texts in
1. Italics: Declare it as action information. Use class CL_SALV_FORM_ACTION_INFO
2. Underline: Set it as hotspot column
Hope it helps!
Thanks,
Gayatri