Skip to Content
author's profile photo Former Member
Former Member

how to arthorty-check a authorization group in a Query?

Hi all:

I am tried to arthorty-check a authorization group HRGLOBAL in a Query, I have two questions.

1 the code is I want to add to the Query is

AUTHORITY-CHECK OBJECT 'S_PROGRAM'

ID 'P_GROUP' FIELD 'HRGLOBAL'

ID 'P_ACTION' DUMMY.

Could you please tell me what value I should put for 'P_ACTION' if I want to check if the user has the authorisation to run the report?

2 where could I put the code in the Query ?

Thank you very much!!!

Edited by: jingying Sony on Dec 19, 2008 7:48 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 19, 2008 at 07:09 AM

    hi,

    goto SQ02 transaction give your infoset click change and choose EXTRAS in the application tool bar

    and go to Code tab on the right hand side window and add your logic there.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 09:21 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.