Ansicht
Dokumentation

ABAPDESCRIBE_DISTANC - DESCRIBE DISTANC

ABAPDESCRIBE_DISTANC - DESCRIBE DISTANC

General Material Data   Addresses (Business Address 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.






BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 938 Date: 20240423 Time: 143618     sap01-206 ( 18 ms )