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: 

FILENAME as variable for SID in S_DATASET

ashish_vikas
Active Contributor
0 Kudos

Hi Friends,

I am looking for keeping FILENAME as a variable for S_DATASET but it do not seems to be working for me correctly.

I think i tried many combinations.. like <SID> or <SYSID> but it do not work as expected.

I need to use this for a path : /usr/sap/<SID>/work and i wan to keep it as a variable so that same role works fine in all test/dev & Prod.

can you please suggest me something.

thanks

ashish

1 ACCEPTED SOLUTION

Bernhard_SAP
Employee
Employee
0 Kudos

Hello Ashish,

the usage of variables in authoriaztion values is not supported. (except the '*')

The Kernel does not verify any variables. It is also not planned

for future releases to have this in standard.

Attention:

the documentation of the object s_dataset says for 'FILENAME':

quote

File name: Name of the operating system file. Here, you can restrict the

accessible files.

unquote

Nothing else.

Don't mix it up with the documentation of the underlying Data element

FILEEXTERN.... (where variables are mentioned....)

b.rgds, Bernhard

2 REPLIES 2

Bernhard_SAP
Employee
Employee
0 Kudos

Hello Ashish,

the usage of variables in authoriaztion values is not supported. (except the '*')

The Kernel does not verify any variables. It is also not planned

for future releases to have this in standard.

Attention:

the documentation of the object s_dataset says for 'FILENAME':

quote

File name: Name of the operating system file. Here, you can restrict the

accessible files.

unquote

Nothing else.

Don't mix it up with the documentation of the underlying Data element

FILEEXTERN.... (where variables are mentioned....)

b.rgds, Bernhard

0 Kudos

disappointed, but many thanks for your clarification.

thanks

ashish