cancel
Showing results for 
Search instead for 
Did you mean: 

dump in Webdynpro abap. CL_GUI_FRONTEND_SERVICES

Former Member
0 Kudos

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.

-

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Multiple Copy from the Clipboard for Select-Options 2.0 is being worked on now by SAP for a future release. Until then, there isn't much you can do to provide this functionality.

Former Member
0 Kudos

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

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

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.

former_member184578
Active Contributor
0 Kudos

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