/scripts/ahub.form.attachments.js
0

error in file creation

Oct 24, 2016 at 07:42 PM

43

avatar image
Former Member

Hi

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

avatar image
Former Member Oct 25, 2016 at 08:10 AM
0

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.

Thanks

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

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
Former Member

Ok I will give it a try.

0
Skip to Content