cancel
Showing results for 
Search instead for 
Did you mean: 

check path type

Former Member
0 Kudos

Hello everyone.

I have a scenario where i have a field in the program which contains the file path(directory) name. I need to find out whether this file path name is on application server or PC.

Is there any FM for this...............or any solution for this.

kindly let me know at your earliest convenience.

Thanking you

vj

Accepted Solutions (1)

Accepted Solutions (1)

former_member181966
Active Contributor
0 Kudos

Try FM

PC_CHECK_PATH

Thanks

Saquib

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

Dont recollect the module name..

Try CHECKPATH*...F4

Regards,

Tanveer.

former_member181966
Active Contributor
0 Kudos

Try FM

PC_CHECK_PATH_WITH_DRIVE

Thanks

Saquib

Message was edited by: Saquib Khan

Former Member
0 Kudos

Hi,

Check for the complete file name. If it contains '/', its on the application server.

it would be something like '/usr/sap/tmp/myfile.txt'.

U can find it there using AL11 transaction.

Regards,

Tanveer.

Former Member
0 Kudos

hello guys

i have got this idea. But guess what if you have a directory mapped on your system then its name can start with D(some alphabit):.. or //..

Thank you.

Regards

vj

Former Member
0 Kudos

Hello tanveer and vick

You guys were right.

Got it. I was thinking something else, sorry about it.

Thank you.

vj

Former Member
0 Kudos

Hi,

u can always read for the first characte which is always '/' for application server(unix) for the presentation servet it is always an alphabet.

Regards

Vick