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: 

ACFEXECUTE passing parameters via ARGUMENTLIST in Web dynpro

john_duleba2
Discoverer
0 Kudos

I'm trying to pass command line parameters to ACFEXECUTE when opening Windows Explorer to so that it opens in the below directory. It opens but only to my default directory. Does any see what might be wrong with how I'm populating the argumentlist parameter?

I've tried it this way.

    lv_application  = 'C:\Windows\explorer.exe' .
    lv_argumentlist  = 'Explorer /root,\\XXXX0007\test\ENG\GenEngr\ServiceEngr\MACROS' .
*  Call Execute method
    wd_this ->call_acf_execute ( application  = lv_application

                               argumentlist  = lv_argumentlist  ).


I've also tried.

    lv_application  = 'C:\Windows\explorer.exe' .
    lv_argumentlist  = '/root,\\XXXX0007\test\ENG\GenEngr\ServiceEngr\MACROS' .
*  Call Execute method
    wd_this ->call_acf_execute ( application  = lv_application

                               argumentlist  = lv_argumentlist  ).

1 ACCEPTED SOLUTION

john_duleba2
Discoverer
0 Kudos

I found the answer. The /root, isn't needed.

This is how it should be.

lv_application  = 'C:\Windows\explorer.exe' .
    lv_argumentlist  = '\\XXXX0007\test\ENG\GenEngr\ServiceEngr\MACROS' .
*  Call Execute method
    wd_this ->call_acf_execute ( application  = lv_application

                               argumentlist  = lv_argumentlist  ).

1 REPLY 1

john_duleba2
Discoverer
0 Kudos

I found the answer. The /root, isn't needed.

This is how it should be.

lv_application  = 'C:\Windows\explorer.exe' .
    lv_argumentlist  = '\\XXXX0007\test\ENG\GenEngr\ServiceEngr\MACROS' .
*  Call Execute method
    wd_this ->call_acf_execute ( application  = lv_application

                               argumentlist  = lv_argumentlist  ).