_GET_CTXT_MENU_ITEM SAP Method Items of a context menu









Below is documentation, parameters and attributes of ABAP Method _GET_CTXT_MENU_ITEM within SAP class CL_FPM_CONFIG_READER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_FPM_CONFIG_READER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method _GET_CTXT_MENU_ITEM can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method _GET_CTXT_MENU_ITEM

.

NameTypeData TypeDescriptionDefault Value
IV_CTXT_MENU_IDImportingTYPE
FPM_CTXT_MENU_ID
Context Menu ID
RT_CTXT_MENU_ITEMReturningTYPE
TY_T_CTXT_MENU_ITEM



Exceptions of Method _GET_CTXT_MENU_ITEM

CX_WD_PERSONALIZATION - Personalization Error

Example ABAP coding


DATA: lo_class TYPE REF TO CL_FPM_CONFIG_READER.
DATA: lv_IV_CTXT_MENU_ID TYPE FPM_CTXT_MENU_ID,
lv_RT_CTXT_MENU_ITEM TYPE TY_T_CTXT_MENU_ITEM,
lv_other TYPE c.

CALL METHOD lo_class=>_GET_CTXT_MENU_ITEM(
EXPORTING
IV_CTXT_MENU_ID = lv_IV_CTXT_MENU_ID
RECEIVING
RT_CTXT_MENU_ITEM = lv_RT_CTXT_MENU_ITEM )



"Alternate coding for Method Call with returning parameter
lv_RT_CTXT_MENU_ITEM = lo_class=>_GET_CTXT_MENU_ITEM(
EXPORTING
IV_CTXT_MENU_ID = lv_IV_CTXT_MENU_ID ).

Links to Related Class(s)

CL_FPM_C...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!