cancel
Showing results for 
Search instead for 
Did you mean: 

Function module for transporation distance

Former Member
0 Kudos

When I create a transporation lane, there is a push button for generating transporation distance (Generate proposal). Is any one knows the function module name called ? We want to use this one to automate the transporation lane creation.

Thanks in advance

Shibu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use FM /SAPAPO/TR_CALC_DIST to get the Distance by passing From Location, ToLocation and Means of transport.

Raghu.

Answers (1)

Answers (1)

srinivas_krishnamoorthy
Active Contributor
0 Kudos

You can always go in debug mode and place breakpoints on call function statements

Following are the FMs called on clicking the generate proposal button

/SAPAPO/TR_TT_CHK_AGG_DLT_FLG

/SAPAPO/TR_CALC_DIST

/SAPAPO/TR_DIST_CONV_DISPUNIT

/SAPAPO/LOC_LOCID_GET_GEODATA

/SAPAPO/TR_IGS_READ_PRESEL

/SAPAPO/TR_DIST_CONV_KM

UNIT_CONVERSION_SIMPLE

/SAPAPO/TR_TTCOST_CONV_KM

UNIT_CONVERSION_SIMPLE_OLD