Using SysCommand Node to run loadrpts - User Needs To Be Assigned A Security Class Error

 6 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
agersh
Veteran Member
Posts: 81
Veteran Member

    I have a PF that runs a PA100 job “PA100RPT”.  After the job is completed, using the SysCommand node I am trying to execute the “loadrpts.exe” command (system utility) to load the print files in the PA100RPT print directory into the Print Manager in hopes that this step will allow the print files for this job to be accessible/viewable through the Print Manager.

     

    When the SysCommand node executes the loadrpts command below the following error is returned “User Needs To Be Assigned A Security Class”

    E:\lsfprod\gen\bin\loadrpts -d E:\lsfprod\law/print/myDomain_ajones/pa100rpt/1 -u myDomain\ajones PA100RPT -p PROD

     

    Does anyone know how to correct the “User Needs To Be Assigned A Security Class” error?

    BarbR
    Veteran Member
    Posts: 306
    Veteran Member
      My "process flow user" id has enough security so that reports run from a PF WebRun node go right into the Print Manager (without executing loadrpts or doing anything else after the WebRun node). That would seem to be an easier solution for you.
      Bob Canham
      Veteran Member
      Posts: 217
      Veteran Member
        I'm not sure if this is the specific thing you're seeing, but I have seen this error when the user doesn't have a LAUA security class assigned. I know they tell us that it isn't needed, but I have seen strange things happen if the user doesn't have an LAUA security class and User Group. We worked around it since we're using Lawson Security by creating a LAUA class called EMPTY that had the product lines, but no other access.
        BarbR
        Veteran Member
        Posts: 306
        Veteran Member
          That depends on what release you are on - The User group hasn't been required for some time, at least since MSP6, probably earlier. My PF user does not have any LAUA security or groups.
          BarbR
          Veteran Member
          Posts: 306
          Veteran Member
            You are on Lawson Security, not LAUA, right? More thoughts:
            Check your PF user's security classes in the ENV and GEN profiles.
            Mine has AllENVAccess and AllGENAccess - the loadrpts is granted in the AllENVAccess.
            John Henley
            Posts: 3353
              Posted By agersh on 11/28/2012 10:42 AM

              I have a PF that runs a PA100 job “PA100RPT”.  After the job is completed, using the SysCommand node I am trying to execute the “loadrpts.exe” command (system utility) to load the print files in the PA100RPT print directory into the Print Manager in hopes that this step will allow the print files for this job to be accessible/viewable through the Print Manager.

               

              When the SysCommand node executes the loadrpts command below the following error is returned “User Needs To Be Assigned A Security Class”

              E:\lsfprod\gen\bin\loadrpts -d E:\lsfprod\law/print/myDomain_ajones/pa100rpt/1 -u myDomain\ajones PA100RPT -p PROD

               

              Does anyone know how to correct the “User Needs To Be Assigned A Security Class” error?


              Are you seeing this when running on the server or from the designer?
              Thanks for using the LawsonGuru.com forums!
              John
              agersh
              Veteran Member
              Posts: 81
              Veteran Member
                John,

                I am getting this error when running from the PF Designer.

                agersh