Skip to Content
avatar image
Former Member

WM: Different fields filled with Priority while using LT01 vs LT10

Dear Gurus,
I have Setup Transfer Order Priority in T333-TBRI. When I move the pallet with this MvT via LT10 the value from T333 is copied into LTAK-TBPRI and LTAK-TAPRI. However when I do the same via LT01, the priority is copied only to LTAK-TAPRI, while LTAK-TBPRI remains empty. In both variants TO's are created from scratch (i.e. do not belong to TR's or deliveries).

Does anyone know why this difference appears? and generally - what is the functional difference between these 2 fields (except for TAPRI is 2 Chars Long)?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Mar 07, 2017 at 01:32 PM

    With regard to query TAPRI and TBPRI below statement might be useful for you,

    first system update TAPRI as per the preceding document, if the preceding document is not having the priority then it picks from movement type.

    It is a good idea to put a breakpoint at below mentioned code and check in both the scenario (LT01 & LT10) since both are calling L_TO_CREATE_SINGLE in my opinion there should not be any difference

    1p7sm.png (30.1 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 07, 2017 at 06:16 PM

    hi Manish

    thanks for hint. I have debugged deeper and found the answer (though I must say it does not satisfy me :).

    you're right - both LT01 and LT10 work with the Form DATEN_TAKOPF_NEU. However to this point, they come with the different results from previous programs.

    LT01 runs via program SAPML03T, FORM: DATEN_LTAK_T333

    if ( ltak-tapri is initial ) and ( not t333-tbpri is initial ).

    ltak-tapri = t333-tbpri.

    While LT10 runs via Program SAPLL03B Form: DATEN_LTAK_TA_MANUELL.


    That's why LT01 fills TAPRI only and LT10 fills TBPRI only in the initial stages, And only afterwards LT10 copies also this value to TAPRI (if there was nothing there beforehands).

    This means that TBPRI can be only filled via LT10 (or modification is needed).

    Add comment
    10|10000 characters needed characters exceeded