Enabling Infor Lawson Smart Reports at Different Levels

This table shows the specific files that you must update to enable LSR in different levels:

Level File Name Location(s) Description
Lawson Environment rpt.cfg $LAWDIR/system/rpt.cfg

When the RPT_CFG_OVRD ON parameter is set, all other changes on the succeeding configuration files will be overridden.

Program ProgramCode.cfg

$LAWDIR/productlinename/obj/

or

$LAWDIR/productlinename/systemcodesrc/

Changes applied under the program level will override the settings in any existing SystemCode.cfg and ProductLine.cfg files.

System SystemCode.cfg

$LAWDIR/productlinename/obj/

or

$LAWDIR/productlinename/systemcodesrc/

Changes applied under the system level will override the settings on the ProductLine.cfg file.

ProductLine ProductLineName.cfg $LAWDIR/productlinename/

This configuration enables LSR at Product Line level.

To enable Infor Lawson Smart Reports at the Lawson Environment Level

Note: You can enable the LSR feature at the Lawson Environment Level by setting the LSR_ENABLE parameter to ON in rpt.cfg. Changes in Productline.cfg, SystemCode.cfg, and ProgramCode.cfg will be overriden if you set RPT_CFG_OVRD to ON.
  1. Using a text editor, open the $LAWDIR/system/rpt.cfg file.

  2. To enable Infor Lawson Smart Reports to run in Lawson Portal, add the following values:

    RUNTIME_XML ON

    RUNTIME_XML_ENABLE ON

    LSR_ENABLE ON

    RPT_CFG_OVRD ON

    Note: If RPT_CFG_OVRD is OFF, the settings in Productline.cfg, SystemCode.cfg, and ProgramCode.cfg will be in effect.

To enable Infor Lawson Smart Reports at the Program level

Note: The invoked programs of batch programs and online forms should also have the configuration file with LSR Enablement.
Note: The Program Code configuration files set Infor Lawson Smart Reports at the program level and override the settings in any existing SystemCode.cfg and ProductLine.cfg files.
  1. Open a text editor.

  2. To enable the Infor Lawson Smart Reports feature, add the following values:

    RUNTIME_XML ON

    RUNTIME_XML_ENABLE ON

    LSR_ENABLE ON

  3. Save the file as ProgramCode.cfg (for example, HR211.cfg) in the following directory:

    $LAWDIR/productlinename/systemcodesrc/PROGRAMCODE.cfg

    or

    $LAWDIR/productlinename/obj/PROGRAMCODE.cfg

To enable Infor Lawson Smart Reports at the system code level

Note: The invoked programs of batch programs and online forms should also have the configuration file with LSR Enablement.
Note: The system code configuration files set Infor Lawson Smart Report at the system code level and override any settings in the ProductLineName.cfg file.
  1. Open a text editor.

  2. To enable the Infor Lawson Smart Reports feature, add the LSR_ENABLE value:

    RUNTIME_XML ON

    RUNTIME_XML_ENABLE ON

    LSR_ENABLE ON

  3. Save the file as SystemCode.cfg (for example, HR.cfg) in the following directory:

    $LAWDIR/productlinename/obj/SYSTEMCODE.cfg

    or

    $LAWDIR/productlinename/systemcodesrc/SYSTEMCODE.cfg

To enable Infor Lawson Smart Reports at the product line level

Note: The product line configuration file sets Infor Lawson Smart Reports at the product line level.
  1. Open a text editor.

  2. To enable the Infor Lawson Smart Reports feature, add the LSR_ENABLE value:

    RUNTIME_XML ON

    RUNTIME_XML_ENABLE ON

    LSR_ENABLE ON

  3. Save the file as ProductLine.cfg in the following directory:

    $LAWDIR/productlinename/ProductLineName.cfg