Menu

SAP Function Module LTRT_DISTC_CALC

Calculate distance between two nodes

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module LTRT_DISTC_CALC (Calculate distance between two nodes) is a standard Function Module in SAP ERP and is part of the function group LTRT within the package LTRT.

Technical Information

Function Module LTRT_DISTC_CALC
Short Text Calculate distance between two nodes
Function Group LTRT
Package LTRT
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_METRIC LIKE LLOCT-METRC Metric
I_ND1X TYPE LTRM_XCORD X Coordinate
I_ND1Y TYPE LTRM_YCORD Y Coordinate
I_ND1Z TYPE LTRM_ZCORD Z Coordinate
I_ND2X TYPE LTRM_XCORD X Coordinate
I_ND2Y TYPE LTRM_YCORD Y Coordinate
I_ND2Z TYPE LTRM_ZCORD Z Coordinate

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
O_DISTC_HORIZONTAL TYPE LTRT_DISTC Distance
O_DISTC_VERTICAL TYPE LTRT_DISTC Distance

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
METHOD_NOT_SUPPORTED Method not supported