Hi all !!
I have to do an alv using some fields. Here is the code:
IF PR = 1 AND V_PERS <> 'X'.
CONTEOPERSONAS = CONTEOPERSONAS + 1.
WRITE:/ P0002-PERID+0(10). "RUT
IF PNOMBRE = 'X'.
WRITE: N.
ENDIF.
IF CCOSTO = 'X'.
WRITE: P0001-KOSTL.
ENDIF.
IF PPERNR = 'X'.
WRITE: P0001-PERNR.
ENDIF.
DMM1 = P0008-TRFST.
IF PGRADO = 'X'.
WRITE: P0008-TRFST, ' '.
ENDIF.
The question is: How do I save the fields "P0002-PERID+0(10), P0001-KOSTL., etc" in a table to use it in an ALV Grid, in the same program?
Those "writes" are used in a list.. i have to use the same fields in the same program to also show an alv grid.
I hope you understand what i`m trying to say ( i'm a little confused, i'm newbe)
Thanks in advance!!
Jessica