Como modificar Hu en Transito?

Colapsar
X
 
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • ngoyenechea
    Junior Member
    • abr
    • 3

    #1

    Como modificar Hu en Transito?

    Hola gente !!

    Tengo un problema con un traslado de un Almacén que no gestiona HU hacia otro que Si gestiona HU.
    Necesito modificar las HU cuando llegan al Almacén con WM, pero como esa Hu tiene el Status "B" en tránsito, no me deja modificarla.

    Alguien conoce dónde en el Customizing puedo hacer que las HU que tienen el Status “B” en Tránsito puedan ser modificables?

    Saludos a todos!!

    Gracias!!!!
    PicuG
  • pviralta
    Junior Member
    • dic
    • 2

    #2
    Originalmente publicado por ngoyenechea
    Hola gente !!

    Tengo un problema con un traslado de un Almacén que no gestiona HU hacia otro que Si gestiona HU.
    Necesito modificar las HU cuando llegan al Almacén con WM, pero como esa Hu tiene el Status "B" en tránsito, no me deja modificarla.

    Alguien conoce dónde en el Customizing puedo hacer que las HU que tienen el Status “B” en Tránsito puedan ser modificables?

    Saludos a todos!!

    Gracias!!!!
    Hola, estuve buscando dentro del standard como cambiar los status del HU y encontré lo siguiente, claro está modificado para que se entienda con el ejemplo:

    data: pv_activity type hu_st_activity value 'HU03',"HU04 Descarga y HU03 Carga (pone status cargada)
    lst_handling_unit type huitem_from.

    data: lf_memory_id(10).
    lf_memory_id = 'ZZ_MOD_S'.

    lst_handling_unit-exidv = '00000000001000001151'.
    * updating hu status in HUSSTAT table
    call function 'HU_STATUS_SET'
    exporting
    if_object = '12'
    if_activity = pv_activity
    if_compl_contens = 'X'
    is_handling_unit = lst_handling_unit
    exceptions
    not_possible = 01
    error_message = 02
    others = 03.

    if sy-subrc is initial.
    call function 'HU_POST'
    exporting
    if_no_refresh = 'X'.

    * save internal tables jsto_buf and jest_buf
    * before cleared by commit work
    call function 'STATUS_BUFFER_EXPORT_TO_MEMORY'
    exporting
    i_memory_id = lf_memory_id.

    commit work and wait.
    endif.

    Espero te ayude, la mía modificó sin problemas el estatus cargada.

    Saludos.

    Comentario

    Trabajando...