Show TOC

Method GET_LAUNCHPAD_LISTLocate this document in the navigation structure

Method /UI2/IF_LAUNCHPAD_ACCESS~GET_LAUNCHPAD_LIST

Returns a list of folders and applications for a launchpad.

Table 1: Parameters
Parameter Type ABAP Type Description
IV_ROLE Importing APB_LPD_ROLE Name of a launchpad role as defined in transaction LPD_CUST

Together with the instance, it uniquely identifies a launchpad.

IV_INSTANCE Importing APB_LPD_INSTANCE Name of a launchpad instance as defined in transaction LPD_CUST

Together with the role, it uniquely identifies a launchpad.

IT_FILTER_SELECT_OPTIONS Importing /IWBEP/T_MGW_SELECT_OPTION Select options

The value is passed to the feeder class.

For more information, see Filtering URLs Using a Feeder Class.

ET_CONTENT Exporting /UI2/IF_LAUNCHPAD_ACCESS=>T_LP_CONTENT Table of launchpad entries

The description of the launchpad entries is returned in the user's logon language.

Among others, it contains the field additional_info for the additional information content of application entries of a launchpad.

Example

The following example requires that a launchpad with role name “UT” and instance name “UT” is defined in transaction LPD_CUST.

data: lp type ref to /ui2/cl_launchpad_da.
data: lt_cont TYPE /UI2/IF_LAUNCHPAD_ACCESS=>T_LP_CONTENT.
data: ls_cont type /UI2/IF_LAUNCHPAD_ACCESS=>s_LP_CONTENT.

call method /ui2/cl_launchpad_da=>get_launchpad_reference
  receiving
    ro_launchpad_da = lp.

call method lp->/ui2/if_launchpad_access~get_launchpad_list
  EXPORTING
    iv_role = 'UT'
    iv_instance = 'UT'
  IMPORTING
    et_content = lt_cont.

loop at lt_cont into ls_cont.
  write: /(10) ls_cont-role, at 20 ls_cont-instance, at 25 ls_cont-application_type , at 30 ls_cont-alias, at 40 ls_cont-text, at 60 ls_cont-additional_info , /.
endloop.