Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPDESCRIBE_DISTANC - DESCRIBE DISTANC

ABAPDESCRIBE_DISTANC - DESCRIBE DISTANC

Addresses (Business Address Services)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

DESCRIBE DISTANCE BETWEEN f1 AND f2 INTO f3

Effect

Returns the distance between the fields f1 and f2 in f3.

Example

TABLES LFA1.
DATA DIS TYPE P.
DESCRIBE DISTANCE BETWEEN LFA1-LAND1
                  AND     LFA1-NAME1
                  INTO    DIS.

Result: DIS contains the value 14, since exactly two fields lie between LAND1 and NAME1, namely LNRZA (10 bytes) and LOEVM (1 byte); additionally, the sub-field LAND1 is 3 bytes long. Therefore, the start of the sub-field LAND1 is exactly 14 bytes from the start of the sub-field NAME1.






General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 938 Date: 20221203 Time: 171020     sap01-206 ( 18 ms )