cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter sender/reciever - in different systems - DEV/QA/PROD

Naama
Participant
0 Kudos

Hi all,

does any one has an idea about how to make the source directory parameter dynamic in terms of different environment (DEV, QA, PROD)?

so I want have to change manully the path?

Thanks,

Naama

Accepted Solutions (0)

Answers (5)

Answers (5)

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

You Can create a Source field to pass a Directory Path. But you also have to take care

To disable the check the adapter performs for the element data, set the Disable Security Checks indicator.

Otherwise, the adapter checks whether the element data contains characters that could lead to security risks in the file system environment. The check includes the characters u201C/u201C, u201C\u201C, and u201C..u201C

stefan_grube
Active Contributor
0 Kudos

You should use the same path in all systems, then you need not change it.

You could have /usr/sap/fileadapter or something similar.

Regards

Stefan

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>different environment (DEV, QA, PROD)?

>so I want have to change manully the path?

first of all you will have to put it manully anyway

as if you transport every communication channel

you need to fill the data on every landsapce (QA, PRD)

as it's gone when you import it

Regards,

Michal Krawczyk

Former Member
0 Kudos

i doubt.. but you can still give generic drive and map this to any physical drive you want.

SudhirT
Active Contributor
0 Kudos

Hi,

probably you can use variable substitution for directory path and in IR in mapping can pass the constant values for dynamic path like if business system is BSDEV,BSTST,BSPRD then the corresponding dir path to an additional field in target, and use this field for variable substitution in file adapter. although

doing mannual changes is recommended.

thanks