Hi,
I have a requirement to have a presentation server filepath/name search help against a UI element in WDA.
I have a number of buttons on the screen performing different actions against the file.
Originally, I tried to use the UI element type 'FileUpload' - however, I found that when I pressed any of the buttons the value would disappear from the field and although I could retrieve it I could not repopulate the value before the next display.
So, I tried creating a custom search help - within this I tried 2 options to get the file selection dialog screen open:
1. FM KD_GET_FILENAME_ON_F4
2. Method cl_gui_frontend_services=>file_open_dialog
Whilst both options work fine when testing the search help from within R/3 they short dump when executed from WDA.
The reason for this is that when executed from WDA, both make a call to 'DYNP_VALUES_READ' which in turn makes a call to a method which does not exist:('CL_WDR_VALUE_HELP_HANDLER')=>('WDR_VALUES_READ').
I have a raised a customer message with SAP about the above issue but I'm trying to get this development complete asap so was hoping someone may have created such search help functionality elsewhere using some other technique...
Any ideas please let me know....much appreciated!
Many thanks!