cancel
Showing results for 
Search instead for 
Did you mean: 

Deletu015Fing transportastion lanes?

Former Member
0 Kudos

Hello,

Is there a way to delete a specific transportation lane when you know "locfrom" and "locto"?

I do not want to enter the transportation lane, delete all the products and the means of transports and make the transportation lane delete itself.

Thanks in advance for your advices.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can delete a specific transportation lane using standard BAPI available.please follow the steps as below.

In SE11/16 type the view name /SAPAPO/V_TRPRPD, in the field LOCNOFR type the "location from" and in field LOCNOTO type "location to", you will get the list of transportation lanes.

In column LOCFR you will get the GUID for location from & in LOCTO column you will get the GUID for location to.

Convert these GUIDs from char20 to char 32 using function module /sapapo/cif_guid_convert

Pass these char32 GUIDs to the BAPI BAPI_TRLSRVAPS_DELMULTI in parameter table TRLANE_KEY(fields = LOCATION_ID_FROM & LOCATION_ID_TO).It will delete the specific transportation lane from the system.

This is technical technique to delete T-lane but it will work.

Regards,

Saurabh

Former Member
0 Kudos

I think this will do, thank you.

Answers (1)

Answers (1)

Former Member
0 Kudos

Try to change the special procurement key (SPK) on your material master in R/3 or ECC (if you ever linked them).

Cheers!