on 10-28-2011 8:41 AM
Hi ,
my requirement is to copy the clip board data and bring that to internal table.
i have created the Function module for that inside that i have used CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT method.
My function module is working fine when i executed in se37. i used the same FM in a Se38 program and its working fine there also.
but when i used the same in webdynpro component it is giving dump.
Can any one help me !!!
Thanks
dhinesh.
The /sap/bc/webdynpro/sap/zmxx_ap_ops was not called due to an error.
Note
The following error text was processed in the system GRD : Exception condition "CNTL_ERROR" raised.
The error occurred on the application server bdhn4751_GRD_11 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: CLIPBOARD_IMPORT of program CL_GUI_FRONTEND_SERVICES======CP
Function: ZMXX_OPN_MULT_SELECTION of program SAPLZMXX_OPN_FGROUP
Method: ONACTIONONVIEW of program /1BCWDY/MC5EL1ZZ4FF51IFEMMKF==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/MC5EL1ZZ4FF51IFEMMKF==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
Error Analysis :
A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP" raised the
exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
-
Hi ppl,
in that case how to proceed..
How to add multiple PO (just copy and paste in selection screen).
please guide me .
thanks
dhinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi dinesh ,
WDA does't have clipboad Functions & you cannot use the CL_GUI_FRONTEND_SERVICES because of the below reason
The class CL_GUI_FRONTEND_SERVICES supports the SAP GUI for Windows, the SAP GUI for the Java Environment and the SAP GUI for HTML. WebDynpro applications are not supported.
you can refer Thomas answer in below link .
alternatively you can achive using ABAP memory
creat a button for COPY ..inside that Export the value to the memory ID
and create a button for paste and import the value using the memory ID
Regards
Chinnaiya P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As already stated, CL_GUI* classes only for use in the SAPGUI. They will not work from Web Dynpro.
The memory id approach suggested wouldn't work either. First that approach can't access the client side clipboard, of course. Memory ID passing even between two WDA applications can be problematic because two different sessions could easily run on two different application servers and therefore not even have the same shared memory area.
There are no APIs or functionality in Web Dynpro to allow you to access the Clipboard currently, I'm afraid.
Hi,
We cannot use CL_GUI_FRONTEND_SERVICES in web dynpro.
*gui*
is related to sap gui only.. check for other alternatives..
Thanks & Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.