Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

OOALV

Former Member
0 Likes
453

Hi Friends,

How to keep logo in object oriented A;V?Explain me the steps with sample code if possible.

Thanks in advance.

Hi Friends,

How to keep logo in object oriented A;V?Explain me the steps with sample code if possible.

Thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
431

Experts,

Awaiting your response.......

Read only

Former Member
0 Likes
431

check RSDEMO_PICTURE_CONTROL

Read only

Former Member
0 Likes
431

Hi,

Just use data

ATA gc_custom_control_name TYPE scrfname VALUE 'CONT'.

data: LOGO1 TYPE REF TO CL_GUI_ALV_TREE_SIMPLE.

data: l_list type SLIS_t_LISTHEADER.

DATA gr_ccontainer TYPE REF TO cl_gui_custom_container.

MODULE STATUS_0001 OUTPUT.

CREATE OBJECT gr_ccontainer

EXPORTING

CONTAINER_NAME = gc_custom_control_name.

CREATE OBJECT LOGO1

EXPORTING

I_PARENT = GR_CCONTAINER.

Just go to OAER and create a logo there and pass that logo id to the method CREATE_REPORT_HEADER

present in cl_gui_alv_tree_simple.

CALL METHOD LOGO1->CREATE_REPORT_HEADER

EXPORTING

IT_LIST_COMMENTARY = L_LIST

I_LOGO = 'ENJOYSAP_LOGO'

  • I_BACKGROUND_ID =

  • I_SET_SPLITTER_HEIGHT =

  • I_MODEL_MODE =

.

ENDMODULE.

I think it is useful for you.

Reward points if useful.

Thanks & regards

Deepika.