error in file creation

Oct 24, 2016 at 07:42 PM


avatar image


I have program step in process chain , program creates file from data in open hub table and places on app server. From last couple of days its not creating the file and giving error " Error in opening the file..." . This is the custom error logic written in program when file path , name etc is wrong. However in the program variant everything is saved correctly. Moreover when i run the program manually from se38 with same variant it generates the file correctly. Pl let me know what could be the problem. I think maybe authorization issue but not sure because system user is supposed to have all the access.

Code in the program where this error is generated

Spool error

capture.png (17.5 kB)
fa.png (22.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raman Korrapati Oct 25, 2016 at 08:10 AM

Hi Nayab,

please check the BGD user id which is executing your program in process chain.

Whether its system user id or any user id who left your company.

As you said it will be an authorization issue.

From SM37, lets try to see the cancelled jobs and find it which is related to your program based on time stamp details.

from there you can find the user id who created or on which user id this job was executed.later check those user id is still valid or expired with help of basis team.


10 |10000 characters needed characters left characters exceeded
Raf Boudewijns Oct 25, 2016 at 09:45 AM

How about using the catchable exceptions that are explained in the Help on OPEN DATASET? That will tell you whether the issue is authorization related or not.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Ok I will give it a try.

Skip to Content