SAP ABAP Class CL_OIF_GENERATOR (Class for Outbound Interface Generator)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-RIF (Application Component) Replication Interface Framework
     MDG_OIF_GENERATOR (Package) MDG: Outbound Interface Framework Generator
Properties
Class CL_OIF_GENERATOR  
Short Description Class for Outbound Interface Generator    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_OIF_GENERATOR   MDG: Outbound Interface Framework Generator 
Created 20090825   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_OIF_GENERATOR has no interface implemented.
Friends
Class CL_OIF_GENERATOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CALL_FUNCTION Constant Private Type reference (TYPE) STRING 'CALL FUNCTION ' 20091020
2 C_DESTINATION Constant Private Type reference (TYPE) STRING 'DESTINATION' 20091020
3 C_EXCEPTION1 Constant Private Type reference (TYPE) STRING 'SYSTEM_FAILURE' 20091020
4 C_EXCEPTION2 Constant Private Type reference (TYPE) STRING 'COMMUNICATION_FAILURE' 20091020
5 C_EXCEPTIONS Constant Private Type reference (TYPE) STRING 'EXCEPTIONS' 20091020
6 C_EXPORTING Constant Private Type reference (TYPE) STRING 'EXPORTING' 20091020
7 C_EXP_PARAM1 Constant Private Type reference (TYPE) STRING 'ET_MESSAGE' 20091020
8 C_EXP_PARAM2 Constant Private Type reference (TYPE) STRING 'E_RC' 20091020
9 C_EXP_PARAM_TYP1 Constant Private Type reference (TYPE) STRING 'BAPIRET2_T' 20091020
10 C_EXP_PARAM_TYP2 Constant Private Type reference (TYPE) STRING 'SY-SUBRC' 20091020
11 C_FM_EXP1 Constant Private Type reference (TYPE) STRING 'double_task' 20091105
12 C_FM_EXP10 Constant Private Type reference (TYPE) STRING 'canceled_in_corr' 20091105
13 C_FM_EXP11 Constant Private Type reference (TYPE) STRING 'OTHERS' 20091105
14 C_FM_EXP2 Constant Private Type reference (TYPE) STRING 'error_message' 20091105
15 C_FM_EXP3 Constant Private Type reference (TYPE) STRING 'function_already_exists' 20091105
16 C_FM_EXP4 Constant Private Type reference (TYPE) STRING 'invalid_function_pool' 20091105
17 C_FM_EXP5 Constant Private Type reference (TYPE) STRING 'invalid_name' 20091105
18 C_FM_EXP6 Constant Private Type reference (TYPE) STRING 'too_many_functions' 20091105
19 C_FM_EXP7 Constant Private Type reference (TYPE) STRING 'no_modify_permission' 20091105
20 C_FM_EXP8 Constant Private Type reference (TYPE) STRING 'no_show_permission' 20091105
21 C_FM_EXP9 Constant Private Type reference (TYPE) STRING 'enqueue_system_failure' 20091105
22 C_IF_LOOP Constant Private Type reference (TYPE) STRING 'IF SY-SUBRC <> 0. E_RC = 4. ENDIF.' 20091020
23 C_IMPORTING Constant Private Type reference (TYPE) STRING 'IMPORTING' 20091020
24 C_IMP_PREFIX Constant Private Type reference (TYPE) STRING 'IT_' 20091020
25 C_IMP_RFC Constant Private Type reference (TYPE) STRING 'IV_RFC_DEST' 20091020
26 C_LOG_OBJECT Constant Private Type reference (TYPE) STRING 'MDG_OIF' 20091102
27 C_LOG_SUB_OBJECT_GEN Constant Private Type reference (TYPE) STRING 'GENERATE' 20091102
28 C_NO Constant Private Type reference (TYPE) CHAR1 '' Single-Character Flag 20091102
29 C_R3TR Constant Private Type reference (TYPE) PGMID 'R3TR' Program ID in Requests and Tasks 20091102
30 C_RFC_TYP Constant Private Type reference (TYPE) STRING 'RFCDEST' 20091020
31 C_SRC_EXCEPTION1 Constant Private Type reference (TYPE) STRING 'SYSTEM_FAILURE = 1' 20091020
32 C_SRC_EXCEPTION2 Constant Private Type reference (TYPE) STRING 'COMMUNICATION_FAILURE = 2' 20091020
33 C_TABL Constant Private Type reference (TYPE) TROBJTYPE 'TABL' Object Type 20091102
34 C_TTYP Constant Private Type reference (TYPE) TROBJTYPE 'TTYP' Object Type 20091102
35 C_YES Constant Private Type reference (TYPE) CHAR1 'X' Single-Character Flag 20091102
36 DS_INT_MODEL_INFO Instance attribute Private Type reference (TYPE) MDG_OIF_S_INTMOD_DETAILS Structure for interface model details 20091030
37 DT_INT_MODEL_SEL Instance attribute Private Type reference (TYPE) MDG_OIF_T_ENT_ATT Table type to have entity and its attributes 20090827
38 DV_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20090922
39 DV_USMD_MODEL Instance attribute Private Type reference (TYPE) USMD_MODEL Data Model 20090827
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE_DDIC Instance method Private Method Activates the generated DDIC 20090902
2 CONSTRUCTOR Instance method Public Constructor 20090825
3 CREATE_DDIC Instance method Public Method 20090827
4 DELETE_DDIC Instance method Public Method Deletes the DDIC objects of the IM 20091001
5 DELETE_DDIC_STR_TTY Instance method Private Method Deletes the generated structures and tabletypes of IM 20091003
6 DELETE_FUNCTION_MODULE Instance method Private Method Deletes the generated FM of IM 20091001
7 GENERATE_DDIC_STRUCTURES Instance method Private Method Genrates DDIC structures for the IM 20090901
8 GENERATE_DDIC_TABLE_TYPES Instance method Private Method Generate TTY's for IM 20090901
9 GENERATE_FUNCTION_MODULE Instance method Private Method Generates function module for IM 20090903
10 PREPARE_DDIC_FOR_GENERATION Instance method Private Method 20090901
11 PREPARE_FM_FOR_GENERATION Instance method Private Method Makes the preparations for generating the FM 20090903
12 ROLLBACK_GENERATION Instance method Private Method Rollback the generated DDIC objects 20090924
Events
Class CL_OIF_GENERATOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 RCG_BAG_RSSOURCE Public See coding 20101122 RCG_BAG_RSSOURCE TYPE STANDARD TABLE OF RSSOURCE
Method Signatures

