Top of Page ALV.
Hola a todos , tengo una duda sobre el top of page de un ALV en Abap.
La imagen que muestras en el ALV donde hay que guardarla? soy muy nuevo en Abap...Gracias , un saludo!
Tengo este codigo:
FORM mi_top_of_page.
* Tipo H para escribir con la fuente grande
l_st_header-typ = 'H'.
l_st_header-info = 'CABECERA'.
APPEND l_st_header TO l_it_header.
CLEAR l_st_header.
* Tipo S para indicar parámetro clave y su valor (fecha)
l_st_header-typ = 'S'. "Selection
l_st_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO l_st_header-info. "Fecha de hoy
APPEND l_st_header TO l_it_header.
CLEAR: l_st_header.
* Tipo A para escribir en cursiva
l_st_header-typ = 'A'. "Action
l_st_header-info = 'info'.
APPEND l_st_header TO l_it_header.
CLEAR: l_st_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = l_it_header[]
i_logo = 'foto'.
ENDFORM. "mi_top_of_page
__________________
Programador jr ABAP.
|