Skip to Content
-1

exception CX_SY_REPO_SHARING_ERROR caused by DELETE REPORT in FM BATCH_REQUEST

Hi Experts,

in the transaction 1KE4 Profit Center Accounting: Assignment Monitor, a batch job can be scheduled to check the assignment between profit centers and other objects. When the FM BATCH_REQUEST is called to set a report RCOPCA97_GENERATED, the ABAP statement DELETE REPORT is called. And once this DELETE REPORT is executed, a exception CX_SY_REPO_SHARING_ERROR is raised, which leads to a dump. Do anyone know why?

I think the logic is deleting the existing report RCOPCA97_GENERATED and re-generate a new version here. But in another system, it works fine. The cause maybe the authorization check. But I am not sure how to check this?

BTW, what is shared report? or anything called shared DB objects? I saw the application type of the report RCOPCA97_GENERATED is Basis. Is there any help document on this?

I guess it is also possible that the dynamic programming statement causes this problem. Since in the SAP help, I am not sure whether there is any configuration on these? in the dump details, it mentioned 'An attempt was made to change ABAP sources or ABAP texts that cannot be

changed in the current system configuration.

This access was on part "SRC " of program "RCOPCA97_GENERATED".'.

Also in the help of Dynamic Program Editing, it mentioned ''

  • The statements for dynamic program development do not carry out authorization checks or other checks. These must be programmed separately. The following special function modules can be used for the required checks in addition to the statement AUTHORITY-CHECK

'.

Regards,

Cain Sun

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 21, 2019 at 08:19 AM

    Not sure in which version you are working. Have a look at OSS note 608106

    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.