cancel
Showing results for 
Search instead for 
Did you mean: 

OPEN_DATASET_NO_AUTHORITY error

Former Member
0 Kudos

Hi all,

We have created a new interface that takes 3 files from a web page and stores them locally in XI. After that XI should read and process them. We have done it using an ABAP program as we had problem with the HTTP adapter. We have created a job in XI that runs this program with a system user but everytime we run the job we have this error:

The termination occurred in the ABAP program "ZIRTR009_HTTP" in "READ_FILE".

The main program was "ZIRTR009_HTTP ".

The termination occurred in line 113 of the source code of the (Include)

program "ZIRTR009_HTTP"

of the source code of program "ZIRTR009_HTTP" (when calling the editor 1130).

The program "ZIRTR009_HTTP" was started as a background job.

Job name........ "Z_R10_RTR_HTTP_RTR9"

Job initiator... "GOMEZDI"

Job number...... 07205001

Processing was terminated because the exception "CX_SY_FILE_AUTHORITY" occurred

in the

procedure "READ_FILE" "(FORM)" but was not handled locally, not declared in the

RAISING clause of the procedure.

The procedure is in the program "ZIRTR009_HTTP ". Its source code starts in

line 111

of the (Include) program "ZIRTR009_HTTP ".

Could anyone help me with this issue?

Thanks in advance and kind regards.

Diana

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Try to execute your program in foreground with same user id. You will get same error which is comng due to authority of reading files. Then exeucte SU53 & get the authorisation for the object shown as fail after running SU53 & this user id. Your problem will be solved.

Regards

Sushil

Former Member
0 Kudos

Hi,

This is an authroization issue.

Add the authorization object S_DATASET to the user-id and give all the values depending on your requirement. This will solve the issue.

Please award points for helpful answers.

Regards,

Bharath

prateek
Active Contributor
0 Kudos

This will help u

I dont think this is an XI related issue

Regards,

Prateek