Skip to Content
avatar image
Former Member

Function module to delete means of transport created for a transport lane

Hi All,

I want to delete duplications in "Means of transport" created in transaction /SAPAPO/SCC_TL1. I use the BAPI "'BAPI_TRLSRVAPS_SAVEMULTI'" to create transportation lane and means of transport. Since the BAPI is being called for each product(which I cannot avoid to capture all error messages), means of transport are getting duplicated. Do anyone know about a BAPI or function module which can delete means of transport. If this is available my problem will be solved. There is a function module '/SAPAPO/TR_TLANE_TRPROD_DEL' which deletes only transportation lanes but not "means of transport".

Any helpfull answer will be rewarded.

Thanks,

Deepthi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 01, 2007 at 07:48 AM

    HI Deepthi,

    Use this '/SAPAPO/TR_TRPRODM_PUT' to delete only the Means of Transport. Pass 'D' to field UPDATEF.

    Regards,

    Siva.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Siva,

      Thaks for those function modules. I tried with '/SAPAPO/TR_TRPRODM_PUT'. This deletes from table /SAPAPO/TRPRODM but not from /SAPAPO/TRM and so the means of transport still appears in the transaction. Do you have any idea why it behaves this way.

      Thanks

  • avatar image
    Former Member
    Aug 01, 2007 at 10:09 AM

    Hi,

    Try using the report '/SAPAPO/TR_TRM_MASSMAINT' for deletion.

    Regards,

    Siva.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The Fm '/SAPAPO/TR_TRPRODM_PUT' does not delete means of transport form standard transaction. But another fm '/SAPAPO/TR_TRM_PUT' deletes it.

      Thank you so much for your help Siva.

      Thanks,

      Deepthi

  • avatar image
    Former Member
    Aug 01, 2007 at 07:13 AM

    Hi Deepthi,

    Can you try with this '/SAPAPO/TR_TLANE_DEL' function module.

    Regards,

    Siva.

    Add comment
    10|10000 characters needed characters exceeded