There is always a transaction.
There is no open log file.
This entry point is called at the beginning of subprogram IMPRIME. It can be used to replace a report by another one depending on the current language, for instance.
In the context of the entry point :
The entry point IMPRIME is called at the beginning of the subprogram IMPRIME from the ETAT process.
The arguments passed in this subprogram are:
ETAT report code or requested printing code
FUNCTION function code from which the report is launched (usually GFONCTION)
Other variables that are available:
TYP -> 1=report, 2=requests, 3=SQL requests, =Export, 5=BI report
VAL_ETAT -> Default report name if ETAT corresponds to a printing code
There is no log file opened and no transaction in progress.