My hierarchy is loaded through flat file. This file is present in the application server.
We have hard coded the filename path in our program in the production system as:
DATA:p_fname LIKE rlgrap-filename value '
Now, our pre production system is refreshed and hence after the refresh, the same path got copied in the pre production system and our process chain got failed as the path name is wrong. Same is the case in the development system.
Please note: The file path is same in all the systems except the name of the system i.e.
For development system, the name is PACE_DEV
for preprodcution system, the name is PACE_PREPRD,
for production system, it is PACE_PRD.
Could anyone let us know, what global logic should be developed so that the process chain runs smoothly in all the systems?
Thanks in advance for the reply.