SAP Function SAMPLE_INTERFACE_00001250 - Interface Description for Event 00001250 (Material)

Parameter Reference Type Length Default Optional Text
FL_UPD_TASK XFELD C 1 X Checkbox
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_MARC_NEW MARC u 920 X Plant-Specific Material Data (New Status)
I_MARC_OLD MARC u 920 X Plant-Specific Material Data (Old Status)
I_MARD_NEW MARD u 288 X Storage Location-Specific Material Data (New Status)
I_MARD_OLD MARD u 288 X Storage Location-Specific Material Data (Old Status)
I_MBEW_NEW MBEW u 519 X Valuation Data (New Status)
I_MBEW_OLD MBEW u 519 X Valuation Data (Old Status)
I_MFHM_NEW MFHM u 196 X Production Resource/Tool Data (New Status)
I_MFHM_OLD MFHM u 196 X Production Resource/Tool Data (Old Status)
I_MLGN_NEW MLGN u 95 X Warehouse Number-Specific Material Data (New Status)
I_MLGN_OLD MLGN u 95 X Warehouse Number-Specific Material Data (Old Status)
I_MLGT_NEW MLGT u 76 X Storage Type-Specific Material Data (New Status)
I_MLGT_OLD MLGT u 76 X Storage Type-Specific Material Data (Old Status)
I_MPGD_NEW MPGD u 57 X Planning Data (New Status)
I_MPGD_OLD MPGD u 57 X Planning Data (Old Status)
I_MPOP_NEW MPOP u 224 X Forecast Parameter (New Status)
I_MPOP_OLD MPOP u 224 X Forecast Parameter (Old Status)
I_MVKE_NEW MVKE u 265 X Sales Data (New Status)
I_MVKE_OLD MVKE u 265 X Sales Data (Old Status)
UPD_GESV CDPOS-CHNGIND C 1 X Type of Change Regarding GESV
UPD_ICDTXT_MATERIAL CDPOS-CHNGIND C 1 X Change Regarding Long Texts
UPD_MAEX CDPOS-CHNGIND C 1 X Type of Change Regarding MAEX
UPD_MAKT CDPOS-CHNGIND C 1 X Type of Change Regarding MAKT
UPD_MAPE CDPOS-CHNGIND C 1 X Type of Change Regarding MAPE
UPD_MARA CDPOS-CHNGIND C 1 X Type of Change Regarding MARA
UPD_MARC CDPOS-CHNGIND C 1 X Type of Change Regarding MARC
UPD_MARD CDPOS-CHNGIND C 1 X Type of Change Regarding MARD
UPD_MARM CDPOS-CHNGIND C 1 X Type of Change Regarding MARM
UPD_MBEW CDPOS-CHNGIND C 1 X Type of Change Regarding MBEW
UPD_MEAN CDPOS-CHNGIND C 1 X Type of Change Regarding MEAN
UPD_MFHM CDPOS-CHNGIND C 1 X Type of Change Regarding MFHM
UPD_MKAL CDPOS-CHNGIND C 1 X Type of Change Regarding MKAL
UPD_MLAN CDPOS-CHNGIND C 1 X Type of Change Regarding MLAN
UPD_MLGN CDPOS-CHNGIND C 1 X Type of Change Regarding MLGN
UPD_MLGT CDPOS-CHNGIND C 1 X Type of Change Regarding MLGT
UPD_MPGD CDPOS-CHNGIND C 1 X Type of Change Regarding MPGD
UPD_MPOP CDPOS-CHNGIND C 1 X Type of Change Regarding MPOP
UPD_MVKE CDPOS-CHNGIND C 1 X Type of Change Regarding MVKE
UPD_PROW CDPOS-CHNGIND C 1 X Type of Change Regarding PROW
UPD_QMAT CDPOS-CHNGIND C 1 X Type of Change Regarding QMAT
UPD_UNGV CDPOS-CHNGIND C 1 X Type of Change Regarding UNGV

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_MATERIAL 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_MAPE_NEW XDMAPE 27 X Material Short Texts (Old Status)
T_MAPE_OLD XDMAPE 27 X Customs Tariff Preference (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_MEAN_NEW XDMEAN 24 X International Article Number (New Status)
T_MEAN_OLD XDMEAN 24 X International Article Number (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_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)


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

EVENT
The event will run when creating and changing a material after writingthe material master data.

INTERFACE
For each database table, the interface provides the data for thecurrent status and the status before the change was 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_MATERIAL. 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 (forexample, MARA, MARC, MARD, MBEW, ...) for which only one data recordcan 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_MATERIAL. 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