Ver Mensaje Individual
  #6  
Viejo 24/10/11, 11:32:54
Flatron Flatron is offline
Member
 
Fecha de Ingreso: ago 2008
Mensajes: 78
Quería decir Aunque la defina en tables, me salta al error 2, cuando si dejo el parameters si llega.

start-of-selection.
w_comwa-mandt = sy-mandt.
w_comwa-vbeln = vbeln.
w_comwa-posnr = posnr.
call function 'RV_ORDER_FLOW_INFORMATION'
exporting
comwa = w_comwa
tables
vbfa_tab = it_doc
exceptions
no_vbfa = 1
no_vbuk_found = 2
others = 3.
case sy-subrc.
when 1. write: / 'No VBFA found.'.
when 2. write: / 'No VBUK found. Check selection criteria...'.
when 3. write: / 'Unknown Error!'.
when 0. perform write_docs.
endcase.
Responder Con Cita