CONVERT_GENERAL_ITAB SAP Method Convert CLUSTD Field of a General Table









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

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


Parameters of Method CONVERT_GENERAL_ITAB

.

NameTypeData TypeDescriptionDefault Value
CLUSTD_NAMEImportingTYPE
C
name of clustd field
CLUSTR_NAMEImportingTYPE
C
name of clustr field
ITAB_INImportingTYPE
TABLE
given internal table
SRTF2_NAMEImportingTYPE
C
name of srtf2 field
TARG_RELImportingTYPE
I
target release number
ITAB_INImportingTYPE
STANDARD TABLE
given internal table
ITAB_OUTExportingTYPE
TABLE
converted table
ITAB_OUTExportingTYPE
STANDARD TABLE
converted table



Exceptions of Method CONVERT_GENERAL_ITAB

ITAB_OUTExportingTYPE
TABLEconverted tableCX_PARAMETER_INVALID_RANGE - Parameter with invalid value range

Example ABAP coding


DATA: lv_CLUSTD_NAME TYPE C,
lv_CLUSTR_NAME TYPE C,
lv_ITAB_IN TYPE TABLE,
lv_ITAB_OUT TYPE TABLE,
lv_SRTF2_NAME TYPE C,
lv_TARG_REL TYPE I,
lv_ITAB_IN TYPE STANDARD TABLE,
lv_ITAB_OUT TYPE STANDARD TABLE,
lv_other TYPE c.

CALL METHOD CL_ABAP_EXPIMP_CONV=>CONVERT_GENERAL_ITAB(
EXPORTING
CLUSTD_NAME = lv_CLUSTD_NAME
CLUSTR_NAME = lv_CLUSTR_NAME
ITAB_IN = lv_ITAB_IN
SRTF2_NAME = lv_SRTF2_NAME
TARG_REL = lv_TARG_REL
ITAB_IN = lv_ITAB_IN
IMPORTING
ITAB_OUT = lv_ITAB_OUT
ITAB_OUT = lv_ITAB_OUT ).

Links to Related Class(s)

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