Application Development and Automation 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: 
Read only

setting the file path dynamically based on user selectuion

Former Member
0 Likes
629

Hi,

I have three different file paths like c_path(10) TYPE c VALUE '----', " File path

c_unix(46) TYPE c VALUE '------', and third one is based on the server user is working.

here my requirement is I wants to set the path dynamically depending upon the client(by giving the parameter option on the selection screen i.e p_path)

So please send me the code which helps me in doing so.

Thanks in advace,

jmreddy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
510

Hi jmreddy,

I think i will work out see this

  • Set the input file path dynamically depending on the client

CONCATENATE c_path sy-sysid c_unix INTO v_file.

p_path = v_file.(according to ur values)

regards,

mohan

2 REPLIES 2
Read only

Former Member
0 Likes
511

Hi jmreddy,

I think i will work out see this

  • Set the input file path dynamically depending on the client

CONCATENATE c_path sy-sysid c_unix INTO v_file.

p_path = v_file.(according to ur values)

regards,

mohan

Read only

Former Member
0 Likes
510

concatenate the 3 fields and pass it into p_path in INITIALIZATION or use it directly when you are downloading the data into application server