Ver Mensaje Individual
  #2  
Viejo 25/07/08, 13:40:17
mystic_soul mystic_soul is offline
Member
 
Fecha de Ingreso: sep 2007
Mensajes: 76
No entiendo mucho del tema pero para mi, la parte de:

DATA: obj TYPE REF TO pablo.
DATA: i TYPE i VALUE 0.


CREATE OBJECT obj.

CALL METHOD obj->set_cont
EXPORTING
val = i.

DO 5 TIMES.
CALL METHOD obj->inc_cont.
ENDDO.

CALL METHOD obj->get_cont
IMPORTING
i = val.

WRITE /i.

deberia ir en un start-of-selection o algo por el estilo. Intenta ponerlo asi..

class nombre definition.
...
..
endclass.

class nombre implementation.
...
..
endclass.

start-of-selection.
data: cl_nombre type ref to nombre.
...
create object o_nombre type cl_nombre.

Espero que te haya ayudado!
Responder Con Cita