CREATE_DATA_GENERIC SAP Method Create generic data records









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

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


Parameters of Method CREATE_DATA_GENERIC

.

NameTypeData TypeDescriptionDefault Value
IT_TABLEImportingTYPE
INDEX TABLE
IV_DB_KEYImportingTYPE
/BOBF/CONF_KEY
DG Data Instance Key
IV_DESCRIPTIONImportingTYPE
/SCMTMS/DG_STRUCTURE_NAME
Name of a structure for document based DG data
IV_PARENT_KEYImportingTYPE
/BOBF/CONF_KEY
DG Data Parent Key
IV_WRITE_CHANGESImportingTYPE
ABAP_BOOL
Write change information
ET_DATAExportingTYPE
/SCMTMS/T_GENERIC_DATA
Table of type /SCMTMS/S_GENERIC_DATA



Exceptions of Method CREATE_DATA_GENERIC

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_DATA TYPE /SCMTMS/T_GENERIC_DATA,
lv_IT_TABLE TYPE INDEX TABLE,
lv_IV_DB_KEY TYPE /BOBF/CONF_KEY,
lv_IV_DESCRIPTION TYPE /SCMTMS/DG_STRUCTURE_NAME,
lv_IV_PARENT_KEY TYPE /BOBF/CONF_KEY,
lv_IV_WRITE_CHANGES TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_BO_DG_DATA=>CREATE_DATA_GENERIC(
EXPORTING
IT_TABLE = lv_IT_TABLE
IV_DB_KEY = lv_IV_DB_KEY
IV_DESCRIPTION = lv_IV_DESCRIPTION
IV_PARENT_KEY = lv_IV_PARENT_KEY
IV_WRITE_CHANGES = lv_IV_WRITE_CHANGES
IMPORTING
ET_DATA = lv_ET_DATA ).

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!