Saltos en numeracion de remitos

Colapsar
X
 
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • awurman
    Junior Member
    • jul
    • 3

    #1

    Saltos en numeracion de remitos

    Cuando creo una entrega atraves de la LT12 encontre que salta de a 2 la numeracion. Debuggeando encontre que para la MKPF y la LIKP esta usando el mismo rango por lo que solicita 2 veces el numero (y asigna el segundo a LIKP por lo que me queda numero por medio). Esto se hace en la WS_DELIVERY_UPDATE_2 en la porcion de codigo:

    * Post Goods Issue
    perform post_goods_issue changing lf_subrc.
    if lf_subrc ne 0.
    * If the return code is not 0 an error during the final check of the
    * delivery occured
    perform message_send_check_do using if_error_messages_send.
    ef_error_any = 'X'.
    ef_error_in_final_check = 'X'.
    exit.
    endif.

    * Include for customer and IS-specific changes
    include lv50sfz5.

    * Teil-WE: bei dezentralen Lieferungen Kz. für Change Management
    * zurücknehmen
    if likp-kzwab = 'D' and not likpd-kzebu is initial.
    clear likpd-kzebu.
    endif.

    * Lieferung sichern
    * Teil-WE: bei Fehlermeldung keine Verbuchung
    if wat_prot[] is initial or likpd-kzebu is initial.
    perform delivery_save using if_database_update_1 space
    changing lf_subrc.



    En los perform que numera (muchos mas forms adentro de cada uno)
    perform post_goods_issue changing lf_subrc.

    perform delivery_save using if_database_update_1 space
    changing lf_subrc.


    puede ser un tema de customizing?
Trabajando...