How to get a list of specific program codes and screen descriptions in Lawson

, ,

There are two common ways to get a list of program forms and their description from Lawson. One is through LID and another is through a database application like SQL Management Studio.


Method 1: The database application method requires your user to have at least database read access to the PROD or TEST Lawson database.

  1. Login to the PROD or TEST database through your database app (using SQL Management Studio for this example).
  2. Expand the PROD or TEST GEN database and expand the Tables folder:
  3. Scroll to the dbo.SCREEN table >> Right-click >> Select Top 1000 Rows
  4. For those not familiar with SQL, simply remove the TOP 1000 portion from the code to return all records in this table.

Change from this:

To this:

  1. Now click the Execute button:
  2. Select all returned records at the bottom by clicking the top left box:
  3. Right-click same box >> Copy with Headers
  4. Paste into Excel and filter as needed:


Method 2: The LID method is simpler if you have access to Lawson Interface Desktop

  1. Login into LID, your user will need access to rngdbdump
  2. Change directory to a safe directory to dump a file into.
  3. Type this command: rngdbdump -ct gen SCREEN > SCREEN.csv
    1. This command will dump out the SCREEN database table into a csv file in your current directory
  4. Go to that directory and open the csv file in Excel, filter down on the forms you want to view.

Good luck!