ON_ENTER_ADD_FIELDS SAP Method Event in Transport Container below each filter line









Below is documentation, parameters and attributes of ABAP Method ON_ENTER_ADD_FIELDS within SAP class IF_WD_CALLBACK_SELOPT_20. 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 IF_WD_CALLBACK_SELOPT_20 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 ON_ENTER_ADD_FIELDS can also be found below:

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


Parameters of Method ON_ENTER_ADD_FIELDS

.

NameTypeData TypeDescriptionDefault Value
ATTRIBUTEImportingTYPE
WDR_SO_ATTRIBUTE
Attribute of Current Filter Line
CONTAINERImportingTYPE REF TO
CL_WD_TRANSPARENT_CONTAINER
Container Below Filter Line
CONTEXT_ELEMENTImportingTYPE REF TO
IF_WD_CONTEXT_ELEMENT
Context Element with Additional Fields
ENTER_ACTIONImportingTYPE
STRING
Name of ENTER Action
PREFIXImportingTYPE
STRING
Prefix of All UI Elements Created
ROW_INDEXImportingTYPE
I
Line Number of Filter Line



Exceptions of Method ON_ENTER_ADD_FIELDS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_WD_CALLBACK_SELOPT_20.
DATA: lv_ATTRIBUTE TYPE WDR_SO_ATTRIBUTE,
lv_CONTAINER TYPE CL_WD_TRANSPARENT_CONTAINER,
lv_CONTEXT_ELEMENT TYPE IF_WD_CONTEXT_ELEMENT,
lv_ENTER_ACTION TYPE STRING,
lv_PREFIX TYPE STRING,
lv_ROW_INDEX TYPE I,
lv_other TYPE c.

CALL METHOD lo_class=>ON_ENTER_ADD_FIELDS(
EXPORTING
ATTRIBUTE = lv_ATTRIBUTE
CONTAINER = lv_CONTAINER
CONTEXT_ELEMENT = lv_CONTEXT_ELEMENT
ENTER_ACTION = lv_ENTER_ACTION
PREFIX = lv_PREFIX
ROW_INDEX = lv_ROW_INDEX ).

Links to Related Class(s)

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