Method ACTIVATE_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20090925
2 Importing I_TTYP_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20090916

Method ACTIVATE_DDIC on class CL_OIF_GENERATOR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INT_MODEL_ID Call by reference Type reference (TYPE) MDG_OIF_INT_MOD_ID MDG_OIF_INT_MOD_ID 20090825
2 Importing IV_USMD_MODEL Call by reference Type reference (TYPE) USMD_MODEL 20090827
# Exception Resumable Description Created on
1 CX_OIF_GENERATOR Exception class for OIF 20090922

Method CREATE_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20090925
2 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20090925
3 Importing IO_DATA_MODEL_INSTANCE Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL MDM Data Model 20090901
4 Importing IV_TRANSP_REQ Call by reference Type reference (TYPE) TRKORR Request/Task 20090917

Method CREATE_DDIC on class CL_OIF_GENERATOR has no exception.

Method DELETE_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20091007
2 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20091001
3 Importing IV_TRANSP_REQ Call by reference Type reference (TYPE) TRKORR Request/Task 20091001

Method DELETE_DDIC on class CL_OIF_GENERATOR has no exception.

Method DELETE_DDIC_STR_TTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20091003
2 Importing IV_TRANSP_REQ Call by reference Type reference (TYPE) TRKORR Request/Task 20091007
3 Importing I_TTY_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20091003

Method DELETE_DDIC_STR_TTY on class CL_OIF_GENERATOR has no exception.

Method DELETE_FUNCTION_MODULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20091001
2 Importing IV_TRANSP_REQ Call by reference Type reference (TYPE) TRKORR Request/Task 20091001
3 Importing I_FUNCNAME Call by reference Type reference (TYPE) TABNAME Table Name 20091001

Method DELETE_FUNCTION_MODULE on class CL_OIF_GENERATOR has no exception.

Method GENERATE_DDIC_STRUCTURES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20090924
2 Importing IT_STR_DET Call by reference Type reference (TYPE) MDG_OIF_T_STRUCTURE_DET TTY for structure det that would be created and used in OIF 20090901

Method GENERATE_DDIC_STRUCTURES on class CL_OIF_GENERATOR has no exception.

