cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

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.

Thanks,

Sanjog

former_member181923
Active Participant
0 Kudos

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.

djh

Answers (0)