Ver Mensaje Individual
  #3  
Viejo 15/07/11, 20:33:55
Avatar de Lokyllo
Lokyllo Lokyllo is offline
Junior Member
 
Fecha de Ingreso: may 2006
Mensajes: 8
Hola,
Puedes utilizar la siguiente función, tu ya tienes el material, lote, solo te falta el centro.

Data: gtd_caract_lote type standard table of clbatch.

*-- Obtener del Lote.
call function 'VB_BATCH_GET_DETAIL'
exporting
matnr = <CODIGO_MATERIAL>
charg =<LOTE>
werks = <CENTRO>
get_classification = 'X'
tables
char_of_batch = gtd_caract_lote
exceptions
no_material = 1
no_batch = 2
no_plant = 3
material_not_found = 4
plant_not_found = 5
no_authority = 6
batch_not_exist = 7
lock_on_batch = 8
others = 9.
Responder Con Cita