Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP code for flat file path

Hello,

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 '
A0001SAP\PACE_PRD\interface\BI\BO\PYD_PDL.CSV'

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.

Regards,

Nitin Chopade.

Former Member
Not what you were looking for? View more on this topic or Ask a question