SAP Function SAMPLE_INTERFACE_00001270 - Interface Description for Event 00001270 (Material)

Parameter Reference Type Length Default Optional Text
I_MARA_NEW MARA u 1340 X Client-Specific Material Data (New Status)
I_MARA_OLD MARA u 1340 X Client-Specific Material Data (Old Status)
I_MAW1_NEW MAW1 u 170 X Additional Client-Specific Material Data (New Status)
I_MAW1_OLD MAW1 u 170 X Additional Client-Specific Material Data (Old Status)
UPD_GESV CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding GESV
UPD_ICDTXT_MAT_FULL CDPOS-CHNGIND C 1 SPACE X Change Regarding Long Texts
UPD_MAEX CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MAEX
UPD_MAKT CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MAKT
UPD_MALG CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MALG
UPD_MAMT CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MAMT
UPD_MARA CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MARA
UPD_MARC CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MARC
UPD_MARD CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MARD
UPD_MARM CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MARM
UPD_MAW1 CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MAW1
UPD_MBEW CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MBEW
UPD_MEAN CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MEAN
UPD_MFHM CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MFHM
UPD_MKAL CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MKAL
UPD_MLAN CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MLAN
UPD_MLEA CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MLEA
UPD_MLGN CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MLGN
UPD_MLGT CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MLGT
UPD_MPGD CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MPGD
UPD_MPOP CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MPOP
UPD_MVKE CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding MVKE
UPD_PROW CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding PROW
UPD_QMAT CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding QMAT
UPD_UNGV CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding UNGV
UPD_WLK2 CDPOS-CHNGIND C 1 SPACE X Type of Change Regarding WLK2

Parameter Reference Length Optional Text
T_GESV_NEW XDGESV 36 X Total Consumption (New Status)
T_GESV_OLD XDGESV 36 X Total Consumption (Old Status)
T_ICDTXT_MAT_FULL CDTXT 76 X Key for Changed Long Texts
T_MAEX_NEW XDMAEX 40 X Export Control Data (New Status)
T_MAEX_OLD XDMAEX 40 X Export Control Data (Old Status)
T_MAKT_NEW XDMAKT 42 X Material Short Texts (New Status)
T_MAKT_OLD XDMAKT 42 X Material Short Texts (New Status)
T_MALG_NEW XDMALG 86 X Layout Module Assignment (New Status)
T_MALG_OLD XDMALG 86 X Layout Module Assignment (Old Status)
T_MAMT_NEW XDMAMT 49 X Unit of Measure-Dependent Texts (New Status)
T_MAMT_OLD XDMAMT 49 X Unit of Measure-Dependent Texts (Old Status)
T_MARC_NEW XDMARC 906 X Plant-Specific Material Data (New Status)
T_MARC_OLD XDMARC 906 X Plant-Specific Material Data (Old Status)
T_MARD_NEW XDMARD 280 X Storage Location-Specific Material Data (New Status)
T_MARD_OLD XDMARD 280 X Storage Location-Specific Material Data (Old Status)
T_MARM_NEW XDMARM 122 X Unit of Measure (New Status)
T_MARM_OLD XDMARM 122 X Unit of Measure (Old Status)
T_MBEW_NEW XDMBEW 507 X Valuation Data (New Status)
T_MBEW_OLD XDMBEW 507 X Valuation Data (Old Status)
T_MEAN_NEW XDMEAN 24 X International Article Number (New Status)
T_MEAN_OLD XDMEAN 24 X International Article Number (Old Status)
T_MFHM_NEW XDMFHM 184 X Production Resource/Tool Data (New Status)
T_MFHM_OLD XDMFHM 184 X Production Resource/Tool Data (Old Status)
T_MKAL_NEW XDMKAL 198 X Production Versions (New Status)
T_MKAL_OLD XDMKAL 198 X Production Versions (Old Status)
T_MLAN_NEW XDMLAN 9 X Tax Classifications (New Status)
T_MLAN_OLD XDMLAN 9 X Tax Classifications (Old Status)
T_MLEA_NEW XDMLEA 68 X Vendor-Specific EANs (New Status)
T_MLEA_OLD XDMLEA 68 X Vendor-Specific EANs (Old Status)
T_MLGN_NEW XDMLGN 83 X Warehouse Number-Specific Material Data (New Status)
T_MLGN_OLD XDMLGN 83 X Warehouse Number-Specific Material Data (Old Status)
T_MLGT_NEW XDMLGT 64 X Storage Type-Specific Material Data (New Status)
T_MLGT_OLD XDMLGT 64 X Storage Type-Specific Material Data (Old Status)
T_MPGD_NEW XDMPGD 37 X Planning Data (New Status)
T_MPGD_OLD XDMPGD 37 X Planning Data (Old Status)
T_MPOP_NEW XDMPOP 188 X Forecast Parameter (New Status)
T_MPOP_OLD XDMPOP 188 X Forecast Parameter (Old Status)
T_MVKE_NEW XDMVKE 253 X Sales Data (New Status)
T_MVKE_OLD XDMVKE 253 X Sales Data (Old Status)
T_PROW_NEW XDPROW 48 X Forecast Values (New Status)
T_PROW_OLD XDPROW 48 X Forecast Values (Old Status)
T_QMAT_NEW XDQMAT 77 X QM Check Data (New Status)
T_QMAT_OLD XDQMAT 77 X QM Check Data (Old Status)
T_UNGV_NEW XDUNGV 36 X Unplanned Consumption (New Status)
T_UNGV_OLD XDUNGV 36 X Unplanned Consumption (Old Status)
T_WLK2_NEW XDWLK2 64 X POS Data (New Status)
T_WLK2_OLD XDWLK2 64 X POS Data (Old Status)


DEFINE &TEXT& = 'Master data article, data transfer'
DEFINE &EVENT& = '00001270'
DEFINE &TYPE& = 'INTERFACE'
INCLUDE FI_OPEN_FI_DOCUMENTATION_1 OBJECT DOKU ID TX

EVENT
The event will run when creating and changing an article after writingthe article master data.

INTERFACE
For each database table, the interface provides the data for thecurrent status and the status before changes were made.
The interface includes the following parameter types:

  • Update indicator (for example, UPD_MARA, UPD_MARC, ...)

  • These indicators display whether a change has been made to the assigneddatabase table (for example, MARA, MARC, ...).
    Possible values for changes:
    U = Update
    I = Insert
    An exception forms the update indicator UPD_ICDTXT_MAT_FULL. Thisincludes 'X' if a change to the long text has been made.
    If no change has been made, the parameter has the value SPACE.
    • Import parameters

    • These parameters help transfer data for those database tables (MARA,MAW1) for which only one data record can be transferred for each call.
      • Table parameters

      • These parameters help transfer data for those database tables (MAKT,MARM, MEAN, ...) for which several data records can be transferred foreach call.
        For table parameters (for example, for MAKT) the assigned updateindicator (for example, UPD_MAKT) is always 'U' if data records werecreated, changed or deleted. Every data record includes an additionalupdate indicator that specifies for the data record, whether it wascreated, changed or deleted.
        If the data record was changed, a record with indicator 'U' can befound in both the table with the old values and the table with the newvalues.
        If the data record was added, a record with indicator 'I' can be foundin the table with the new values.
        If the data record was deleted, a record with indicator ' ' can befound in the table with old values.
        An exception forms the table parameter T_ICDTXT_MAT_FULL. In thistable, only the changed long text keys are transferred, no long textdata. The update indicator is therefore as follows:
        'I', if the long text is new
        'U', if the long text has been changed
        'D', if the long text has been deleted