MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   Alv (foro/showthread.php?t=13281)

Alfredosite 09/05/08 20:21:36

Alv
 
Hola amigos.

Una consulta estoy leyendo una tabla, la cual esta cargada con datos de importes los cuales algunos campos tienen como valor 0.00. Y al mostrarlos en el ALV salen en blanco.

Que campo del slis_layout tengo que modificar para mostrar dicho valor (ya no en blanco).

Muchas Gracias.

Alfredo:eek: :confused:

larmadovr 09/05/08 20:50:19

Que tal amigo:
 
Tengo un ALV con importes el cual esta declarado de la siguiente manera.

*******************
Tabla Z
CECO KOSTL CHAR 10
NOMBRECC KLTXT CHAR 40
NOMBRESUBGPO ZNOMBRESUBGPO CHAR 30
CVECON ZCONCEPTOP NUMC 6
NOMBRECON ZNOMBREPREP CHAR 80
CUENTA HKONT CHAR 10
IMPORTE1 DMBTR CURR 13
IMPORTE2 DMBTR CURR 13
*******************

TYPES: BEGIN OF st_output.
INCLUDE STRUCTURE zrcaptpreg.
TYPES: END OF st_output.

DATA: gt_output TYPE STANDARD TABLE OF st_output WITH HEADER LINE.


CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
it_fieldcat = gt_fieldcat[]
it_events = gt_events[]
is_layout = int_flay
i_save = 'X'
IS_VARIANT = g_variant
TABLES
t_outtab = gt_output.


Y si me manda los 0.00.


Pega el código donde estás declarando el campo importe. Tal vez lo tengas como type c o string y por eso no muestra los 0

Alfredosite 12/05/08 19:04:26


Muchas gracias Mr. solucionado el problema. Gracias por la orientación buen dia.


Husos Horarios son GMT. La hora en este momento es 06:21:41.

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