Macro 'field-get'
Use
You use the field-get macro to get the values of variables from the ITS during PAI.
|
contextfield-name (in, char) |
Context field name |
|
contextfield-index (in, num) |
Context field index |
|
contextfield-value (out, itab) |
Context field value The macro accepts any internal table and copies the value of the context field to the internal table components. If one internal table record is not enough, it adds additional records. |
|
contextfield-length (out, num) |
Context field length |
Integration
Syntax in the Standalone ITS
With the standalone ITS, this is automatically performed by the flow logic runtime
.
Syntax in the Integrated ITS
In ABAP in the integrated ITS, the syntax could be as follows:
idx = 1.
field-get 'my_rows' idx wide_row len.
IF sy-subrc <> 0.
EXIT.
ENDIF.
READ TABLE wide_row INDEX 1 INTO my_rows.