Ver Mensaje Individual
  #2  
Viejo 19/03/15, 17:39:50
Avatar de Leinad_Leonhart
Leinad_Leonhart Leinad_Leonhart is offline
Junior Member
 
Fecha de Ingreso: ene 2008
Mensajes: 16
Talking

Solucionado,

Les dejo la solución:

Programa estándar con ejemplos: NF2CHECK

Código depurado con ejemplo:

TYPES:
******Frame*Attributes
BEGIN OF frame_att,
cdate LIKE sy-datum,*************"Creation*Date
ctime LIKE sy-uzeit,*************"Creation*Time
cuser LIKE sy-uname,*************"Creation*User
udate LIKE sy-datum,*************"Update*Date
utime LIKE sy-uzeit,*************"Update*Time
uuser LIKE sy-uname,*************"Update*User
END*OF*frame_att,

BEGIN*OF*frame,
fld TYPE frame_att OCCURS 10, "Fields
******mod TYPE*frame_mod*OCCURS*10, "Modules
********sub TYPE*frame_sub*OCCURS*10, "SubFrames
END OF frame.

DATA: frame TYPE frame,
ls_frame TYPE frame_att.

ls_frame-cuser = sy-uname.
ls_frame-cdate = '20150318'.
APPEND ls_frame TO frame-fld.

CALL FUNCTION 'RS_COMPLEX_OBJECT_EDIT'
EXPORTING
mode = ' '
object_name = 'Komplexe Struktur' #EC*NOTEXT
CHANGING
object = frame
EXCEPTIONS
OTHERS = 1.

Úlima edición por Leinad_Leonhart fecha: 19/03/15 a las 17:43:38.
Responder Con Cita