Fonction SAP BURX_OXT_TASK_GEN_DX - Task API for BP Relationship

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 Relationship (BUPR), generatedthrough the Easy Enhancement Workbench (EEW).
In the case of BUPR for the cardinality types 1:1 and 1:N, this task APIdefines:

  • The outbound function module

  • The inbound function module

  • 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 table ApplicationsKnowledge Base (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
    CODEGEN,,OBJECTINFO,,%OBJECTIDENT2%,,Name of the Partner1 field
    CODEGEN,,OBJECTINFO,,%OBJECTIDENT3%,,Name of the Partner2 field
    DDICGEN,,INCLUDEPARENTKEY,,RELTYPE,,Name of the Relationshipfield
    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 BURS_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
    The data exchange task API updates the table CT_GOX_HEADER withthe following details:
    • Inbound function module

    • Outbound function module

    • Function group

    • Note: The Data Exchange task API does not update the tableCT_TASKPARAMLIST with any information.

      Further information
      API task API