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: 

How to set the file path dynamically based on sytem, username, and date

Former Member
0 Kudos
114

Hi All,

My requirement is upload the data into one structure like xyz that is related to t.code MCSZ.

file will be in UNIx SERVER .

PATH IS: /sapif

file name is xy789 load .txt

I have to write code in one user-exit

how can i set the file path for this.

shall i put hard code file path?

because i have to writecode in user-exit.

plz tell me how to set the file path based ons syetem, username, date

Thanks in advance

Ram.A

1 REPLY 1

former_member195698
Active Contributor
0 Kudos
47

Concatenate the field SY-SYSID, SY-UNAME and SY-DATUM for the file path