Fonction SAP BUX_OXT_TASK_GEN_DX - Task API for BP Data Exchange

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IT_EXTENSIONDEF TOXT_PARAMLIST h 381
IT_GOX_HEADER_OLD COMT_GOX_DEF_HEADER h 1104
IT_TAB_HEADER_OLD COMT_GOX_TABLE_ENTRY_HEADER h 48
IV_MODE CHAR1 C 1 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
CT_POSTPROC TOXT_RT_TF_PPROC h 340
CT_TABLE_ENTRIES COMT_GOX_TABLE_ENTRY_HEADER h 48
CT_TASKPARAMLIST TOXT_PARAMLIST h 381

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

Exception Description
SEMANTICAL_ERROR
TECHNICAL_ERROR

Functionality
This function module is the task API to define the objects for dataexchange between systems. This applies to new extensions for theapplication object, Business Partner (BUPA), generated through the EasyEnhancement Workbench (EEW).
In the case of BUPA for the cardinality types 1:1 and 1:N, this task APIdefines:

  • The outbound function module

  • The inbound function module

  • A function module to read the data from the extension table, if you are
  • transferring data to a time independent system
    • A function module to create entries for table BUT_TDTRANS

    • The task API reads the following entries of the tableIT_EXTENSIONDEF:
      Parameter Name,,Description
      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 tableCT_TASKPARAMLIST:
      Parameter Name,,Description
      APPLI,,Application name for the extension
      TABL,,Name of the generated table
      STRUC_KEY,,Key structure of the generated table
      STRUC_API,,API structure of the generated table
      STRUC_UPD,,Update structure of the generated table
      STRUC,,Read structure of the generated table
      CHDOC,,Change document structure name
      FUNC_CALLBACK,,Name of the Callback API
      APIGETLIST,,Name of the GetList API
      APIMAINTAIN,,Name of the Maintain_Period API
      APIMAINTAINALL,,Name of the Maintain_All API
      APIADD,,Name of the Add API
      APICHANGE,,Name of the Change API
      APIREMOVE,,Name of the Remove API
      The task API reads the following entries of the ApplicationsKnowledge Base table (OXT_ER_KNOWLEDGE):
      Node1,,Node2,,Parameter Name,,Description
      DDICGEN,,INCLUDEFIELD,,DATEFROM,,Name of the date from field
      DDICGEN,,INCLUDEKEY,,DATETO,,Name of the date to field
      CODEGEN,,OBJECTINFO,,%OBJECTIDENT1%,,Name of the Partner field
      DDICGEN ,,MAINDX_STRUC ,,APPEND_DX,,Name of the structure to which thedx structure should be appended
      The task API updates the table CT_TASKPARAMLIST with thefollowing entry:
      Parameter Name,,Description
      STRUC_DX,,Name of the Append structure appended to BUS_EI_EXTERNstructure
      The task API makes the following table entries:
      Table Name,,Entry
      CRMC_BUT_CALL_FU,,Name of the inbound module
      CRMC_BUT_CALL_FU,,Name of the outbound module
      TB058,,Table name and change document structure name
      TB058,,Name of the function module used for reading data from theextension table
      TB058,,Name of the function module used for creating entries to beinserted into the table BUT_TDTRANS
      The task API updates the table CT_GOX_HEADER with the followingdetails:
      • Inbound function module name

      • Outbound function module name

      • Function group name

      • Function module name, which is generated if you are transferring data to
      • a non time dependent system
        Note: The Data Exchange task API does not update the tableCT_TASKPARAMLIST with any information.

        Further information
        API task API