This action is called for each setup just before entering the end range.
Report
It is mainly used to initialize the setup according to a context. Indeed, since the AEXERPT screen is used for all the reports, it is impossible to insert an action avant_zone for a specific report. The setup code is available in [M:RPT]PARCOD(nolign-1).
it is possible to initialize the end range by the variable VALEUR.
Example of use of a setup in the form of an entry range:
Initialization of the start range and then the end range:
$INIPAR
If [M]PARCOD(nolign-1)="paysdeb"
VALEUR="AAA"
Endif
Return
$INIPAR2
If [M]PARCOD(nolign-1)="paysdeb"
VALEUR="BBB"
Endif
Return