on 08-10-2016 9:37 AM
Tengo un TYPE-POOLS: slis para pintar un ALV y uno de los campo es una fecha:
TYPES: BEGIN OF data,
.....
ab(8) TYPE c,
....
END OF data.
.....
wa_fieldcat-fieldname = 'AB'.
wa_fieldcat-seltext_m = 'VÁLIDO DESDE'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
.....
Hola,
No crees el campo así:
ab(8) TYPE c,
decláralo así;
ab TYPE sy-datum
y ya te saldrá la fecha correctamente.
O créalo como un char de 10 y usa la función CONVERSION_EXIT_PDATE_OUTPUT para pasarlo a formato externo.
Saludos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.