SAP ARTICLE_TREX_TRIGGER Function Module for NOTRANSL: Artikel: Änderungszeiger für TREX schreiben
ARTICLE_TREX_TRIGGER is a standard article trex trigger SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Artikel: Änderungszeiger für TREX schreiben processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for article trex trigger FM, simply by entering the name ARTICLE_TREX_TRIGGER into the relevant SAP transaction such as SE37 or SE38.
Function Group: MGA_TREX
Program Name: SAPLMGA_TREX
Main Program: SAPLMGA_TREX
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ARTICLE_TREX_TRIGGER pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ARTICLE_TREX_TRIGGER'"NOTRANSL: Artikel: Änderungszeiger für TREX schreiben.
EXPORTING
* I_MARA_NEW = "Client-Specific Material Data (New Status)
* UPD_MFHM = ' ' "Type of Change Regarding MFHM
* UPD_MLGN = ' ' "Type of Change Regarding MLGN
* UPD_MLGT = ' ' "Type of Change Regarding MLGT
* UPD_MPGD = ' ' "Type of Change Regarding MPGD
* UPD_MPOP = ' ' "Type of Change Regarding MPOP
* UPD_MVKE = ' ' "Type of Change Regarding MVKE
* UPD_WLK2 = ' ' "Type of Change Regarding WLK2
* UPD_MAKT = ' ' "Type of Change Regarding MAKT
* UPD_MARM = ' ' "Type of Change Regarding MARM
* UPD_MAMT = ' ' "Type of Change Regarding MAMT
* I_MARA_OLD = "Client-Specific Material Data (Old Status)
* UPD_MALG = ' ' "Type of Change Regarding MALG
* UPD_MEAN = ' ' "Type of Change Regarding MEAN
* UPD_MLEA = ' ' "Type of Change Regarding MLEA
* UPD_MLAN = ' ' "Type of Change Regarding MLAN
* UPD_PROW = ' ' "Type of Change Regarding PROW
* UPD_GESV = ' ' "Type of Change Regarding GESV
* UPD_UNGV = ' ' "Type of Change Regarding UNGV
* UPD_MAEX = ' ' "Type of Change Regarding MAEX
* UPD_MKAL = ' ' "Type of Change Regarding MKAL
* UPD_QMAT = ' ' "Type of Change Regarding QMAT
* UPD_MARA = ' ' "Type of Change Regarding MARA
* UPD_ICDTXT_MAT_FULL = ' ' "Change Regarding Long Texts
* I_MAW1_NEW = "Additional Client-Specific Material Data (New Status)
* I_MAW1_OLD = "Additional Client-Specific Material Data (Old Status)
* UPD_MAW1 = ' ' "Type of Change Regarding MAW1
* UPD_MARC = ' ' "Type of Change Regarding MARC
* UPD_MARD = ' ' "Type of Change Regarding MARD
* UPD_MBEW = ' ' "Type of Change Regarding MBEW
TABLES
* T_MAKT_NEW = "Material Short Texts (New Status)
* T_MEAN_OLD = "International Article Number (Old Status)
* T_MLEA_NEW = "Vendor-Specific EANs (New Status)
* T_MLEA_OLD = "Vendor-Specific EANs (Old Status)
* T_MLAN_NEW = "Tax Classifications (New Status)
* T_MLAN_OLD = "Tax Classifications (Old Status)
* T_MARC_NEW = "Plant-Specific Material Data (New Status)
* T_MARC_OLD = "Plant-Specific Material Data (Old Status)
* T_MARD_NEW = "Storage Location-Specific Material Data (New Status)
* T_MARD_OLD = "Storage Location-Specific Material Data (Old Status)
* T_MBEW_NEW = "Valuation Data (New Status)
* T_MAKT_OLD = "Material Short Texts (New Status)
* T_MBEW_OLD = "Valuation Data (Old Status)
* T_MFHM_NEW = "Production Resource/Tool Data (New Status)
* T_MFHM_OLD = "Production Resource/Tool Data (Old Status)
* T_MAEX_NEW = "Export Control Data (New Status)
* T_MAEX_OLD = "Export Control Data (Old Status)
* T_MKAL_NEW = "Production Versions (New Status)
* T_MKAL_OLD = "Production Versions (Old Status)
* T_MPOP_NEW = "Forecast Parameter (New Status)
* T_MPOP_OLD = "Forecast Parameter (Old Status)
* T_MPGD_NEW = "Planning Data (New Status)
* T_MARM_NEW = "Unit of Measure (New Status)
* T_MPGD_OLD = "Planning Data (Old Status)
* T_PROW_NEW = "Forecast Values (New Status)
* T_PROW_OLD = "Forecast Values (Old Status)
* T_QMAT_NEW = "QM Check Data (New Status)
* T_QMAT_OLD = "QM Check Data (Old Status)
* T_GESV_NEW = "Total Consumption (New Status)
* T_GESV_OLD = "Total Consumption (Old Status)
* T_UNGV_NEW = "Unplanned Consumption (New Status)
* T_UNGV_OLD = "Unplanned Consumption (Old Status)
* T_MLGN_NEW = "Warehouse Number-Specific Material Data (New Status)
* T_MARM_OLD = "Unit of Measure (Old Status)
* T_MLGN_OLD = "Warehouse Number-Specific Material Data (Old Status)
* T_MLGT_NEW = "Storage Type-Specific Material Data (New Status)
* T_MLGT_OLD = "Storage Type-Specific Material Data (Old Status)
* T_MVKE_NEW = "Sales Data (New Status)
* T_MVKE_OLD = "Sales Data (Old Status)
* T_WLK2_NEW = "POS Data (New Status)
* T_WLK2_OLD = "POS Data (Old Status)
* T_ICDTXT_MAT_FULL = "Key for Changed Long Texts
* T_MAMT_NEW = "Unit of Measure-Dependent Texts (New Status)
* T_MAMT_OLD = "Unit of Measure-Dependent Texts (Old Status)
* T_MALG_NEW = "Layout Module Assignment (New Status)
* T_MALG_OLD = "Layout Module Assignment (Old Status)
* T_MEAN_NEW = "International Article Number (New Status)
IMPORTING Parameters details for ARTICLE_TREX_TRIGGER
I_MARA_NEW - Client-Specific Material Data (New Status)
Data type: MARAOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MFHM - Type of Change Regarding MFHM
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MLGN - Type of Change Regarding MLGN
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MLGT - Type of Change Regarding MLGT
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MPGD - Type of Change Regarding MPGD
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MPOP - Type of Change Regarding MPOP
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MVKE - Type of Change Regarding MVKE
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_WLK2 - Type of Change Regarding WLK2
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MAKT - Type of Change Regarding MAKT
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MARM - Type of Change Regarding MARM
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MAMT - Type of Change Regarding MAMT
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MARA_OLD - Client-Specific Material Data (Old Status)
Data type: MARAOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MALG - Type of Change Regarding MALG
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MEAN - Type of Change Regarding MEAN
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MLEA - Type of Change Regarding MLEA
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MLAN - Type of Change Regarding MLAN
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_PROW - Type of Change Regarding PROW
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_GESV - Type of Change Regarding GESV
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_UNGV - Type of Change Regarding UNGV
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MAEX - Type of Change Regarding MAEX
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MKAL - Type of Change Regarding MKAL
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_QMAT - Type of Change Regarding QMAT
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MARA - Type of Change Regarding MARA
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_ICDTXT_MAT_FULL - Change Regarding Long Texts
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MAW1_NEW - Additional Client-Specific Material Data (New Status)
Data type: MAW1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MAW1_OLD - Additional Client-Specific Material Data (Old Status)
Data type: MAW1Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MAW1 - Type of Change Regarding MAW1
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MARC - Type of Change Regarding MARC
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MARD - Type of Change Regarding MARD
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPD_MBEW - Type of Change Regarding MBEW
Data type: CDPOS-CHNGINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ARTICLE_TREX_TRIGGER
T_MAKT_NEW - Material Short Texts (New Status)
Data type: XDMAKTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MEAN_OLD - International Article Number (Old Status)
Data type: XDMEANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLEA_NEW - Vendor-Specific EANs (New Status)
Data type: XDMLEAOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLEA_OLD - Vendor-Specific EANs (Old Status)
Data type: XDMLEAOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLAN_NEW - Tax Classifications (New Status)
Data type: XDMLANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLAN_OLD - Tax Classifications (Old Status)
Data type: XDMLANOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MARC_NEW - Plant-Specific Material Data (New Status)
Data type: XDMARCOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MARC_OLD - Plant-Specific Material Data (Old Status)
Data type: XDMARCOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MARD_NEW - Storage Location-Specific Material Data (New Status)
Data type: XDMARDOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MARD_OLD - Storage Location-Specific Material Data (Old Status)
Data type: XDMARDOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MBEW_NEW - Valuation Data (New Status)
Data type: XDMBEWOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MAKT_OLD - Material Short Texts (New Status)
Data type: XDMAKTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MBEW_OLD - Valuation Data (Old Status)
Data type: XDMBEWOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MFHM_NEW - Production Resource/Tool Data (New Status)
Data type: XDMFHMOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MFHM_OLD - Production Resource/Tool Data (Old Status)
Data type: XDMFHMOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MAEX_NEW - Export Control Data (New Status)
Data type: XDMAEXOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MAEX_OLD - Export Control Data (Old Status)
Data type: XDMAEXOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MKAL_NEW - Production Versions (New Status)
Data type: XDMKALOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MKAL_OLD - Production Versions (Old Status)
Data type: XDMKALOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MPOP_NEW - Forecast Parameter (New Status)
Data type: XDMPOPOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MPOP_OLD - Forecast Parameter (Old Status)
Data type: XDMPOPOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MPGD_NEW - Planning Data (New Status)
Data type: XDMPGDOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MARM_NEW - Unit of Measure (New Status)
Data type: XDMARMOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MPGD_OLD - Planning Data (Old Status)
Data type: XDMPGDOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PROW_NEW - Forecast Values (New Status)
Data type: XDPROWOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PROW_OLD - Forecast Values (Old Status)
Data type: XDPROWOptional: Yes
Call by Reference: No ( called with pass by value option)
T_QMAT_NEW - QM Check Data (New Status)
Data type: XDQMATOptional: Yes
Call by Reference: No ( called with pass by value option)
T_QMAT_OLD - QM Check Data (Old Status)
Data type: XDQMATOptional: Yes
Call by Reference: No ( called with pass by value option)
T_GESV_NEW - Total Consumption (New Status)
Data type: XDGESVOptional: Yes
Call by Reference: No ( called with pass by value option)
T_GESV_OLD - Total Consumption (Old Status)
Data type: XDGESVOptional: Yes
Call by Reference: No ( called with pass by value option)
T_UNGV_NEW - Unplanned Consumption (New Status)
Data type: XDUNGVOptional: Yes
Call by Reference: No ( called with pass by value option)
T_UNGV_OLD - Unplanned Consumption (Old Status)
Data type: XDUNGVOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLGN_NEW - Warehouse Number-Specific Material Data (New Status)
Data type: XDMLGNOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MARM_OLD - Unit of Measure (Old Status)
Data type: XDMARMOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLGN_OLD - Warehouse Number-Specific Material Data (Old Status)
Data type: XDMLGNOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLGT_NEW - Storage Type-Specific Material Data (New Status)
Data type: XDMLGTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MLGT_OLD - Storage Type-Specific Material Data (Old Status)
Data type: XDMLGTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MVKE_NEW - Sales Data (New Status)
Data type: XDMVKEOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MVKE_OLD - Sales Data (Old Status)
Data type: XDMVKEOptional: Yes
Call by Reference: No ( called with pass by value option)
T_WLK2_NEW - POS Data (New Status)
Data type: XDWLK2Optional: Yes
Call by Reference: No ( called with pass by value option)
T_WLK2_OLD - POS Data (Old Status)
Data type: XDWLK2Optional: Yes
Call by Reference: No ( called with pass by value option)
T_ICDTXT_MAT_FULL - Key for Changed Long Texts
Data type: CDTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MAMT_NEW - Unit of Measure-Dependent Texts (New Status)
Data type: XDMAMTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MAMT_OLD - Unit of Measure-Dependent Texts (Old Status)
Data type: XDMAMTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MALG_NEW - Layout Module Assignment (New Status)
Data type: XDMALGOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MALG_OLD - Layout Module Assignment (Old Status)
Data type: XDMALGOptional: Yes
Call by Reference: No ( called with pass by value option)
T_MEAN_NEW - International Article Number (New Status)
Data type: XDMEANOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ARTICLE_TREX_TRIGGER Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_mara_new | TYPE MARA, " | |||
| lt_t_makt_new | TYPE STANDARD TABLE OF XDMAKT, " | |||
| lv_upd_mfhm | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mean_old | TYPE STANDARD TABLE OF XDMEAN, " | |||
| lv_upd_mlgn | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mlea_new | TYPE STANDARD TABLE OF XDMLEA, " | |||
| lv_upd_mlgt | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mlea_old | TYPE STANDARD TABLE OF XDMLEA, " | |||
| lv_upd_mpgd | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mlan_new | TYPE STANDARD TABLE OF XDMLAN, " | |||
| lv_upd_mpop | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mlan_old | TYPE STANDARD TABLE OF XDMLAN, " | |||
| lv_upd_mvke | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_marc_new | TYPE STANDARD TABLE OF XDMARC, " | |||
| lv_upd_wlk2 | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_marc_old | TYPE STANDARD TABLE OF XDMARC, " | |||
| lv_upd_makt | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mard_new | TYPE STANDARD TABLE OF XDMARD, " | |||
| lv_upd_marm | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mard_old | TYPE STANDARD TABLE OF XDMARD, " | |||
| lv_upd_mamt | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mbew_new | TYPE STANDARD TABLE OF XDMBEW, " | |||
| lv_i_mara_old | TYPE MARA, " | |||
| lt_t_makt_old | TYPE STANDARD TABLE OF XDMAKT, " | |||
| lv_upd_malg | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mbew_old | TYPE STANDARD TABLE OF XDMBEW, " | |||
| lv_upd_mean | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mfhm_new | TYPE STANDARD TABLE OF XDMFHM, " | |||
| lv_upd_mlea | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mfhm_old | TYPE STANDARD TABLE OF XDMFHM, " | |||
| lv_upd_mlan | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_maex_new | TYPE STANDARD TABLE OF XDMAEX, " | |||
| lv_upd_prow | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_maex_old | TYPE STANDARD TABLE OF XDMAEX, " | |||
| lv_upd_gesv | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mkal_new | TYPE STANDARD TABLE OF XDMKAL, " | |||
| lv_upd_ungv | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mkal_old | TYPE STANDARD TABLE OF XDMKAL, " | |||
| lv_upd_maex | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mpop_new | TYPE STANDARD TABLE OF XDMPOP, " | |||
| lv_upd_mkal | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mpop_old | TYPE STANDARD TABLE OF XDMPOP, " | |||
| lv_upd_qmat | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mpgd_new | TYPE STANDARD TABLE OF XDMPGD, " | |||
| lv_upd_mara | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_marm_new | TYPE STANDARD TABLE OF XDMARM, " | |||
| lt_t_mpgd_old | TYPE STANDARD TABLE OF XDMPGD, " | |||
| lv_upd_icdtxt_mat_full | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_prow_new | TYPE STANDARD TABLE OF XDPROW, " | |||
| lt_t_prow_old | TYPE STANDARD TABLE OF XDPROW, " | |||
| lt_t_qmat_new | TYPE STANDARD TABLE OF XDQMAT, " | |||
| lt_t_qmat_old | TYPE STANDARD TABLE OF XDQMAT, " | |||
| lt_t_gesv_new | TYPE STANDARD TABLE OF XDGESV, " | |||
| lt_t_gesv_old | TYPE STANDARD TABLE OF XDGESV, " | |||
| lt_t_ungv_new | TYPE STANDARD TABLE OF XDUNGV, " | |||
| lt_t_ungv_old | TYPE STANDARD TABLE OF XDUNGV, " | |||
| lt_t_mlgn_new | TYPE STANDARD TABLE OF XDMLGN, " | |||
| lv_i_maw1_new | TYPE MAW1, " | |||
| lt_t_marm_old | TYPE STANDARD TABLE OF XDMARM, " | |||
| lt_t_mlgn_old | TYPE STANDARD TABLE OF XDMLGN, " | |||
| lt_t_mlgt_new | TYPE STANDARD TABLE OF XDMLGT, " | |||
| lt_t_mlgt_old | TYPE STANDARD TABLE OF XDMLGT, " | |||
| lt_t_mvke_new | TYPE STANDARD TABLE OF XDMVKE, " | |||
| lt_t_mvke_old | TYPE STANDARD TABLE OF XDMVKE, " | |||
| lt_t_wlk2_new | TYPE STANDARD TABLE OF XDWLK2, " | |||
| lt_t_wlk2_old | TYPE STANDARD TABLE OF XDWLK2, " | |||
| lt_t_icdtxt_mat_full | TYPE STANDARD TABLE OF CDTXT, " | |||
| lv_i_maw1_old | TYPE MAW1, " | |||
| lt_t_mamt_new | TYPE STANDARD TABLE OF XDMAMT, " | |||
| lv_upd_maw1 | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mamt_old | TYPE STANDARD TABLE OF XDMAMT, " | |||
| lv_upd_marc | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_malg_new | TYPE STANDARD TABLE OF XDMALG, " | |||
| lv_upd_mard | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_malg_old | TYPE STANDARD TABLE OF XDMALG, " | |||
| lv_upd_mbew | TYPE CDPOS-CHNGIND, " SPACE | |||
| lt_t_mean_new | TYPE STANDARD TABLE OF XDMEAN. " |
|   CALL FUNCTION 'ARTICLE_TREX_TRIGGER' "NOTRANSL: Artikel: Änderungszeiger für TREX schreiben |
| EXPORTING | ||
| I_MARA_NEW | = lv_i_mara_new | |
| UPD_MFHM | = lv_upd_mfhm | |
| UPD_MLGN | = lv_upd_mlgn | |
| UPD_MLGT | = lv_upd_mlgt | |
| UPD_MPGD | = lv_upd_mpgd | |
| UPD_MPOP | = lv_upd_mpop | |
| UPD_MVKE | = lv_upd_mvke | |
| UPD_WLK2 | = lv_upd_wlk2 | |
| UPD_MAKT | = lv_upd_makt | |
| UPD_MARM | = lv_upd_marm | |
| UPD_MAMT | = lv_upd_mamt | |
| I_MARA_OLD | = lv_i_mara_old | |
| UPD_MALG | = lv_upd_malg | |
| UPD_MEAN | = lv_upd_mean | |
| UPD_MLEA | = lv_upd_mlea | |
| UPD_MLAN | = lv_upd_mlan | |
| UPD_PROW | = lv_upd_prow | |
| UPD_GESV | = lv_upd_gesv | |
| UPD_UNGV | = lv_upd_ungv | |
| UPD_MAEX | = lv_upd_maex | |
| UPD_MKAL | = lv_upd_mkal | |
| UPD_QMAT | = lv_upd_qmat | |
| UPD_MARA | = lv_upd_mara | |
| UPD_ICDTXT_MAT_FULL | = lv_upd_icdtxt_mat_full | |
| I_MAW1_NEW | = lv_i_maw1_new | |
| I_MAW1_OLD | = lv_i_maw1_old | |
| UPD_MAW1 | = lv_upd_maw1 | |
| UPD_MARC | = lv_upd_marc | |
| UPD_MARD | = lv_upd_mard | |
| UPD_MBEW | = lv_upd_mbew | |
| TABLES | ||
| T_MAKT_NEW | = lt_t_makt_new | |
| T_MEAN_OLD | = lt_t_mean_old | |
| T_MLEA_NEW | = lt_t_mlea_new | |
| T_MLEA_OLD | = lt_t_mlea_old | |
| T_MLAN_NEW | = lt_t_mlan_new | |
| T_MLAN_OLD | = lt_t_mlan_old | |
| T_MARC_NEW | = lt_t_marc_new | |
| T_MARC_OLD | = lt_t_marc_old | |
| T_MARD_NEW | = lt_t_mard_new | |
| T_MARD_OLD | = lt_t_mard_old | |
| T_MBEW_NEW | = lt_t_mbew_new | |
| T_MAKT_OLD | = lt_t_makt_old | |
| T_MBEW_OLD | = lt_t_mbew_old | |
| T_MFHM_NEW | = lt_t_mfhm_new | |
| T_MFHM_OLD | = lt_t_mfhm_old | |
| T_MAEX_NEW | = lt_t_maex_new | |
| T_MAEX_OLD | = lt_t_maex_old | |
| T_MKAL_NEW | = lt_t_mkal_new | |
| T_MKAL_OLD | = lt_t_mkal_old | |
| T_MPOP_NEW | = lt_t_mpop_new | |
| T_MPOP_OLD | = lt_t_mpop_old | |
| T_MPGD_NEW | = lt_t_mpgd_new | |
| T_MARM_NEW | = lt_t_marm_new | |
| T_MPGD_OLD | = lt_t_mpgd_old | |
| T_PROW_NEW | = lt_t_prow_new | |
| T_PROW_OLD | = lt_t_prow_old | |
| T_QMAT_NEW | = lt_t_qmat_new | |
| T_QMAT_OLD | = lt_t_qmat_old | |
| T_GESV_NEW | = lt_t_gesv_new | |
| T_GESV_OLD | = lt_t_gesv_old | |
| T_UNGV_NEW | = lt_t_ungv_new | |
| T_UNGV_OLD | = lt_t_ungv_old | |
| T_MLGN_NEW | = lt_t_mlgn_new | |
| T_MARM_OLD | = lt_t_marm_old | |
| T_MLGN_OLD | = lt_t_mlgn_old | |
| T_MLGT_NEW | = lt_t_mlgt_new | |
| T_MLGT_OLD | = lt_t_mlgt_old | |
| T_MVKE_NEW | = lt_t_mvke_new | |
| T_MVKE_OLD | = lt_t_mvke_old | |
| T_WLK2_NEW | = lt_t_wlk2_new | |
| T_WLK2_OLD | = lt_t_wlk2_old | |
| T_ICDTXT_MAT_FULL | = lt_t_icdtxt_mat_full | |
| T_MAMT_NEW | = lt_t_mamt_new | |
| T_MAMT_OLD | = lt_t_mamt_old | |
| T_MALG_NEW | = lt_t_malg_new | |
| T_MALG_OLD | = lt_t_malg_old | |
| T_MEAN_NEW | = lt_t_mean_new | |
| . " ARTICLE_TREX_TRIGGER | ||
ABAP code using 7.40 inline data declarations to call FM ARTICLE_TREX_TRIGGER
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mfhm). | ||||
| DATA(ld_upd_mfhm) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mlgn). | ||||
| DATA(ld_upd_mlgn) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mlgt). | ||||
| DATA(ld_upd_mlgt) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mpgd). | ||||
| DATA(ld_upd_mpgd) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mpop). | ||||
| DATA(ld_upd_mpop) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mvke). | ||||
| DATA(ld_upd_mvke) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_wlk2). | ||||
| DATA(ld_upd_wlk2) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_makt). | ||||
| DATA(ld_upd_makt) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_marm). | ||||
| DATA(ld_upd_marm) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mamt). | ||||
| DATA(ld_upd_mamt) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_malg). | ||||
| DATA(ld_upd_malg) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mean). | ||||
| DATA(ld_upd_mean) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mlea). | ||||
| DATA(ld_upd_mlea) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mlan). | ||||
| DATA(ld_upd_mlan) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_prow). | ||||
| DATA(ld_upd_prow) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_gesv). | ||||
| DATA(ld_upd_gesv) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_ungv). | ||||
| DATA(ld_upd_ungv) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_maex). | ||||
| DATA(ld_upd_maex) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mkal). | ||||
| DATA(ld_upd_mkal) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_qmat). | ||||
| DATA(ld_upd_qmat) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mara). | ||||
| DATA(ld_upd_mara) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_icdtxt_mat_full). | ||||
| DATA(ld_upd_icdtxt_mat_full) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_maw1). | ||||
| DATA(ld_upd_maw1) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_marc). | ||||
| DATA(ld_upd_marc) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mard). | ||||
| DATA(ld_upd_mard) | = ' '. | |||
| "SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mbew). | ||||
| DATA(ld_upd_mbew) | = ' '. | |||
Search for further information about these or an SAP related objects