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: 

CNTL_ERROR when calling the Frontend Services

Former Member
0 Kudos

Hi,

I am calling the cl_gui_frontend_services=>file_open_dialog method in a POWL screen (in the HANDLE_ACTIONS)

When I do that - the sy-subrc value returns with 2 which implies CNTL_ERROR.

Can anyone tell me what seems to the problem? How can I solve the issue?

Thanks

Kiran

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

I don't think you can use this method for the other GUI.

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

I don't think you can use this method for the other GUI.

Former Member
0 Kudos

Hello Kiran,

You can use this Class method only from the report .

Thanks,

Greetson

Former Member
0 Kudos

Thanks,

ABAP WD and SAPGUI will not be compatible.