GET_CODE_LIST_PROVIDER SAP Method Get an instance of the code list provider for a given type









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

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


Parameters of Method GET_CODE_LIST_PROVIDER

.

NameTypeData TypeDescriptionDefault Value
IN_CODE_TYPE_NAMEImportingTYPE
STRING
OUT_CODE_LIST_PROVIDERReturningTYPE REF TO
/BOFU/IF_CODE_LIST_PROVIDER
Interface to Codelist



Exceptions of Method GET_CODE_LIST_PROVIDER

/BOFU/CX_CODE_LIST_PROVIDER -

Example ABAP coding


DATA: lv_IN_CODE_TYPE_NAME TYPE STRING,
lv_OUT_CODE_LIST_PROVIDER TYPE /BOFU/IF_CODE_LIST_PROVIDER,
lv_other TYPE c.

CALL METHOD /BOFU/CL_C_LIST_PROV_FACTORY=>GET_CODE_LIST_PROVIDER(
EXPORTING
IN_CODE_TYPE_NAME = lv_IN_CODE_TYPE_NAME
RECEIVING
OUT_CODE_LIST_PROVIDER = lv_OUT_CODE_LIST_PROVIDER )



"Alternate coding for Method Call with returning parameter
lv_OUT_CODE_LIST_PROVIDER = /BOFU/CL_C_LIST_PROV_FACTORY=>GET_CODE_LIST_PROVIDER(
EXPORTING
IN_CODE_TYPE_NAME = lv_IN_CODE_TYPE_NAME ).

Links to Related Class(s)

/BOFU/CL...
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!