Global variable and datastore

Hello,

I have a R3 datastore in which I use the FTP data transfer method.
I would like to parameter the options “Local directory” and “Generated ABAP directory”. I tried to pass a global variable in these options but it seems not working …
Do you confirm that ?
Is there another way to parameter these options or we have to hardcode them ? :?:

Thanks in advance for your replies.


Toons :fr: (BOB member since 2009-04-14)

I am pretty sure you cannot use a global variable there.

You can use multiple datastore profiles in you have many directories but to be honest directories are usually very restricted in a SAP environment and I have never seen a site where people can pick and choose directories at run time.

I suspect you are talking about having different directories between, for example, dev and test environments - in which case you should use the datastore profiles.


speed12 (BOB member since 2004-09-27)

Options “Local directory” and “Generated ABAP directory” are referencing local directories and not SAP server directories !

It is a possibility but in this case, the path files has to be “hardcoded” and I would prefer to use variables … :frowning:


Toons :fr: (BOB member since 2009-04-14)

Why do you need variables? Because of dev-test-prod?


Werner Daehn :de: (BOB member since 2004-12-17)

Yes.
We would use variables for these directories and launch jobs in command line. We have not access to test and prod (manage by another company) so we can’t create multiple configurations (we have not passwords for test and prod).
The idea was to store the values in a file, pass them into global variables to avoid asking the company modifications of Datastores through Designer.


Toons :fr: (BOB member since 2009-04-14)

so you are not allowed to know the username and password for the test and prod environments but they are happy to have them stored in a file?


speed12 (BOB member since 2004-09-27)

That’s true … :slight_smile:


Toons :fr: (BOB member since 2009-04-14)