Securing PA52 Action Codes

Sort:
You are not authorized to post a reply.
Author
Messages
Sandra Badini
New Member
Posts: 3
New Member
    I need to secure the PA52 to one action code for a user.  I defined an element group for the PA action code to limit the list available to the user.

    The functionality is working to allow the user to add, change and delete an action.  However, the next and previous functions are returning a security violation.  The security class had permission to PERSACTYPE, PERSACTION and EMPLOYEE.  We do not have security on company or process level.

    Any ideas about what security setup I am missing?

    Thank you



    Element Group
    if((lztrim(COMPANY)==user.getCompany() && lztrim(ACTION_CODE) == 'GMCHANGE'))
       'ALL_ACCESS,'
    else
       'NO_ACCESS,'

    Conditional Rule on PERSACTYPE and PERSACTION

    if(isElementGrpAccessible('PAACTION','','PA',lztrim(table.COMPANY),lztrim(table.ACTION_CODE)))
       'ALL_ACCESS,'
    else
       'NO_ACCESS,'
    You are not authorized to post a reply.