on 07-09-2010 4:08 AM
Hi experts,
I use this method CL_GUI_FRONTEND_SERVICES->FILE_OPEN_DIALOG on ABAP webdynpro.
But got subject exception.
Is it something wrong with my GUI version?
Thank you in advance.
Exception code in the method
*-check if valid GUI is available----
IF IS_VALID_HANDLE( ) NE 0 AND cl_gui_control=>www_active IS INITIAL.
RAISE NOT_SUPPORTED_BY_GUI.
ENDIF.
Note
The following error text was processed in the system NW7 : Exception condition "NOT_SUPPORTED_BY_GUI" raised.
The error occurred on the application server and in the work process 3 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: FILE_OPEN_DIALOG of program CL_GUI_FRONTEND_SERVICES======CP
Method: ONACTIONSEARCH of program /1BCWDY/8F7FTC9E6OGCQL0JTNVT==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/8F7FTC9E6OGCQL0JTNVT==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
Richard
>use this method CL_GUI_FRONTEND_SERVICES->FILE_OPEN_DIALOG on ABAP webdynpro.
and that was your problem...
this is as the class says - a GUI based call - you can't call it from the browser. Instead you should use the FileUpload UI element.
If you need any other details or want alternate solutions (including references to using Flex, ACF applet utilities etc) - have a quick search of the forum - the same issue has been reported/raised many, many times.
Good luck,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.