Method GENERATE_DDIC_TABLE_TYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20090924
2 Importing IT_TTY_DET Call by reference Type reference (TYPE) MDG_OIF_T_TABLE_TYPE_DET TTY for table type details that would be created and 20090901

Method GENERATE_DDIC_TABLE_TYPES on class CL_OIF_GENERATOR has no exception.

Method GENERATE_FUNCTION_MODULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20090903
2 Importing IT_CHANGE Call by reference Type reference (TYPE) DCXMLFUNCC List of CHANGING Parameters for a Function Module 20090903
3 Importing IT_EXCEPTION Call by reference Type reference (TYPE) DCXMLFUNCA List of Exceptions for a Function Module 20090903
4 Importing IT_EXPORT Call by reference Type reference (TYPE) DCXMLFUNCE List of EXPORT Parameters of a Function Module 20090903
5 Importing IT_IMPORT Call by reference Type reference (TYPE) DCXMLFUNCI List of IMPORT Parameters of a Function Module 20090903
6 Importing IT_SOURCE Call by reference Type reference (TYPE) RCG_BAG_RSSOURCE Standard Table Type for RSSOURCE 20090903
7 Importing IT_TABLE Call by reference Type reference (TYPE) DCXMLFUNCL List of TABLES Parameters of a Function Module 20090903
8 Importing I_CORRNUM Call by reference Type reference (TYPE) TRKORR Request/Task 20091006
9 Importing I_FORCE_GENERATE Call by reference Type reference (TYPE) ABAP_BOOL 20090903
10 Importing I_FUNCGRP Call by reference Type reference (TYPE) RS38L_AREA Function group, to which the function module belongs 20090903
11 Importing I_FUNCNAME Call by reference Type reference (TYPE) RS38L_FNAM Name of Function Module 20090903
12 Importing I_REMOTE_CALL Call by reference Type reference (TYPE) RS38L-REMOTE Type of function module (local, remote, ...) 20090903
13 Importing I_SHORT_DESC Call by reference Type reference (TYPE) TFTIT-STEXT Short text for function module 20090903

Method GENERATE_FUNCTION_MODULE on class CL_OIF_GENERATOR has no exception.

Method PREPARE_DDIC_FOR_GENERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STR_DET Call by reference Type reference (TYPE) MDG_OIF_T_STRUCTURE_DET TTY for structure det that would be created and used in OIF 20090901
2 Exporting ET_TTY_DET Call by reference Type reference (TYPE) MDG_OIF_T_TABLE_TYPE_DET TTY for table type details that would be created and 20090901
3 Importing IO_DATA_MODEL_INSTANCE Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL MDM Data Model for Access from SAP Standard 20090901

Method PREPARE_DDIC_FOR_GENERATION on class CL_OIF_GENERATOR has no exception.

Method PREPARE_FM_FOR_GENERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXCEPTION Call by reference Type reference (TYPE) DCXMLFUNCA List of Exceptions for a Function Module 20090903
2 Exporting ET_EXPORT Call by reference Type reference (TYPE) DCXMLFUNCE List of EXPORT Parameters of a Function Module 20090903
3 Exporting ET_IMPORT Call by reference Type reference (TYPE) DCXMLFUNCI List of IMPORT Parameters of a Function Module 20090903
4 Exporting ET_SOURCE Call by reference Type reference (TYPE) RCG_BAG_RSSOURCE Standard Table Type for RSSOURCE 20090903
5 Exporting E_FORCE_GENERATE Call by reference Type reference (TYPE) ABAP_BOOL 20090903
6 Exporting E_FUNCGRP Call by reference Type reference (TYPE) RS38L_AREA Function group, to which the function module belongs 20090903
7 Exporting E_FUNCNAME Call by reference Type reference (TYPE) RS38L_FNAM Name of Function Module 20090903
8 Exporting E_REMOTE_CALL Call by reference Type reference (TYPE) RS38L-REMOTE Type of function module (local, remote, ...) 20090903
9 Exporting E_SHORT_DESC Call by reference Type reference (TYPE) TFTIT-STEXT Short text for function module 20090903

Method PREPARE_FM_FOR_GENERATION on class CL_OIF_GENERATOR has no exception.

Method ROLLBACK_GENERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DDIC_OBJECTS Call by reference Type reference (TYPE) MDG_OIF_T_DDOBJ_DET Table type for DDIC object names 20090924

Method ROLLBACK_GENERATION on class CL_OIF_GENERATOR has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 702