GEN_DDIC SAP Method Generate DDic objects









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

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


Parameters of Method GEN_DDIC

.

NameTypeData TypeDescriptionDefault Value
IO_MESSAGEImportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface for Message Class
IS_DD02VImportingTYPE
DD02V
Generated Table for View DD02V
IS_DD09VImportingTYPE
DD09V
Interface: Technical Settings Table/View
IS_DD12VImportingTYPE
DD12V
Generierte Tabelle zu einem View
IS_DD40VImportingTYPE
DD40V
DD: Interface structure for table types
IT_DD03PImportingTYPE
DD03TTYP
Table Type for Structure DD03P
IT_DD17VImportingTYPE
DD17VTAB
DD: Index Fields of a Table
IT_DD42VImportingTYPE
DD42V_TAB
DD: Table of Secondary Key Fields
IT_DD43VImportingTYPE
DD43V_TAB
DD: Table of Secondary Index Headers
IV_ACTIVATEImportingTYPE
BOOLE_D
Activate created DDic object
IV_DATABASEImportingTYPE
BOOLE_D
Object is database table
IV_IDImportingTYPE
DDOBJECTID
Additonal ID of an ABAP Dictionary object (MC ID, index)
IV_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_NAMEImportingTYPE
TYPENAME
Name of Dictionary Type
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_OBJECTImportingTYPE
TROBJTYPE
Object Type
IV_OVERWRITEImportingTYPE
BOOLE_D
Overwrite existing object
EV_FAILEDExportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method GEN_DDIC

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: lo_class TYPE REF TO /BOBF/CL_CONF_ACT_GEN_DDIC.
DATA: lv_EV_FAILED TYPE BOOLE_D,
lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IS_DD02V TYPE DD02V,
lv_IS_DD09V TYPE DD09V,
lv_IS_DD12V TYPE DD12V,
lv_IS_DD40V TYPE DD40V,
lv_IT_DD03P TYPE DD03TTYP,
lv_IT_DD17V TYPE DD17VTAB,
lv_IT_DD42V TYPE DD42V_TAB,
lv_IT_DD43V TYPE DD43V_TAB,
lv_IV_ACTIVATE TYPE BOOLE_D,
lv_IV_DATABASE TYPE BOOLE_D,
lv_IV_ID TYPE DDOBJECTID,
lv_IV_KEY TYPE /BOBF/CONF_KEY,
lv_IV_NAME TYPE TYPENAME,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_OBJECT TYPE TROBJTYPE,
lv_IV_OVERWRITE TYPE BOOLE_D,
lv_other TYPE c.

CALL METHOD lo_class=>GEN_DDIC(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IS_DD02V = lv_IS_DD02V
IS_DD09V = lv_IS_DD09V
IS_DD12V = lv_IS_DD12V
IS_DD40V = lv_IS_DD40V
IT_DD03P = lv_IT_DD03P
IT_DD17V = lv_IT_DD17V
IT_DD42V = lv_IT_DD42V
IT_DD43V = lv_IT_DD43V
IV_ACTIVATE = lv_IV_ACTIVATE
IV_DATABASE = lv_IV_DATABASE
IV_ID = lv_IV_ID
IV_KEY = lv_IV_KEY
IV_NAME = lv_IV_NAME
IV_NODE_KEY = lv_IV_NODE_KEY
IV_OBJECT = lv_IV_OBJECT
IV_OVERWRITE = lv_IV_OVERWRITE
IMPORTING
EV_FAILED = lv_EV_FAILED ).

Links to Related Class(s)

/BOBF/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!