Skip to Content
avatar image
Former Member

CL_GUI_FRONTEND_SERVICES, Subscreen not found error

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 16, 2010 at 10:48 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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