Skip to Content
avatar image
Former Member

How to make settings for VT62 to work?

Dear Gurus,
Is there any manual how to setup IDOC Creation to External Transportation planning systems (from Transaction VT62)? So far I have setup in SPRO (LE/transportation/Interfaces/Transp.Planning in Cooperation with Forwarding Agents). I have also created output type Z001 and assigned it to *OBDLV* idoc creation in WE20 in Message Control.
However when I run VT62, my delivery gets one more record in NAST, however with Empty outputtype and medium. At the same time, my output Z001 remains unprocessed in NAST. However, at next attempt to reprocess this delivery in VT62, I get the error that this Delivery "already sent to forwarding agent XXX". Though no idoc created.
Has anyone made a complete setup in VT62? Do I need any additional settings to link output type, Outbout IDOC type and VT62?
Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 12, 2017 at 12:28 PM

    Hello,

    Could you please specify the program which has been assigned to this output type Z001 which can be checked via tCode NACE?

    Thanks,
    Balaji

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 18, 2017 at 10:48 AM

    Hello Balaji,

    The program was SAPMV50A. The program is correct. I have debbugged this functionality a bit deeper and in the code I have found my mistake - I had setup Z001 with Medium 6 (EDI), but in LV56LU15 it is hardcoded, that this VT62 is only working with messages having Medium = 8.

    here's the part of the code:

    (prg SAPLV56L, incl LV56LU15, function

    delivery enqueued, prepare NAST entry
    xnast-mandt = sy-mandt.
    xnast-kschl = output_type.

    xnast-nacha = '8'.

    with 8 everything works as a charm. The topic can be closed.

    Add comment
    10|10000 characters needed characters exceeded