GET_TABNAME SAP Method Deliver Table of a Component
Below is documentation, parameters and attributes of ABAP Method GET_TABNAME within SAP class /SCMB/CL_ODM_ORDA_CLERK. 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 /SCMB/CL_ODM_ORDA_CLERK 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 GET_TABNAME can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_TABNAME
.| Name | Type | Data Type | Description | Default Value |
| IV_HISTFLG | Importing | TYPE /SCMB/ODM_HISTFLG | ||
| IV_ORC | Importing | TYPE /SCMB/ODM_ORC | ODM: Component | |
| EV_CSTRUCTURE | Exporting | TYPE /SCMB/ODM_CSTRUCTURE | ODM: ABAP Dictionary Structure Name | |
| EV_CTTYPE | Exporting | TYPE /SCMB/ODM_CTTYPE | ODM: ABAP Dictionary Table Type | |
| EV_MAX_LEVEL | Exporting | TYPE /SCMB/ODM_MAX_LEVEL | ODM: Lowest Level of Relationship | |
| EV_ORC | Exporting | TYPE /SCMB/ODM_ORC_DB | ODM: Component, Used Internally | |
| EV_PROGNAME | Exporting | TYPE PROGNAME | ABAP Program Name | |
| EV_TABNAME | Exporting | TYPE /SCMB/ODM_TABNAME | Table Name |
Exceptions of Method GET_TABNAME
/SCMB/CX_ODM_ORDTYPE - ODM: Order Data Type ErrorExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_ODM_ORDA_CLERK.
DATA: lv_EV_CSTRUCTURE TYPE /SCMB/ODM_CSTRUCTURE,
lv_EV_CTTYPE TYPE /SCMB/ODM_CTTYPE,
lv_EV_MAX_LEVEL TYPE /SCMB/ODM_MAX_LEVEL,
lv_EV_ORC TYPE /SCMB/ODM_ORC_DB,
lv_EV_PROGNAME TYPE PROGNAME,
lv_EV_TABNAME TYPE /SCMB/ODM_TABNAME,
lv_IV_HISTFLG TYPE /SCMB/ODM_HISTFLG,
lv_IV_ORC TYPE /SCMB/ODM_ORC,
lv_other TYPE c.
CALL METHOD lo_class=>GET_TABNAME(
EXPORTING
IV_HISTFLG = lv_IV_HISTFLG
IV_ORC = lv_IV_ORC
IMPORTING
EV_CSTRUCTURE = lv_EV_CSTRUCTURE
EV_CTTYPE = lv_EV_CTTYPE
EV_MAX_LEVEL = lv_EV_MAX_LEVEL
EV_ORC = lv_EV_ORC
EV_PROGNAME = lv_EV_PROGNAME
EV_TABNAME = lv_EV_TABNAME ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects