Fonction SAP BDL_GENERATE_INCLUDES - RFC download: Creates Includes to declare and fill Global Variables

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLUST_ID BDLFUVERS-CLUST_ID C 6 SPACE X Clust_id to create include with interface data
COMMON_NAME RS38M-PROGRAMM C 40 SPACE X Name of common part
COMMON_PART BDLFUVERS-STATUS C 1 SPACE X Data declaration as common part
COPY_FORM_NAME RS38M-PROGRAMM C 40 'BDLSACFO' X Include with forms to copy Global Variables
COPY_VAR_NAME RS38M-PROGRAMM C 40 'BDLSACPY' X Include which copies Global Variables
DATCOL_TAB DD02D-TABNAME C 30 'BDLDATCOL' X Name of DB table for download data
DEVCLASS TADIR-DEVCLASS C 30 'BDL3' X Development Class of generated includes
DTOC_FIELD DD03D-FIELDNAME C 30 'FUNCMOD' X Field for selection
DTOC_TAB DD02D-TABNAME C 30 'BDLDTOC' X Name of DB table which contains download data
EXCEPT DD02D-TABNAME C 30 '%EXCEPTION' X Variable name for exceptions
FILL_FORM_NAME RS38M-PROGRAMM C 40 'BDLSAIFO' X Include with forms to fill Global Variables
FILL_VAR_NAME RS38M-PROGRAMM C 40 'BDLSAIMP' X Include which fills Global Variables
IF_REL3_NAME BDLFUVERS-FUNCNAME C 30 'IF' X Name of interface includes in 3.* releases
IF_REL4_NAME BDLFUVERS-FUNCNAME C 30 '/1CAGTF/IF' X Name of interface includes in releases >= 4.*
KEY_TAB DD02D-TABNAME C 30 'BDL_DATKEY' X Key table for import from database
OPTION BDLFUVERS-FUNCNAME C 30 SPACE X To create different parts of declaration include
POOL_NAME RS38M-PROGRAMM C 40 'BDLSAIF' X Include pool with data declaration of Global Var
RELID BDLDATCOL-RELID C 2 'DL' X RELID in BDLDATCOL
REPORT_NAME RS38M-PROGRAMM C 40 'BDLMTEST' X Name of test report
RUNTIME DD02D-TABNAME C 30 '%RUNTIME' X Variable name for runtime
SESSION BDLDATKEY u 140 X Session description
SYNTAX_CHECK BDLFUVERS-STATUS C 1 SPACE X Status of object
WHENS_PER_CASE SYST-TABIX I 4 '4' X Internal table, current line index

Exception Description
GENERATION_ERROR Error occured during generation.
IF_DATA_MISSING No interface data found.
LOCK_FAILED Lock failed for service maintenance tables.
NO_AUTHORITY No authorisation to run function.
SYNTAX_ERROR Syntax error detected.
WRONG_ABAP_TYPE Wrong ABAP type found in table BDLSADATA.
WRONG_CLUST_ID Clust_id unknown.
WRONG_OPTION Unkown or wrong option.
WRONG_RELEASE Wrong R/3 release.


*
* Generation of includes:
*
************************************************************************
* 1.) Testreport BDLMTEST, contains following includes
* 2.) Include BDLSAIF:
* Deklaration of Global Variables for Service Assistent,
* 3.) which contains includes IF, one for each
* release of a logical function (function module)
* 4.) Include BDLSAIMP: to fill Global Variables
* for given clust_id (i.e.: function module <-> Release)
* 5.) Include BDLSACPY: to fill Global Variables
* of older releases.
************************************************************************
*

*

*
************************************************************************
*
* Parameters OPTION and CLUST__ID:
*
*-----------------------------------------------------------------------
*
* SPACE: Generates all includes:
* BDLSAIF = include pool containing includes
* IF = include containing data declaration of
* given function module (clust_id)
* BDLSAIMP = include containing case structure to fill
* Global Variables for Service Assistent
* with download data (database table BDLDATCOL)
* BDLSACPY = (only releases greater equal 4.0B)
* include containing case structure to fill
* Global Variables of other releases
* (different clust_id)
*
* 'NO_COPY_INCLUDE': Generates all includes like in option SPACE
* except BDLSACPY
*
* 'UPDATE_ALL_INCLUDES': Updates all includes (like option SPACE)
* (looks for STATUS = 'I' in table BDLFUVERS)
*
* 'UPDATE_INTERFACES': Updates all includes containing
* data deklarations
* (e.g. only BDLSAIF and IF)
*
* 'INTERFACE': Needs parameter clust__id.
* Creates only include IF containing
* data deklaration of Global Variables of given clust__id.
*
************************************************************************