SELTAB_CHRRNG_ADD SAP Method Add values to characteristic range tables









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

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SAPAPO/CL_AMODAL 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 SELTAB_CHRRNG_ADD can also be found below:

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


Parameters of Method SELTAB_CHRRNG_ADD

.

NameTypeData TypeDescriptionDefault Value
IV_CHR_VAL1ImportingTYPE
ANY
IV_CHR_VAL2ImportingTYPE
ANY
IV_CHR_VAL3ImportingTYPE
ANY
IV_CHR_VAL4ImportingTYPE
ANY
IV_CHR_VAL5ImportingTYPE
ANY
IV_CHR_VAL6ImportingTYPE
ANY
IV_CHR_VAL7ImportingTYPE
ANY
CT_CHR_RNG1ChangingTYPE
/SAPAPO/AMON_SELOPT_TAB
CT_CHR_RNG2ChangingTYPE
/SAPAPO/AMON_SELOPT_TAB
CT_CHR_RNG3ChangingTYPE
/SAPAPO/AMON_SELOPT_TAB
CT_CHR_RNG4ChangingTYPE
/SAPAPO/AMON_SELOPT_TAB
CT_CHR_RNG5ChangingTYPE
/SAPAPO/AMON_SELOPT_TAB
CT_CHR_RNG6ChangingTYPE
/SAPAPO/AMON_SELOPT_TAB
CT_CHR_RNG7ChangingTYPE
/SAPAPO/AMON_SELOPT_TAB
Range Table for General Objects



Exceptions of Method SELTAB_CHRRNG_ADD

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_CT_CHR_RNG1 TYPE /SAPAPO/AMON_SELOPT_TAB,
lv_CT_CHR_RNG2 TYPE /SAPAPO/AMON_SELOPT_TAB,
lv_CT_CHR_RNG3 TYPE /SAPAPO/AMON_SELOPT_TAB,
lv_CT_CHR_RNG4 TYPE /SAPAPO/AMON_SELOPT_TAB,
lv_CT_CHR_RNG5 TYPE /SAPAPO/AMON_SELOPT_TAB,
lv_CT_CHR_RNG6 TYPE /SAPAPO/AMON_SELOPT_TAB,
lv_CT_CHR_RNG7 TYPE /SAPAPO/AMON_SELOPT_TAB,
lv_IV_CHR_VAL1 TYPE ANY,
lv_IV_CHR_VAL2 TYPE ANY,
lv_IV_CHR_VAL3 TYPE ANY,
lv_IV_CHR_VAL4 TYPE ANY,
lv_IV_CHR_VAL5 TYPE ANY,
lv_IV_CHR_VAL6 TYPE ANY,
lv_IV_CHR_VAL7 TYPE ANY,
lv_other TYPE c.

CALL METHOD /SAPAPO/CL_AMODAL=>SELTAB_CHRRNG_ADD(
EXPORTING
IV_CHR_VAL1 = lv_IV_CHR_VAL1
IV_CHR_VAL2 = lv_IV_CHR_VAL2
IV_CHR_VAL3 = lv_IV_CHR_VAL3
IV_CHR_VAL4 = lv_IV_CHR_VAL4
IV_CHR_VAL5 = lv_IV_CHR_VAL5
IV_CHR_VAL6 = lv_IV_CHR_VAL6
IV_CHR_VAL7 = lv_IV_CHR_VAL7
CHANGING
CT_CHR_RNG1 = lv_CT_CHR_RNG1
CT_CHR_RNG2 = lv_CT_CHR_RNG2
CT_CHR_RNG3 = lv_CT_CHR_RNG3
CT_CHR_RNG4 = lv_CT_CHR_RNG4
CT_CHR_RNG5 = lv_CT_CHR_RNG5
CT_CHR_RNG6 = lv_CT_CHR_RNG6
CT_CHR_RNG7 = lv_CT_CHR_RNG7 ).

Links to Related Class(s)

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