Ver Mensaje Individual
  #2  
Viejo 20/07/11, 07:31:38
jtristan jtristan is offline
Senior Member
 
Fecha de Ingreso: oct 2007
Mensajes: 240
Puedes probar a pasarlo con un field-symbol. Lo único, no puedes pasar tablas con cabeceras. Sería algo así:

FIELD-SYMBOLS: <tabla> type STANDARD TABLE.

types: begin of lst_werks_type,
werks TYPE mard-werks,
name1 TYPE t001w-name1,
END OF lst_werks_type.
data: lst_werks type table of lst_werks_type.


assign lst_werks to <tabla>.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = cmp_ref
WINDOW_TITLE = title
VALUE_ORG = 'S'
TABLES
VALUE_TAB = <tabla>
RETURN_TAB = lst_match.

Por cierto, probando tu ejemplo, veo que tienes mal declarado los campos retfield, que tiene que ser del tipo DFIES-FIELDNAME y títulos que tiene que ser de tipo c.

Espero que te valga.

Un saludo.
Responder Con Cita