Fonction SAP BUX_OXT_TASK_GEN_MDU - Task API For Mass Update

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IT_EXTENSIONDEF TOXT_PARAMLIST h 381 Table Type for Parameter Lines
IT_GOX_HEADER_OLD COMT_GOX_DEF_HEADER h 1104 Table for Generic Object Extension (Header)
IT_TAB_HEADER_OLD COMT_GOX_TABLE_ENTRY_HEADER h 48 Table for Generation of Table Entries (Header)
IV_MODE CHAR1 C 1 X Single-Character Flag
IV_NAMESPACE NAMESPACE C 10 X Namespace
IV_NSPCSHT_CUS OXT_NSPC_SHORT C 1 X Namespace for Table Entries
IV_NSPCSHT_DEV OXT_NSPC_SHORT C 1 X Namespace for Table Entries

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CT_GOX_HEADER COMT_GOX_DEF_HEADER h 1104 Table for Generic Object Extension (Header)
CT_POSTPROC TOXT_RT_TF_PPROC h 340 Table Type for OXT_RT_TF_PPROC
CT_TABLE_ENTRIES COMT_GOX_TABLE_ENTRY_HEADER h 48 X Table for Generation of Table Entries (Header)
CT_TASKPARAMLIST TOXT_PARAMLIST h 381 X Table Type for Parameter Lines

Paramètre Reférence Long. Facultatif Description
T_RETURN BAPIRET2 548 Return Parameter

Exception Description
SEMANTICAL_ERROR Semantical error
TECHNICAL_ERROR Technical error

Functionality
This function module is the task API to make the new extensionsavailable in the Mass Update Tool. This task API defines the objectsthat are generated by the Easy Enhancement Workbench (EEW) to make theextensions available in the Mass Update Tool. The task API also definesthe table entries to be made in certain mass update tables.
The task API defines the following objects:

  • A class, which implements the standard interface,
  • IF_BUPA_MASSUPDATE. The task API also:
    Defines the class attributes
    Implements the following methods of the standard interface,IF_BUPA_MASSUPDATE:
    - UPDATE
    - CHANGE_OBJECT
    - DESCR_TEXT
    - DISPLAY_OBJECT
    - PREPARE_UPDATE
    - REFRESH_GLOBAL_DATA
    • A structure, which is of the same type as the read structure
    • generated by API task API, with the additional fields Client andPartner.
      • A table type with the line type as the above structure.

      • Entries for the following mass update tables:

      • Table MASSTAB - The task API maintains an entry for the newextension table in the MASSTAB table to make it available for theMass Update Tool.
        Table TB053 - The task API maintains an entry for the class
        (mentioned above).
        Table MASSFLDlST - The task API maintains the fields of the newextension table that can be modified during mass update.
        The API reads the following entries of the table CT_TASKPARAMLIST
        :
        Parameter Name,,Description
        TABL,,Name of the generated table
        FIELD,,Name of the field for the generated table. All fields of thetable use this parameter. This parameter is the child of the TABLparameter.
        ISKEY,,Key field information of the field. This parameter is the childof the FIELD parameter.
        PARENT_KEY,,Parent key information of the field. This parameter is thechild of the FIELD parameter.
        ROLLNAME,,Data element name of the field. This parameter is the child ofthe FIELD parameter.
        APPLI,,Application name for the extension
        STRUC_API,,API structure of the generated table
        STRUC_UPD,,Update structure of the generated table
        APICHANGE,,Change API name for the generated table
        The task API reads the following entries of the tableIT_EXTENSIONDEF:
        Parameter Name,,Description
        BUSOBJ,,Name of business object to be extended
        LANGUAGE,,Language in which the description is given
        TITLE,,Short text of the table
        CARDINALITY,,Cardinality (1:1 or 1: N) of the extension
        TIME_DEPENDENCY,,Time dependency (time dependent or time independent) ofthe extension
        TIME_CONSTRAINT,,Time constraint (With Gaps, No Gaps or Time Validity)of the extension
        The task API reads the following entries of the ApplicationsKnowledge Base table (OXT_ER_KNOWLEDGE) for the application object,Business Partner:
        Node1,,Node2,,Parameter Name,,Description
        DDICGEN,,INCLUDEFIELD,,DATEFROM,,Name of the Valid From field inthe generated table
        DDICGEN,,INCLUDEKEY,,DATETO,,Name of the Valid To field in thegenerated table
        Note: The mass update task API does not update the tableCT_TASKPARAMLIST with any information.