ADD_CNODE_ATTR_SPEC_GETTER SAP Method Add Special Getter to a Context Node Attribute









Below is documentation, parameters and attributes of ABAP Method ADD_CNODE_ATTR_SPEC_GETTER within SAP class CL_BSP_WD_ENHANCEMENT_API. 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_BSP_WD_ENHANCEMENT_API into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

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

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


Parameters of Method ADD_CNODE_ATTR_SPEC_GETTER

.

NameTypeData TypeDescriptionDefault Value
IV_ATTR_NAMEImportingTYPE
NAME_KOMP
Attrib. Name
IV_BSP_APPLImportingTYPE
O2APPLNAME
Name of BSP Application
IV_CNODE_NAMEImportingTYPE
NAME_KOMP
Context Node Name
IV_GETTER_TYPEImportingTYPE
CHAR1
Getter Type
IV_LOGICAL_BSP_APPLImportingTYPE
O2APPLNAME
Logical BSP Application Where the View Is Used
IV_VIEWNAMEImportingTYPE
O2PAGEEXT
Name of a BSP Page/Controller (Upper and Lower Case)



Exceptions of Method ADD_CNODE_ATTR_SPEC_GETTER

FAILED - Error

Example ABAP coding


DATA: lv_IV_ATTR_NAME TYPE NAME_KOMP,
lv_IV_BSP_APPL TYPE O2APPLNAME,
lv_IV_CNODE_NAME TYPE NAME_KOMP,
lv_IV_GETTER_TYPE TYPE CHAR1,
lv_IV_LOGICAL_BSP_APPL TYPE O2APPLNAME,
lv_IV_VIEWNAME TYPE O2PAGEEXT,
lv_other TYPE c.

CALL METHOD CL_BSP_WD_ENHANCEMENT_API=>ADD_CNODE_ATTR_SPEC_GETTER(
EXPORTING
IV_ATTR_NAME = lv_IV_ATTR_NAME
IV_BSP_APPL = lv_IV_BSP_APPL
IV_CNODE_NAME = lv_IV_CNODE_NAME
IV_GETTER_TYPE = lv_IV_GETTER_TYPE
IV_LOGICAL_BSP_APPL = lv_IV_LOGICAL_BSP_APPL
IV_VIEWNAME = lv_IV_VIEWNAME ).

Links to Related Class(s)

CL_BSP_W...
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!