Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP or User Role

Former Member
0 Likes
631

How Do Everyone,

One of our SAP people has created a new role and has

granted SAP_ALL & SAP_NEW access to this new role.

However, when he runs one of the ABAP programs it falls

over on the error message:

'opendir: No such file or directory <- CALL (,,..).

When I run the program in debug mode, it seems to be

falling over on the system call:

call 'C_DIR_READ_START' id 'DIR' field a_dir_name

id 'FILE' field w_generic_name

id 'ERRNO' field file-errno

id 'ERRMSG' field file-errmsg.

Can anyone explain what the heck is going on??

Cheers

Andy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
569

Hi Andy,

It seems the directory or file does not exist that you are trying to read.

Also it could be no server (UNIX) access/permission for the user to read a file/directory. Please check with your system admistration.

Regards,

Ferry Lianto

How Do Everyone,

One of our SAP people has created a new role and has

granted SAP_ALL & SAP_NEW access to this new role.

However, when he runs one of the ABAP programs it falls

over on the error message:

'opendir: No such file or directory <- CALL (,,..).

When I run the program in debug mode, it seems to be

falling over on the system call:

call 'C_DIR_READ_START' id 'DIR' field a_dir_name

id 'FILE' field w_generic_name

id 'ERRNO' field file-errno

id 'ERRMSG' field file-errmsg.

Can anyone explain what the heck is going on??

Cheers

Andy

2 REPLIES 2
Read only

Former Member
0 Likes
570

Hi Andy,

It seems the directory or file does not exist that you are trying to read.

Also it could be no server (UNIX) access/permission for the user to read a file/directory. Please check with your system admistration.

Regards,

Ferry Lianto

Read only

0 Likes
569

Thanks for the reply Ferry,

I took it for granted that the path name on the dev

server would be the same as QA and prod. Obviously it is

not. But it should be.

Anyway, thanks again Ferry problem solved