OUVRE_BATCH
Description
This action is called after having entered the identification for the task then having applied the "OK" button. OUVRE_BATCH is executed when a criteria window is displayed, in this first phase of the request submission.. It substitutes the actions INIT and AVANT_PAR for the Interactive mode.
Template
Standard process (Batch mode)
Use
It essentially serves to make the declarations of the resources required and the initialisations, for example:
to declare the global or local variables with the syntaxes of the type
Local Integer MA_VARIABLE
Global Char POUR_TOUS(100)
to assign the global variables
to open the tables with instructions of the type
If clalev ([F :XXX]) = 0 : Local File XXXXX : Endif
to assign a title to the window by assigning the variable TIT.
to assign a confirmation message by assigning the variable TIT.
Call to another window than that used in interactive by assigning the variable BCRIT.