Script ABIIMP2: ABIIMP2
CREURLBO: Modification of the BO report's URL
This entry point is used to take control every time a report BO is executed.
Thanks to this, the report path can be modified in order to reach a report located in a directory other than the standard one.
Context and operating method
The entry point CREURLBO is called after each execution of a BO report.
The context is as follows:
- Available variables
[M:RPT2]REPORT: name of the BO report
[M:RPT2]REP1 (1..10): Grid showing the directories where the report is located.
Prompts and values:
[L]BOTYP(1)(1..100)=Type: (S)impe,(M)ultiple,(R)ange
BOINV(80)(1..100)=Prompt name, uppercases and lowercases matter
BOVAL(80)(1..100): Prompt values: A or A,B, or [A..B] depending on the situation.
Example of the variables REP1 when executing a standard report.
[M:RPT2]REP1(0)=GREPBI: # SAGE
[M:RPT2]REP1(1) = GINSTID: # Solution
[M:RPT2]REP1(2) = DATAWARE: # Datawarehouse
[M:RPT2]REP1(3) = GLANGUE: # Current language
Therefore, the report location in the BO ledger is SAGE/Solution/Dataw/ENG/BOreport