Application Development 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: 

Unable to display the content of the file in AL11

suraj_pabbathi2
Participant
0 Kudos

Hi Experts,

We had mounted SAP system XXX 's directory '/data/' on another non-SAP system YYY to share the resources.

We have created Group A on both systems. XXX and YYY both have same OS (Redhat Linux).

XXX System / Group AYYY System / Group A
xxxadmyyyadm
yyyadmxxxadm

An application in YYY system has written a file FILE with permissions (640) rw-r----

At OS level, logged into XXX, xxxadm was able to read the file since it belongs to same Group A.

From SAP, through AL11, the FILE content was not able to read. Theoritically, xxxadm belongs to same group as yyyadm, so through AL11, it should be readable.

Do you have any clues?

Thanks,
Suraj Pabbathi

5 REPLIES 5

martin_voros
Active Contributor
0 Kudos

Hi,

just a stupid question. Does your ABAP user have sufficient authorization to read this file (S_DATASET)?

Cheers

0 Kudos

Martin,

Yes, as I am able to see other file contents.

Thanks,

Suraj

Former Member
0 Kudos

Hello,

group A must have the same GID on both the server, and user <SID>adm (SAP os user) should belog to group A.

Try to open the file at OS level with the <SID>adm user, if it works, than also AL11 works...

Regads

Matteo

0 Kudos

Hi Matteo,

That's the strange part,

We are able to open the file using sysadm (xxxadm) at OS level, but not in AL11.

I debugged it, it is failing exactly at OPEN DATASET.

Thanks,
Suraj.

0 Kudos

Have you stop&start SAP after that you add <SID>adm in Group A?