ST22: OPEN DATASET NO AUTHORITY

You want to do some file changes (read, write) within SAP and operating system level but ended with abap dump as below,

Category               ABAP Programming Error
Runtime Errors         OPEN_DATASET_NO_AUTHORITY
Except.                CX_SY_FILE_AUTHORITY
ABAP Program           ZPROGRAM

Short text
No authorization to open the file “/home/ara/daem.txt”.

Solution

1. Refer to ST22: DATASET CANT OPEN.

2. Verify the user is assigned with S_DATASET authorization object.

You May Also Like

Leave a Reply?