MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   Top of Page ALV. (foro/showthread.php?t=73055)

javigv7 03/12/14 08:06:05

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

calanis 06/12/14 17:28:56

Hola Javigv7!

El tema del Logo en ALV's es simple debes ir a verlos en la transacción OAER.
De paso te puede resultar útil el saber como

Espero te sea de ayuda.

javigv7 15/12/14 10:50:46

Muchas gracias! era justo lo que necesitaba!

Un saludo.


Husos Horarios son GMT. La hora en este momento es 23:18:53.

www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web