Skip to Content
author's profile photo Former Member
Former Member

"Update" Version of BAPI /SAPAPO/TR_TL_TRANSFER_BAPI for Transport'n Lanes

There is a requirement to fill-in Means of Transport (TTYPE) in the TRM table after transportation lanes have been created via CIF.

There is a standard BAPI for transportation lanes (/SAPAPO/TR_TL_TRANSFER_BAPI), but this only seems to be for new adds to TRM table, not for updating existing rows in TRM.

Is there a way to run this BAPI in "update" instead of "add" mode?

If not, does anyone know the actual APO Function Module that updates the TRM table?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2008 at 10:41 AM


    To upload the data for Means of Transport you need to give the relevant data for Transportation lane and product procurement parameter even though you have already created the transportation lane. Once you upload data for all the 3 parameters then only it will go and update the Means of Transport for relevant source destination combination.

    The upload will not take place if you are trying to upload only Menas of Transport parameter in BAPI.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Sanjog -

      Thanks for confirming what I thought.

      As you said, the it_tr and it_trx parameters of the BAPI are not optional, so these must be read from the database and provided to the BAPI along with the it_trm data.

      Furthermore, since the BAPI gets to the BAdI by usng the same function module call sequence as the CIF function module cif_tpsrc_inbound, there is no "on-the-fly" update capability during CIF either.

      Anyway, thanks again for taking the time to respond and confirm.


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.