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

Run ABAP Code

Hi All,

Once I create the authority object for my report I am able to run the report since I am not authorised but I what to check the report. Is there any way to do that.

Thanks,

Govindarajan Umadevi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 11:44 AM

    AUTHORITY-CHECK OBJECT 'Z_OBJECT'

    ID 'VKORG' FIELD KNVV-VKORG.

    if sy-subrc <> 0.

    message e810 with KNVV-VKORG.

    endif.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2006 at 11:36 AM

    yes, debug your report :

    you can change sy-subrc before error-message

    A.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2006 at 12:01 PM

    Hi,

    keep the breakpoint at AUTHORIZATION OBJECT STATEMENT

    Once you get into debugger change the sy-subrc value to 0 in debugger .

    if you get any popuup window while executing eventhen alos you are supposed to use pouup debugger to change the authirization .

    regards,

    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.