ADD2SELECT_PATH SAP Method Add step to the SELECT path









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

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


Parameters of Method ADD2SELECT_PATH

.

NameTypeData TypeDescriptionDefault Value
IS_NODE_ATTR_SRCImportingTYPE
TY_NODE
Node with counter and query attributes
IS_NODE_ATTR_TRGTImportingTYPE
TY_NODE
Node with counter and query attributes
IS_QUERY_ENHImportingTYPE
/SCMTMS/S_QUERY_ENHANCE
Query enhancement table
IT_SEL_PARAMImportingTYPE
/BOBF/T_FRW_QUERY_SELPARAM
Query Selection Parameters
IV_ATTR_SRCImportingTYPE
FIELDNAME
Field Name
IV_ATTR_TRGTImportingTYPE
FIELDNAME
Field Name



Exceptions of Method ADD2SELECT_PATH

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMTMS/CL_Q_SUPERCLASS.
DATA: lv_IS_NODE_ATTR_SRC TYPE TY_NODE,
lv_IS_NODE_ATTR_TRGT TYPE TY_NODE,
lv_IS_QUERY_ENH TYPE /SCMTMS/S_QUERY_ENHANCE,
lv_IT_SEL_PARAM TYPE /BOBF/T_FRW_QUERY_SELPARAM,
lv_IV_ATTR_SRC TYPE FIELDNAME,
lv_IV_ATTR_TRGT TYPE FIELDNAME,
lv_other TYPE c.

CALL METHOD lo_class=>ADD2SELECT_PATH(
EXPORTING
IS_NODE_ATTR_SRC = lv_IS_NODE_ATTR_SRC
IS_NODE_ATTR_TRGT = lv_IS_NODE_ATTR_TRGT
IS_QUERY_ENH = lv_IS_QUERY_ENH
IT_SEL_PARAM = lv_IT_SEL_PARAM
IV_ATTR_SRC = lv_IV_ATTR_SRC
IV_ATTR_TRGT = lv_IV_ATTR_TRGT ).

Links to Related Class(s)

/SCMTMS/...
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!