Object Oriented ALV-Sample program to insert Logo in ALV

*&———————————————————————**& Report Z_OOALV_LOGO*&*&—-Sample Program using ooalv­­­—–> by SrikanthV——————-**&*&*&———————————————————————* REPORT z_ooalv_logo. ****DECLARATION FOR LOGO INSERTCONSTANTS: cntl_true TYPE i VALUE 1,cntl_false TYPE i VALUE 0.DATA:h_picture TYPE REF TO cl_gui_picture,h_pic_container TYPE REF TO cl_gui_custom_container. DATA: graphic_url(255),graphic_refresh(1),g_result LIKE cntl_true. DATA: BEGIN OF graphic_table OCCURS 0,line(255) TYPE x,END OF graphic_table. DATA: graphic_size TYPE i. CALL SCREEN 100. *&———————————————————————**& Module PICTURE … Read more

Object Oriented ALV-Sample program to insert Logo in ALV

*&———————————————————————**& Report Z_OOALV_LOGO*&*&—-Sample Program using ooalv­­­—–> by SrikanthV——————-**&*&*&———————————————————————* REPORT z_ooalv_logo. ****DECLARATION FOR LOGO INSERTCONSTANTS: cntl_true TYPE i VALUE 1,cntl_false TYPE i VALUE 0.DATA:h_picture TYPE REF TO cl_gui_picture,h_pic_container TYPE REF TO cl_gui_custom_container. DATA: graphic_url(255),graphic_refresh(1),g_result LIKE cntl_true. DATA: BEGIN OF graphic_table OCCURS 0,line(255) TYPE x,END OF graphic_table. DATA: graphic_size TYPE i. CALL SCREEN 100. *&———————————————————————**& Module PICTURE … Read more

ALV Function Module

(1) REUSE_ALV_LIST_DISPLAY Display an ALV list as per parameters defined in the function call (2) REUSE_ALV_GRID_DISPLAY Display an ALV grid as per parameters defined in the function call (3) REUSE_ALV_COMMENTARY_WRITE List header information is output according to its type. The output information is put in an internal table. Output attributes are assigned to each line … Read more

ALV Function Module

(1) REUSE_ALV_LIST_DISPLAY Display an ALV list as per parameters defined in the function call (2) REUSE_ALV_GRID_DISPLAY Display an ALV grid as per parameters defined in the function call (3) REUSE_ALV_COMMENTARY_WRITE List header information is output according to its type. The output information is put in an internal table. Output attributes are assigned to each line … Read more

Dynamic selection on ALV at run time

We also using selection groups like radiogrouos and etc. This code making this features on ALV. REPORT ytest . * Based on: BCALV_GRID_DEMO. TYPE-POOLS: icon. TYPES: BEGIN OF ty_s_sflight.INCLUDE TYPE sflight.TYPES: button1 TYPE lvc_emphsz.TYPES: button2 TYPE lvc_emphsz.TYPES: button3 TYPE lvc_emphsz.TYPES: button4 TYPE lvc_emphsz.TYPES: END OF ty_s_sflight. DATA:gt_sflight TYPE STANDARD TABLE OF ty_s_sflight,gt_fcat TYPE lvc_t_fcat. DATA: … Read more

Dynamic selection on ALV at run time

We also using selection groups like radiogrouos and etc. This code making this features on ALV. REPORT ytest . * Based on: BCALV_GRID_DEMO. TYPE-POOLS: icon. TYPES: BEGIN OF ty_s_sflight.INCLUDE TYPE sflight.TYPES: button1 TYPE lvc_emphsz.TYPES: button2 TYPE lvc_emphsz.TYPES: button3 TYPE lvc_emphsz.TYPES: button4 TYPE lvc_emphsz.TYPES: END OF ty_s_sflight. DATA:gt_sflight TYPE STANDARD TABLE OF ty_s_sflight,gt_fcat TYPE lvc_t_fcat. DATA: … Read more