Documentation View

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



ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

PROVIDE, Short Form

This statement must only be used by specialists.
Indepth knowledge of the corresponding environment is essential.
This environment is not part of ABAP and is not documented here.

Short Reference

PROVIDE ${*$|${comp1 comp2 ...$}$} FROM itab1
        ${*$|${comp1 comp2 ...$}$} FROM itab2
        BETWEEN extliml AND extlimu.


This form of the statement PROVIDE, which is not allowed in classes, is a short form of the allowed variant. The compiler distinguishes the long form from the short form by the additions FIELDS, to be specified explicitly in front of the component specifications.

The short form is exclusively intended for processing internal tables for HR info types, which have been declared with the special statement INFOTYPES or which have the corresponding structure.

In principle, the short form of the statement PROVIDE works like the allowed variant. Unlike the allowed variant, however, fewer additions are possible here. A table cannot be specified more than once in the short form. The internal tables must have header lines and the additions to be specified in the long form are added in the short form by the runtime framework, as described below.

For the PROVIDE loop to function correctly, the same conditions apply as in the long form. However, no exceptions are raised if one of the involved tables is not sorted or if there are overlapping intervals.

Interval limits BOUNDS

The columns for interval limits to be specified in the long form as intlim1 and intlim2 using the addition BOUNDS are attributes of the relevant tables in the short form and must be specified when they are declared.

This is done using the addition VALID BETWEEN, which can be specified after DATA END OF if an internal table is declared with the obsolete addition OCCURS of the statement DATA BEGIN OF. If an internal table is declared using the special statement INFOTYPES, these are the BEGDA and ENDDA columns. If no columns are specified for the interval limits in the declaration, the short form of PROVIDE uses the first two columns of the internal table.

Work area INTO

In the short form, the headers of the internal table are used implicitly for the work areas that have to be specified as wa in the long form using the addition INTO.


For the data objects to be specified as flag in the long form using the addition VALID, a data object itab_valid of type c and length 1 is created in the short form for every table itab.

Condition WHERE

No conditions can be specified in the short form.


In the short form, the PROVIDE loop cannot be forced for every interval.


The system fields sy-tabix and sy-subrc are not filled by the short form for PROVIDE - ENDPROVIDE.


This example has the same result as the example for the long form. Here, the tables itab1 and itab2 have header lines and the columns col1 and col2 are defined as interval limits of type i using the addition VALID of the statement DATA END OF.

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 5031 Date: 20230206 Time: 111109     sap01-206 ( 75 ms )