cancel
Showing results for 
Search instead for 
Did you mean: 

CL_GUI_FRONTEND_SERVICES, Subscreen not found error

Former Member
0 Kudos

Hello everyone,

We'd like to use the file service methods of class

CL_GUI_FRONTEND_SERVICES such as GET_SAPGUI_WORKDIR, GUI_DOWNLOAD and DIRECTORY_LIST_FILES in developing an upload facility that will be accessed via Integrated ITS.

However, when we try to use either of these methods, we get an HTTP 500 Internal Server Error saying "Subscreen not found".

The ABAP call stack was:

SYSTEM-EXIT of program SAPLSIT1

Function: ITS_DIRECTORY_LIST_FILES of program SAPLSIT1

Method: DIRECTORY_LIST_FILES of program CL_GUI_FRONTEND_SERVICES======CP

Form: GET_FILE_LIST of program

Module: STATUS_0100 of program

I am under impression that these classes are compatible to use with Integrated ITS. We looked at note 895183 but the solution does not apply to us as we are not on SRM. Anyone have a clue as to why we couldn't use file service methods and how to resolve?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

cris_hansen
Advisor
Advisor
0 Kudos

Hello Jocelyn,

You can use this class with the Integrated ITS.

You just need to keep in mind that a few methods might not be implemented (for usage in the ITS) yet; and other methods might also not be relevant for ITS!

For example, GET_SAPGUI_WORKDIR is a method that is only relevant for cases where you actually have the SAPGUI for Windows installed.

Now, method DIRECTORY_LIST_FILES is implemented; see SAP note 935935. Similar case is method GUI_DOWNLOAD.

I hope this helps.

Regards,

Cristiano

Former Member
0 Kudos

Hi,

Thanks for your reply.

I checked the trace file in the backend and below is the log of the session. It's looking for certain subscreen--any clue where it could be referring to and how we can fix it?

W *** ERROR => diag: Unable to find a subscreen named `frame2' [w3xxsemg.cpp 2158]

W *** ERROR => diag: Could not process target, rc=0xffffffd8 [w3xxsemg.cpp 1416]

W *** ERROR => plugin: XKrnHandleResponse failed rc= -40 [itspxkrn.cpp 764]

W *** ERROR => plugin: ItspXKrn_HandleResponse failed. 0x2b3880c25330 rc: 0 [itspxkrn.cpp 391]

W *** ERROR => ipl_ConvertOut failed rc = 1, send icf error page [itsplxx.c 1526]

M ***LOG W01=> [itsplxx.c 1527]

W *** ERROR => ipl_ConvertOut returns 1(ITSPE_FAILURE) [itsplxx.c 1529]

W *** ERROR => Raise Last error:[40 from: w3xxsemg.cpp:2159] [itsplxx.c 1216]

W *** ERROR => RaiseError(sapdext) ITS_P:40 [w3xxsemg.cpp 2159]

Thank you,

Jocelyn

cris_hansen
Advisor
Advisor
0 Kudos

Hello Jocelyn,

Unfortunately I cannot tell much about this error.

What is the GUI Configuration you are using?

Have you published the relevant internet services (e.g. WEBGUI, SYSTEM) via SE80?

Regards,

Cristiano

former_member316351
Active Contributor
0 Kudos

Hello Jocelyn,

It looks like you are missing a template in the service that your users are using.

You should:

1. look in the dialog work process trace for the missing template name and screen number. Generate the template or find out if the users should even be accessing that screen.

2. if you don't care about the look you can add "~webgui 1" to the service being called in SICF.

Edgar