SAP PROVIDE - Reference ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for PROVIDE

PROVIDE

ABAP Reference
ABAP Code Snippet


ABAP Syntax PROVIDE FIELDS {*|{comp1 comp2 ...}}

FROM itab1 INTO wa1 VALID flag1 ...
BOUNDS intliml1 AND intlimu1
[WHERE log_exp1]
FIELDS {*|{comp1 comp2 ...}}
FROM itab2 INTO wa2 VALID flag2
BOUNDS intliml2 AND intlimu2
[WHERE log_exp2]
...
BETWEEN extliml AND extlimu
[INCLUDING GAPS].
...
ENDPROVIDE.
ABAP Code Snippet

What does it do? Evaluates a join of special internal tables in a loop. The join is based on overlapping value intervals in the internal tables involved.

ABAP Addition FIELDS {*|{comp1 comp2 ...}}
Specifies the columns to be read.
FROM itab1 ... FROM itab2 ...
Specifies the internal tables involved.
INTO wa1 ... INTO wa2 ...
Specifies work areas for the results.
VALID flag1 ... VALID flag2 ...
Specifies whether the intervals of the internal tables in the current loop overlap or not.
BOUNDS intliml1 AND intlimu1 ... BOUNDS intliml2 AND intlimu2 ...
Specifies two special columns for every internal table, whose values must be interpreted as limits of closed intervals.
WHERE log_exp1 ... WHERE log_exp2 ...
Specifies conditions using logical expressions: log_exp1, log_exp2, ... and so on.
BETWEEN extliml AND extlimu
Specifies an outer interval.
INCLUDING GAPS
Runs the loop for non-overlapping intervals as well.

Return to menu